--enable-optimise create optimised code
--enable-debug same as debug_flag and debug_info
--enable-stl use STL for containers
+ --enable-omf use OMF object format
--enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
--enable-debug_info create code with debugging information
--enable-debug_gdb create code with extra GDB debugging information
DEFAULT_wxUSE_CHECKLST=yes
DEFAULT_wxUSE_CHOICE=yes
DEFAULT_wxUSE_COMBOBOX=yes
- DEFAULT_wxUSE_DISPLAY=no
+ DEFAULT_wxUSE_DISPLAY=yes
DEFAULT_wxUSE_GAUGE=yes
DEFAULT_wxUSE_GRID=yes
DEFAULT_wxUSE_IMAGLIST=yes
echo "${ECHO_T}no" >&6
fi
+if test "$USE_OS2" = "1"; then
+
+ enablestring=
+ echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
+echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
+ no_cache=0
+ # Check whether --enable-omf or --disable-omf was given.
+if test "${enable_omf+set}" = set; then
+ enableval="$enable_omf"
+
+ if test "$enableval" = yes; then
+ ac_cv_use_omf='wxUSE_OMF=yes'
+ else
+ ac_cv_use_omf='wxUSE_OMF=no'
+ fi
+
+else
+
+ LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
+ if test "x$LINE" != x ; then
+ eval "DEFAULT_$LINE"
+ else
+ no_cache=1
+ fi
+
+ ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
+
+fi;
+
+ eval "$ac_cv_use_omf"
+ if test "$no_cache" != 1; then
+ echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
+ fi
+
+ if test "$wxUSE_OMF" = 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
+
+fi
if test "$wxUSE_DEBUG" = "yes"; then
DEFAULT_wxUSE_DEBUG_FLAG=yes
case "${host}" in
*-pc-os2_emx | *-pc-os2-emx )
PATH_IFS=';'
+ if test "$wxUSE_OMF" = "yes"; then
+ AR=emxomfar
+ RANLIB=:
+ LDFLAGS="-Zomf $LDFLAGS"
+ CFLAGS="-Zomf $CFLAGS"
+ CXXFLAGS="-Zomf $CXXFLAGS"
+ fi
;;
*)
PATH_IFS=':'
else
LIBS="$LIBS -lstdc++"
fi
+ fi
+ if test "$wxUSE_OMF" = "yes"; then
+ LDFLAGS="$LDFLAGS -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
fi
;;
*)
if test "$wxUSE_SHARED" = "yes"; then
case "${host}" in
- *-pc-os2_emx | *-pc-os2-emx | \
*-pc-msdosdjgpp )
wxUSE_SHARED=no
{ echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
DLLPREFIX=""
;;
*-pc-os2_emx | *-pc-os2-emx )
+ SO_SUFFIX="dll"
+ SO_SUFFIX_MODULE="dll"
EXEEXT=".exe"
DLLPREFIX=""
LIBPREFIX=""
PIC_FLAG=""
;;
+ *-pc-os2_emx | *-pc-os2-emx )
+ SHARED_LD_CC="dllar.sh -o"
+ SHARED_LD_CXX="dllar.sh -o"
+ PIC_FLAG=""
+ ;;
+
*-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
*-*-sunos4* | \
*-*-osf* | \
*-*-dgux5* | \
- *-pc-os2_emx | *-pc-os2-emx | \
*-*-sysv5* )
;;