#! /bin/sh
# From configure.in Id: configure.in.
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for wxWidgets 2.5.5.
+# Generated by GNU Autoconf 2.59 for wxWidgets 2.6.0.
#
# Report bugs to <wx-dev@lists.wxwidgets.org>.
#
# Identity of this package.
PACKAGE_NAME='wxWidgets'
PACKAGE_TARNAME='wxwidgets'
-PACKAGE_VERSION='2.5.5'
-PACKAGE_STRING='wxWidgets 2.5.5'
+PACKAGE_VERSION='2.6.0'
+PACKAGE_STRING='wxWidgets 2.6.0'
PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
ac_unique_file="wx-config.in"
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures wxWidgets 2.5.5 to adapt to many kinds of systems.
+\`configure' configures wxWidgets 2.6.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of wxWidgets 2.5.5:";;
+ short | recursive ) echo "Configuration of wxWidgets 2.6.0:";;
esac
cat <<\_ACEOF
--enable-plugins build parts of wxWidgets as loadable components
--enable-universal use wxWidgets GUI controls instead of native ones
--enable-nanox use NanoX
- --disable-gtk2 use GTK+ 1.2 instead of 2.0
--enable-gpe use GNOME PDA Environment features if possible
--enable-shared create shared library code
--enable-optimise create optimised code
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --with-gtk use GTK+
+ --with-gtk use GTK+ (currently uses 2.0)
+ --with-gtk1 use GTK+ 1.2
+ --with-gtk2 use GTK+ 2.0
--with-motif use Motif/Lesstif
--with-mac use Mac OS X
--with-cocoa use Cocoa
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-wxWidgets configure 2.5.5
+wxWidgets configure 2.6.0
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by wxWidgets $as_me 2.5.5, which was
+It was created by wxWidgets $as_me 2.6.0, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
wx_major_version_number=2
-wx_minor_version_number=5
-wx_release_number=5
-wx_subrelease_number=1
+wx_minor_version_number=6
+wx_release_number=0
+wx_subrelease_number=0
WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
WX_VERSION=$WX_RELEASE.$wx_release_number
WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
-WX_CURRENT=5
+WX_CURRENT=0
WX_REVISION=0
-WX_AGE=5
+WX_AGE=0
DEFAULT_wxUSE_MONOLITHIC=no
DEFAULT_wxUSE_PLUGINS=no
DEFAULT_wxUSE_OFFICIAL_BUILD=no
+
+ DEFAULT_wxUSE_GTK1=no
+ DEFAULT_wxUSE_GTK2=no
else
DEFAULT_wxUSE_UNIVERSAL=no
DEFAULT_wxUSE_STL=no
DEFAULT_wxUSE_POPUPWIN=yes
DEFAULT_wxUSE_TIPWINDOW=yes
- DEFAULT_wxUSE_UNICODE=yes
+ DEFAULT_wxUSE_UNICODE=no
DEFAULT_wxUSE_UNICODE_MSLU=yes
DEFAULT_wxUSE_WCSRTOMBS=no
DEFAULT_wxUSE_PLUGINS=no
DEFAULT_wxUSE_OFFICIAL_BUILD=no
- DEFAULT_wxUSE_GTK2=yes
+ DEFAULT_wxUSE_GTK1=no
+ DEFAULT_wxUSE_GTK2=no
fi
wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
fi;
+ echo "$as_me:$LINENO: checking for --with-gtk1" >&5
+echo $ECHO_N "checking for --with-gtk1... $ECHO_C" >&6
+ no_cache=0
+
+# Check whether --with-gtk1 or --without-gtk1 was given.
+if test "${with_gtk1+set}" = set; then
+ withval="$with_gtk1"
+
+ if test "$withval" = yes; then
+ ac_cv_use_gtk1='wxUSE_GTK1=yes'
+ else
+ ac_cv_use_gtk1='wxUSE_GTK1=no'
+ fi
+
+else
+
+ LINE=`grep "wxUSE_GTK1" ${wx_arg_cache_file}`
+ if test "x$LINE" != x ; then
+ eval "DEFAULT_$LINE"
+ else
+ no_cache=1
+ fi
+
+ ac_cv_use_gtk1='wxUSE_GTK1='$DEFAULT_wxUSE_GTK1
+
+fi;
+
+ eval "$ac_cv_use_gtk1"
+ if test "$no_cache" != 1; then
+ echo $ac_cv_use_gtk1 >> ${wx_arg_cache_file}.tmp
+ fi
+
+ if test "$wxUSE_GTK1" = yes; then
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+ else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ fi
+
+
+ echo "$as_me:$LINENO: checking for --with-gtk2" >&5
+echo $ECHO_N "checking for --with-gtk2... $ECHO_C" >&6
+ no_cache=0
+
+# Check whether --with-gtk2 or --without-gtk2 was given.
+if test "${with_gtk2+set}" = set; then
+ withval="$with_gtk2"
+
+ if test "$withval" = yes; then
+ ac_cv_use_gtk2='wxUSE_GTK2=yes'
+ else
+ ac_cv_use_gtk2='wxUSE_GTK2=no'
+ fi
+
+else
+
+ LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
+ if test "x$LINE" != x ; then
+ eval "DEFAULT_$LINE"
+ else
+ no_cache=1
+ fi
+
+ ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
+
+fi;
+
+ eval "$ac_cv_use_gtk2"
+ if test "$no_cache" != 1; then
+ echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
+ fi
+
+ if test "$wxUSE_GTK2" = yes; then
+ echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+ else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+ fi
+
+
# Check whether --with-motif or --without-motif was given.
if test "${with_motif+set}" = set; then
withval="$with_motif"
- enablestring=
- echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
- no_cache=0
- # Check whether --enable-gtk2 or --disable-gtk2 was given.
-if test "${enable_gtk2+set}" = set; then
- enableval="$enable_gtk2"
-
- if test "$enableval" = yes; then
- ac_cv_use_gtk2='wxUSE_GTK2=yes'
- else
- ac_cv_use_gtk2='wxUSE_GTK2=no'
- fi
-
-else
-
- LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
- if test "x$LINE" != x ; then
- eval "DEFAULT_$LINE"
- else
- no_cache=1
- fi
-
- ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
-
-fi;
-
- eval "$ac_cv_use_gtk2"
- if test "$no_cache" != 1; then
- echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
- fi
-
- if test "$wxUSE_GTK2" = yes; then
- echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
- else
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
- fi
-
-
enablestring=
echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
wxUSE_SHARED=no
fi
+if test "$wxUSE_GTK1" = "yes" -o "$wxUSE_GTK2" = "yes"; then
+ wxUSE_GTK=yes
+ TOOLKIT_GIVEN=1
+fi
+
if test "$wxUSE_GUI" = "yes"; then
if test "$USE_BEOS" = 1; then
GTK_MODULES=gthread
fi
- wx_cv_lib_gtk=
+ if test "x$wxUSE_GTK1" != "xyes" -a "x$wxUSE_GTK2" != "xyes"; then
+ wxUSE_GTK2=yes
+ fi
+
+ wx_cv_lib_gtk=
if test "x$wxUSE_GTK2" = "xyes"; then
# Check whether --enable-gtktest or --disable-gtktest was given.
if test "${enable_gtktest+set}" = set; then
rm -f conf.gtktest
- else
+ fi
+
+ if test -z "$wx_cv_lib_gtk" -a "x$wxUSE_GTK1" = "xyes"; then
# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
if test "${with_gtk_prefix+set}" = set; then
1.2.3) WXGTK12=1
;;
*) { { echo "$as_me:$LINENO: error:
-Please check that gtk-config is in path, the directory
-where GTK+ libraries are installed (returned by
-'gtk-config --libs' command) is in LD_LIBRARY_PATH or
-equivalent variable and GTK+ is version 1.2.3 or above.
+The development files for GTK+ were not found. For GTK+ 2, please
+ensure that pkg-config is in the path and that gtk+-2.0.pc is
+installed. For GTK+ 1.2 please check that gtk-config is in the path,
+and that the version is 1.2.3 or above. Also check that the
+libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
+--libs' are in the LD_LIBRARY_PATH or equivalent.
" >&5
echo "$as_me: error:
-Please check that gtk-config is in path, the directory
-where GTK+ libraries are installed (returned by
-'gtk-config --libs' command) is in LD_LIBRARY_PATH or
-equivalent variable and GTK+ is version 1.2.3 or above.
+The development files for GTK+ were not found. For GTK+ 2, please
+ensure that pkg-config is in the path and that gtk+-2.0.pc is
+installed. For GTK+ 1.2 please check that gtk-config is in the path,
+and that the version is 1.2.3 or above. Also check that the
+libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
+--libs' are in the LD_LIBRARY_PATH or equivalent.
" >&2;}
{ (exit 1); exit 1; }; }
;;
} >&5
cat >&5 <<_CSEOF
-This file was extended by wxWidgets $as_me 2.5.5, which was
+This file was extended by wxWidgets $as_me 2.6.0, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-wxWidgets config.status 2.5.5
+wxWidgets config.status 2.6.0
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"