X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/885d4bf54e542698e6d23096b2a6393c6741b327..279b1aea9dd6b57cee4db4375aa007d029db5ec0:/configure.in diff --git a/configure.in b/configure.in index 92c7f655e7..e5405f7bf0 100644 --- a/configure.in +++ b/configure.in @@ -397,7 +397,6 @@ USE_SUN= USE_SOLARIS= USE_SUNOS= USE_ALPHA= -USE_IA64= USE_OSF= USE_BSD= USE_DARWIN= @@ -462,10 +461,6 @@ case "${host}" in USE_ALPHA=1 AC_DEFINE(__ALPHA__) fi - if test "x$TMP" = "xia64"; then - USE_IA64=1 - AC_DEFINE(__IA64__) - fi DEFAULT_DEFAULT_wxUSE_GTK=1 ;; *-*-irix5* | *-*-irix6* ) @@ -656,6 +651,7 @@ if test $DEBUG_CONFIGURE = 1; then DEFAULT_wxUSE_LOG=yes DEFAULT_wxUSE_LOGWINDOW=no DEFAULT_wxUSE_LOGGUI=no + DEFAULT_wxUSE_LOGDIALOG=no DEFAULT_wxUSE_GUI=yes DEFAULT_wxUSE_CONTROLS=no @@ -819,6 +815,7 @@ else DEFAULT_wxUSE_LOG=yes DEFAULT_wxUSE_LOGWINDOW=yes DEFAULT_wxUSE_LOGGUI=yes + DEFAULT_wxUSE_LOGDIALOG=yes DEFAULT_wxUSE_GUI=yes @@ -1089,7 +1086,7 @@ WX_ARG_ENABLE(zipstream, [ --enable-zipstream use wxZipInputStream], w WX_ARG_ENABLE(catch_segvs, [ --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException], wxUSE_ON_FATAL_EXCEPTION) WX_ARG_ENABLE(snglinst, [ --enable-snglinst use wxSingleInstanceChecker class], wxUSE_SNGLINST_CHECKER) -WX_ARG_ENABLE(mimetype, [ --enable-mimetypes use wxMimeTypesManager], wxUSE_MIMETYPE) +WX_ARG_ENABLE(mimetype, [ --enable-mimetype use wxMimeTypesManager], wxUSE_MIMETYPE) WX_ARG_ENABLE(system_options,[ --enable-sysoptions use wxSystemOptions], wxUSE_SYSTEM_OPTIONS) dnl --------------------------------------------------------------------------- @@ -1115,6 +1112,7 @@ WX_ARG_ENABLE(printarch, [ --enable-printarch use printing architecture] WX_ARG_ENABLE(mdi, [ --enable-mdi use multiple document interface architecture], wxUSE_MDI_ARCHITECTURE) WX_ARG_ENABLE(loggui, [ --enable-loggui use standard GUI logger], wxUSE_LOGGUI) WX_ARG_ENABLE(logwin, [ --enable-logwin use wxLogWindow], wxUSE_LOGWINDOW) +WX_ARG_ENABLE(logdialog, [ --enable-logdialog use wxLogDialog], wxUSE_LOGDIALOG) dnl --------------------------------------------------------------------------- dnl PostScript options @@ -1278,7 +1276,7 @@ WX_ARG_ENABLE(commondlg, [ --enable-commondlg use all common dialogs], w WX_ARG_ENABLE(choicedlg, [ --enable-choicedlg use wxChoiceDialog], wxUSE_CHOICEDLG) WX_ARG_ENABLE(coldlg, [ --enable-coldlg use wxColourDialog], wxUSE_COLOURDLG) WX_ARG_ENABLE(filedlg, [ --enable-filedlg use wxFileDialog], wxUSE_FILEDLG) -WX_ARG_ENABLE(filedlg, [ --enable-finddlg use wxFindReplaceDialog], wxUSE_FINDREPLDLG) +WX_ARG_ENABLE(finddlg, [ --enable-finddlg use wxFindReplaceDialog], wxUSE_FINDREPLDLG) WX_ARG_ENABLE(fontdlg, [ --enable-fontdlg use wxFontDialog], wxUSE_FONTDLG) WX_ARG_ENABLE(dirdlg, [ --enable-dirdlg use wxDirDialog], wxUSE_DIRDLG) WX_ARG_ENABLE(msgdlg, [ --enable-msgdlg use wxMessageDialog], wxUSE_MSGDLG) @@ -1312,7 +1310,7 @@ WX_ARG_ENABLE(image, [ --enable-image use wxImage class], wxUSE_ WX_ARG_ENABLE(gif, [ --enable-gif use gif images (GIF file format)], wxUSE_GIF) WX_ARG_ENABLE(pcx, [ --enable-pcx use pcx images (PCX file format)], wxUSE_PCX) WX_ARG_ENABLE(pnm, [ --enable-pnm use pnm images (PNM file format)], wxUSE_PNM) -WX_ARG_ENABLE(pnm, [ --enable-xpm use xpm images (XPM file format)], wxUSE_XPM) +WX_ARG_ENABLE(xpm, [ --enable-xpm use xpm images (XPM file format)], wxUSE_XPM) fi dnl for GUI only @@ -2655,6 +2653,8 @@ dnl defines HAVE_WCHAR_H AC_CHECK_HEADERS(wchar.h) dnl defines HAVE_WCSTR_H AC_CHECK_HEADERS(wcstr.h) +dnl defined HAVE_WCTYPE_H +AC_CHECK_HEADERS(wctype.h) dnl defines HAVE_FNMATCH_H AC_CHECK_HEADERS(fnmatch.h) dnl defines HAVE_ICONV_H (Unix98 encoding conversion routines) @@ -2686,11 +2686,15 @@ AC_TYPE_UID_T dnl check for wchar_t dnl Mac OS X does not provide wchar.h and wchar_t is defined by stdlib.h (GD) +dnl on Cygwin wchar.h needs stddef.h to be #included by hand AC_CACHE_CHECK([for wchar_t], wx_cv_type_wchar_t, [ AC_TRY_COMPILE( [ #ifdef HAVE_WCHAR_H + # ifdef __CYGWIN__ + # include + # endif # include #endif #ifdef HAVE_STDLIB_H @@ -2815,6 +2819,9 @@ AC_CACHE_CHECK([size of wchar_t], wx_cv_sizeof_wchar_t, AC_TRY_RUN( [ #ifdef HAVE_WCHAR_H + # ifdef __CYGWIN__ + # include + # endif # include #endif #ifdef HAVE_STDLIB_H @@ -3676,6 +3683,10 @@ if test "$wxUSE_LOG" = "yes"; then if test "$wxUSE_LOGWINDOW" = "yes"; then AC_DEFINE(wxUSE_LOGWINDOW) fi + + if test "$wxUSE_LOGDIALOG" = "yes"; then + AC_DEFINE(wxUSE_LOG_DIALOG) + fi fi if test "$wxUSE_LONGLONG" = "yes"; then @@ -4446,12 +4457,16 @@ fi if test "$wxUSE_TOOLTIPS" = "yes"; then if test "$wxUSE_MOTIF" = 1; then - AC_MSG_WARN(wxTooltip not supported yet under Motif) + AC_MSG_WARN(wxTooltip not supported yet under Motif ... disabled) else if test "$wxUSE_WINE" = 1; then - AC_MSG_WARN(wxTooltip not supported under WINE) + AC_MSG_WARN(wxTooltip not supported under WINE ... disabled) else - AC_DEFINE(wxUSE_TOOLTIPS) + if test "$wxUSE_UNIVERSAL" = "yes"; then + AC_MSG_WARN(wxTooltip not supported yet in wxUNIVERSAL ... disabled) + else + AC_DEFINE(wxUSE_TOOLTIPS) + fi fi fi fi