#! /bin/sh
-# From configure.in Id: configure.in 57865 2009-01-06 22:28:16Z VS .
+# From configure.in Id: configure.in 59914 2009-03-29 17:15:43Z VZ .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
#
DEBUG_FLAG
TOOLKIT_LOWERCASE
TOOLKIT_VERSION
+DYLIB_RPATH_INSTALL
+DYLIB_RPATH_POSTLINK
SAMPLES_RPATH_FLAG
-SAMPLES_RPATH_POSTLINK
HEADER_PAD_OPTION
HOST_SUFFIX
CPPUNIT_CFLAGS
--disable-controls disable compilation of all standard controls
--enable-accel use accelerators
--enable-animatectrl use wxAnimationCtrl class
- --enable-button use wxButton class
--enable-bmpbutton use wxBitmapButton class
--enable-bmpcombobox use wxBitmapComboBox class
+ --enable-button use wxButton class
--enable-calendar use wxCalendarCtrl class
--enable-caret use wxCaret class
--enable-checkbox use wxCheckBox class
--enable-colourpicker use wxColourPickerCtrl class
--enable-combobox use wxComboBox class
--enable-comboctrl use wxComboCtrl class
+ --enable-dataviewctrl use wxDataViewCtrl class
--enable-datepick use wxDatePickerCtrl class
+ --enable-detect_sm use code to detect X11 session manager
--enable-dirpicker use wxDirPickerCtrl class
--enable-display use wxDisplay class
- --enable-detect_sm use code to detect X11 session manager
--enable-editablebox use wxEditableListBox class
- --enable-filepicker use wxFilePickerCtrl class
--enable-filectrl use wxFileCtrl class
+ --enable-filepicker use wxFilePickerCtrl class
--enable-fontpicker use wxFontPickerCtrl class
--enable-gauge use wxGauge class
--enable-grid use wxGrid class
- --enable-dataviewctrl use wxDataViewCtrl class
+ --enable-headerctrl use wxHeaderCtrl class
--enable-hyperlink use wxHyperlinkCtrl class
--enable-imaglist use wxImageList class
--enable-listbook use wxListbook class
--enable-notebook use wxNotebook class
--enable-notifmsg use wxNotificationMessage class
--enable-odcombobox use wxOwnerDrawnComboBox class
+ --enable-popupwin use wxPopUpWindow class
--enable-radiobox use wxRadioBox class
--enable-radiobtn use wxRadioButton class
--enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
--enable-stattext use wxStaticText class
--enable-statusbar use wxStatusBar class
--enable-taskbaricon use wxTaskBarIcon class
+ --enable-tbarnative use native wxToolBar class
--enable-textctrl use wxTextCtrl class
+ --enable-tipwindow use wxTipWindow class
--enable-togglebtn use wxToggleButton class
--enable-toolbar use wxToolBar class
- --enable-tbarnative use native wxToolBar class
- --enable-treebook use wxTreebook class
--enable-toolbook use wxToolbook class
+ --enable-treebook use wxTreebook class
--enable-treectrl use wxTreeCtrl class
- --enable-tipwindow use wxTipWindow class
- --enable-popupwin use wxPopUpWindow class
--enable-commondlg use all common dialogs
--enable-aboutdlg use wxAboutBox
--enable-choicedlg use wxChoiceDialog
+if test "$cross_compiling" != "no"; then
+ HOST_PREFIX="${host_alias}-"
+ HOST_SUFFIX="-$host_alias"
+else
+ HOST_PREFIX=
+ HOST_SUFFIX=
+fi
wx_major_version_number=2
PROGRAM_EXT=
SAMPLES_RPATH_FLAG=
-SAMPLES_RPATH_POSTLINK=
+DYLIB_RPATH_INSTALL=
+DYLIB_RPATH_POSTLINK=
DEFAULT_STD_FLAG=yes
echo "${ECHO_T}$result" >&6; }
+if test "$wxUSE_ALL_FEATURES" = "no"; then
+ DEFAULT_wxUSE_MEDIACTRL=no
+fi
+
if test "$wxUSE_GUI" = "yes"; then
echo "${ECHO_T}$result" >&6; }
+cat >>confdefs.h <<\_ACEOF
+#define wxEVENTS_COMPATIBILITY_2_8 0
+_ACEOF
+
+
enablestring=disable
defaultval=
echo "${ECHO_T}$result" >&6; }
-if test "$wxUSE_CONTROLS" = "yes"; then
- DEFAULT_wxUSE_ACCEL=yes
- DEFAULT_wxUSE_ANIMATIONCTRL=yes
- DEFAULT_wxUSE_BMPBUTTON=yes
- DEFAULT_wxUSE_BUTTON=yes
- DEFAULT_wxUSE_CALCTRL=yes
- DEFAULT_wxUSE_CARET=yes
- DEFAULT_wxUSE_COMBOBOX=yes
- DEFAULT_wxUSE_CHECKBOX=yes
- DEFAULT_wxUSE_CHECKLISTBOX=yes
- DEFAULT_wxUSE_CHOICE=yes
- DEFAULT_wxUSE_CHOICEBOOK=yes
- DEFAULT_wxUSE_COLLPANE=yes
- DEFAULT_wxUSE_COLOURPICKERCTRL=yes
- DEFAULT_wxUSE_COMBOBOX=yes
- DEFAULT_wxUSE_DATEPICKCTRL=yes
- DEFAULT_wxUSE_DISPLAY=yes
- DEFAULT_wxUSE_DETECT_SM=yes
- DEFAULT_wxUSE_DIRPICKERCTRL=yes
- DEFAULT_wxUSE_FILECTRL=yes
- DEFAULT_wxUSE_FILEPICKERCTRL=yes
- DEFAULT_wxUSE_FONTPICKERCTRL=yes
- DEFAULT_wxUSE_GAUGE=yes
- DEFAULT_wxUSE_GRID=yes
- DEFAULT_wxUSE_HYPERLINKCTRL=yes
- DEFAULT_wxUSE_DATAVIEWCTRL=yes
- DEFAULT_wxUSE_IMAGLIST=yes
- DEFAULT_wxUSE_LISTBOOK=yes
- DEFAULT_wxUSE_LISTBOX=yes
- DEFAULT_wxUSE_LISTCTRL=yes
- DEFAULT_wxUSE_NOTEBOOK=yes
- DEFAULT_wxUSE_RADIOBOX=yes
- DEFAULT_wxUSE_RADIOBTN=yes
- DEFAULT_wxUSE_SASH=yes
- DEFAULT_wxUSE_SCROLLBAR=yes
- DEFAULT_wxUSE_SEARCHCTRL=yes
- DEFAULT_wxUSE_SLIDER=yes
- DEFAULT_wxUSE_SPINBTN=yes
- DEFAULT_wxUSE_SPINCTRL=yes
- DEFAULT_wxUSE_SPLITTER=yes
- DEFAULT_wxUSE_STATBMP=yes
- DEFAULT_wxUSE_STATBOX=yes
- DEFAULT_wxUSE_STATLINE=yes
- DEFAULT_wxUSE_STATUSBAR=yes
- DEFAULT_wxUSE_TOGGLEBTN=yes
- DEFAULT_wxUSE_TOOLBAR=yes
- DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
- DEFAULT_wxUSE_TOOLTIPS=yes
- DEFAULT_wxUSE_TREEBOOK=yes
- DEFAULT_wxUSE_TOOLBOOK=yes
- DEFAULT_wxUSE_TREECTRL=yes
- DEFAULT_wxUSE_POPUPWIN=yes
- DEFAULT_wxUSE_TIPWINDOW=yes
-elif test "$wxUSE_CONTROLS" = "no"; then
- DEFAULT_wxUSE_ACCEL=no
- DEFAULT_wxUSE_ANIMATIONCTRL=no
- DEFAULT_wxUSE_BMPBUTTON=no
- DEFAULT_wxUSE_BUTTON=no
- DEFAULT_wxUSE_CALCTRL=no
- DEFAULT_wxUSE_CARET=no
- DEFAULT_wxUSE_COLLPANE=no
- DEFAULT_wxUSE_COMBOBOX=no
- DEFAULT_wxUSE_CHECKBOX=no
- DEFAULT_wxUSE_CHECKLISTBOX=no
- DEFAULT_wxUSE_CHOICE=no
- DEFAULT_wxUSE_CHOICEBOOK=no
- DEFAULT_wxUSE_COLOURPICKERCTRL=no
- DEFAULT_wxUSE_COMBOBOX=no
- DEFAULT_wxUSE_DATEPICKCTRL=no
- DEFAULT_wxUSE_DISPLAY=no
- DEFAULT_wxUSE_DETECT_SM=no
- DEFAULT_wxUSE_DIRPICKERCTRL=no
- DEFAULT_wxUSE_FILECTRL=no
- DEFAULT_wxUSE_FILEPICKERCTRL=no
- DEFAULT_wxUSE_FONTPICKERCTRL=no
- DEFAULT_wxUSE_GAUGE=no
- DEFAULT_wxUSE_GRID=no
- DEFAULT_wxUSE_HYPERLINKCTRL=no
- DEFAULT_wxUSE_DATAVIEWCTRL=no
- DEFAULT_wxUSE_IMAGLIST=no
- DEFAULT_wxUSE_LISTBOOK=no
- DEFAULT_wxUSE_LISTBOX=no
- DEFAULT_wxUSE_LISTCTRL=no
- DEFAULT_wxUSE_NOTEBOOK=no
- DEFAULT_wxUSE_RADIOBOX=no
- DEFAULT_wxUSE_RADIOBTN=no
- DEFAULT_wxUSE_REARRANGECTRL=no
- DEFAULT_wxUSE_SASH=no
- DEFAULT_wxUSE_SCROLLBAR=no
- DEFAULT_wxUSE_SEARCHCTRL=no
- DEFAULT_wxUSE_SLIDER=no
- DEFAULT_wxUSE_SPINBTN=no
- DEFAULT_wxUSE_SPINCTRL=no
- DEFAULT_wxUSE_SPLITTER=no
- DEFAULT_wxUSE_STATBMP=no
- DEFAULT_wxUSE_STATBOX=no
- DEFAULT_wxUSE_STATLINE=no
- DEFAULT_wxUSE_STATUSBAR=no
- DEFAULT_wxUSE_TOGGLEBTN=no
- DEFAULT_wxUSE_TOOLBAR=no
- DEFAULT_wxUSE_TOOLBAR_NATIVE=no
- DEFAULT_wxUSE_TOOLTIPS=no
- DEFAULT_wxUSE_TREEBOOK=no
- DEFAULT_wxUSE_TOOLBOOK=no
- DEFAULT_wxUSE_TREECTRL=no
- DEFAULT_wxUSE_POPUPWIN=no
- DEFAULT_wxUSE_TIPWINDOW=no
+if test "$wxUSE_CONTROLS" = "no"; then
+ DEFAULT_wxUSE_ACCEL=no
+ DEFAULT_wxUSE_ANIMATIONCTRL=no
+ DEFAULT_wxUSE_BMPBUTTON=no
+ DEFAULT_wxUSE_BUTTON=no
+ DEFAULT_wxUSE_CALCTRL=no
+ DEFAULT_wxUSE_CARET=no
+ DEFAULT_wxUSE_CHECKBOX=no
+ DEFAULT_wxUSE_CHECKLISTBOX=no
+ DEFAULT_wxUSE_CHOICE=no
+ DEFAULT_wxUSE_CHOICEBOOK=no
+ DEFAULT_wxUSE_COLLPANE=no
+ DEFAULT_wxUSE_COLOURPICKERCTRL=no
+ DEFAULT_wxUSE_COMBOBOX=no
+ DEFAULT_wxUSE_COMBOBOX=no
+ DEFAULT_wxUSE_DATAVIEWCTRL=no
+ DEFAULT_wxUSE_DATEPICKCTRL=no
+ DEFAULT_wxUSE_DETECT_SM=no
+ DEFAULT_wxUSE_DIRPICKERCTRL=no
+ DEFAULT_wxUSE_DISPLAY=no
+ DEFAULT_wxUSE_FILECTRL=no
+ DEFAULT_wxUSE_FILEPICKERCTRL=no
+ DEFAULT_wxUSE_FONTPICKERCTRL=no
+ DEFAULT_wxUSE_GAUGE=no
+ DEFAULT_wxUSE_GRID=no
+ DEFAULT_wxUSE_HEADERCTRL=no
+ DEFAULT_wxUSE_HYPERLINKCTRL=no
+ DEFAULT_wxUSE_IMAGLIST=no
+ DEFAULT_wxUSE_LISTBOOK=no
+ DEFAULT_wxUSE_LISTBOX=no
+ DEFAULT_wxUSE_LISTCTRL=no
+ DEFAULT_wxUSE_NOTEBOOK=no
+ DEFAULT_wxUSE_POPUPWIN=no
+ DEFAULT_wxUSE_RADIOBOX=no
+ DEFAULT_wxUSE_RADIOBTN=no
+ DEFAULT_wxUSE_REARRANGECTRL=no
+ DEFAULT_wxUSE_SASH=no
+ DEFAULT_wxUSE_SCROLLBAR=no
+ DEFAULT_wxUSE_SEARCHCTRL=no
+ DEFAULT_wxUSE_SLIDER=no
+ DEFAULT_wxUSE_SPINBTN=no
+ DEFAULT_wxUSE_SPINCTRL=no
+ DEFAULT_wxUSE_SPLITTER=no
+ DEFAULT_wxUSE_STATBMP=no
+ DEFAULT_wxUSE_STATBOX=no
+ DEFAULT_wxUSE_STATLINE=no
+ DEFAULT_wxUSE_STATUSBAR=no
+ DEFAULT_wxUSE_TIPWINDOW=no
+ DEFAULT_wxUSE_TOGGLEBTN=no
+ DEFAULT_wxUSE_TOOLBAR=no
+ DEFAULT_wxUSE_TOOLBAR_NATIVE=no
+ DEFAULT_wxUSE_TOOLBOOK=no
+ DEFAULT_wxUSE_TOOLTIPS=no
+ DEFAULT_wxUSE_TREEBOOK=no
+ DEFAULT_wxUSE_TREECTRL=no
fi
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
- # Check whether --enable-button was given.
-if test "${enable_button+set}" = set; then
- enableval=$enable_button;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
+ # Check whether --enable-bmpbutton was given.
+if test "${enable_bmpbutton+set}" = set; then
+ enableval=$enable_bmpbutton;
if test "$enableval" = yes; then
- wx_cv_use_button='wxUSE_BUTTON=yes'
+ wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
else
- wx_cv_use_button='wxUSE_BUTTON=no'
+ wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
fi
else
- wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
+ wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
fi
- eval "$wx_cv_use_button"
+ eval "$wx_cv_use_bmpbutton"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_BUTTON = yes; then
+ if test $wxUSE_BMPBUTTON = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_BUTTON
+ result=$wxUSE_BMPBUTTON
fi
{ echo "$as_me:$LINENO: result: $result" >&5
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
- # Check whether --enable-bmpbutton was given.
-if test "${enable_bmpbutton+set}" = set; then
- enableval=$enable_bmpbutton;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
+ # Check whether --enable-bmpcombobox was given.
+if test "${enable_bmpcombobox+set}" = set; then
+ enableval=$enable_bmpcombobox;
if test "$enableval" = yes; then
- wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
+ wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
else
- wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
+ wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
fi
else
- wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
+ wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
fi
- eval "$wx_cv_use_bmpbutton"
+ eval "$wx_cv_use_bmpcombobox"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_BMPBUTTON = yes; then
+ if test $wxUSE_BITMAPCOMBOBOX = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_BMPBUTTON
+ result=$wxUSE_BITMAPCOMBOBOX
fi
{ echo "$as_me:$LINENO: result: $result" >&5
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
- # Check whether --enable-bmpcombobox was given.
-if test "${enable_bmpcombobox+set}" = set; then
- enableval=$enable_bmpcombobox;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
+ # Check whether --enable-button was given.
+if test "${enable_button+set}" = set; then
+ enableval=$enable_button;
if test "$enableval" = yes; then
- wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
+ wx_cv_use_button='wxUSE_BUTTON=yes'
else
- wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
+ wx_cv_use_button='wxUSE_BUTTON=no'
fi
else
- wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
+ wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
fi
- eval "$wx_cv_use_bmpcombobox"
+ eval "$wx_cv_use_button"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_BITMAPCOMBOBOX = yes; then
+ if test $wxUSE_BUTTON = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_BITMAPCOMBOBOX
+ result=$wxUSE_BUTTON
fi
{ echo "$as_me:$LINENO: result: $result" >&5
echo "${ECHO_T}$result" >&6; }
+ enablestring=
+ defaultval=$wxUSE_ALL_FEATURES
+ if test -z "$defaultval"; then
+ if test x"$enablestring" = xdisable; then
+ defaultval=yes
+ else
+ defaultval=no
+ fi
+ fi
+
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
+ # Check whether --enable-dataviewctrl was given.
+if test "${enable_dataviewctrl+set}" = set; then
+ enableval=$enable_dataviewctrl;
+ if test "$enableval" = yes; then
+ wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
+ else
+ wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
+ fi
+
+else
+
+ wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
+
+fi
+
+
+ eval "$wx_cv_use_dataviewctrl"
+
+ if test x"$enablestring" = xdisable; then
+ if test $wxUSE_DATAVIEWCTRL = yes; then
+ result=no
+ else
+ result=yes
+ fi
+ else
+ result=$wxUSE_DATAVIEWCTRL
+ fi
+
+ { echo "$as_me:$LINENO: result: $result" >&5
+echo "${ECHO_T}$result" >&6; }
+
+
enablestring=
defaultval=$wxUSE_ALL_FEATURES
if test -z "$defaultval"; then
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
- # Check whether --enable-dirpicker was given.
-if test "${enable_dirpicker+set}" = set; then
- enableval=$enable_dirpicker;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
+ # Check whether --enable-detect_sm was given.
+if test "${enable_detect_sm+set}" = set; then
+ enableval=$enable_detect_sm;
if test "$enableval" = yes; then
- wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
+ wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
else
- wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
+ wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
fi
else
- wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
+ wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
fi
- eval "$wx_cv_use_dirpicker"
+ eval "$wx_cv_use_detect_sm"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_DIRPICKERCTRL = yes; then
+ if test $wxUSE_DETECT_SM = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_DIRPICKERCTRL
+ result=$wxUSE_DETECT_SM
fi
{ echo "$as_me:$LINENO: result: $result" >&5
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
- # Check whether --enable-display was given.
-if test "${enable_display+set}" = set; then
- enableval=$enable_display;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
+ # Check whether --enable-dirpicker was given.
+if test "${enable_dirpicker+set}" = set; then
+ enableval=$enable_dirpicker;
if test "$enableval" = yes; then
- wx_cv_use_display='wxUSE_DISPLAY=yes'
+ wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
else
- wx_cv_use_display='wxUSE_DISPLAY=no'
+ wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
fi
else
- wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
+ wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
fi
- eval "$wx_cv_use_display"
+ eval "$wx_cv_use_dirpicker"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_DISPLAY = yes; then
+ if test $wxUSE_DIRPICKERCTRL = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_DISPLAY
+ result=$wxUSE_DIRPICKERCTRL
fi
{ echo "$as_me:$LINENO: result: $result" >&5
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
- # Check whether --enable-detect_sm was given.
-if test "${enable_detect_sm+set}" = set; then
- enableval=$enable_detect_sm;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
+ # Check whether --enable-display was given.
+if test "${enable_display+set}" = set; then
+ enableval=$enable_display;
if test "$enableval" = yes; then
- wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
+ wx_cv_use_display='wxUSE_DISPLAY=yes'
else
- wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
+ wx_cv_use_display='wxUSE_DISPLAY=no'
fi
else
- wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
+ wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
fi
- eval "$wx_cv_use_detect_sm"
+ eval "$wx_cv_use_display"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_DETECT_SM = yes; then
+ if test $wxUSE_DISPLAY = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_DETECT_SM
+ result=$wxUSE_DISPLAY
fi
{ echo "$as_me:$LINENO: result: $result" >&5
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
- # Check whether --enable-filepicker was given.
-if test "${enable_filepicker+set}" = set; then
- enableval=$enable_filepicker;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
+ # Check whether --enable-filectrl was given.
+if test "${enable_filectrl+set}" = set; then
+ enableval=$enable_filectrl;
if test "$enableval" = yes; then
- wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
+ wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
else
- wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
+ wx_cv_use_filectrl='wxUSE_FILECTRL=no'
fi
else
- wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
+ wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
fi
- eval "$wx_cv_use_filepicker"
+ eval "$wx_cv_use_filectrl"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_FILEPICKERCTRL = yes; then
+ if test $wxUSE_FILECTRL = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_FILEPICKERCTRL
+ result=$wxUSE_FILECTRL
fi
{ echo "$as_me:$LINENO: result: $result" >&5
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
- # Check whether --enable-filectrl was given.
-if test "${enable_filectrl+set}" = set; then
- enableval=$enable_filectrl;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
+ # Check whether --enable-filepicker was given.
+if test "${enable_filepicker+set}" = set; then
+ enableval=$enable_filepicker;
if test "$enableval" = yes; then
- wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
+ wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
else
- wx_cv_use_filectrl='wxUSE_FILECTRL=no'
+ wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
fi
else
- wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
+ wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
fi
- eval "$wx_cv_use_filectrl"
+ eval "$wx_cv_use_filepicker"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_FILECTRL = yes; then
+ if test $wxUSE_FILEPICKERCTRL = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_FILECTRL
+ result=$wxUSE_FILEPICKERCTRL
fi
{ echo "$as_me:$LINENO: result: $result" >&5
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
- # Check whether --enable-dataviewctrl was given.
-if test "${enable_dataviewctrl+set}" = set; then
- enableval=$enable_dataviewctrl;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
+ # Check whether --enable-headerctrl was given.
+if test "${enable_headerctrl+set}" = set; then
+ enableval=$enable_headerctrl;
if test "$enableval" = yes; then
- wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
+ wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
else
- wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
+ wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
fi
else
- wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
+ wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
fi
- eval "$wx_cv_use_dataviewctrl"
+ eval "$wx_cv_use_headerctrl"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_DATAVIEWCTRL = yes; then
+ if test $wxUSE_HEADERCTRL = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_DATAVIEWCTRL
+ result=$wxUSE_HEADERCTRL
fi
{ echo "$as_me:$LINENO: result: $result" >&5
echo "${ECHO_T}$result" >&6; }
+ enablestring=
+ defaultval=$wxUSE_ALL_FEATURES
+ if test -z "$defaultval"; then
+ if test x"$enablestring" = xdisable; then
+ defaultval=yes
+ else
+ defaultval=no
+ fi
+ fi
+
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
+ # Check whether --enable-popupwin was given.
+if test "${enable_popupwin+set}" = set; then
+ enableval=$enable_popupwin;
+ if test "$enableval" = yes; then
+ wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
+ else
+ wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
+ fi
+
+else
+
+ wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
+
+fi
+
+
+ eval "$wx_cv_use_popupwin"
+
+ if test x"$enablestring" = xdisable; then
+ if test $wxUSE_POPUPWIN = yes; then
+ result=no
+ else
+ result=yes
+ fi
+ else
+ result=$wxUSE_POPUPWIN
+ fi
+
+ { echo "$as_me:$LINENO: result: $result" >&5
+echo "${ECHO_T}$result" >&6; }
+
+
enablestring=
defaultval=$wxUSE_ALL_FEATURES
if test -z "$defaultval"; then
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
- # Check whether --enable-textctrl was given.
-if test "${enable_textctrl+set}" = set; then
- enableval=$enable_textctrl;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
+ # Check whether --enable-tbarnative was given.
+if test "${enable_tbarnative+set}" = set; then
+ enableval=$enable_tbarnative;
if test "$enableval" = yes; then
- wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
+ wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
else
- wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
+ wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
fi
else
- wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
+ wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
fi
- eval "$wx_cv_use_textctrl"
+ eval "$wx_cv_use_tbarnative"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_TEXTCTRL = yes; then
+ if test $wxUSE_TOOLBAR_NATIVE = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_TEXTCTRL
+ result=$wxUSE_TOOLBAR_NATIVE
fi
{ echo "$as_me:$LINENO: result: $result" >&5
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
- # Check whether --enable-togglebtn was given.
-if test "${enable_togglebtn+set}" = set; then
- enableval=$enable_togglebtn;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
+ # Check whether --enable-textctrl was given.
+if test "${enable_textctrl+set}" = set; then
+ enableval=$enable_textctrl;
if test "$enableval" = yes; then
- wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
+ wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
else
- wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
+ wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
fi
else
- wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
+ wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
fi
- eval "$wx_cv_use_togglebtn"
+ eval "$wx_cv_use_textctrl"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_TOGGLEBTN = yes; then
+ if test $wxUSE_TEXTCTRL = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_TOGGLEBTN
+ result=$wxUSE_TEXTCTRL
fi
{ echo "$as_me:$LINENO: result: $result" >&5
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
- # Check whether --enable-toolbar was given.
-if test "${enable_toolbar+set}" = set; then
- enableval=$enable_toolbar;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
+ # Check whether --enable-tipwindow was given.
+if test "${enable_tipwindow+set}" = set; then
+ enableval=$enable_tipwindow;
if test "$enableval" = yes; then
- wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
+ wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
else
- wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
+ wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
fi
else
- wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
+ wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
fi
- eval "$wx_cv_use_toolbar"
+ eval "$wx_cv_use_tipwindow"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_TOOLBAR = yes; then
+ if test $wxUSE_TIPWINDOW = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_TOOLBAR
+ result=$wxUSE_TIPWINDOW
fi
{ echo "$as_me:$LINENO: result: $result" >&5
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
- # Check whether --enable-tbarnative was given.
-if test "${enable_tbarnative+set}" = set; then
- enableval=$enable_tbarnative;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
+ # Check whether --enable-togglebtn was given.
+if test "${enable_togglebtn+set}" = set; then
+ enableval=$enable_togglebtn;
if test "$enableval" = yes; then
- wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
+ wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
else
- wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
+ wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
fi
else
- wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
+ wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
fi
- eval "$wx_cv_use_tbarnative"
+ eval "$wx_cv_use_togglebtn"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_TOOLBAR_NATIVE = yes; then
+ if test $wxUSE_TOGGLEBTN = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_TOOLBAR_NATIVE
+ result=$wxUSE_TOGGLEBTN
fi
{ echo "$as_me:$LINENO: result: $result" >&5
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
- # Check whether --enable-treebook was given.
-if test "${enable_treebook+set}" = set; then
- enableval=$enable_treebook;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
+ # Check whether --enable-toolbar was given.
+if test "${enable_toolbar+set}" = set; then
+ enableval=$enable_toolbar;
if test "$enableval" = yes; then
- wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
+ wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
else
- wx_cv_use_treebook='wxUSE_TREEBOOK=no'
+ wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
fi
else
- wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
+ wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
fi
- eval "$wx_cv_use_treebook"
+ eval "$wx_cv_use_toolbar"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_TREEBOOK = yes; then
+ if test $wxUSE_TOOLBAR = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_TREEBOOK
+ result=$wxUSE_TOOLBAR
fi
{ echo "$as_me:$LINENO: result: $result" >&5
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
- # Check whether --enable-treectrl was given.
-if test "${enable_treectrl+set}" = set; then
- enableval=$enable_treectrl;
- if test "$enableval" = yes; then
- wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
- else
- wx_cv_use_treectrl='wxUSE_TREECTRL=no'
- fi
-
-else
-
- wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
-
-fi
-
-
- eval "$wx_cv_use_treectrl"
-
- if test x"$enablestring" = xdisable; then
- if test $wxUSE_TREECTRL = yes; then
- result=no
- else
- result=yes
- fi
- else
- result=$wxUSE_TREECTRL
- fi
-
- { echo "$as_me:$LINENO: result: $result" >&5
-echo "${ECHO_T}$result" >&6; }
-
-
- enablestring=
- defaultval=$wxUSE_ALL_FEATURES
- if test -z "$defaultval"; then
- if test x"$enablestring" = xdisable; then
- defaultval=yes
- else
- defaultval=no
- fi
- fi
-
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
- # Check whether --enable-tipwindow was given.
-if test "${enable_tipwindow+set}" = set; then
- enableval=$enable_tipwindow;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
+ # Check whether --enable-treebook was given.
+if test "${enable_treebook+set}" = set; then
+ enableval=$enable_treebook;
if test "$enableval" = yes; then
- wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
+ wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
else
- wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
+ wx_cv_use_treebook='wxUSE_TREEBOOK=no'
fi
else
- wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
+ wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
fi
- eval "$wx_cv_use_tipwindow"
+ eval "$wx_cv_use_treebook"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_TIPWINDOW = yes; then
+ if test $wxUSE_TREEBOOK = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_TIPWINDOW
+ result=$wxUSE_TREEBOOK
fi
{ echo "$as_me:$LINENO: result: $result" >&5
fi
fi
- { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
-echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
- # Check whether --enable-popupwin was given.
-if test "${enable_popupwin+set}" = set; then
- enableval=$enable_popupwin;
+ { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
+ # Check whether --enable-treectrl was given.
+if test "${enable_treectrl+set}" = set; then
+ enableval=$enable_treectrl;
if test "$enableval" = yes; then
- wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
+ wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
else
- wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
+ wx_cv_use_treectrl='wxUSE_TREECTRL=no'
fi
else
- wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
+ wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
fi
- eval "$wx_cv_use_popupwin"
+ eval "$wx_cv_use_treectrl"
if test x"$enablestring" = xdisable; then
- if test $wxUSE_POPUPWIN = yes; then
+ if test $wxUSE_TREECTRL = yes; then
result=no
else
result=yes
fi
else
- result=$wxUSE_POPUPWIN
+ result=$wxUSE_TREECTRL
fi
{ echo "$as_me:$LINENO: result: $result" >&5
;;
*-*-darwin* )
- install_name_tool=`which install_name_tool`
+ install_name_tool=`which ${HOST_PREFIX}install_name_tool`
if test "$install_name_tool" -a -x "$install_name_tool"; then
- SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
+ DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
cat <<EOF >change-install-names
#!/bin/sh
libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
-inst_cmd="install_name_tool "
for i in \${libnames} ; do
- inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
+ ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
+ for dep in \${libnames} ; do
+ ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
+ done
done
-\${inst_cmd} \${3}
EOF
chmod +x change-install-names
+ DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
fi
HEADER_PAD_OPTION="-headerpad_max_install_names"
if test $wxUSE_RPATH = "no"; then
SAMPLES_RPATH_FLAG=''
- SAMPLES_RPATH_POSTLINK=''
+ DYLIB_PATH_POSTLINK=''
WXCONFIG_RPATH=''
fi
WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
-TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
+TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
-TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
-
-if test "$cross_compiling" = "yes"; then
- HOST_SUFFIX="-$host_alias"
- TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
- TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
-fi
+TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
fi
-for ac_func in wcsdup
+
+
+
+
+for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
fi
DEBUG_CFLAGS=
-if test "$wxUSE_DEBUG_INFO" = "yes" ; then
+if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
+ { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
+echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
+elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
DEBUG_CFLAGS="-g"
fi
fi
OPTIMISE_CFLAGS=
-if test "$wxUSE_OPTIMISE" = "no" ; then
- if test "$GCC" = yes ; then
- OPTIMISE_CFLAGS="-O0"
- fi
+if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
+ { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
+echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
else
- if test "$GCC" = yes ; then
- case "${host}" in
- *-pc-os2_emx | *-pc-os2-emx )
- OPTIMISE_CFLAGS="-O2"
- ;;
- *)
- OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
- ;;
- esac
+ if test "$wxUSE_OPTIMISE" = "no" ; then
+ if test "$GCC" = yes ; then
+ OPTIMISE_CFLAGS="-O0"
+ fi
else
- OPTIMISE_CFLAGS="-O"
+ if test "$GCC" = yes ; then
+ case "${host}" in
+ *-pc-os2_emx | *-pc-os2-emx )
+ OPTIMISE_CFLAGS="-O2"
+ ;;
+ *)
+ OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
+ ;;
+ esac
+ else
+ OPTIMISE_CFLAGS="-O"
+ fi
fi
fi
fi
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
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-/* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
- For example, HP-UX 11i <limits.h> declares gettimeofday. */
-#define strptime innocuous_strptime
-
-/* System header to define __stub macros and hopefully few prototypes,
- 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. */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef strptime
-
-/* 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 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_strptime || defined __stub___strptime
-choke me
-#endif
-
-int
-main ()
-{
-return strptime ();
- ;
- 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_func_strptime=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- 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
-{ 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
-echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
-if test "${wx_cv_func_strptime_decl+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
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
- #include <time.h>
-
-int
-main ()
-{
-
- struct tm t;
- strptime("foo", "bar", &t);
-
- ;
- 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_func_strptime_decl=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- wx_cv_func_strptime_decl=no
-
-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_strptime_decl" >&5
-echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
- fi
- if test "$wx_cv_func_strptime_decl" = "yes"; then
- cat >>confdefs.h <<\_ACEOF
-#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
echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
if test "${wx_cv_var_timezone+set}" = set; then
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
fi
+if test "$wxUSE_HEADERCTRL" = "yes"; then
+ cat >>confdefs.h <<\_ACEOF
+#define wxUSE_HEADERCTRL 1
+_ACEOF
+
+ USES_CONTROLS=1
+fi
+
if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
cat >>confdefs.h <<\_ACEOF
#define wxUSE_HYPERLINKCTRL 1
_ACEOF
USES_CONTROLS=1
- SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
fi
if test "$wxUSE_NOTEBOOK" = "yes"; then
fi
-if test "$cross_compiling" = "yes"; then
+if test "$cross_compiling" != "no"; then
OSINFO="\"$host\""
else
OSINFO=`uname -s -r -m`
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
- erase event exec font image minimal mobile \
- mobile/wxedit mobile/styles render \
- shaped svg taborder vscroll widgets"
+ erase event exec font image minimal render \
+ shaped svg taborder vscroll widgets wrapsizer"
if test "$wxUSE_MONOLITHIC" != "yes"; then
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
+
case "$TOOLKIT" in
GTK)
TOOLKIT_DESC="GTK+"
if test "$USE_WIN32" = 1; then
- ac_config_commands="$ac_config_commands
- rcdefs.h
- "
+ ac_config_commands="$ac_config_commands rcdefs.h"
fi
DEBUG_FLAG!$DEBUG_FLAG$ac_delim
TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
+DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
+DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
-SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
HOST_SUFFIX!$HOST_SUFFIX$ac_delim
CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
ICC_PCH!$ICC_PCH$ac_delim
ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
-BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
_ACEOF
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
cat >conf$$subs.sed <<_ACEOF
+BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
-COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
_ACEOF
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
cat >conf$$subs.sed <<_ACEOF
+COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
COND_SHARED_1!$COND_SHARED_1$ac_delim
COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
WIN32INSTALL!$WIN32INSTALL$ac_delim
TOOLKIT!$TOOLKIT$ac_delim
TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
-TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
_ACEOF
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
ac_delim='%!_!# '
for ac_last_try in false false false false false :; do
cat >conf$$subs.sed <<_ACEOF
+TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
cross_compiling!$cross_compiling$ac_delim
WIDGET_SET!$WIDGET_SET$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF
- if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
break
elif $ac_last_try; then
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5