#! /bin/sh
-# From configure.in Id: configure.in.
+# From configure.in Id: configure.in 46702 2007-06-26 11:58:21Z VS .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
#
--enable-compat26 enable wxWidgets 2.6 compatibility
--disable-compat28 disable wxWidgets 2.8 compatibility
--disable-rpath disable use of rpath for uninstalled builds
+ --enable-objc_uniquifying enable Objective-C class name uniquifying
--enable-intl use internationalization system
--enable-config use wxConfig (and derived) classes
--enable-protocols use wxProtocol and derived classes
--enable-textbuf use wxTextBuffer class
--enable-textfile use wxTextFile class
--enable-timer use wxTimer class
- --enable-unicode compile wxString with Unicode support
+ --enable-unicode compile without Unicode support
--enable-sound use wxSound class
--enable-mediactrl use wxMediaCtrl class
--enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
DEFAULT_wxUSE_POPUPWIN=no
DEFAULT_wxUSE_TIPWINDOW=no
- DEFAULT_wxUSE_UNICODE=no
+ DEFAULT_wxUSE_UNICODE=yes
DEFAULT_wxUSE_UNICODE_MSLU=no
DEFAULT_wxUSE_UNICODE_UTF8=auto
DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
DEFAULT_wxUSE_POPUPWIN=yes
DEFAULT_wxUSE_TIPWINDOW=yes
- DEFAULT_wxUSE_UNICODE=no
+ DEFAULT_wxUSE_UNICODE=yes
DEFAULT_wxUSE_UNICODE_MSLU=yes
DEFAULT_wxUSE_UNICODE_UTF8=auto
DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
DEFAULT_wxUSE_GTK2=yes
fi
+DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
+
else
- LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_EXTENDED_RTTI" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
+ LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
+ LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
+ enablestring=
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
+ no_cache=0
+ # Check whether --enable-objc_uniquifying was given.
+if test "${enable_objc_uniquifying+set}" = set; then
+ enableval=$enable_objc_uniquifying;
+ if test "$enableval" = yes; then
+ ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
+ else
+ ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
+ fi
+
+else
+
+ LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
+ if test "x$LINE" != x ; then
+ eval "DEFAULT_$LINE"
+ else
+ no_cache=1
+ fi
+
+ ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING='$DEFAULT_wxUSE_OBJC_UNIQUIFYING
+
+fi
+
+
+ eval "$ac_cv_use_objc_uniquifying"
+ if test "$no_cache" != 1; then
+ echo $ac_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
+ fi
+
+ if test "$wxUSE_OBJC_UNIQUIFYING" = 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=
else
- LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_UNICODE_UTF8" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_UNICODE_UTF8_LOCALE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_EDITABLELISTBOX" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
else
- LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
+ LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
fi
{ echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
+ if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
+ :; INTELCC=yes
+ else
+ :;
+ fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
- :; INTELCC=yes
- else
- :;
- fi
+
if test "x$GCC" != "xyes"; then
case `uname -s` in
AIX*)
- ac_ext=c
+
+
+ ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
+ { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
-if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
+if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
int
main ()
{
-#ifndef __xlC__
- choke me
-#endif
+
+ #ifndef __xlC__
+ choke me
+ #endif
;
return 0;
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- bakefile_compiler_xlc=yes
+ bakefile_cv_c_compiler___xlC__=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- bakefile_compiler_xlc=no
+ bakefile_cv_c_compiler___xlC__=no
+
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
-fi
-{ echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
-echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
-XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
-ac_ext=c
+fi
+{ echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
+echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
+ if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
+ :; XLCC=yes
+ else
+ :;
+ fi
+ ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
;;
Darwin)
- ac_ext=c
+
+
+ ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
+ { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
-if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
+if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
int
main ()
{
-#ifndef __MWERKS__
- choke me
-#endif
+
+ #ifndef __MWERKS__
+ choke me
+ #endif
;
return 0;
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- bakefile_compiler_mwerks=yes
+ bakefile_cv_c_compiler___MWERKS__=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- bakefile_compiler_mwerks=no
+ bakefile_cv_c_compiler___MWERKS__=no
+
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
-fi
-{ echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
-echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
-MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
-ac_ext=c
+fi
+{ echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
+echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
+ if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
+ :; MWCC=yes
+ else
+ :;
+ fi
+ ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=c
+
+
+
+ ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
+ { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
-if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
+if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
int
main ()
{
-#ifndef __xlC__
- choke me
-#endif
+
+ #ifndef __xlC__
+ choke me
+ #endif
;
return 0;
test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- bakefile_compiler_xlc=yes
+ bakefile_cv_c_compiler___xlC__=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- bakefile_compiler_xlc=no
+ bakefile_cv_c_compiler___xlC__=no
+
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
-fi
-{ echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
-echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
-XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
-ac_ext=c
+fi
+{ echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
+echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
+ if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
+ :; XLCC=yes
+ else
+ :;
+ fi
+ ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
;;
IRIX*)
fi
{ echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
+ if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
+ :; SGICC=yes
+ else
+ :;
+ fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
- :; SGICC=yes
+
+
+ ;;
+
+ Linux*)
+
+
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
+echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
+if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ #ifndef __SUNPRO_C
+ choke me
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ bakefile_cv_c_compiler___SUNPRO_C=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ bakefile_cv_c_compiler___SUNPRO_C=no
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
+fi
+{ echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
+echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
+ if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
+ :; SUNCC=yes
else
:;
fi
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
;;
fi
{ echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
+ if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
+ :; HPCC=yes
+ else
+ :;
+ fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
- :; HPCC=yes
- else
- :;
- fi
;;
fi
{ echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
+ if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
+ :; COMPAQCC=yes
+ else
+ :;
+ fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
- :; COMPAQCC=yes
- else
- :;
- fi
;;
fi
{ echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
+ if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
+ :; SUNCC=yes
+ else
+ :;
+ fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
- :; SUNCC=yes
- else
- :;
- fi
;;
+
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
fi
{ echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
+ if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
+ :; INTELCXX=yes
+ else
+ :;
+ fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
- :; INTELCXX=yes
- else
- :;
- fi
+
if test "x$GCXX" != "xyes"; then
case `uname -s` in
AIX*)
- ac_ext=cpp
+
+
+ ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-{ echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
+ { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
-if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
+if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
int
main ()
{
-#ifndef __xlC__
- choke me
-#endif
+
+ #ifndef __xlC__
+ choke me
+ #endif
;
return 0;
test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- bakefile_compiler_xlc=yes
+ bakefile_cv_cxx_compiler___xlC__=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- bakefile_compiler_xlc=no
+ bakefile_cv_cxx_compiler___xlC__=no
+
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
-fi
-{ echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
-echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
-XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
-ac_ext=c
+fi
+{ echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
+echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
+ if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
+ :; XLCXX=yes
+ else
+ :;
+ fi
+ ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
;;
Darwin)
- ac_ext=cpp
+
+
+ ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-{ echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
+ { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
-if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
+if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
int
main ()
{
-#ifndef __MWERKS__
- choke me
-#endif
+
+ #ifndef __MWERKS__
+ choke me
+ #endif
;
return 0;
test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- bakefile_compiler_mwerks=yes
+ bakefile_cv_cxx_compiler___MWERKS__=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- bakefile_compiler_mwerks=no
+ bakefile_cv_cxx_compiler___MWERKS__=no
+
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
-fi
-{ echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
-echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
-MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
-ac_ext=c
+fi
+{ echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
+echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
+ if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
+ :; MWCXX=yes
+ else
+ :;
+ fi
+ ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- ac_ext=cpp
+
+
+
+ ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-{ echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
+ { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
-if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
+if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
int
main ()
{
-#ifndef __xlC__
- choke me
-#endif
+
+ #ifndef __xlC__
+ choke me
+ #endif
;
return 0;
test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- bakefile_compiler_xlc=yes
+ bakefile_cv_cxx_compiler___xlC__=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- bakefile_compiler_xlc=no
+ bakefile_cv_cxx_compiler___xlC__=no
+
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
-fi
-{ echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
-echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
-XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
-ac_ext=c
+fi
+{ echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
+echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
+ if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
+ :; XLCXX=yes
+ else
+ :;
+ fi
+ ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
;;
IRIX*)
fi
{ echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
+ if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
+ :; SGICXX=yes
+ else
+ :;
+ fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
- :; SGICXX=yes
+
+
+ ;;
+
+ Linux*)
+
+
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+ { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
+echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
+if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ #ifndef __SUNPRO_CC
+ choke me
+ #endif
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ bakefile_cv_cxx_compiler___SUNPRO_CC=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ bakefile_cv_cxx_compiler___SUNPRO_CC=no
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+
+fi
+{ echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
+echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
+ if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
+ :; SUNCXX=yes
else
:;
fi
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
;;
fi
{ echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
+ if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
+ :; HPCXX=yes
+ else
+ :;
+ fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
- :; HPCXX=yes
- else
- :;
- fi
;;
fi
{ echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
+ if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
+ :; COMPAQCXX=yes
+ else
+ :;
+ fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
- :; COMPAQCXX=yes
- else
- :;
- fi
;;
fi
{ echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
+ if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
+ :; SUNCXX=yes
+ else
+ :;
+ fi
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
- if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
- :; SUNCXX=yes
- else
- :;
- fi
;;
+if test "$CXX" = "g++" -a "$GXX" != "yes"; then
+ { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
+echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
fi
+for ac_header in sys/epoll.h
+do
+as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+else
+ # Is the header compilable?
+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+#include <$ac_header>
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_header_compiler=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_compiler=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
+echo "${ECHO_T}$ac_header_compiler" >&6; }
+
+# Is the header present?
+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <$ac_header>
+_ACEOF
+if { (ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } >/dev/null && {
+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ }; then
+ ac_header_preproc=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_header_preproc=no
+fi
+
+rm -f conftest.err conftest.$ac_ext
+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
+echo "${ECHO_T}$ac_header_preproc" >&6; }
+
+# So? What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
+ yes:no: )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
+echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
+ ac_header_preproc=yes
+ ;;
+ no:yes:* )
+ { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
+echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
+echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
+echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
+echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
+echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
+ { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
+echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
+ ( cat <<\_ASBOX
+## ----------------------------------------- ##
+## Report this to wx-dev@lists.wxwidgets.org ##
+## ----------------------------------------- ##
+_ASBOX
+ ) | sed "s/^/$as_me: WARNING: /" >&2
+ ;;
+esac
+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ eval "$as_ac_Header=\$ac_header_preproc"
+fi
+ac_res=`eval echo '${'$as_ac_Header'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+
+fi
+if test `eval echo '${'$as_ac_Header'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
if test "${ac_cv_c_const+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
cat >conftest.$ac_ext <<_ACEOF
#include <stdarg.h>
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
+ test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
fi
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include <sys/types.h> /* for off_t */
- #include <stdio.h>
+#include <stdio.h>
int
main ()
{
-int (*fp) (FILE *, off_t, int) = fseeko;
- return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
+return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
;
return 0;
}
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#define _LARGEFILE_SOURCE 1
-#include <sys/types.h> /* for off_t */
- #include <stdio.h>
+#include <stdio.h>
int
main ()
{
-int (*fp) (FILE *, off_t, int) = fseeko;
- return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
+return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
;
return 0;
}
case "${host}" in
*-*-solaris2* )
if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
- enable_gtktest=no
+ enable_gtktest=no
fi
esac
case "${host}" in
*-*-solaris2* )
- if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
- GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
- GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
- fi
- if test "$wxUSE_SHARED" != "yes"; then
+ if test "$wxUSE_SHARED" != "yes"; then
GTK_LIBS="$GTK_LIBS -lX11"
fi
esac
wxUSE_UNICODE_UTF8=yes
elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
wxUSE_UNICODE_UTF8=yes
+ elif test "$USE_OS2" = "1" ; then
+ wxUSE_UNICODE_UTF8=yes
else
wxUSE_UNICODE_UTF8=no
fi
esac
+ if test "x$SUNCXX" = xyes; then
+ SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
+ WXCONFIG_RPATH="-R\$libdir"
+ else
case "${host}" in
*-*-linux* | *-*-gnu* )
SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
;;
*-*-solaris2* )
- if test "$GCC" = yes ; then
- CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
- saveLdflags="$LDFLAGS"
- LDFLAGS="$saveLdflags -Wl,-rpath,/"
- { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
+ CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
+
+ saveLdflags="$LDFLAGS"
+ LDFLAGS="$saveLdflags -Wl,-rpath,/"
+ { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
- cat >conftest.$ac_ext <<_ACEOF
+ cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
- { echo "$as_me:$LINENO: result: yes" >&5
+ { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
- SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
- WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
+ SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
+ WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- { echo "$as_me:$LINENO: result: no" >&5
+ { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
- { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
+ { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
- LDFLAGS="$saveLdflags -Wl,-R,/"
- cat >conftest.$ac_ext <<_ACEOF
+ LDFLAGS="$saveLdflags -Wl,-R,/"
+ cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
- { echo "$as_me:$LINENO: result: yes" >&5
+ { echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
- SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
- WXCONFIG_RPATH="-Wl,-R,\$libdir"
+ SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
+ WXCONFIG_RPATH="-Wl,-R,\$libdir"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- { echo "$as_me:$LINENO: result: no" >&5
+ { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext conftest.$ac_ext
- LDFLAGS="$saveLdflags"
- else
- SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
- WXCONFIG_RPATH="-R\$libdir"
- fi
+ LDFLAGS="$saveLdflags"
;;
*-*-darwin* )
;;
esac
+ fi
if test $wxUSE_RPATH = "no"; then
SAMPLES_RPATH_FLAG=''
fi
fi
+{ echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
+echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
+if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <wchar.h>
+int
+main ()
+{
+
+ return 0; }
+
+ struct Foo { void foo(wchar_t);
+ void foo(unsigned short);
+ void foo(unsigned int);
+ void foo(unsigned long); };
+
+ int bar() {
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_cxx_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ wx_cv_wchar_t_is_separate_type=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ wx_cv_wchar_t_is_separate_type=no
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
+echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
+
+if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
+ cat >>confdefs.h <<\_ACEOF
+#define wxWCHAR_T_IS_SEPARATE_TYPE 1
+_ACEOF
+
+fi
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
- ac_cv_lib_msvcrt_wcslen=yes
+ ac_cv_lib_msvcrt_wcslen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_msvcrt_wcslen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
+echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
+if test $ac_cv_lib_msvcrt_wcslen = yes; then
+ WCHAR_OK=1
+fi
+
+ else
+ { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
+echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
+if test "${ac_cv_lib_w_wcslen+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lw $LIBS"
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char wcslen ();
+int
+main ()
+{
+return wcslen ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ ac_cv_lib_w_wcslen=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_lib_w_wcslen=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
+echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
+if test $ac_cv_lib_w_wcslen = yes; then
+
+ WCHAR_LINK=" -lw"
+ WCSLEN_FOUND=1
+
+fi
+
+ fi
+ fi
+
+ if test "$WCSLEN_FOUND" = 1; then
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_WCSLEN 1
+_ACEOF
+
+ fi
+
+
+for ac_func in wcsdup
+do
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+ <limits.h> exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "$as_ac_var=yes"
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- ac_cv_lib_msvcrt_wcslen=no
+ eval "$as_ac_var=no"
fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
-echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
-if test $ac_cv_lib_msvcrt_wcslen = yes; then
- WCHAR_OK=1
-fi
-
- else
- { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
-echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
-if test "${ac_cv_lib_w_wcslen+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lw $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char wcslen ();
-int
-main ()
-{
-return wcslen ();
- ;
- return 0;
-}
+ac_res=`eval echo '${'$as_ac_var'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_var'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- ac_cv_lib_w_wcslen=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_cv_lib_w_wcslen=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
-echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
-if test $ac_cv_lib_w_wcslen = yes; then
-
- WCHAR_LINK=" -lw"
- WCSLEN_FOUND=1
fi
+done
- fi
- fi
-
- if test "$WCSLEN_FOUND" = 1; then
- cat >>confdefs.h <<\_ACEOF
-#define HAVE_WCSLEN 1
-_ACEOF
-
- fi
if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
THREAD_OPTS="-pthread"
+ if test "x$SUNCXX" = xyes; then
+ THREAD_OPTS="-mt lthread $THREAD_OPTS"
+ fi
+
case "${host}" in
*-*-solaris2* | *-*-sunos4* )
if test "x$GCC" = "xyes"; then
THREAD_OPTS="-pthreads $THREAD_OPTS"
- else
- THREAD_OPTS="-mt $THREAD_OPTS"
fi
;;
*-*-freebsd*)
echo $ECHO_N "(cached) $ECHO_C" >&6
else
+ ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
+ test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
fi
{ echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
fi
+if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
+ cat >>confdefs.h <<\_ACEOF
+#define wxUSE_OBJC_UNIQUIFYING 1
+_ACEOF
+fi
-if test "$wxUSE_DATETIME" = "yes"; then
-for ac_func in strptime
-do
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+if test "$wxUSE_DATETIME" = "yes"; then
+ { echo "$as_me:$LINENO: checking for strptime" >&5
+echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
+if test "${ac_cv_func_strptime+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
+/* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
For example, HP-UX 11i <limits.h> declares gettimeofday. */
-#define $ac_func innocuous_$ac_func
+#define strptime innocuous_strptime
/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func (); below.
+ which can conflict with char strptime (); below.
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
<limits.h> exists even on freestanding compilers. */
# include <assert.h>
#endif
-#undef $ac_func
+#undef strptime
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
#ifdef __cplusplus
extern "C"
#endif
-char $ac_func ();
+char strptime ();
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
-#if defined __stub_$ac_func || defined __stub___$ac_func
+#if defined __stub_strptime || defined __stub___strptime
choke me
#endif
int
main ()
{
-return $ac_func ();
+return strptime ();
;
return 0;
}
test ! -s conftest.err
} && test -s conftest$ac_exeext &&
$as_test_x conftest$ac_exeext; then
- eval "$as_ac_var=yes"
+ ac_cv_func_strptime=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- eval "$as_ac_var=no"
+ ac_cv_func_strptime=no
fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext conftest.$ac_ext
fi
-ac_res=`eval echo '${'$as_ac_var'}'`
- { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-if test `eval echo '${'$as_ac_var'}'` = yes; then
- cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
+{ echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
+echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
if test "$ac_cv_func_strptime" = "yes"; then
{ echo "$as_me:$LINENO: checking for strptime declaration" >&5
#define HAVE_STRPTIME_DECL 1
_ACEOF
+ else
+ wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
+ fi
+ if test "$ac_cv_func_strptime" = "yes"; then
+ { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
+echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
+if test "${wx_cv_func_strptime_ok+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test "$cross_compiling" = yes; then
+ wx_cv_func_strptime_ok=no
+
+else
+ cat >conftest.$ac_ext <<_ACEOF
+
+ #include <stdlib.h>
+ #include <time.h>
+ #include "confdefs.h"
+
+ $wx_strptime_decl
+
+ int main()
+ {
+ struct tm t;
+ return !!strptime("", "%x", &t);
+ }
+
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ wx_cv_func_strptime_ok=yes
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+( exit $ac_status )
+wx_cv_func_strptime_ok=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+
+fi
+{ echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
+echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
+
+ if test "$wx_cv_func_strptime_ok" = "yes"; then
+ cat >>confdefs.h <<\_ACEOF
+#define HAVE_STRPTIME 1
+_ACEOF
+
+ fi
fi
{ echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
if test "$wxUSE_GSTREAMER" = "yes"; then
- case "${host}" in
- *-*-solaris2* )
- if "$GCC" = yes; then
- GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
- GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
- fi
- esac
-
CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
LIBS="$GST_LIBS $LIBS"
;;
*-*-linux* )
- if test "x$GCC" != "xyes"; then
- { echo "$as_me:$LINENO: checking for Intel compiler" >&5
-echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
-if test "${bakefile_cv_prog_icc+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- #ifndef __INTEL_COMPILER
- This is not ICC
- #endif
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_compile") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then
- bakefile_cv_prog_icc=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- bakefile_cv_prog_icc=no
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-fi
-{ echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
-echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
- if test "$bakefile_cv_prog_icc" = "yes"; then
- PIC_FLAG="-KPIC"
- fi
+ if test "$INTELCC" = "yes"; then
+ PIC_FLAG="-KPIC"
+ elif test "x$SUNCXX" = "xyes"; then
+ SHARED_LD_CC="${CC} -G -o"
+ SHARED_LD_CXX="${CXX} -G -o"
+ PIC_FLAG="-KPIC"
fi
;;
*-*-solaris2* )
- if test "x$GCC" != xyes ; then
+ if test "x$SUNCXX" = xyes ; then
SHARED_LD_CC="${CC} -G -o"
SHARED_LD_CXX="${CXX} -G -o"
PIC_FLAG="-KPIC"
case "${BAKEFILE_HOST}" in
*-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
- SONAME_FLAG="-Wl,-soname,"
+ if test "x$SUNCXX" = "xyes"; then
+ SONAME_FLAG="-h "
+ else
+ SONAME_FLAG="-Wl,-soname,"
+ fi
USE_SOVERSION=1
USE_SOVERLINUX=1
USE_SOSYMLINKS=1
WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
+
+case "${host}" in
+ *-*-solaris2* )
+ if "$GCC" = yes; then
+ CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
+ LIBS=`echo $LIBS | sed 's/-mt//'`
+ EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
+ fi
+ ;;
+
+ *-*-linux* )
+ if test "x$SUNCXX" = xyes; then
+ CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
+ LIBS=`echo $LIBS | sed 's/-pthread//'`
+ EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
+ fi
+ ;;
+esac
+
SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"