ac_help="$ac_help
--with-x use the X Window System"
ac_help="$ac_help
-**--with-shared create shared libraries"
+**--with-gtk use GTK"
+ac_help="$ac_help
+**--with-qt use Qt"
ac_help="$ac_help
-**--without-optimise create unoptimised code"
+**--with-motif use Motif/Lesstif"
ac_help="$ac_help
-**--with-debug_flag create code with DEBUG define set to 1"
+**--with-shared create shared libraries"
ac_help="$ac_help
-**--with-debug_info create code with debuging information included"
+**--with-optimise create optimised code"
ac_help="$ac_help
-**--with-mem_traing create code with memory tracing"
+**--with-debug_flag create code with WXDEBUG define set to 1"
ac_help="$ac_help
-**--with-profile create code with profiling information included"
+**--with-debug_info create code with debuging information"
ac_help="$ac_help
-**--with-zlib use zlib (LZW comression)"
+**--with-debug_gdb create code with extra GDB debuging information"
ac_help="$ac_help
-**--with-gdk_imlib use Raster's gdk_imlib (Image library)"
+**--with-mem_traing create code with memory tracing"
ac_help="$ac_help
-**--with-libpng use libpng (PNG image format)"
+**--with-dmalloc use dmalloc memory debug library (www.letters.com/dmalloc/)"
ac_help="$ac_help
-**--with-threads use threads"
+**--with-profile create code with profiling information"
ac_help="$ac_help
-**--with-opengl use opengl (OpenGL or Mesa)"
+**--with_apple_ieee use the Apple IEEE codec"
ac_help="$ac_help
-**--with-storable use storable classes"
+**--with-threads for enabling threads"
ac_help="$ac_help
-**--with-autotrans use gettext automatic translation"
+**--with-zlib use zlib for LZW comression"
ac_help="$ac_help
-**--with-afmfonts use Adobe Font Metric Font table"
+**--with-libpng use libpng (PNG image format)"
ac_help="$ac_help
-**--with-PS-normalized use normalized PS fonts"
+**--with-odbc use iODBC and wxODBC classes"
ac_help="$ac_help
-**--with-rpc use RPC"
+**--with-timedate use wxTime and wxDate classes"
ac_help="$ac_help
-**--with-wxresources use wxresources"
+**--with-intl use internationalization system"
ac_help="$ac_help
-**--with-prologio use prologio"
+**--with-config use wxConfig class"
ac_help="$ac_help
-**--with-postscript use postscript-device-context"
+**--with-streams use wxStream etc classes"
ac_help="$ac_help
-**--with-metafile use metafile"
+**--with-serial use class serialization"
ac_help="$ac_help
-**--with-form use form"
+**--with-afmfonts use Adobe Font Metric Font table"
ac_help="$ac_help
-**--with-help use help"
+**--with-PS-normalized use normalized PS fonts"
ac_help="$ac_help
-**--with-ipc use ipc"
+**--with-postscript use wxPostscriptDC device context"
ac_help="$ac_help
-**--with-enhanceddialog use enhanced dialog"
+**--with-unicode compile wxString with Unicode support"
ac_help="$ac_help
-**--with-resources use resources"
+**--with-wcsrtombs use wcsrtombs instead of (buggy in GNU libc5) wcstombs"
ac_help="$ac_help
-**--with-clipboard use clipboard"
+**--with-wxresources use wxWindows's resources"
ac_help="$ac_help
-**--with-timedate use timedate"
+**--with-prologio use Prolog IO library"
ac_help="$ac_help
-**--with-fraction use fraction"
+**--with-rpc use Prolog's remote procedure calls"
ac_help="$ac_help
-**--with-constraints use constraints"
+**--with-ipc use interprocess communication (wxSocket etc.)"
ac_help="$ac_help
-**--with-toolbar use toolbar"
+**--with-resources use X resources for saving information"
ac_help="$ac_help
-**--with-gauge use gauge"
+**--with-clipboard use wxClipboard classes"
ac_help="$ac_help
-**--with-vlbox use virtual list box"
+**--with-dnd use Drag'n'Drop classes"
ac_help="$ac_help
-**--with-scrollbar use scrollbar"
+**--with-mdi use multiple document interface architecture"
ac_help="$ac_help
**--with-docview use document view architecture"
ac_help="$ac_help
**--with-printarch use printing architecture"
ac_help="$ac_help
-**--with-typetree use typetree"
-ac_help="$ac_help
-**--with-wxgraph use wxgraph"
+**--with-help use help (using external browser at present)"
ac_help="$ac_help
-**--with-wxtree use wxtree"
+**--with-gtk-prefix=PFX Prefix where GTK is installed"
ac_help="$ac_help
- --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
-ac_help="$ac_help
- --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
+**--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
# Initialize some variables set by options.
# The variables have the same names as the options, with
SEARCH_INCLUDE="\
/usr/Motif1.2/include \
+ /usr/dt/include/Xm \
\
/usr/X11R6/include \
/usr/X11R5/include \
/usr/X11R4/include \
\
+ /usr/X11R6/lib \
+ /usr/X11R5/lib \
+ /usr/X11R4/lib \
+ \
/usr/include/X11R6 \
/usr/include/X11R5 \
/usr/include/X11R4 \
/usr/XFree86/include/X11 \
\
/usr/include \
+ /usr/include/gtk \
+ /usr/include/gdk \
+ /usr/include/glib \
/usr/local/include \
- /usr/local/include/gtk \
/usr/unsupported/include \
/usr/athena/include \
/usr/local/x11r5/include \
/usr/lpp/Xamples/include \
\
+ /usr/local/include/gtk \
+ /usr/local/include/Xm \
+ /usr/local/include/qt \
+ /usr/X11R6/include/Xm \
+ /usr/X11/include/Xm \
+ /usr/include/qt \
+ \
/usr/openwin/include \
/usr/openwin/share/include \
"
SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \
+ /usr/dt/lib \
"
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:672: checking for $ac_word" >&5
+echo "configure:685: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:701: checking for $ac_word" >&5
+echo "configure:714: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
-echo "configure:749: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
+echo "configure:762: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext <<EOF
-#line 759 "configure"
+#line 772 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
-if { (eval echo configure:763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
-echo "configure:783: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
+echo "configure:796: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
-echo "configure:788: checking whether we are using GNU C" >&5
+echo "configure:801: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
yes;
#endif
EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
-echo "configure:812: checking whether ${CC-cc} accepts -g" >&5
+echo "configure:825: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "x$CC" != xcc; then
echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
-echo "configure:844: checking whether $CC and cc understand -c and -o together" >&5
+echo "configure:857: checking whether $CC and cc understand -c and -o together" >&5
else
echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
-echo "configure:847: checking whether cc understands -c and -o together" >&5
+echo "configure:860: checking whether cc understands -c and -o together" >&5
fi
set dummy $CC; ac_cc="`echo $2 |
sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
# We do the test twice because some compilers refuse to overwrite an
# existing .o file with -o, though they will create one.
ac_try='${CC-cc} -c conftest.c -o conftest.o 1>&5'
-if { (eval echo configure:859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
- test -f conftest.o && { (eval echo configure:860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
+if { (eval echo configure:872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
+ test -f conftest.o && { (eval echo configure:873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
then
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
if test "x$CC" != xcc; then
# Test first that cc exists at all.
- if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
+ if { ac_try='cc -c conftest.c 1>&5'; { (eval echo configure:878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
ac_try='cc -c conftest.c -o conftest.o 1>&5'
- if { (eval echo configure:867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
- test -f conftest.o && { (eval echo configure:868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
+ if { (eval echo configure:880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
+ test -f conftest.o && { (eval echo configure:881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
then
# cc works too.
:
fi
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
-echo "configure:895: checking how to run the C preprocessor" >&5
+echo "configure:908: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 910 "configure"
+#line 923 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
-#line 927 "configure"
+#line 940 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
if test $ac_cv_prog_gcc = yes; then
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
-echo "configure:957: checking whether ${CC-cc} needs -traditional" >&5
+echo "configure:970: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_pattern="Autoconf.*'x'"
cat > conftest.$ac_ext <<EOF
-#line 963 "configure"
+#line 976 "configure"
#include "confdefs.h"
#include <sgtty.h>
Autoconf TIOCGETP
if test $ac_cv_prog_gcc_traditional = no; then
cat > conftest.$ac_ext <<EOF
-#line 981 "configure"
+#line 994 "configure"
#include "confdefs.h"
#include <termio.h>
Autoconf TCGETA
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1010: checking for $ac_word" >&5
+echo "configure:1023: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
-echo "configure:1041: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
+echo "configure:1054: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 1051 "configure"
+#line 1064 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
-if { (eval echo configure:1055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
ac_cv_prog_cxx_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
{ echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
-echo "configure:1081: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
+echo "configure:1094: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
-echo "configure:1086: checking whether we are using GNU C++" >&5
+echo "configure:1099: checking whether we are using GNU C++" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
yes;
#endif
EOF
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gxx=yes
else
ac_cv_prog_gxx=no
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS=
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
-echo "configure:1110: checking whether ${CXX-g++} accepts -g" >&5
+echo "configure:1123: checking whether ${CXX-g++} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
-echo "configure:1138: checking how to run the C++ preprocessor" >&5
+echo "configure:1151: checking how to run the C++ preprocessor" >&5
if test -z "$CXXCPP"; then
if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cross_compiling=$ac_cv_prog_cxx_cross
CXXCPP="${CXX-g++} -E"
cat > conftest.$ac_ext <<EOF
-#line 1151 "configure"
+#line 1164 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1188: checking for $ac_word" >&5
+echo "configure:1201: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1218: checking for $ac_word" >&5
+echo "configure:1231: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
-echo "configure:1275: checking for a BSD compatible install" >&5
+echo "configure:1288: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
-echo "configure:1326: checking whether ln -s works" >&5
+echo "configure:1339: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1352: checking for $ac_word" >&5
+echo "configure:1365: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo $ac_n "checking "make for VPATH support"""... $ac_c" 1>&6
-echo "configure:1382: checking "make for VPATH support"" >&5
+echo "configure:1395: checking "make for VPATH support"" >&5
cat - << EOF > confMake
check : file
cp \$? \$@
echo dummy > sub/file
${MAKE-make} -f confMake VPATH=sub 2> config.log > /dev/null
RESULT=$?
-rm -f sub/file check final_file config.log confMake
+rm -f sub/file check final_file confMake
rmdir sub
if test "$RESULT" = 0; then
echo "$ac_t""yes" 1>&6
# Uses ac_ vars as temps to allow command line to override cache and checks.
# --without-x overrides everything else, but does not touch the cache.
echo $ac_n "checking for X""... $ac_c" 1>&6
-echo "configure:1412: checking for X" >&5
+echo "configure:1425: checking for X" >&5
# Check whether --with-x or --without-x was given.
if test "${with_x+set}" = set; then
# First, try using that file with no special directory specified.
cat > conftest.$ac_ext <<EOF
-#line 1474 "configure"
+#line 1487 "configure"
#include "confdefs.h"
#include <$x_direct_test_include>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
ac_save_LIBS="$LIBS"
LIBS="-l$x_direct_test_library $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1548 "configure"
+#line 1561 "configure"
#include "confdefs.h"
int main() {
${x_direct_test_function}()
; return 0; }
EOF
-if { (eval echo configure:1555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
LIBS="$ac_save_LIBS"
# We can link X programs with no special library path.
case "`(uname -sr) 2>/dev/null`" in
"SunOS 5"*)
echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
-echo "configure:1661: checking whether -R must be followed by a space" >&5
+echo "configure:1674: checking whether -R must be followed by a space" >&5
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
cat > conftest.$ac_ext <<EOF
-#line 1664 "configure"
+#line 1677 "configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
-if { (eval echo configure:1671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
ac_R_nospace=yes
else
else
LIBS="$ac_xsave_LIBS -R $x_libraries"
cat > conftest.$ac_ext <<EOF
-#line 1687 "configure"
+#line 1700 "configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
-if { (eval echo configure:1694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
ac_R_space=yes
else
# libraries were built with DECnet support. And karl@cs.umb.edu says
# the Alpha needs dnet_stub (dnet does not exist).
echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
-echo "configure:1726: checking for dnet_ntoa in -ldnet" >&5
+echo "configure:1739: checking for dnet_ntoa in -ldnet" >&5
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-ldnet $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1734 "configure"
+#line 1747 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
dnet_ntoa()
; return 0; }
EOF
-if { (eval echo configure:1745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
-echo "configure:1767: checking for dnet_ntoa in -ldnet_stub" >&5
+echo "configure:1780: checking for dnet_ntoa in -ldnet_stub" >&5
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-ldnet_stub $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1775 "configure"
+#line 1788 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
dnet_ntoa()
; return 0; }
EOF
-if { (eval echo configure:1786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
# The nsl library prevents programs from opening the X display
# on Irix 5.2, according to dickey@clark.net.
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
-echo "configure:1815: checking for gethostbyname" >&5
+echo "configure:1828: checking for gethostbyname" >&5
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1820 "configure"
+#line 1833 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
; return 0; }
EOF
-if { (eval echo configure:1843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_gethostbyname=yes"
else
if test $ac_cv_func_gethostbyname = no; then
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
-echo "configure:1864: checking for gethostbyname in -lnsl" >&5
+echo "configure:1877: checking for gethostbyname in -lnsl" >&5
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lnsl $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1872 "configure"
+#line 1885 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
gethostbyname()
; return 0; }
EOF
-if { (eval echo configure:1883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
# -lsocket must be given before -lnsl if both are needed.
# We assume that if connect needs -lnsl, so does gethostbyname.
echo $ac_n "checking for connect""... $ac_c" 1>&6
-echo "configure:1913: checking for connect" >&5
+echo "configure:1926: checking for connect" >&5
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1918 "configure"
+#line 1931 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char connect(); below. */
; return 0; }
EOF
-if { (eval echo configure:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_connect=yes"
else
if test $ac_cv_func_connect = no; then
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
-echo "configure:1962: checking for connect in -lsocket" >&5
+echo "configure:1975: checking for connect in -lsocket" >&5
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1970 "configure"
+#line 1983 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
connect()
; return 0; }
EOF
-if { (eval echo configure:1981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:1994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
echo $ac_n "checking for remove""... $ac_c" 1>&6
-echo "configure:2005: checking for remove" >&5
+echo "configure:2018: checking for remove" >&5
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2010 "configure"
+#line 2023 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char remove(); below. */
; return 0; }
EOF
-if { (eval echo configure:2033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_remove=yes"
else
if test $ac_cv_func_remove = no; then
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
-echo "configure:2054: checking for remove in -lposix" >&5
+echo "configure:2067: checking for remove in -lposix" >&5
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lposix $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2062 "configure"
+#line 2075 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
remove()
; return 0; }
EOF
-if { (eval echo configure:2073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
echo $ac_n "checking for shmat""... $ac_c" 1>&6
-echo "configure:2097: checking for shmat" >&5
+echo "configure:2110: checking for shmat" >&5
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2102 "configure"
+#line 2115 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char shmat(); below. */
; return 0; }
EOF
-if { (eval echo configure:2125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_func_shmat=yes"
else
if test $ac_cv_func_shmat = no; then
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
-echo "configure:2146: checking for shmat in -lipc" >&5
+echo "configure:2159: checking for shmat in -lipc" >&5
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lipc $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2154 "configure"
+#line 2167 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
shmat()
; return 0; }
EOF
-if { (eval echo configure:2165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
# libraries we check for below, so use a different variable.
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
-echo "configure:2198: checking for IceConnectionNumber in -lICE" >&5
+echo "configure:2211: checking for IceConnectionNumber in -lICE" >&5
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lICE $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2206 "configure"
+#line 2219 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
IceConnectionNumber()
; return 0; }
EOF
-if { (eval echo configure:2217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
-echo "configure:2247: checking for $ac_hdr that defines DIR" >&5
+echo "configure:2260: checking for $ac_hdr that defines DIR" >&5
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2252 "configure"
+#line 2265 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <$ac_hdr>
DIR *dirp = 0;
; return 0; }
EOF
-if { (eval echo configure:2260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_header_dirent_$ac_safe=yes"
else
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
if test $ac_header_dirent = dirent.h; then
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
-echo "configure:2285: checking for opendir in -ldir" >&5
+echo "configure:2298: checking for opendir in -ldir" >&5
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-ldir $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2293 "configure"
+#line 2306 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
opendir()
; return 0; }
EOF
-if { (eval echo configure:2304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
else
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
-echo "configure:2326: checking for opendir in -lx" >&5
+echo "configure:2339: checking for opendir in -lx" >&5
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lx $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2334 "configure"
+#line 2347 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
opendir()
; return 0; }
EOF
-if { (eval echo configure:2345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:2358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
fi
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
-echo "configure:2368: checking for ANSI C header files" >&5
+echo "configure:2381: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2373 "configure"
+#line 2386 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
-#line 2398 "configure"
+#line 2411 "configure"
#include "confdefs.h"
#include <string.h>
EOF
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
-#line 2416 "configure"
+#line 2429 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
:
else
cat > conftest.$ac_ext <<EOF
-#line 2437 "configure"
+#line 2450 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
exit (0); }
EOF
-if { (eval echo configure:2448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
:
else
fi
echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
-echo "configure:2472: checking for sys/wait.h that is POSIX.1 compatible" >&5
+echo "configure:2485: checking for sys/wait.h that is POSIX.1 compatible" >&5
if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2477 "configure"
+#line 2490 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
; return 0; }
EOF
-if { (eval echo configure:2493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_sys_wait_h=yes
else
fi
-ac_safe=`echo "fcntl.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for fcntl.h""... $ac_c" 1>&6
-echo "configure:2515: checking for fcntl.h" >&5
+for ac_hdr in fcntl.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:2530: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2520 "configure"
+#line 2535 "configure"
#include "confdefs.h"
-#include <fcntl.h>
+#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
- :
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
+EOF
+
else
echo "$ac_t""no" 1>&6
fi
+done
-ac_safe=`echo "limits.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for limits.h""... $ac_c" 1>&6
-echo "configure:2548: checking for limits.h" >&5
+for ac_hdr in limits.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:2570: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2553 "configure"
+#line 2575 "configure"
#include "confdefs.h"
-#include <limits.h>
+#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
- :
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
+EOF
+
else
echo "$ac_t""no" 1>&6
fi
+done
-ac_safe=`echo "sys/file.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/file.h""... $ac_c" 1>&6
-echo "configure:2581: checking for sys/file.h" >&5
+for ac_hdr in sys/file.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:2610: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2586 "configure"
+#line 2615 "configure"
#include "confdefs.h"
-#include <sys/file.h>
+#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
- :
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
+EOF
+
else
echo "$ac_t""no" 1>&6
fi
+done
-ac_safe=`echo "sys/time.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for sys/time.h""... $ac_c" 1>&6
-echo "configure:2614: checking for sys/time.h" >&5
+for ac_hdr in sys/time.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:2650: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2619 "configure"
+#line 2655 "configure"
#include "confdefs.h"
-#include <sys/time.h>
+#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2624: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
- :
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
+EOF
+
else
echo "$ac_t""no" 1>&6
fi
+done
-ac_safe=`echo "unistd.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for unistd.h""... $ac_c" 1>&6
-echo "configure:2647: checking for unistd.h" >&5
+for ac_hdr in unistd.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:2690: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2652 "configure"
+#line 2695 "configure"
#include "confdefs.h"
-#include <unistd.h>
+#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
- :
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
+EOF
+
else
echo "$ac_t""no" 1>&6
fi
+done
-
-echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
-echo "configure:2680: checking for uid_t in sys/types.h" >&5
-if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
+for ac_hdr in fnmatch.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:2730: checking for $ac_hdr" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2685 "configure"
+#line 2735 "configure"
#include "confdefs.h"
-#include <sys/types.h>
+#include <$ac_hdr>
EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "uid_t" >/dev/null 2>&1; then
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:2740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+if test -z "$ac_err"; then
rm -rf conftest*
- ac_cv_type_uid_t=yes
+ eval "ac_cv_header_$ac_safe=yes"
else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
rm -rf conftest*
- ac_cv_type_uid_t=no
+ eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
-
fi
-
-echo "$ac_t""$ac_cv_type_uid_t" 1>&6
-if test $ac_cv_type_uid_t = no; then
- cat >> confdefs.h <<\EOF
-#define uid_t int
-EOF
-
- cat >> confdefs.h <<\EOF
-#define gid_t int
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
EOF
-
+
+else
+ echo "$ac_t""no" 1>&6
fi
+done
-echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
-echo "configure:2714: checking type of array argument to getgroups" >&5
-if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
+for ac_hdr in linux/joystick.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:2770: checking for $ac_hdr" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
-else
- if test "$cross_compiling" = yes; then
- ac_cv_type_getgroups=cross
else
cat > conftest.$ac_ext <<EOF
-#line 2722 "configure"
+#line 2775 "configure"
#include "confdefs.h"
-
-/* Thanks to Mike Rendell for this test. */
-#include <sys/types.h>
-#define NGID 256
-#undef MAX
-#define MAX(x, y) ((x) > (y) ? (x) : (y))
-main()
-{
- gid_t gidset[NGID];
- int i, n;
- union { gid_t gval; long lval; } val;
-
- val.lval = -1;
- for (i = 0; i < NGID; i++)
- gidset[i] = val.gval;
- n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
- gidset);
- /* Exit non-zero if getgroups seems to require an array of ints. This
- happens when gid_t is short but getgroups modifies an array of ints. */
- exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
-}
-
+#include <$ac_hdr>
EOF
-if { (eval echo configure:2747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
-then
- ac_cv_type_getgroups=gid_t
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:2780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
else
+ echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_cv_type_getgroups=int
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
fi
-rm -fr conftest*
+rm -f conftest*
fi
-
-if test $ac_cv_type_getgroups = cross; then
- cat > conftest.$ac_ext <<EOF
-#line 2761 "configure"
-#include "confdefs.h"
-#include <unistd.h>
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "getgroups.*int.*gid_t" >/dev/null 2>&1; then
- rm -rf conftest*
- ac_cv_type_getgroups=gid_t
+
else
- rm -rf conftest*
- ac_cv_type_getgroups=int
+ echo "$ac_t""no" 1>&6
fi
-rm -f conftest*
+done
+GTK_JOYSTICK=""
+if test "$ac_cv_header_linux_joystick_h" = "yes"; then
+ GTK_JOYSTICK="gtk/joystick.cpp"
fi
-fi
-
-echo "$ac_t""$ac_cv_type_getgroups" 1>&6
-cat >> confdefs.h <<EOF
-#define GETGROUPS_T $ac_cv_type_getgroups
-EOF
-echo $ac_n "checking for mode_t""... $ac_c" 1>&6
-echo "configure:2785: checking for mode_t" >&5
-if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
+echo $ac_n "checking for vprintf""... $ac_c" 1>&6
+echo "configure:2813: checking for vprintf" >&5
+if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2790 "configure"
+#line 2818 "configure"
#include "confdefs.h"
-#include <sys/types.h>
-#if STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char vprintf(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char vprintf();
+
+int main() {
+
+/* 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_vprintf) || defined (__stub___vprintf)
+choke me
+#else
+vprintf();
#endif
+
+; return 0; }
EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+if { (eval echo configure:2841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
- ac_cv_type_mode_t=yes
+ eval "ac_cv_func_vprintf=yes"
else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
rm -rf conftest*
- ac_cv_type_mode_t=no
+ eval "ac_cv_func_vprintf=no"
fi
rm -f conftest*
-
fi
-echo "$ac_t""$ac_cv_type_mode_t" 1>&6
-if test $ac_cv_type_mode_t = no; then
+
+if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF
-#define mode_t int
+#define HAVE_VPRINTF 1
EOF
+else
+ echo "$ac_t""no" 1>&6
fi
-echo $ac_n "checking for off_t""... $ac_c" 1>&6
-echo "configure:2818: checking for off_t" >&5
-if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
+if test "$ac_cv_func_vprintf" != yes; then
+echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
+echo "configure:2865: checking for _doprnt" >&5
+if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2823 "configure"
+#line 2870 "configure"
#include "confdefs.h"
-#include <sys/types.h>
-#if STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char _doprnt(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char _doprnt();
+
+int main() {
+
+/* 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__doprnt) || defined (__stub____doprnt)
+choke me
+#else
+_doprnt();
#endif
+
+; return 0; }
EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+if { (eval echo configure:2893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
- ac_cv_type_off_t=yes
+ eval "ac_cv_func__doprnt=yes"
else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
rm -rf conftest*
- ac_cv_type_off_t=no
+ eval "ac_cv_func__doprnt=no"
fi
rm -f conftest*
-
fi
-echo "$ac_t""$ac_cv_type_off_t" 1>&6
-if test $ac_cv_type_off_t = no; then
+
+if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF
-#define off_t long
+#define HAVE_DOPRNT 1
EOF
+else
+ echo "$ac_t""no" 1>&6
+fi
+
fi
-echo $ac_n "checking for pid_t""... $ac_c" 1>&6
-echo "configure:2851: checking for pid_t" >&5
-if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
+echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
+echo "configure:2918: checking for vsnprintf" >&5
+if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2856 "configure"
+#line 2923 "configure"
#include "confdefs.h"
-#include <sys/types.h>
-#if STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char vsnprintf(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char vsnprintf();
+
+int main() {
+
+/* 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_vsnprintf) || defined (__stub___vsnprintf)
+choke me
+#else
+vsnprintf();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:2946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_func_vsnprintf=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_vsnprintf=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ :
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+
+
+ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+
+for ac_hdr in iostream
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:2978: checking for $ac_hdr" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 2983 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:2988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
+EOF
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
+if test "x$HAVE_IOSTREAM" = "x" ; then
+ cat >> confdefs.h <<\EOF
+#define wxUSE_IOSTREAMH 1
+EOF
+
+fi
+ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
+
+
+echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
+echo "configure:3029: checking for uid_t in sys/types.h" >&5
+if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 3034 "configure"
+#include "confdefs.h"
+#include <sys/types.h>
+EOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ egrep "uid_t" >/dev/null 2>&1; then
+ rm -rf conftest*
+ ac_cv_type_uid_t=yes
+else
+ rm -rf conftest*
+ ac_cv_type_uid_t=no
+fi
+rm -f conftest*
+
+fi
+
+echo "$ac_t""$ac_cv_type_uid_t" 1>&6
+if test $ac_cv_type_uid_t = no; then
+ cat >> confdefs.h <<\EOF
+#define uid_t int
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define gid_t int
+EOF
+
+fi
+
+echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
+echo "configure:3063: checking type of array argument to getgroups" >&5
+if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test "$cross_compiling" = yes; then
+ ac_cv_type_getgroups=cross
+else
+ cat > conftest.$ac_ext <<EOF
+#line 3071 "configure"
+#include "confdefs.h"
+
+/* Thanks to Mike Rendell for this test. */
+#include <sys/types.h>
+#define NGID 256
+#undef MAX
+#define MAX(x, y) ((x) > (y) ? (x) : (y))
+main()
+{
+ gid_t gidset[NGID];
+ int i, n;
+ union { gid_t gval; long lval; } val;
+
+ val.lval = -1;
+ for (i = 0; i < NGID; i++)
+ gidset[i] = val.gval;
+ n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
+ gidset);
+ /* Exit non-zero if getgroups seems to require an array of ints. This
+ happens when gid_t is short but getgroups modifies an array of ints. */
+ exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
+}
+
+EOF
+if { (eval echo configure:3096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+then
+ ac_cv_type_getgroups=gid_t
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -fr conftest*
+ ac_cv_type_getgroups=int
+fi
+rm -fr conftest*
+fi
+
+if test $ac_cv_type_getgroups = cross; then
+ cat > conftest.$ac_ext <<EOF
+#line 3110 "configure"
+#include "confdefs.h"
+#include <unistd.h>
+EOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ egrep "getgroups.*int.*gid_t" >/dev/null 2>&1; then
+ rm -rf conftest*
+ ac_cv_type_getgroups=gid_t
+else
+ rm -rf conftest*
+ ac_cv_type_getgroups=int
+fi
+rm -f conftest*
+
+fi
+fi
+
+echo "$ac_t""$ac_cv_type_getgroups" 1>&6
+cat >> confdefs.h <<EOF
+#define GETGROUPS_T $ac_cv_type_getgroups
+EOF
+
+
+echo $ac_n "checking for mode_t""... $ac_c" 1>&6
+echo "configure:3134: checking for mode_t" >&5
+if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 3139 "configure"
+#include "confdefs.h"
+#include <sys/types.h>
+#if STDC_HEADERS
+#include <stdlib.h>
+#include <stddef.h>
+#endif
+EOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+ rm -rf conftest*
+ ac_cv_type_mode_t=yes
+else
+ rm -rf conftest*
+ ac_cv_type_mode_t=no
+fi
+rm -f conftest*
+
+fi
+echo "$ac_t""$ac_cv_type_mode_t" 1>&6
+if test $ac_cv_type_mode_t = no; then
+ cat >> confdefs.h <<\EOF
+#define mode_t int
+EOF
+
+fi
+
+echo $ac_n "checking for off_t""... $ac_c" 1>&6
+echo "configure:3167: checking for off_t" >&5
+if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 3172 "configure"
+#include "confdefs.h"
+#include <sys/types.h>
+#if STDC_HEADERS
+#include <stdlib.h>
+#include <stddef.h>
+#endif
+EOF
+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+ egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
+ rm -rf conftest*
+ ac_cv_type_off_t=yes
+else
+ rm -rf conftest*
+ ac_cv_type_off_t=no
+fi
+rm -f conftest*
+
+fi
+echo "$ac_t""$ac_cv_type_off_t" 1>&6
+if test $ac_cv_type_off_t = no; then
+ cat >> confdefs.h <<\EOF
+#define off_t long
+EOF
+
+fi
+
+echo $ac_n "checking for pid_t""... $ac_c" 1>&6
+echo "configure:3200: checking for pid_t" >&5
+if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 3205 "configure"
+#include "confdefs.h"
+#include <sys/types.h>
+#if STDC_HEADERS
+#include <stdlib.h>
+#include <stddef.h>
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
fi
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
-echo "configure:2884: checking return type of signal handlers" >&5
+echo "configure:3233: checking return type of signal handlers" >&5
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2889 "configure"
+#line 3238 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
int i;
; return 0; }
EOF
-if { (eval echo configure:2906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_type_signal=void
else
echo $ac_n "checking for size_t""... $ac_c" 1>&6
-echo "configure:2925: checking for size_t" >&5
+echo "configure:3274: checking for size_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2930 "configure"
+#line 3279 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
fi
echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
-echo "configure:2958: checking for uid_t in sys/types.h" >&5
+echo "configure:3307: checking for uid_t in sys/types.h" >&5
if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2963 "configure"
+#line 3312 "configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
-echo "configure:2994: checking whether stat file-mode macros are broken" >&5
+echo "configure:3343: checking whether stat file-mode macros are broken" >&5
if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2999 "configure"
+#line 3348 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
fi
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
-echo "configure:3050: checking whether time.h and sys/time.h may both be included" >&5
+echo "configure:3399: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3055 "configure"
+#line 3404 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
struct tm *tp;
; return 0; }
EOF
-if { (eval echo configure:3064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_time=yes
else
fi
echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
-echo "configure:3085: checking for st_blksize in struct stat" >&5
+echo "configure:3434: checking for st_blksize in struct stat" >&5
if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3090 "configure"
+#line 3439 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
struct stat s; s.st_blksize;
; return 0; }
EOF
-if { (eval echo configure:3098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_struct_st_blksize=yes
else
fi
echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
-echo "configure:3119: checking for st_blocks in struct stat" >&5
+echo "configure:3468: checking for st_blocks in struct stat" >&5
if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3124 "configure"
+#line 3473 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
struct stat s; s.st_blocks;
; return 0; }
EOF
-if { (eval echo configure:3132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_struct_st_blocks=yes
else
fi
echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
-echo "configure:3155: checking for st_rdev in struct stat" >&5
+echo "configure:3504: checking for st_rdev in struct stat" >&5
if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3160 "configure"
+#line 3509 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
struct stat s; s.st_rdev;
; return 0; }
EOF
-if { (eval echo configure:3168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_struct_st_rdev=yes
else
fi
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
-echo "configure:3189: checking whether struct tm is in sys/time.h or time.h" >&5
+echo "configure:3538: checking whether struct tm is in sys/time.h or time.h" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3194 "configure"
+#line 3543 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
struct tm *tp; tp->tm_sec;
; return 0; }
EOF
-if { (eval echo configure:3202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_struct_tm=time.h
else
fi
echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
-echo "configure:3223: checking for tm_zone in struct tm" >&5
+echo "configure:3572: checking for tm_zone in struct tm" >&5
if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3228 "configure"
+#line 3577 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <$ac_cv_struct_tm>
struct tm tm; tm.tm_zone;
; return 0; }
EOF
-if { (eval echo configure:3236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_struct_tm_zone=yes
else
else
echo $ac_n "checking for tzname""... $ac_c" 1>&6
-echo "configure:3256: checking for tzname" >&5
+echo "configure:3605: checking for tzname" >&5
if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3261 "configure"
+#line 3610 "configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
atoi(*tzname);
; return 0; }
EOF
-if { (eval echo configure:3271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:3620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
ac_cv_var_tzname=yes
else
echo $ac_n "checking for working const""... $ac_c" 1>&6
-echo "configure:3295: checking for working const" >&5
+echo "configure:3644: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3300 "configure"
+#line 3649 "configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
-if { (eval echo configure:3349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_const=yes
else
fi
echo $ac_n "checking for inline""... $ac_c" 1>&6
-echo "configure:3370: checking for inline" >&5
+echo "configure:3719: checking for inline" >&5
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
cat > conftest.$ac_ext <<EOF
-#line 3377 "configure"
+#line 3726 "configure"
#include "confdefs.h"
int main() {
} $ac_kw foo() {
; return 0; }
EOF
-if { (eval echo configure:3384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_inline=$ac_kw; break
else
esac
echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
-echo "configure:3410: checking whether char is unsigned" >&5
+echo "configure:3759: checking whether char is unsigned" >&5
if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$GCC" = yes; then
# GCC predefines this symbol on systems where it applies.
cat > conftest.$ac_ext <<EOF
-#line 3417 "configure"
+#line 3766 "configure"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
yes
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
-#line 3439 "configure"
+#line 3788 "configure"
#include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
#if !defined(__STDC__) || __STDC__ != 1
volatile char c = 255; exit(c < 0);
}
EOF
-if { (eval echo configure:3449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:3798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
ac_cv_c_char_unsigned=yes
else
fi
echo $ac_n "checking for long double""... $ac_c" 1>&6
-echo "configure:3473: checking for long double" >&5
+echo "configure:3822: checking for long double" >&5
if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
-#line 3484 "configure"
+#line 3833 "configure"
#include "confdefs.h"
int main() {
/* The Stardent Vistra knows sizeof(long double), but does not support it. */
/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
exit(sizeof(long double) < sizeof(double)); }
EOF
-if { (eval echo configure:3492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:3841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
ac_cv_c_long_double=yes
else
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
-echo "configure:3517: checking whether byte ordering is bigendian" >&5
+echo "configure:3866: checking whether byte ordering is bigendian" >&5
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF
-#line 3524 "configure"
+#line 3873 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
#endif
; return 0; }
EOF
-if { (eval echo configure:3535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
# It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF
-#line 3539 "configure"
+#line 3888 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
#endif
; return 0; }
EOF
-if { (eval echo configure:3550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_bigendian=yes
else
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
-#line 3570 "configure"
+#line 3919 "configure"
#include "confdefs.h"
main () {
/* Are we little or big endian? From Harbison&Steele. */
exit (u.c[sizeof (long) - 1] == 1);
}
EOF
-if { (eval echo configure:3583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:3932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
ac_cv_c_bigendian=no
else
echo $ac_n "checking size of int *""... $ac_c" 1>&6
-echo "configure:3608: checking size of int *" >&5
+echo "configure:3957: checking size of int *" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
-#line 3616 "configure"
+#line 3965 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
exit(0);
}
EOF
-if { (eval echo configure:3627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:3976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_int_p=`cat conftestval`
else
echo $ac_n "checking size of int""... $ac_c" 1>&6
-echo "configure:3647: checking size of int" >&5
+echo "configure:3996: checking size of int" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
-#line 3655 "configure"
+#line 4004 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
exit(0);
}
EOF
-if { (eval echo configure:3666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:4015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_int=`cat conftestval`
else
echo $ac_n "checking size of long""... $ac_c" 1>&6
-echo "configure:3686: checking size of long" >&5
+echo "configure:4035: checking size of long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
-#line 3694 "configure"
+#line 4043 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
exit(0);
}
EOF
-if { (eval echo configure:3705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:4054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_long=`cat conftestval`
else
+
echo $ac_n "checking for long file names""... $ac_c" 1>&6
-echo "configure:3728: checking for long file names" >&5
+echo "configure:4078: checking for long file names" >&5
if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3779: checking for $ac_word" >&5
+echo "configure:4129: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "flex", so it can be a program name with args.
set dummy flex; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3812: checking for $ac_word" >&5
+echo "configure:4162: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
*) ac_lib=l ;;
esac
echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
-echo "configure:3845: checking for yywrap in -l$ac_lib" >&5
+echo "configure:4195: checking for yywrap in -l$ac_lib" >&5
ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-l$ac_lib $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 3853 "configure"
+#line 4203 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
yywrap()
; return 0; }
EOF
-if { (eval echo configure:3864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:4214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
fi
echo $ac_n "checking lex output file root""... $ac_c" 1>&6
-echo "configure:3887: checking lex output file root" >&5
+echo "configure:4237: checking lex output file root" >&5
if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
-echo "configure:3908: checking whether yytext is a pointer" >&5
+echo "configure:4258: checking whether yytext is a pointer" >&5
if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="$LIBS $LEXLIB"
cat > conftest.$ac_ext <<EOF
-#line 3920 "configure"
+#line 4270 "configure"
#include "confdefs.h"
`cat $LEX_OUTPUT_ROOT.c`
int main() {
; return 0; }
EOF
-if { (eval echo configure:3927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+if { (eval echo configure:4277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
ac_cv_prog_lex_yytext_pointer=yes
else
fi
echo $ac_n "checking host system type""... $ac_c" 1>&6
-echo "configure:3961: checking host system type" >&5
+echo "configure:4311: checking host system type" >&5
host_alias=$host
case "$host_alias" in
configuration=$host_alias
-USE_GTK=1
USE_UNIX=1
-TOOLKIT=GTK
-TOOLKIT_DEF=__GTK__
-
USE_LINUX=
USE_SGI=
USE_HPUX=
USE_ULTRIX=
USE_DATA_GENERAL=
+cat >> confdefs.h <<\EOF
+#define __UNIX__ 1
+EOF
+
case "${canonical}" in
*-hp-hpux* )
USE_HPUX=1
#define __LINUX__ 1
EOF
+ TMP=`uname -m`
+ if test "x$TMP" = "xalpha"
+ then
+ USE_ALPHA=1
+ cat >> confdefs.h <<\EOF
+#define __ALPHA__ 1
+EOF
+
+ fi
;;
*-*-irix5* | *-*-irix6* )
USE_SGI=1
#define __SVR4__ 1
EOF
- ;;
- *)
- { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
-esac
+ ;;
+ *)
+ { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
+esac
+
+
+
+rm -f ${OSTYPE}.system.cache.tmp
+touch ${OSTYPE}.system.cache.tmp
+touch ${OSTYPE}.system.cache
+
+
+DEFAULT_wxUSE_GTK=1
+DEFAULT_wxUSE_QT=0
+DEFAULT_wxUSE_MOTIF=0
+
+DEFAULT_wxUSE_THREADS=0
+
+DEFAULT_wxUSE_SHARED=1
+DEFAULT_wxUSE_OPTIMISE=1
+DEFAULT_wxUSE_PROFILE=0
+DEFAULT_wxUSE_DEBUG_FLAG=0
+DEFAULT_wxUSE_DEBUG_INFO=0
+DEFAULT_wxUSE_MEM_TRACING=0
+DEFAULT_wxUSE_DMALLOC=0
+DEFAULT_wxUSE_APPLE_IEEE=1
+DEFAULT_wxUSE_IOSTREAMH=1
+
+DEFAULT_wxUSE_ZLIB=1
+DEFAULT_wxUSE_LIBPNG=1
+DEFAULT_wxUSE_ODBC=1
+
+DEFAULT_wxUSE_TIMEDATE=1
+DEFAULT_wxUSE_INTL=1
+DEFAULT_wxUSE_CONFIG=1
+DEFAULT_wxUSE_STREAMS=1
+DEFAULT_wxUSE_SERIAL=1
+
+DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=1
+DEFAULT_WX_NORMALIZED_PS_FONTS=1
+DEFAULT_wxUSE_POSTSCRIPT=1
+
+DEFAULT_wxUSE_IPC=1
+DEFAULT_wxUSE_RESOURCES=1
+DEFAULT_wxUSE_CLIPBOARD=1
+DEFAULT_wxUSE_DRAG_AND_DROP=1
+
+DEFAULT_wxUSE_MDI_ARCHITECTURE=1
+DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=1
+DEFAULT_wxUSE_PRINTING_ARCHITECTURE=1
+
+DEFAULT_wxUSE_PROLOGIO=1
+DEFAULT_wxUSE_WX_RESOURCES=1
+DEFAULT_wxUSE_RPC=0
+DEFAULT_wxUSE_HELP=1
+
+DEFAULT_wxUSE_UNICODE=1
+DEFAULT_wxUSE_WCSRTOMBS=0
+
+
+
+echo $ac_n "checking "for gtk"""... $ac_c" 1>&6
+echo "configure:4554: checking "for gtk"" >&5
+# Check whether --with-gtk or --without-gtk was given.
+if test "${with_gtk+set}" = set; then
+ withval="$with_gtk"
+ if test "x$with_gtk" = xyes; then
+ ac_cv_use_gtk='wxUSE_GTK="1"'
+else
+ ac_cv_use_gtk='wxUSE_GTK="0"'
+fi
+else
+
+ LINE=`grep "wxUSE_GTK" ${OSTYPE}.system.cache`
+ if test "x$LINE" != x ; then
+ eval "DEFAULT_$LINE"
+ fi
+ ac_cv_use_gtk='wxUSE_GTK='$DEFAULT_wxUSE_GTK
+
+fi
+eval "$ac_cv_use_gtk"
+echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_GTK" = 1; then
+ echo "$ac_t""yes" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
-rm -f ${OSTYPE}.system.cache.tmp
-touch ${OSTYPE}.system.cache.tmp
-touch ${OSTYPE}.system.cache
+echo $ac_n "checking "for qt"""... $ac_c" 1>&6
+echo "configure:4584: checking "for qt"" >&5
+# Check whether --with-qt or --without-qt was given.
+if test "${with_qt+set}" = set; then
+ withval="$with_qt"
+ if test "x$with_qt" = xyes; then
+ ac_cv_use_qt='wxUSE_QT="1"'
+else
+ ac_cv_use_qt='wxUSE_QT="0"'
+fi
+else
+
+ LINE=`grep "wxUSE_QT" ${OSTYPE}.system.cache`
+ if test "x$LINE" != x ; then
+ eval "DEFAULT_$LINE"
+ fi
+ ac_cv_use_qt='wxUSE_QT='$DEFAULT_wxUSE_QT
-DEFAULT_USE_SHARED=0
-DEFAULT_USE_OPTIMISE=1
-DEFAULT_USE_PROFILE=0
-DEFAULT_USE_DEBUG_FLAG=0
-DEFAULT_USE_DEBUG_INFO=0
-DEFAULT_USE_MEM_TRACING=0
+fi
-DEFAULT_USE_ZLIB=1
-DEFAULT_USE_GDK_IMLIB=1
-DEFAULT_USE_LIBPNG=1
+eval "$ac_cv_use_qt"
+echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_QT" = 1; then
+ echo "$ac_t""yes" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
-DEFAULT_USE_STORABLE_CLASSES=1
-DEFAULT_USE_AUTOTRANS=1
-DEFAULT_USE_AFM_FOR_POSTSCRIPT=1
-DEFAULT_WX_NORMALIZED_PS_FONTS=1
-DEFAULT_USE_IOSTREAMH=1
-DEFAULT_USE_THREADS=0
-DEFAULT_USE_THREADS_SGI=0
-DEFAULT_USE_THREADS_POSIX=0
-DEFAULT_USE_OPENGL=0
+echo $ac_n "checking "for motif"""... $ac_c" 1>&6
+echo "configure:4614: checking "for motif"" >&5
+# Check whether --with-motif or --without-motif was given.
+if test "${with_motif+set}" = set; then
+ withval="$with_motif"
+ if test "x$with_motif" = xyes; then
+ ac_cv_use_motif='wxUSE_MOTIF="1"'
+else
+ ac_cv_use_motif='wxUSE_MOTIF="0"'
+fi
+else
+
+ LINE=`grep "wxUSE_MOTIF" ${OSTYPE}.system.cache`
+ if test "x$LINE" != x ; then
+ eval "DEFAULT_$LINE"
+ fi
+ ac_cv_use_motif='wxUSE_MOTIF='$DEFAULT_wxUSE_MOTIF
-DEFAULT_USE_POSTSCRIPT=1
-DEFAULT_USE_IPC=1
-DEFAULT_USE_RESOURCES=1
-DEFAULT_USE_TIMEDATE=1
-DEFAULT_USE_FRACTION=1
-DEFAULT_USE_CONSTRAINTS=1
-DEFAULT_USE_TOOLBAR=1
-DEFAULT_USE_GAUGE=1
-DEFAULT_USE_SCROLLBAR=1
-DEFAULT_USE_DOC_VIEW_ARCHITECTURE=1
-DEFAULT_USE_PRINTING_ARCHITECTURE=1
+fi
-DEFAULT_USE_METAFILE=0
-DEFAULT_USE_HELP=0
-DEFAULT_USE_CLIPBOARD=0
-DEFAULT_USE_VLBOX=0
-DEFAULT_USE_WXGRAPH=0
-DEFAULT_USE_WXTREE=0
-DEFAULT_USE_ENHANCED_DIALOG=0
+eval "$ac_cv_use_motif"
+echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_MOTIF" = 1; then
+ echo "$ac_t""yes" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
-DEFAULT_USE_FORM=0
-DEFAULT_USE_PROLOGIO=0
-DEFAULT_USE_RPC=0
-DEFAULT_USE_WX_RESOURCES=1
echo $ac_n "checking "for shared"""... $ac_c" 1>&6
-echo "configure:4196: checking "for shared"" >&5
+echo "configure:4645: checking "for shared"" >&5
# Check whether --with-shared or --without-shared was given.
if test "${with_shared+set}" = set; then
withval="$with_shared"
if test "x$with_shared" = xyes; then
- ac_cv_use_shared='USE_SHARED="1"'
+ ac_cv_use_shared='wxUSE_SHARED="1"'
else
- ac_cv_use_shared='USE_SHARED="0"'
+ ac_cv_use_shared='wxUSE_SHARED="0"'
fi
else
- LINE=`grep "USE_SHARED" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_SHARED" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_shared='USE_SHARED='$DEFAULT_USE_SHARED
+ ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
fi
eval "$ac_cv_use_shared"
echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
-if test "$USE_SHARED" = 1; then
+if test "$wxUSE_SHARED" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking "for optimise"""... $ac_c" 1>&6
-echo "configure:4226: checking "for optimise"" >&5
+echo "configure:4675: checking "for optimise"" >&5
# Check whether --with-optimise or --without-optimise was given.
if test "${with_optimise+set}" = set; then
withval="$with_optimise"
if test "x$with_optimise" = xyes; then
- ac_cv_use_optimise='USE_OPTIMISE="1"'
+ ac_cv_use_optimise='wxUSE_OPTIMISE="1"'
else
- ac_cv_use_optimise='USE_OPTIMISE="0"'
+ ac_cv_use_optimise='wxUSE_OPTIMISE="0"'
fi
else
- LINE=`grep "USE_OPTIMISE" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_OPTIMISE" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_optimise='USE_OPTIMISE='$DEFAULT_USE_OPTIMISE
+ ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
fi
eval "$ac_cv_use_optimise"
echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
-if test "$USE_OPTIMISE" = 1; then
+if test "$wxUSE_OPTIMISE" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking "for debug_flag"""... $ac_c" 1>&6
-echo "configure:4256: checking "for debug_flag"" >&5
+echo "configure:4705: checking "for debug_flag"" >&5
# Check whether --with-debug_flag or --without-debug_flag was given.
if test "${with_debug_flag+set}" = set; then
withval="$with_debug_flag"
if test "x$with_debug_flag" = xyes; then
- ac_cv_use_debug_flag='USE_DEBUG_FLAG="1"'
+ ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG="1"'
else
- ac_cv_use_debug_flag='USE_DEBUG_FLAG="0"'
+ ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG="0"'
fi
else
- LINE=`grep "USE_DEBUG_FLAG" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_DEBUG_FLAG" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_debug_flag='USE_DEBUG_FLAG='$DEFAULT_USE_DEBUG_FLAG
+ ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
fi
eval "$ac_cv_use_debug_flag"
echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
-if test "$USE_DEBUG_FLAG" = 1; then
+if test "$wxUSE_DEBUG_FLAG" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking "for debug_info"""... $ac_c" 1>&6
-echo "configure:4286: checking "for debug_info"" >&5
+echo "configure:4735: checking "for debug_info"" >&5
# Check whether --with-debug_info or --without-debug_info was given.
if test "${with_debug_info+set}" = set; then
withval="$with_debug_info"
if test "x$with_debug_info" = xyes; then
- ac_cv_use_debug_info='USE_DEBUG_INFO="1"'
+ ac_cv_use_debug_info='wxUSE_DEBUG_INFO="1"'
else
- ac_cv_use_debug_info='USE_DEBUG_INFO="0"'
+ ac_cv_use_debug_info='wxUSE_DEBUG_INFO="0"'
fi
else
- LINE=`grep "USE_DEBUG_INFO" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_DEBUG_INFO" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_debug_info='USE_DEBUG_INFO='$DEFAULT_USE_DEBUG_INFO
+ ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
fi
eval "$ac_cv_use_debug_info"
echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
-if test "$USE_DEBUG_INFO" = 1; then
+if test "$wxUSE_DEBUG_INFO" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for mem_tracing"""... $ac_c" 1>&6
-echo "configure:4316: checking "for mem_tracing"" >&5
-# Check whether --with-mem_tracing or --without-mem_tracing was given.
-if test "${with_mem_tracing+set}" = set; then
- withval="$with_mem_tracing"
- if test "x$with_mem_tracing" = xyes; then
- ac_cv_use_mem_tracing='USE_MEM_TRACING="1"'
+echo $ac_n "checking "for debug_gdb"""... $ac_c" 1>&6
+echo "configure:4765: checking "for debug_gdb"" >&5
+# Check whether --with-debug_gdb or --without-debug_gdb was given.
+if test "${with_debug_gdb+set}" = set; then
+ withval="$with_debug_gdb"
+ if test "x$with_debug_gdb" = xyes; then
+ ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB="1"'
else
- ac_cv_use_mem_tracing='USE_MEM_TRACING="0"'
+ ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB="0"'
fi
else
- LINE=`grep "USE_MEM_TRACING" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_DEBUG_GDB" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_mem_tracing='USE_MEM_TRACING='$DEFAULT_USE_MEM_TRACING
+ ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
fi
-eval "$ac_cv_use_mem_tracing"
-echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
-if test "$USE_MEM_TRACING" = 1; then
+eval "$ac_cv_use_debug_gdb"
+echo $ac_cv_use_debug_gdb >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_DEBUG_GDB" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for profile"""... $ac_c" 1>&6
-echo "configure:4346: checking "for profile"" >&5
-# Check whether --with-profile or --without-profile was given.
-if test "${with_profile+set}" = set; then
- withval="$with_profile"
- if test "x$with_profile" = xyes; then
- ac_cv_use_profile='USE_PROFILE="1"'
+echo $ac_n "checking "for mem_tracing"""... $ac_c" 1>&6
+echo "configure:4795: checking "for mem_tracing"" >&5
+# Check whether --with-mem_tracing or --without-mem_tracing was given.
+if test "${with_mem_tracing+set}" = set; then
+ withval="$with_mem_tracing"
+ if test "x$with_mem_tracing" = xyes; then
+ ac_cv_use_mem_tracing='wxUSE_MEM_TRACING="1"'
else
- ac_cv_use_profile='USE_PROFILE="0"'
+ ac_cv_use_mem_tracing='wxUSE_MEM_TRACING="0"'
fi
else
- LINE=`grep "USE_PROFILE" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_MEM_TRACING" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_profile='USE_PROFILE='$DEFAULT_USE_PROFILE
+ ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
fi
-eval "$ac_cv_use_profile"
-echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
-if test "$USE_PROFILE" = 1; then
+eval "$ac_cv_use_mem_tracing"
+echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_MEM_TRACING" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-
-echo $ac_n "checking "for zlib"""... $ac_c" 1>&6
-echo "configure:4377: checking "for zlib"" >&5
-# Check whether --with-zlib or --without-zlib was given.
-if test "${with_zlib+set}" = set; then
- withval="$with_zlib"
- if test "x$with_zlib" = xyes; then
- ac_cv_use_zlib='USE_ZLIB="1"'
+echo $ac_n "checking "for dmalloc"""... $ac_c" 1>&6
+echo "configure:4825: checking "for dmalloc"" >&5
+# Check whether --with-dmalloc or --without-dmalloc was given.
+if test "${with_dmalloc+set}" = set; then
+ withval="$with_dmalloc"
+ if test "x$with_dmalloc" = xyes; then
+ ac_cv_use_dmalloc='wxUSE_DMALLOC="1"'
else
- ac_cv_use_zlib='USE_ZLIB="0"'
+ ac_cv_use_dmalloc='wxUSE_DMALLOC="0"'
fi
else
- LINE=`grep "USE_ZLIB" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_DMALLOC" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_zlib='USE_ZLIB='$DEFAULT_USE_ZLIB
+ ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
fi
-eval "$ac_cv_use_zlib"
-echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
-if test "$USE_ZLIB" = 1; then
+eval "$ac_cv_use_dmalloc"
+echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_DMALLOC" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for gdk_imlib"""... $ac_c" 1>&6
-echo "configure:4407: checking "for gdk_imlib"" >&5
-# Check whether --with-gdk_imlib or --without-gdk_imlib was given.
-if test "${with_gdk_imlib+set}" = set; then
- withval="$with_gdk_imlib"
- if test "x$with_gdk_imlib" = xyes; then
- ac_cv_use_gdk_imlib='USE_GDK_IMLIB="1"'
+echo $ac_n "checking "for profile"""... $ac_c" 1>&6
+echo "configure:4855: checking "for profile"" >&5
+# Check whether --with-profile or --without-profile was given.
+if test "${with_profile+set}" = set; then
+ withval="$with_profile"
+ if test "x$with_profile" = xyes; then
+ ac_cv_use_profile='wxUSE_PROFILE="1"'
else
- ac_cv_use_gdk_imlib='USE_GDK_IMLIB="0"'
+ ac_cv_use_profile='wxUSE_PROFILE="0"'
fi
else
- LINE=`grep "USE_GDK_IMLIB" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_PROFILE" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_gdk_imlib='USE_GDK_IMLIB='$DEFAULT_USE_GDK_IMLIB
+ ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
fi
-eval "$ac_cv_use_gdk_imlib"
-echo $ac_cv_use_gdk_imlib >> ${OSTYPE}.system.cache.tmp
-if test "$USE_GDK_IMLIB" = 1; then
+eval "$ac_cv_use_profile"
+echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_PROFILE" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for libpng"""... $ac_c" 1>&6
-echo "configure:4437: checking "for libpng"" >&5
-# Check whether --with-libpng or --without-libpng was given.
-if test "${with_libpng+set}" = set; then
- withval="$with_libpng"
- if test "x$with_libpng" = xyes; then
- ac_cv_use_libpng='USE_LIBPNG="1"'
+echo $ac_n "checking "for apple_ieee"""... $ac_c" 1>&6
+echo "configure:4885: checking "for apple_ieee"" >&5
+# Check whether --with-apple_ieee or --without-apple_ieee was given.
+if test "${with_apple_ieee+set}" = set; then
+ withval="$with_apple_ieee"
+ if test "x$with_apple_ieee" = xyes; then
+ ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE="1"'
else
- ac_cv_use_libpng='USE_LIBPNG="0"'
+ ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE="0"'
fi
else
- LINE=`grep "USE_LIBPNG" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_APPLE_IEEE" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_libpng='USE_LIBPNG='$DEFAULT_USE_LIBPNG
+ ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
fi
-eval "$ac_cv_use_libpng"
-echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
-if test "$USE_LIBPNG" = 1; then
+eval "$ac_cv_use_apple_ieee"
+echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_APPLE_IEEE" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking "for threads"""... $ac_c" 1>&6
-echo "configure:4467: checking "for threads"" >&5
+echo "configure:4915: checking "for threads"" >&5
# Check whether --with-threads or --without-threads was given.
if test "${with_threads+set}" = set; then
withval="$with_threads"
if test "x$with_threads" = xyes; then
- ac_cv_use_threads='USE_THREADS="1"'
+ ac_cv_use_threads='wxUSE_THREADS="1"'
else
- ac_cv_use_threads='USE_THREADS="0"'
+ ac_cv_use_threads='wxUSE_THREADS="0"'
fi
else
- LINE=`grep "USE_THREADS" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_THREADS" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_threads='USE_THREADS='$DEFAULT_USE_THREADS
+ ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
fi
eval "$ac_cv_use_threads"
echo $ac_cv_use_threads >> ${OSTYPE}.system.cache.tmp
-if test "$USE_THREADS" = 1; then
- echo "$ac_t""yes" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-
-echo $ac_n "checking "for opengl"""... $ac_c" 1>&6
-echo "configure:4497: checking "for opengl"" >&5
-# Check whether --with-opengl or --without-opengl was given.
-if test "${with_opengl+set}" = set; then
- withval="$with_opengl"
- if test "x$with_opengl" = xyes; then
- ac_cv_use_opengl='USE_OPENGL="1"'
-else
- ac_cv_use_opengl='USE_OPENGL="0"'
-fi
-else
-
- LINE=`grep "USE_OPENGL" ${OSTYPE}.system.cache`
- if test "x$LINE" != x ; then
- eval "DEFAULT_$LINE"
- fi
- ac_cv_use_opengl='USE_OPENGL='$DEFAULT_USE_OPENGL
-
-fi
-
-eval "$ac_cv_use_opengl"
-echo $ac_cv_use_opengl >> ${OSTYPE}.system.cache.tmp
-if test "$USE_OPENGL" = 1; then
+if test "$wxUSE_THREADS" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for storable"""... $ac_c" 1>&6
-echo "configure:4528: checking "for storable"" >&5
-# Check whether --with-storable or --without-storable was given.
-if test "${with_storable+set}" = set; then
- withval="$with_storable"
- if test "x$with_storable" = xyes; then
- ac_cv_use_storable='USE_STORABLE_CLASSES="1"'
+echo $ac_n "checking "for zlib"""... $ac_c" 1>&6
+echo "configure:4946: checking "for zlib"" >&5
+# Check whether --with-zlib or --without-zlib was given.
+if test "${with_zlib+set}" = set; then
+ withval="$with_zlib"
+ if test "x$with_zlib" = xyes; then
+ ac_cv_use_zlib='wxUSE_ZLIB="1"'
else
- ac_cv_use_storable='USE_STORABLE_CLASSES="0"'
+ ac_cv_use_zlib='wxUSE_ZLIB="0"'
fi
else
- LINE=`grep "USE_STORABLE_CLASSES" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_ZLIB" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_storable='USE_STORABLE_CLASSES='$DEFAULT_USE_STORABLE_CLASSES
+ ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
fi
-eval "$ac_cv_use_storable"
-echo $ac_cv_use_storable >> ${OSTYPE}.system.cache.tmp
-if test "$USE_STORABLE_CLASSES" = 1; then
+eval "$ac_cv_use_zlib"
+echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_ZLIB" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for autotrans"""... $ac_c" 1>&6
-echo "configure:4558: checking "for autotrans"" >&5
-# Check whether --with-autotrans or --without-autotrans was given.
-if test "${with_autotrans+set}" = set; then
- withval="$with_autotrans"
- if test "x$with_autotrans" = xyes; then
- ac_cv_use_autotrans='USE_AUTOTRANS="1"'
+echo $ac_n "checking "for libpng"""... $ac_c" 1>&6
+echo "configure:4976: checking "for libpng"" >&5
+# Check whether --with-libpng or --without-libpng was given.
+if test "${with_libpng+set}" = set; then
+ withval="$with_libpng"
+ if test "x$with_libpng" = xyes; then
+ ac_cv_use_libpng='wxUSE_LIBPNG="1"'
else
- ac_cv_use_autotrans='USE_AUTOTRANS="0"'
+ ac_cv_use_libpng='wxUSE_LIBPNG="0"'
fi
else
- LINE=`grep "USE_AUTOTRANS" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_LIBPNG" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_autotrans='USE_AUTOTRANS='$DEFAULT_USE_AUTOTRANS
+ ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
fi
-eval "$ac_cv_use_autotrans"
-echo $ac_cv_use_autotrans >> ${OSTYPE}.system.cache.tmp
-if test "$USE_AUTOTRANS" = 1; then
+eval "$ac_cv_use_libpng"
+echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_LIBPNG" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for afmfonts"""... $ac_c" 1>&6
-echo "configure:4588: checking "for afmfonts"" >&5
-# Check whether --with-afmfonts or --without-afmfonts was given.
-if test "${with_afmfonts+set}" = set; then
- withval="$with_afmfonts"
- if test "x$with_afmfonts" = xyes; then
- ac_cv_use_afmfonts='USE_AFM_FOR_POSTSCRIPT="1"'
+echo $ac_n "checking "for odbc"""... $ac_c" 1>&6
+echo "configure:5006: checking "for odbc"" >&5
+# Check whether --with-odbc or --without-odbc was given.
+if test "${with_odbc+set}" = set; then
+ withval="$with_odbc"
+ if test "x$with_odbc" = xyes; then
+ ac_cv_use_odbc='wxUSE_ODBC="1"'
else
- ac_cv_use_afmfonts='USE_AFM_FOR_POSTSCRIPT="0"'
+ ac_cv_use_odbc='wxUSE_ODBC="0"'
fi
else
- LINE=`grep "USE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_ODBC" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_afmfonts='USE_AFM_FOR_POSTSCRIPT='$DEFAULT_USE_AFM_FOR_POSTSCRIPT
+ ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
fi
-eval "$ac_cv_use_afmfonts"
-echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
-if test "$USE_AFM_FOR_POSTSCRIPT" = 1; then
+eval "$ac_cv_use_odbc"
+echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_ODBC" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for normalized"""... $ac_c" 1>&6
-echo "configure:4618: checking "for normalized"" >&5
-# Check whether --with-normalized or --without-normalized was given.
-if test "${with_normalized+set}" = set; then
- withval="$with_normalized"
- if test "x$with_normalized" = xyes; then
- ac_cv_use_normalized='WX_NORMALIZED_PS_FONTS="1"'
-else
- ac_cv_use_normalized='WX_NORMALIZED_PS_FONTS="0"'
-fi
-else
-
- LINE=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
- if test "x$LINE" != x ; then
- eval "DEFAULT_$LINE"
- fi
- ac_cv_use_normalized='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
-
-fi
-
-eval "$ac_cv_use_normalized"
-echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
-if test "$WX_NORMALIZED_PS_FONTS" = 1; then
- echo "$ac_t""yes" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-echo $ac_n "checking "for RPC"""... $ac_c" 1>&6
-echo "configure:4648: checking "for RPC"" >&5
-# Check whether --with-rpc or --without-rpc was given.
-if test "${with_rpc+set}" = set; then
- withval="$with_rpc"
- if test "x$with_rpc" = xyes; then
- ac_cv_use_rpc='USE_RPC="1"'
+echo $ac_n "checking "for timedate"""... $ac_c" 1>&6
+echo "configure:5037: checking "for timedate"" >&5
+# Check whether --with-timedate or --without-timedate was given.
+if test "${with_timedate+set}" = set; then
+ withval="$with_timedate"
+ if test "x$with_timedate" = xyes; then
+ ac_cv_use_timedate='wxUSE_TIMEDATE="1"'
else
- ac_cv_use_rpc='USE_RPC="0"'
+ ac_cv_use_timedate='wxUSE_TIMEDATE="0"'
fi
else
- LINE=`grep "USE_RPC" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_TIMEDATE" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_rpc='USE_RPC='$DEFAULT_USE_RPC
+ ac_cv_use_timedate='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
fi
-eval "$ac_cv_use_rpc"
-echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
-if test "$USE_RPC" = 1; then
+eval "$ac_cv_use_timedate"
+echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_TIMEDATE" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for wxresources"""... $ac_c" 1>&6
-echo "configure:4678: checking "for wxresources"" >&5
-# Check whether --with-wxresources or --without-wxresources was given.
-if test "${with_wxresources+set}" = set; then
- withval="$with_wxresources"
- if test "x$with_wxresources" = xyes; then
- ac_cv_use_wxresources='USE_WX_RESOURCES="1"'
+echo $ac_n "checking "for intl"""... $ac_c" 1>&6
+echo "configure:5067: checking "for intl"" >&5
+# Check whether --with-intl or --without-intl was given.
+if test "${with_intl+set}" = set; then
+ withval="$with_intl"
+ if test "x$with_intl" = xyes; then
+ ac_cv_use_intl='wxUSE_INTL="1"'
else
- ac_cv_use_wxresources='USE_WX_RESOURCES="0"'
+ ac_cv_use_intl='wxUSE_INTL="0"'
fi
else
- LINE=`grep "USE_WX_RESOURCES" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_INTL" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_wxresources='USE_WX_RESOURCES='$DEFAULT_USE_WX_RESOURCES
+ ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
fi
-eval "$ac_cv_use_wxresources"
-echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
-if test "$USE_WX_RESOURCES" = 1; then
+eval "$ac_cv_use_intl"
+echo $ac_cv_use_intl >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_INTL" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for prologio"""... $ac_c" 1>&6
-echo "configure:4708: checking "for prologio"" >&5
-# Check whether --with-prologio or --without-prologio was given.
-if test "${with_prologio+set}" = set; then
- withval="$with_prologio"
- if test "x$with_prologio" = xyes; then
- ac_cv_use_prologio='USE_PROLOGIO="1"'
+echo $ac_n "checking "for config"""... $ac_c" 1>&6
+echo "configure:5097: checking "for config"" >&5
+# Check whether --with-config or --without-config was given.
+if test "${with_config+set}" = set; then
+ withval="$with_config"
+ if test "x$with_config" = xyes; then
+ ac_cv_use_config='wxUSE_CONFIG="1"'
else
- ac_cv_use_prologio='USE_PROLOGIO="0"'
+ ac_cv_use_config='wxUSE_CONFIG="0"'
fi
else
- LINE=`grep "USE_PROLOGIO" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_CONFIG" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_prologio='USE_PROLOGIO='$DEFAULT_USE_PROLOGIO
+ ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
fi
-eval "$ac_cv_use_prologio"
-echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
-if test "$USE_PROLOGIO" = 1; then
+eval "$ac_cv_use_config"
+echo $ac_cv_use_config >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_CONFIG" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for postscript"""... $ac_c" 1>&6
-echo "configure:4738: checking "for postscript"" >&5
-# Check whether --with-postscript or --without-postscript was given.
-if test "${with_postscript+set}" = set; then
- withval="$with_postscript"
- if test "x$with_postscript" = xyes; then
- ac_cv_use_postscript='USE_POSTSCRIPT="1"'
+echo $ac_n "checking "for streams"""... $ac_c" 1>&6
+echo "configure:5127: checking "for streams"" >&5
+# Check whether --with-streams or --without-streams was given.
+if test "${with_streams+set}" = set; then
+ withval="$with_streams"
+ if test "x$with_streams" = xyes; then
+ ac_cv_use_streams='wxUSE_STREAMS="1"'
else
- ac_cv_use_postscript='USE_POSTSCRIPT="0"'
+ ac_cv_use_streams='wxUSE_STREAMS="0"'
fi
else
- LINE=`grep "USE_POSTSCRIPT" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_STREAMS" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_postscript='USE_POSTSCRIPT='$DEFAULT_USE_POSTSCRIPT
+ ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
fi
-eval "$ac_cv_use_postscript"
-echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
-if test "$USE_POSTSCRIPT" = 1; then
+eval "$ac_cv_use_streams"
+echo $ac_cv_use_streams >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_STREAMS" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for metafile"""... $ac_c" 1>&6
-echo "configure:4768: checking "for metafile"" >&5
-# Check whether --with-metafile or --without-metafile was given.
-if test "${with_metafile+set}" = set; then
- withval="$with_metafile"
- if test "x$with_metafile" = xyes; then
- ac_cv_use_metafile='USE_METAFILE="1"'
+echo $ac_n "checking "for serial"""... $ac_c" 1>&6
+echo "configure:5157: checking "for serial"" >&5
+# Check whether --with-serial or --without-serial was given.
+if test "${with_serial+set}" = set; then
+ withval="$with_serial"
+ if test "x$with_serial" = xyes; then
+ ac_cv_use_serial='wxUSE_SERIAL="1"'
else
- ac_cv_use_metafile='USE_METAFILE="0"'
+ ac_cv_use_serial='wxUSE_SERIAL="0"'
fi
else
- LINE=`grep "USE_METAFILE" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_SERIAL" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_metafile='USE_METAFILE='$DEFAULT_USE_METAFILE
+ ac_cv_use_serial='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
fi
-eval "$ac_cv_use_metafile"
-echo $ac_cv_use_metafile >> ${OSTYPE}.system.cache.tmp
-if test "$USE_METAFILE" = 1; then
+eval "$ac_cv_use_serial"
+echo $ac_cv_use_serial >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_SERIAL" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for form"""... $ac_c" 1>&6
-echo "configure:4798: checking "for form"" >&5
-# Check whether --with-form or --without-form was given.
-if test "${with_form+set}" = set; then
- withval="$with_form"
- if test "x$with_form" = xyes; then
- ac_cv_use_form='USE_FORM="1"'
+
+echo $ac_n "checking "for afmfonts"""... $ac_c" 1>&6
+echo "configure:5188: checking "for afmfonts"" >&5
+# Check whether --with-afmfonts or --without-afmfonts was given.
+if test "${with_afmfonts+set}" = set; then
+ withval="$with_afmfonts"
+ if test "x$with_afmfonts" = xyes; then
+ ac_cv_use_afmfonts='wxUSE_AFM_FOR_POSTSCRIPT="1"'
else
- ac_cv_use_form='USE_FORM="0"'
+ ac_cv_use_afmfonts='wxUSE_AFM_FOR_POSTSCRIPT="0"'
fi
else
- LINE=`grep "USE_FORM" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_form='USE_FORM='$DEFAULT_USE_FORM
+ ac_cv_use_afmfonts='wxUSE_AFM_FOR_POSTSCRIPT='$DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
fi
-eval "$ac_cv_use_form"
-echo $ac_cv_use_form >> ${OSTYPE}.system.cache.tmp
-if test "$USE_FORM" = 1; then
+eval "$ac_cv_use_afmfonts"
+echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_AFM_FOR_POSTSCRIPT" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for help"""... $ac_c" 1>&6
-echo "configure:4828: checking "for help"" >&5
-# Check whether --with-help or --without-help was given.
-if test "${with_help+set}" = set; then
- withval="$with_help"
- if test "x$with_help" = xyes; then
- ac_cv_use_help='USE_HELP="1"'
+echo $ac_n "checking "for normalized"""... $ac_c" 1>&6
+echo "configure:5218: checking "for normalized"" >&5
+# Check whether --with-normalized or --without-normalized was given.
+if test "${with_normalized+set}" = set; then
+ withval="$with_normalized"
+ if test "x$with_normalized" = xyes; then
+ ac_cv_use_normalized='WX_NORMALIZED_PS_FONTS="1"'
else
- ac_cv_use_help='USE_HELP="0"'
+ ac_cv_use_normalized='WX_NORMALIZED_PS_FONTS="0"'
fi
else
- LINE=`grep "USE_HELP" ${OSTYPE}.system.cache`
+ LINE=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_help='USE_HELP='$DEFAULT_USE_HELP
+ ac_cv_use_normalized='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
fi
-eval "$ac_cv_use_help"
-echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
-if test "$USE_HELP" = 1; then
+eval "$ac_cv_use_normalized"
+echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
+if test "$WX_NORMALIZED_PS_FONTS" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for IPC"""... $ac_c" 1>&6
-echo "configure:4858: checking "for IPC"" >&5
-# Check whether --with-ipc or --without-ipc was given.
-if test "${with_ipc+set}" = set; then
- withval="$with_ipc"
- if test "x$with_ipc" = xyes; then
- ac_cv_use_ipc='USE_IPC="1"'
+echo $ac_n "checking "for postscript"""... $ac_c" 1>&6
+echo "configure:5248: checking "for postscript"" >&5
+# Check whether --with-postscript or --without-postscript was given.
+if test "${with_postscript+set}" = set; then
+ withval="$with_postscript"
+ if test "x$with_postscript" = xyes; then
+ ac_cv_use_postscript='wxUSE_POSTSCRIPT="1"'
else
- ac_cv_use_ipc='USE_IPC="0"'
+ ac_cv_use_postscript='wxUSE_POSTSCRIPT="0"'
fi
else
- LINE=`grep "USE_IPC" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_POSTSCRIPT" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_ipc='USE_IPC='$DEFAULT_USE_IPC
+ ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
fi
-eval "$ac_cv_use_ipc"
-echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
-if test "$USE_IPC" = 1; then
+eval "$ac_cv_use_postscript"
+echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_POSTSCRIPT" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for enhanced dialog"""... $ac_c" 1>&6
-echo "configure:4888: checking "for enhanced dialog"" >&5
-# Check whether --with-enhanceddialog or --without-enhanceddialog was given.
-if test "${with_enhanceddialog+set}" = set; then
- withval="$with_enhanceddialog"
- if test "x$with_enhanceddialog" = xyes; then
- ac_cv_use_enhanceddialog='USE_ENHANCED_DIALOG="1"'
+
+echo $ac_n "checking "for unicode"""... $ac_c" 1>&6
+echo "configure:5279: checking "for unicode"" >&5
+# Check whether --with-unicode or --without-unicode was given.
+if test "${with_unicode+set}" = set; then
+ withval="$with_unicode"
+ if test "x$with_unicode" = xyes; then
+ ac_cv_use_unicode='wxUSE_UNICODE="1"'
else
- ac_cv_use_enhanceddialog='USE_ENHANCED_DIALOG="0"'
+ ac_cv_use_unicode='wxUSE_UNICODE="0"'
fi
else
- LINE=`grep "USE_ENHANCED_DIALOG" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_UNICODE" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_enhanceddialog='USE_ENHANCED_DIALOG='$DEFAULT_USE_ENHANCED_DIALOG
+ ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
fi
-eval "$ac_cv_use_enhanceddialog"
-echo $ac_cv_use_enhanceddialog >> ${OSTYPE}.system.cache.tmp
-if test "$USE_ENHANCED_DIALOG" = 1; then
+eval "$ac_cv_use_unicode"
+echo $ac_cv_use_unicode >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_UNICODE" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for resources"""... $ac_c" 1>&6
-echo "configure:4918: checking "for resources"" >&5
-# Check whether --with-resources or --without-resources was given.
-if test "${with_resources+set}" = set; then
- withval="$with_resources"
- if test "x$with_resources" = xyes; then
- ac_cv_use_resources='USE_RESOURCES="1"'
+echo $ac_n "checking "for wcsrtombs"""... $ac_c" 1>&6
+echo "configure:5309: checking "for wcsrtombs"" >&5
+# Check whether --with-wcsrtombs or --without-wcsrtombs was given.
+if test "${with_wcsrtombs+set}" = set; then
+ withval="$with_wcsrtombs"
+ if test "x$with_wcsrtombs" = xyes; then
+ ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS="1"'
else
- ac_cv_use_resources='USE_RESOURCES="0"'
+ ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS="0"'
fi
else
- LINE=`grep "USE_RESOURCES" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_WCSRTOMBS" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_resources='USE_RESOURCES='$DEFAULT_USE_RESOURCES
+ ac_cv_use_wcsrtombs='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
fi
-eval "$ac_cv_use_resources"
-echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
-if test "$USE_RESOURCES" = 1; then
+eval "$ac_cv_use_wcsrtombs"
+echo $ac_cv_use_wcsrtombs >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_WCSRTOMBS" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for clipboard"""... $ac_c" 1>&6
-echo "configure:4948: checking "for clipboard"" >&5
-# Check whether --with-clipboard or --without-clipboard was given.
-if test "${with_clipboard+set}" = set; then
- withval="$with_clipboard"
- if test "x$with_clipboard" = xyes; then
- ac_cv_use_clipboard='USE_CLIPBOARD="1"'
+
+echo $ac_n "checking "for wxresources"""... $ac_c" 1>&6
+echo "configure:5340: checking "for wxresources"" >&5
+# Check whether --with-wxresources or --without-wxresources was given.
+if test "${with_wxresources+set}" = set; then
+ withval="$with_wxresources"
+ if test "x$with_wxresources" = xyes; then
+ ac_cv_use_wxresources='wxUSE_WX_RESOURCES="1"'
else
- ac_cv_use_clipboard='USE_CLIPBOARD="0"'
+ ac_cv_use_wxresources='wxUSE_WX_RESOURCES="0"'
fi
else
- LINE=`grep "USE_CLIPBOARD" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_WX_RESOURCES" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_clipboard='USE_CLIPBOARD='$DEFAULT_USE_CLIPBOARD
+ ac_cv_use_wxresources='wxUSE_WX_RESOURCES='$DEFAULT_wxUSE_WX_RESOURCES
fi
-eval "$ac_cv_use_clipboard"
-echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
-if test "$USE_CLIPBOARD" = 1; then
+eval "$ac_cv_use_wxresources"
+echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_WX_RESOURCES" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for timedate"""... $ac_c" 1>&6
-echo "configure:4978: checking "for timedate"" >&5
-# Check whether --with-timedate or --without-timedate was given.
-if test "${with_timedate+set}" = set; then
- withval="$with_timedate"
- if test "x$with_timedate" = xyes; then
- ac_cv_use_timedate='USE_TIMEDATE="1"'
+echo $ac_n "checking "for prologio"""... $ac_c" 1>&6
+echo "configure:5370: checking "for prologio"" >&5
+# Check whether --with-prologio or --without-prologio was given.
+if test "${with_prologio+set}" = set; then
+ withval="$with_prologio"
+ if test "x$with_prologio" = xyes; then
+ ac_cv_use_prologio='wxUSE_PROLOGIO="1"'
else
- ac_cv_use_timedate='USE_TIMEDATE="0"'
+ ac_cv_use_prologio='wxUSE_PROLOGIO="0"'
fi
else
- LINE=`grep "USE_TIMEDATE" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_PROLOGIO" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_timedate='USE_TIMEDATE='$DEFAULT_USE_TIMEDATE
+ ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
fi
-eval "$ac_cv_use_timedate"
-echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
-if test "$USE_TIMEDATE" = 1; then
+eval "$ac_cv_use_prologio"
+echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_PROLOGIO" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for fraction"""... $ac_c" 1>&6
-echo "configure:5008: checking "for fraction"" >&5
-# Check whether --with-fraction or --without-fraction was given.
-if test "${with_fraction+set}" = set; then
- withval="$with_fraction"
- if test "x$with_fraction" = xyes; then
- ac_cv_use_fraction='USE_FRACTION="1"'
+echo $ac_n "checking "for RPC"""... $ac_c" 1>&6
+echo "configure:5400: checking "for RPC"" >&5
+# Check whether --with-rpc or --without-rpc was given.
+if test "${with_rpc+set}" = set; then
+ withval="$with_rpc"
+ if test "x$with_rpc" = xyes; then
+ ac_cv_use_rpc='wxUSE_RPC="1"'
else
- ac_cv_use_fraction='USE_FRACTION="0"'
+ ac_cv_use_rpc='wxUSE_RPC="0"'
fi
else
- LINE=`grep "USE_FRACTION" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_RPC" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_fraction='USE_FRACTION='$DEFAULT_USE_FRACTION
+ ac_cv_use_rpc='wxUSE_RPC='$DEFAULT_wxUSE_RPC
fi
-eval "$ac_cv_use_fraction"
-echo $ac_cv_use_fraction >> ${OSTYPE}.system.cache.tmp
-if test "$USE_FRACTION" = 1; then
+eval "$ac_cv_use_rpc"
+echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_RPC" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for constrains"""... $ac_c" 1>&6
-echo "configure:5038: checking "for constrains"" >&5
-# Check whether --with-constraints or --without-constraints was given.
-if test "${with_constraints+set}" = set; then
- withval="$with_constraints"
- if test "x$with_constraints" = xyes; then
- ac_cv_use_constraints='USE_CONSTRAINTS="1"'
+
+echo $ac_n "checking "for IPC"""... $ac_c" 1>&6
+echo "configure:5431: checking "for IPC"" >&5
+# Check whether --with-ipc or --without-ipc was given.
+if test "${with_ipc+set}" = set; then
+ withval="$with_ipc"
+ if test "x$with_ipc" = xyes; then
+ ac_cv_use_ipc='wxUSE_IPC="1"'
else
- ac_cv_use_constraints='USE_CONSTRAINTS="0"'
+ ac_cv_use_ipc='wxUSE_IPC="0"'
fi
else
- LINE=`grep "USE_CONSTRAINTS" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_IPC" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_constraints='USE_CONSTRAINTS='$DEFAULT_USE_CONSTRAINTS
+ ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
fi
-eval "$ac_cv_use_constraints"
-echo $ac_cv_use_constraints >> ${OSTYPE}.system.cache.tmp
-if test "$USE_CONSTRAINTS" = 1; then
+eval "$ac_cv_use_ipc"
+echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_IPC" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for toolbar"""... $ac_c" 1>&6
-echo "configure:5068: checking "for toolbar"" >&5
-# Check whether --with-toolbar or --without-toolbar was given.
-if test "${with_toolbar+set}" = set; then
- withval="$with_toolbar"
- if test "x$with_toolbar" = xyes; then
- ac_cv_use_toolbar='USE_TOOLBAR="1"'
+echo $ac_n "checking "for resources"""... $ac_c" 1>&6
+echo "configure:5461: checking "for resources"" >&5
+# Check whether --with-resources or --without-resources was given.
+if test "${with_resources+set}" = set; then
+ withval="$with_resources"
+ if test "x$with_resources" = xyes; then
+ ac_cv_use_resources='wxUSE_RESOURCES="1"'
else
- ac_cv_use_toolbar='USE_TOOLBAR="0"'
+ ac_cv_use_resources='wxUSE_RESOURCES="0"'
fi
else
- LINE=`grep "USE_TOOLBAR" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_RESOURCES" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_toolbar='USE_TOOLBAR='$DEFAULT_USE_TOOLBAR
+ ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
fi
-eval "$ac_cv_use_toolbar"
-echo $ac_cv_use_toolbar >> ${OSTYPE}.system.cache.tmp
-if test "$USE_TOOLBAR" = 1; then
+eval "$ac_cv_use_resources"
+echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_RESOURCES" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for gauge"""... $ac_c" 1>&6
-echo "configure:5098: checking "for gauge"" >&5
-# Check whether --with-gauge or --without-gauge was given.
-if test "${with_gauge+set}" = set; then
- withval="$with_gauge"
- if test "x$with_gauge" = xyes; then
- ac_cv_use_gauge='USE_GAUGE="1"'
+echo $ac_n "checking "for clipboard"""... $ac_c" 1>&6
+echo "configure:5491: checking "for clipboard"" >&5
+# Check whether --with-clipboard or --without-clipboard was given.
+if test "${with_clipboard+set}" = set; then
+ withval="$with_clipboard"
+ if test "x$with_clipboard" = xyes; then
+ ac_cv_use_clipboard='wxUSE_CLIPBOARD="1"'
else
- ac_cv_use_gauge='USE_GAUGE="0"'
+ ac_cv_use_clipboard='wxUSE_CLIPBOARD="0"'
fi
else
- LINE=`grep "USE_GAUGE" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_CLIPBOARD" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_gauge='USE_GAUGE='$DEFAULT_USE_GAUGE
+ ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
fi
-eval "$ac_cv_use_gauge"
-echo $ac_cv_use_gauge >> ${OSTYPE}.system.cache.tmp
-if test "$USE_GAUGE" = 1; then
+eval "$ac_cv_use_clipboard"
+echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_CLIPBOARD" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for vllist"""... $ac_c" 1>&6
-echo "configure:5128: checking "for vllist"" >&5
-# Check whether --with-vllist or --without-vllist was given.
-if test "${with_vllist+set}" = set; then
- withval="$with_vllist"
- if test "x$with_vllist" = xyes; then
- ac_cv_use_vllist='USE_VLBOX="1"'
+echo $ac_n "checking "for dnd"""... $ac_c" 1>&6
+echo "configure:5521: checking "for dnd"" >&5
+# Check whether --with-dnd or --without-dnd was given.
+if test "${with_dnd+set}" = set; then
+ withval="$with_dnd"
+ if test "x$with_dnd" = xyes; then
+ ac_cv_use_dnd='wxUSE_DRAG_AND_DROP="1"'
else
- ac_cv_use_vllist='USE_VLBOX="0"'
+ ac_cv_use_dnd='wxUSE_DRAG_AND_DROP="0"'
fi
else
- LINE=`grep "USE_VLBOX" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_DRAG_AND_DROP" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_vllist='USE_VLBOX='$DEFAULT_USE_VLBOX
+ ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
fi
-eval "$ac_cv_use_vllist"
-echo $ac_cv_use_vllist >> ${OSTYPE}.system.cache.tmp
-if test "$USE_VLBOX" = 1; then
+eval "$ac_cv_use_dnd"
+echo $ac_cv_use_dnd >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_DRAG_AND_DROP" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for scrollbar"""... $ac_c" 1>&6
-echo "configure:5158: checking "for scrollbar"" >&5
-# Check whether --with-scrollbar or --without-scrollbar was given.
-if test "${with_scrollbar+set}" = set; then
- withval="$with_scrollbar"
- if test "x$with_scrollbar" = xyes; then
- ac_cv_use_scrollbar='USE_SCROLLBAR="1"'
+
+echo $ac_n "checking "for mdi"""... $ac_c" 1>&6
+echo "configure:5552: checking "for mdi"" >&5
+# Check whether --with-mdi or --without-mdi was given.
+if test "${with_mdi+set}" = set; then
+ withval="$with_mdi"
+ if test "x$with_mdi" = xyes; then
+ ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE="1"'
else
- ac_cv_use_scrollbar='USE_SCROLLBAR="0"'
+ ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE="0"'
fi
else
- LINE=`grep "USE_SCROLLBAR" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_scrollbar='USE_SCROLLBAR='$DEFAULT_USE_SCROLLBAR
+ ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
fi
-eval "$ac_cv_use_scrollbar"
-echo $ac_cv_use_scrollbar >> ${OSTYPE}.system.cache.tmp
-if test "$USE_SCROLLBAR" = 1; then
+eval "$ac_cv_use_mdi"
+echo $ac_cv_use_mdi >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_MDI_ARCHITECTURE" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking "for docview"""... $ac_c" 1>&6
-echo "configure:5188: checking "for docview"" >&5
+echo "configure:5582: checking "for docview"" >&5
# Check whether --with-docview or --without-docview was given.
if test "${with_docview+set}" = set; then
withval="$with_docview"
if test "x$with_docview" = xyes; then
- ac_cv_use_docview='USE_DOC_VIEW_ARCHITECTURE="1"'
+ ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE="1"'
else
- ac_cv_use_docview='USE_DOC_VIEW_ARCHITECTURE="0"'
+ ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE="0"'
fi
else
- LINE=`grep "USE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_docview='USE_DOC_VIEW_ARCHITECTURE='$DEFAULT_USE_DOC_VIEW_ARCHITECTURE
+ ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
fi
eval "$ac_cv_use_docview"
echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
-if test "$USE_DOC_VIEW_ARCHITECTURE" = 1; then
+if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking "for printarch"""... $ac_c" 1>&6
-echo "configure:5218: checking "for printarch"" >&5
+echo "configure:5612: checking "for printarch"" >&5
# Check whether --with-printarch or --without-printarch was given.
if test "${with_printarch+set}" = set; then
withval="$with_printarch"
if test "x$with_printarch" = xyes; then
- ac_cv_use_printarch='USE_PRINTING_ARCHITECTURE="1"'
+ ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE="1"'
else
- ac_cv_use_printarch='USE_PRINTING_ARCHITECTURE="0"'
+ ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE="0"'
fi
else
- LINE=`grep "USE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_printarch='USE_PRINTING_ARCHITECTURE='$DEFAULT_USE_PRINTING_ARCHITECTURE
+ ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
fi
eval "$ac_cv_use_printarch"
echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
-if test "$USE_PRINTING_ARCHITECTURE" = 1; then
+if test "$wxUSE_PRINTING_ARCHITECTURE" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for typetree"""... $ac_c" 1>&6
-echo "configure:5248: checking "for typetree"" >&5
-# Check whether --with-typetree or --without-typetree was given.
-if test "${with_typetree+set}" = set; then
- withval="$with_typetree"
- if test "x$with_typetree" = xyes; then
- ac_cv_use_typetree='USE_TYPETREE="1"'
+echo $ac_n "checking "for help"""... $ac_c" 1>&6
+echo "configure:5642: checking "for help"" >&5
+# Check whether --with-help or --without-help was given.
+if test "${with_help+set}" = set; then
+ withval="$with_help"
+ if test "x$with_help" = xyes; then
+ ac_cv_use_help='wxUSE_HELP="1"'
else
- ac_cv_use_typetree='USE_TYPETREE="0"'
+ ac_cv_use_help='wxUSE_HELP="0"'
fi
else
- LINE=`grep "USE_TYPETREE" ${OSTYPE}.system.cache`
+ LINE=`grep "wxUSE_HELP" ${OSTYPE}.system.cache`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
fi
- ac_cv_use_typetree='USE_TYPETREE='$DEFAULT_USE_TYPETREE
+ ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
fi
-eval "$ac_cv_use_typetree"
-echo $ac_cv_use_typetree >> ${OSTYPE}.system.cache.tmp
-if test "$USE_TYPETREE" = 1; then
+eval "$ac_cv_use_help"
+echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
+if test "$wxUSE_HELP" = 1; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
-echo $ac_n "checking "for wxgraph"""... $ac_c" 1>&6
-echo "configure:5278: checking "for wxgraph"" >&5
-# Check whether --with-wxgraph or --without-wxgraph was given.
-if test "${with_wxgraph+set}" = set; then
- withval="$with_wxgraph"
- if test "x$with_wxgraph" = xyes; then
- ac_cv_use_wxgraph='USE_WXGRAPH="1"'
+if test "$wxUSE_UNIX" = 1 ; then
+ cat >> confdefs.h <<\EOF
+#define __UNIX__ 1
+EOF
+
+fi
+
+
+TOOLKIT=
+TOOLKIT_DEF=
+
+GUI_TK_INCLUDE=
+GUI_TK_LIBRARY=
+GUI_TK_LINK=
+
+WX_LINK=
+
+MAKEINCLUDE=
+
+if test "$wxUSE_GTK" = 1; then
+ # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
+if test "${with_gtk_prefix+set}" = set; then
+ withval="$with_gtk_prefix"
+ gtk_config_prefix="$withval"
+else
+ gtk_config_prefix=""
+fi
+
+# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
+if test "${with_gtk_exec_prefix+set}" = set; then
+ withval="$with_gtk_exec_prefix"
+ gtk_config_exec_prefix="$withval"
+else
+ gtk_config_exec_prefix=""
+fi
+
+
+ if test x$gtk_config_exec_prefix != x ; then
+ gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
+ if test x${GTK_CONFIG+set} != xset ; then
+ GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
+ fi
+ fi
+ if test x$gtk_config_prefix != x ; then
+ gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
+ if test x${GTK_CONFIG+set} != xset ; then
+ GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
+ fi
+ fi
+
+ # Extract the first word of "gtk-config", so it can be a program name with args.
+set dummy gtk-config; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+echo "configure:5724: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ case "$GTK_CONFIG" in
+ /*)
+ ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
+ ;;
+ *)
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+ test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
+ ;;
+esac
+fi
+GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
+if test -n "$GTK_CONFIG"; then
+ echo "$ac_t""$GTK_CONFIG" 1>&6
else
- ac_cv_use_wxgraph='USE_WXGRAPH="0"'
+ echo "$ac_t""no" 1>&6
fi
+
+ min_gtk_version=1.0.4
+ echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
+echo "configure:5755: checking for GTK - version >= $min_gtk_version" >&5
+ no_gtk=""
+ if test "$GTK_CONFIG" != "no" ; then
+ GTK_CFLAGS=`$GTK_CONFIG --cflags`
+ GTK_LIBS=`$GTK_CONFIG --libs`
+ ac_save_CFLAGS="$CFLAGS"
+ ac_save_LIBS="$LIBS"
+ CFLAGS="$CFLAGS $GTK_CFLAGS"
+ LIBS="$LIBS $GTK_LIBS"
+ if test "$cross_compiling" = yes; then
+ echo $ac_n "cross compiling; assumed OK... $ac_c"
+else
+ cat > conftest.$ac_ext <<EOF
+#line 5768 "configure"
+#include "confdefs.h"
+
+#include <gtk/gtk.h>
+#include <stdio.h>
+
+int
+main ()
+{
+ int major, minor, micro;
+
+ if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
+ printf("%s, bad version string\n", "$min_gtk_version");
+ exit(1);
+ }
+
+ if (gtk_minor_version > 0) return FALSE;
+
+ return !((gtk_major_version > major) ||
+ ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
+ ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
+}
+
+EOF
+if { (eval echo configure:5792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
+then
+ :
else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -fr conftest*
+ no_gtk=yes
+fi
+rm -fr conftest*
+fi
+
+ CFLAGS="$ac_save_CFLAGS"
+ LIBS="$ac_save_LIBS"
+ else
+ no_gtk=yes
+ fi
+ if test "x$no_gtk" = x ; then
+ echo "$ac_t""yes" 1>&6
+
+ GUI_TK_INCLUDE="$GTK_CFLAGS"
+ GUI_TK_LIBRARY="$GTK_LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6
+ GTK_CFLAGS=""
+ GTK_LIBS=""
+ { echo "configure: error: Is gtk-config in path and GTK+ is version 1.0.4 up-to 1.0.6?" 1>&2; exit 1; }
+ fi
- LINE=`grep "USE_WXGRAPH" ${OSTYPE}.system.cache`
- if test "x$LINE" != x ; then
- eval "DEFAULT_$LINE"
+
+
+ TOOLKIT=GTK
+ TOOLKIT_DEF=__WXGTK__
+ WX_LINK=-lwx_gtk2
+ MAKEINCLUDE=../gtk.inc
+fi
+
+if test "$wxUSE_QT" = 1; then
+ echo $ac_n "checking for Qt includes""... $ac_c" 1>&6
+echo "configure:5832: checking for Qt includes" >&5
+
+ac_find_includes=
+for ac_dir in $SEARCH_INCLUDE;
+ do
+ if test -f "$ac_dir/qapp.h"; then
+ ac_find_includes=$ac_dir
+ break
+ fi
+ done
+
+ if test "$ac_find_includes" != "" ; then
+ echo "$ac_t""found $ac_find_includes" 1>&6
+ echo $ac_n "checking for Qt library""... $ac_c" 1>&6
+echo "configure:5846: checking for Qt library" >&5
+
+ac_find_libraries=
+for ac_dir in $SEARCH_LIB;
+ do
+ for ac_extension in a so sl; do
+ if test -f "$ac_dir/libqt.$ac_extension"; then
+ ac_find_libraries=$ac_dir
+ break 2
+ fi
+ done
+ done
+
+ if test "$ac_find_libraries" != "" ; then
+
+ ac_path_to_include=$ac_find_includes
+ echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
+ result=$?
+ if test $result = 0; then
+ ac_path_to_include=""
+ else
+ ac_path_to_include="-I$ac_find_includes"
+ fi
+
+
+ echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev/null
+ result=$?
+ if test $result = 0; then
+ ac_path_to_link=""
+ else
+ ac_path_to_link="-L$ac_find_libraries"
+ fi
+
+ CHECK_LINK="$CHECK_INCLUDE $ac_path_to_link"
+ CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include"
+ echo "$ac_t""found Qt at $ac_find_libraries" 1>&6
+ else
+ { echo "configure: error: no" 1>&2; exit 1; }
+ fi
+ else
+ { echo "configure: error: no" 1>&2; exit 1; }
+ fi
+ GUI_TK_LINK="-lX11 -lqt -lm"
+ TOOLKIT=QT
+ TOOLKIT_DEF=__WXQT__
+ WX_LINK=-lwx_qt
+ MAKEINCLUDE=../qt.inc
+fi
+
+if test "$wxUSE_MOTIF" = 1; then
+ echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
+echo "configure:5897: checking for Motif/Lesstif includes" >&5
+
+ac_find_includes=
+for ac_dir in $SEARCH_INCLUDE;
+ do
+ if test -f "$ac_dir/Xm.h"; then
+ ac_find_includes=$ac_dir
+ break
+ fi
+ done
+
+ if test "$ac_find_includes" != "" ; then
+ echo "$ac_t""found $ac_find_includes" 1>&6
+ echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
+echo "configure:5911: checking for Motif/Lesstif library" >&5
+
+ac_find_libraries=
+for ac_dir in $SEARCH_LIB;
+ do
+ for ac_extension in a so sl; do
+ if test -f "$ac_dir/libXm.$ac_extension"; then
+ ac_find_libraries=$ac_dir
+ break 2
+ fi
+ done
+ done
+
+ if test "$ac_find_libraries" != "" ; then
+
+ ac_path_to_include=$ac_find_includes
+ echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
+ result=$?
+ if test $result = 0; then
+ ac_path_to_include=""
+ else
+ ac_path_to_include="-I$ac_find_includes"
+ fi
+
+
+ echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev/null
+ result=$?
+ if test $result = 0; then
+ ac_path_to_link=""
+ else
+ ac_path_to_link="-L$ac_find_libraries"
fi
- ac_cv_use_wxgraph='USE_WXGRAPH='$DEFAULT_USE_WXGRAPH
-fi
-
-eval "$ac_cv_use_wxgraph"
-echo $ac_cv_use_wxgraph >> ${OSTYPE}.system.cache.tmp
-if test "$USE_WXGRAPH" = 1; then
- echo "$ac_t""yes" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
+ CHECK_LINK="$CHECK_LIB $ac_path_to_link"
+ CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include"
+ echo "$ac_t""found at $ac_find_libraries" 1>&6
+ echo $ac_n "checking for Xt library""... $ac_c" 1>&6
+echo "configure:5948: checking for Xt library" >&5
+
+ac_find_libraries=
+for ac_dir in $SEARCH_LIB;
+ do
+ for ac_extension in a so sl; do
+ if test -f "$ac_dir/libXt.$ac_extension"; then
+ ac_find_libraries=$ac_dir
+ break 2
+ fi
+ done
+ done
+ if test "$ac_find_libraries" != "" ; then
+
+ echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev/null
+ result=$?
+ if test $result = 0; then
+ ac_path_to_link=""
+ else
+ ac_path_to_link="-L$ac_find_libraries"
+ fi
+ CHECK_LINK="$CHECK_LIB $ac_path_to_link"
+ echo "$ac_t""found at $ac_find_libraries" 1>&6
+ echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
+echo "configure:5974: checking for Xpm library" >&5
+
+ac_find_libraries=
+for ac_dir in $SEARCH_LIB;
+ do
+ for ac_extension in a so sl; do
+ if test -f "$ac_dir/libXpm.$ac_extension"; then
+ ac_find_libraries=$ac_dir
+ break 2
+ fi
+ done
+ done
-echo $ac_n "checking "for wxtree"""... $ac_c" 1>&6
-echo "configure:5308: checking "for wxtree"" >&5
-# Check whether --with-wxtree or --without-wxtree was given.
-if test "${with_wxtree+set}" = set; then
- withval="$with_wxtree"
- if test "x$with_wxtree" = xyes; then
- ac_cv_use_wxtree='USE_WXTREE="1"'
-else
- ac_cv_use_wxtree='USE_WXTREE="0"'
-fi
-else
-
- LINE=`grep "USE_WXTREE" ${OSTYPE}.system.cache`
- if test "x$LINE" != x ; then
- eval "DEFAULT_$LINE"
+ if test "$ac_find_libraries" != "" ; then
+
+ echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev/null
+ result=$?
+ if test $result = 0; then
+ ac_path_to_link=""
+ else
+ ac_path_to_link="-L$ac_find_libraries"
fi
- ac_cv_use_wxtree='USE_WXTREE='$DEFAULT_USE_WXTREE
+ CHECK_LINK="$CHECK_LIB $ac_path_to_link"
+ echo "$ac_t""found at $ac_find_libraries" 1>&6
+ else
+ { echo "configure: error: no" 1>&2; exit 1; }
+ fi
+ else
+ { echo "configure: error: no" 1>&2; exit 1; }
+ fi
+ else
+ { echo "configure: error: no" 1>&2; exit 1; }
+ fi
+ else
+ { echo "configure: error: no" 1>&2; exit 1; }
+ fi
+
+ GUI_TK_LINK="-lXm -lXmu -lXt -lXpm -lX11 -lm"
+ GUI_TK_LINK="$CHECK_LINK $GUI_TK_LINK"
+ TOOLKIT=MOTIF
+ TOOLKIT_DEF="__WXMOTIF__ -D__LINUX__ -D__UNIX__"
+ WX_LINK=-lwx_motif
+ MAKEINCLUDE=../motif.inc
fi
-eval "$ac_cv_use_wxtree"
-echo $ac_cv_use_wxtree >> ${OSTYPE}.system.cache.tmp
-if test "$USE_WXTREE" = 1; then
- echo "$ac_t""yes" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-
-
-ZLIB=NONE
-if test "$USE_ZLIB" = 1 ; then
- ZLIB="ZLIB"
+if test "$TOOLKIT" = ""; then
+ { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; }
fi
-GDK_IMLIB=NONE
-if test "$USE_GDK_IMLIB" = 1 ; then
- GDK_IMLIB="GDK_IMLIB"
-fi
-LIBPNG=NONE
-if test "$USE_LIBPNG" = 1 ; then
- LIBPNG="LIBPNG"
-fi
-THREADS=NONE
-THREADS_LINK=
-if test "$USE_THREADS" = 1 ; then
- case "$OS" in iris | IRIX | Irix5 | Irix6)
- USE_THREADS_POSIX=0
- USE_THREADS_SGI=1
- ;;
- *)
- USE_THREADS_POSIX=1
- USE_THREADS_SGI=0
- THREADS_LINK=-lpthread
- ;;
- esac
- THREADS="THREADS"
- cat >> confdefs.h <<EOF
-#define USE_THREADS $USE_THREADS
-EOF
- cat >> confdefs.h <<EOF
-#define USE_THREADS_SGI $USE_THREADS_SGI
-EOF
- cat >> confdefs.h <<EOF
-#define USE_THREADS_POSIX $USE_THREADS_POSIX
-EOF
-fi
-STORABLE=NONE
-if test "$USE_STORABLE_CLASSES" = 1 ; then
- STORABLE="STORABLE"
- cat >> confdefs.h <<EOF
-#define USE_STORABLE_CLASSES $USE_STORABLE_CLASSES
-EOF
-fi
-AUTOTRANS=NONE
-if test "$USE_AUTOTRANS" = 1 ; then
- AUTOTRANS="AUTOTRANS"
- cat >> confdefs.h <<EOF
-#define USE_AUTOTRANS $USE_AUTOTRANS
-EOF
-fi
-DEBUG=
-if test "$USE_DEBUG_INFO" = 1 ; then
- DEBUG="-g"
+WXDEBUG=
+if test "$wxUSE_DEBUG_GDB" = 1 ; then
+ wxUSE_DEBUG_INFO=1
+ WXDEBUG="-ggdb"
+ wxUSE_OPTIMISE=0
+else
+ if test "$wxUSE_DEBUG_INFO" = 1 ; then
+ WXDEBUG="-g"
+ wxUSE_OPTIMISE=0
+ else
+ WX_LINK="-s $WX_LINK"
+ fi
fi
-if test "$USE_DEBUG_FLAG" = 1 ; then
+if test "$wxUSE_DEBUG_FLAG" = 1 ; then
cat >> confdefs.h <<EOF
-#define DEBUG $USE_DEBUG_FLAG
+#define WXDEBUG $wxUSE_DEBUG_FLAG
EOF
+ WXDEBUG_DEFINE="-D__WXDEBUG__"
+
+else
+ WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
+
fi
-if test "$USE_MEM_TRACING" = 1 ; then
+if test "$wxUSE_MEM_TRACING" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_MEMORY_TRACING $USE_MEM_TRACING
+#define wxUSE_MEMORY_TRACING $wxUSE_MEM_TRACING
EOF
cat >> confdefs.h <<EOF
-#define USE_GLOBAL_MEMORY_OPERATORS $USE_MEM_TRACING
+#define wxUSE_GLOBAL_MEMORY_OPERATORS $wxUSE_MEM_TRACING
EOF
fi
+EXTRA_LINK=
+if test "$wxUSE_DMALLOC" = 1 ; then
+ EXTRA_LINK="$EXTRA_LINK -ldmalloc"
+fi
+
+
PROFILE=
-if test "$USE_PROFILE" = 1 ; then
+if test "$wxUSE_PROFILE" = 1 ; then
PROFILE="-pg"
fi
CXXFLAGS=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
CFLAGS=`echo "${CFLAGS}" | sed "s/\-O.//g" `
-if test "$USE_OPTIMISE" = 0 ; then
+if test "$wxUSE_OPTIMISE" = 0 ; then
OPTIMISE=
else
if test "$GCC" = yes ; then
fi
-USE_IOSTREAMH=$DEFAULT_USE_IOSTREAMH
-cat >> confdefs.h <<EOF
-#define USE_IOSTREAMH $USE_IOSTREAMH
-EOF
-
-
-RPC=NONE
-if test "$USE_RPC" = 1 ; then
- RPC="RPC"
+APPLE_IEEE=NONE
+if test "$wxUSE_APPLE_IEEE" = 1 ; then
+ APPLE_IEEE="APPLE_IEEE"
cat >> confdefs.h <<EOF
-#define USE_RPC $USE_RPC
+#define wxUSE_APPLE_IEEE $wxUSE_APPLE_IEEE
EOF
fi
-
-WXRESOURCES=NONE
-if test "$USE_WX_RESOURCES" = 1 ; then
- WXRESOURCES="WXRESOURCES"
- cat >> confdefs.h <<EOF
-#define USE_WX_RESOURCES $USE_WX_RESOURCES
+wxUSE_IOSTREAMH=$DEFAULT_wxUSE_IOSTREAMH
+cat >> confdefs.h <<EOF
+#define wxUSE_IOSTREAMH $wxUSE_IOSTREAMH
EOF
-fi
-PROLOGIO=NONE
-PROLOGIOSRC=NONE
-if test "$USE_PROLOGIO" = 1 ; then
- PROLOGIO="PROLOGIO"
- PROLOGIOSRC="PROLOGIOSRC"
+if test "$wxUSE_ZLIB" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_PROLOGIO 1
+#define wxUSE_ZLIB $wxUSE_ZLIB
EOF
+ Z_C_SRC="\$(Z_C_SRC)"
fi
-
-POSTSCRIPTDC=NONE
-if test "$USE_POSTSCRIPT" = 1 ; then
- POSTSCRIPTDC="POSTSCRIPTDC"
+if test "$wxUSE_LIBPNG" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_POSTSCRIPT 1
+#define wxUSE_LIBPNG $wxUSE_LIBPNG
EOF
-
+
+ PNG_C_SRC="\$(PNG_C_SRC)"
fi
-METAFILE=NONE
-if test "$USE_METAFILE" = 1 ; then
- METAFILE="METAFILE"
+IODBC_C_SRC=""
+if test "$wxUSE_ODBC" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_METAFILE $USE_METAFILE
+#define wxUSE_ODBC $wxUSE_ODBC
EOF
-
+
+ IODBC_C_SRC="\$(IODBC_C_SRC)"
fi
-FORM=NONE
-if test "$USE_FORM" = 1 ; then
- FORM="FORM"
- cat >> confdefs.h <<EOF
-#define USE_FORM $USE_FORM
-EOF
-
-fi
-
-HELP=NONE
-if test "$USE_HELP" = 1 ; then
- HELP="HELP"
+if test "$wxUSE_CONFIG" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_HELP $USE_HELP
+#define wxUSE_CONFIG $wxUSE_CONFIG
EOF
fi
-
-IPC=NONE
-if test "$USE_IPC" = 1 ; then
- IPC="IPC"
+if test "$wxUSE_TIMEDATE" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_IPC 1
+#define wxUSE_TIMEDATE $wxUSE_TIMEDATE
EOF
fi
-
-ENHDIALOGBOX=NONE
-if test "$USE_ENHANCED_DIALOG" = 1 ; then
- ENHDIALOGBOX="ENHDIALOGBOX"
+if test "$wxUSE_INTL" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_ENHANCED_DIALOG $USE_ENHANCED_DIALOG
+#define wxUSE_INTL $wxUSE_INTL
EOF
fi
-
-XRESOURCES=NONE
-if test "$USE_RESOURCES" = 1 ; then
- XRESOURCES="XRESOURCES"
+if test "$wxUSE_STREAMS" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_RESOURCES $USE_RESOURCES
+#define wxUSE_STREAMS $wxUSE_STREAMS
EOF
fi
-
-CLIPBOARD=NONE
-if test "$USE_CLIPBOARD" = 1 ; then
- CLIPBOARD="CLIPBOARD"
+if test "$wxUSE_SERIAL" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_CLIPBOARD $USE_CLIPBOARD
+#define wxUSE_SERIAL $wxUSE_SERIAL
EOF
fi
-CONSTRAINTS=NONE
-if test "$USE_CONSTRAINTS" = 1 ; then
- CONSTRAINTS="CONSTRAINTS"
+if test "$wxUSE_RPC" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_CONSTRAINTS $USE_CONSTRAINTS
+#define wxUSE_RPC $wxUSE_RPC
EOF
fi
-
-TIMEDATE=NONE
-if test "$USE_TIMEDATE" = 1 ; then
- TIMEDATE="TIMEDATE"
+if test "$wxUSE_WX_RESOURCES" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_TIMEDATE $USE_TIMEDATE
+#define wxUSE_WX_RESOURCES $wxUSE_WX_RESOURCES
EOF
fi
-
-FRACTION=NONE
-if test "$USE_FRACTION" = 1 ; then
- FRACTION="FRACTION"
+if test "$wxUSE_PROLOGIO" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_FRACTION $USE_FRACTION
+#define wxUSE_PROLOGIO 1
EOF
fi
-TOOLBAR=NONE
-if test "$USE_TOOLBAR" = 1 ; then
- TOOLBAR="TOOLBAR"
- cat >> confdefs.h <<EOF
-#define USE_TOOLBAR $USE_TOOLBAR
-EOF
-
+if test "$wxUSE_POSTSCRIPT" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_XT_TOOLBAR $USE_XT_TOOLBAR
+#define wxUSE_POSTSCRIPT 1
EOF
fi
-
-GAUGE=NONE
-if test "$USE_GAUGE" = 1 ; then
- GAUGE="GAUGE"
-
- cat >> confdefs.h <<EOF
-#define USE_GAUGE $USE_GAUGE
+cat >> confdefs.h <<EOF
+#define wxUSE_AFM_FOR_POSTSCRIPT $wxUSE_AFM_FOR_POSTSCRIPT
EOF
-fi
-VIRLISTBOX=NONE
-if test "$USE_VLBOX" = 1 ; then
- VIRTLISTBOX="VIRLISTBOX"
- cat >> confdefs.h <<EOF
-#define USE_VIRLISTBOX $USE_VIRLISTBOX
+cat >> confdefs.h <<EOF
+#define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
EOF
-fi
-SCROLLBAR=NONE
-if test "$USE_SCROLLBAR" = 1 ; then
- SCROLLBAR="SCROLLBAR"
+if test "$wxUSE_MDI_ARCHITECTURE" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_SCROLLBAR $USE_SCROLLBAR
+#define wxUSE_MDI_ARCHITECTURE $wxUSE_MDI_ARCHITECTURE
EOF
fi
-
-DOCVIEW=NONE
-if test "$USE_DOC_VIEW_ARCHITECTURE" = 1 ; then
- DOCVIEW="DOCVIEW"
+if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_DOC_VIEW_ARCHITECTURE $USE_DOC_VIEW_ARCHITECTURE
+#define wxUSE_DOC_VIEW_ARCHITECTURE $wxUSE_DOC_VIEW_ARCHITECTURE
EOF
fi
-
-PRINTPREVIEW=NONE
-if test "$USE_PRINTING_ARCHITECTURE" = 1 ; then
- PRINTPREVIEW="PRINTPREVIEW"
+if test "$wxUSE_PRINTING_ARCHITECTURE" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_PRINTING_ARCHITECTURE $USE_PRINTING_ARCHITECTURE
+#define wxUSE_PRINTING_ARCHITECTURE $wxUSE_PRINTING_ARCHITECTURE
EOF
fi
-TYPETREE=NONE
-if test "$USE_TYPETREE" = 1 ; then
- TYPETREE="TYPETREE"
+if test "$wxUSE_UNICODE" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_TYPETREE $USE_TYPETREE
+#define wxUSE_UNICODE 1
EOF
fi
-
-WXGRAPH=NONE
-if test "$USE_WXGRAPH" = 1 ; then
- WXGRAPH="WXGRAPH"
+if test "$wxUSE_WCSRTOMBS" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_WXGRAPH $USE_WXGRAPH
+#define wxUSE_WCSRTOMBS 1
EOF
fi
-WXTREE=NONE
-if test "$USE_WXTREE" = 1 ; then
- WXTREE="WXTREE"
+if test "$wxUSE_IPC" = 1 ; then
cat >> confdefs.h <<EOF
-#define USE_WXTREE $USE_WXTREE
+#define wxUSE_IPC 1
EOF
fi
-
-GLCANVAS=NONE
-if test "$USE_OPENGL" = 1 ; then
- GLCANVAS="GLCANVAS"
-fi
-
-cat >> confdefs.h <<EOF
-#define USE_AFM_FOR_POSTSCRIPT $USE_AFM_FOR_POSTSCRIPT
-EOF
-
-
-cat >> confdefs.h <<EOF
-#define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
-EOF
-
-
-
-if test "$USE_UNIX" = 1 ; then
- cat >> confdefs.h <<\EOF
-#define __UNIX__ 1
+if test "$wxUSE_RESOURCES" = 1 ; then
+ cat >> confdefs.h <<EOF
+#define wxUSE_RESOURCES $wxUSE_RESOURCES
EOF
fi
+if test "$wxUSE_CLIPBOARD" = 1 ; then
+ cat >> confdefs.h <<EOF
+#define wxUSE_CLIPBOARD $wxUSE_CLIPBOARD
+EOF
-GUI_TK_INCLUDE=
-GUI_TK_LIBRARY=
-GUI_TK_LINK=
-
-if test "$USE_GTK" = 1; then
- # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
-if test "${with_gtk_prefix+set}" = set; then
- withval="$with_gtk_prefix"
- gtk_config_prefix="$withval"
-else
- gtk_config_prefix=""
-fi
-
-# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
-if test "${with_gtk_exec_prefix+set}" = set; then
- withval="$with_gtk_exec_prefix"
- gtk_config_exec_prefix="$withval"
-else
- gtk_config_exec_prefix=""
-fi
-
-
- if test x$gtk_config_exec_prefix != x ; then
- gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
- if test x${GTK_CONFIG+set} != xset ; then
- GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
- fi
- fi
- if test x$gtk_config_prefix != x ; then
- gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
- if test x${GTK_CONFIG+set} != xset ; then
- GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
- fi
- fi
-
- # Extract the first word of "gtk-config", so it can be a program name with args.
-set dummy gtk-config; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:5754: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- case "$GTK_CONFIG" in
- /*)
- ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
- ;;
- *)
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
- for ac_dir in $PATH; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
- ;;
-esac
-fi
-GTK_CONFIG="$ac_cv_path_GTK_CONFIG"
-if test -n "$GTK_CONFIG"; then
- echo "$ac_t""$GTK_CONFIG" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
- min_gtk_version=0.99.7
- echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
-echo "configure:5785: checking for GTK - version >= $min_gtk_version" >&5
- no_gtk=""
- if test "$GTK_CONFIG" != "no" ; then
- GTK_CFLAGS=`$GTK_CONFIG --cflags`
- GTK_LIBS=`$GTK_CONFIG --libs`
- ac_save_CFLAGS="$CFLAGS"
- ac_save_LIBS="$LIBS"
- CFLAGS="$CFLAGS $GTK_CFLAGS"
- LIBS="$LIBS $GTK_LIBS"
- if test "$cross_compiling" = yes; then
- echo $ac_n "cross compiling; assumed OK... $ac_c"
-else
- cat > conftest.$ac_ext <<EOF
-#line 5798 "configure"
-#include "confdefs.h"
-
-#include <gtk/gtk.h>
-#include <stdio.h>
-
-int
-main ()
-{
- int major, minor, micro;
-
- if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
- printf("%s, bad version string\n", "$min_gtk_version");
- exit(1);
- }
-
- return !((gtk_major_version > major) ||
- ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
- ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
-}
-
-EOF
-if { (eval echo configure:5820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
-then
- :
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -fr conftest*
- no_gtk=yes
-fi
-rm -fr conftest*
-fi
-
- CFLAGS="$ac_save_CFLAGS"
- LIBS="$ac_save_LIBS"
- else
- no_gtk=yes
- fi
- if test "x$no_gtk" = x ; then
- echo "$ac_t""yes" 1>&6
-
- GUI_TK_INCLUDE="$GTK_CFLAGS"
- GUI_TK_LIBRARY="$GTK_LIBS"
-
- else
- echo "$ac_t""no" 1>&6
- GTK_CFLAGS=""
- GTK_LIBS=""
- { echo "configure: error: Are gtk-config and the GTK in path and up-to-date?" 1>&2; exit 1; }
- fi
-
-
+fi
- cat >> confdefs.h <<\EOF
-#define __GTK__ 1
+if test "$wxUSE_DRAG_AND_DROP" = 1 ; then
+ cat >> confdefs.h <<EOF
+#define wxUSE_DRAG_AND_DROP $wxUSE_DRAG_AND_DROP
EOF
fi
+HELP=NONE
+if test "$wxUSE_HELP" = 1 ; then
+ HELP="HELP"
+ cat >> confdefs.h <<EOF
+#define wxUSE_HELP $wxUSE_HELP
+EOF
+fi
+echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
+echo "configure:6303: checking for main in -ldl" >&5
+ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-ldl $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 6311 "configure"
+#include "confdefs.h"
+int main() {
+main()
+; return 0; }
+EOF
+if { (eval echo configure:6318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
-OPENGL_INCLUDE=
-OPENGL_LIBRARY=
-OPENGL_LINK=
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ DL_LIBRARY=-ldl
+else
+ echo "$ac_t""no" 1>&6
+DL_LIBRARY=
+fi
-if test "$USE_OPENGL" = 1; then
- echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
-echo "configure:5871: checking for OpenGL includes" >&5
-
-ac_find_includes=
-for ac_dir in $SEARCH_INCLUDE;
- do
- if test -f "$ac_dir/GL/gl.h"; then
- ac_find_includes=$ac_dir
- break
- fi
- done
- if test "$ac_find_includes" != "" ; then
- OPENGL_INCLUDE="-I$ac_find_includes"
- echo "$ac_t""found $ac_find_includes" 1>&6
- echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
-echo "configure:5886: checking for OpenGL library" >&5
-
-ac_find_libraries=
-for ac_dir in $SEARCH_LIB;
- do
- for ac_extension in a so sl; do
- if test -f "$ac_dir/libGL.$ac_extension"; then
- ac_find_libraries=$ac_dir
- break 2
- fi
- done
- done
- if test "$ac_find_libraries" != "" ; then
-
- ac_path_to_include=$ac_find_includes
- echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
- result=$?
- if test $result = 0; then
- ac_path_to_include=""
- else
- ac_path_to_include="-I$ac_find_includes"
- fi
-
- echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev/null
- result=$?
- if test $result = 0; then
- ac_path_to_link=""
- else
- ac_path_to_link="-L$ac_find_libraries"
- fi
+THREADS_LINK=""
+UNIX_THREAD=""
- CHECK_LINK="$CHECK_INCLUDE $ac_path_to_link"
- CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include"
- OPENGL_LIBRARY="$ac_path_to_link"
- OPENGL_INCLUDE="$ac_path_to_include"
- OPENGL_LINK="-lGL"
- echo "$ac_t""found OpenGL at $ac_find_libraries" 1>&6
- else
-
-ac_find_libraries=
-for ac_dir in $SEARCH_LIB;
- do
- for ac_extension in a so sl; do
- if test -f "$ac_dir/libMesaGL.$ac_extension"; then
- ac_find_libraries=$ac_dir
- break 2
- fi
- done
- done
+if test "$wxUSE_THREADS" = "1"; then
- if test "$ac_find_libraries" != "" ; then
-
- ac_path_to_include=$ac_find_includes
- echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
- result=$?
- if test $result = 0; then
- ac_path_to_include=""
- else
- ac_path_to_include="-I$ac_find_includes"
- fi
+
+ echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
+echo "configure:6349: checking for pthread_create in -lpthread-0.7" >&5
+ac_lib_var=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-lpthread-0.7 $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 6357 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char pthread_create();
-
- echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev/null
- result=$?
- if test $result = 0; then
- ac_path_to_link=""
- else
- ac_path_to_link="-L$ac_find_libraries"
- fi
+int main() {
+pthread_create()
+; return 0; }
+EOF
+if { (eval echo configure:6368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
- CHECK_LINK="$CHECK_INCLUDE $ac_path_to_link"
- CHECK_INCLUDE="$CHECK_INCLUDE $ac_path_to_include"
- OPENGL_LIBRARY="$ac_path_to_link"
- OPENGL_INCLUDE="$ac_path_to_include"
- OPENGL_LINK="-lMesaGL"
- echo "$ac_t""found MESA at $ac_find_libraries" 1>&6
- else
- { echo "configure: error: no" 1>&2; exit 1; }
- fi
- fi
- else
- { echo "configure: error: no" 1>&2; exit 1; }
- fi
fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+
+ UNIX_THREAD="gtk/threadpsx.cpp"
+ THREADS_LINK="-lpthread-0.7"
+
+else
+ echo "$ac_t""no" 1>&6
- if test "$USE_GDK_IMLIB" = 1; then
- cat >> confdefs.h <<EOF
-#define USE_GDK_IMLIB $USE_GDK_IMLIB
+ ac_safe=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
+echo "configure:6392: checking for sys/prctl.h" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 6397 "configure"
+#include "confdefs.h"
+#include <sys/prctl.h>
EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:6402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+
+ UNIX_THREAD="gtk/threadsgi.cpp"
+
+else
+ echo "$ac_t""no" 1>&6
+fi
- fi
- if test "$USE_ZLIB" = 1; then
- cat >> confdefs.h <<EOF
-#define USE_ZLIB $USE_ZLIB
+
+ echo $ac_n "checking for pthread_setcanceltype in -lpthread""... $ac_c" 1>&6
+echo "configure:6428: checking for pthread_setcanceltype in -lpthread" >&5
+ac_lib_var=`echo pthread'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-lpthread $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 6436 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char pthread_setcanceltype();
+
+int main() {
+pthread_setcanceltype()
+; return 0; }
EOF
+if { (eval echo configure:6447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
- fi
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+
+ UNIX_THREAD="gtk/threadpsx.cpp"
+ THREADS_LINK="-lpthread"
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+
+fi
- if test "$USE_LIBPNG" = 1; then
- cat >> confdefs.h <<EOF
-#define USE_LIBPNG $USE_LIBPNG
+
+ if test "$THREADS_LINK" != ""; then
+ cat >> confdefs.h <<\EOF
+#define wxUSE_THREADS 1
EOF
-
+
fi
+
+ echo $ac_n "checking for printf in -lposix4""... $ac_c" 1>&6
+echo "configure:6483: checking for printf in -lposix4" >&5
+ac_lib_var=`echo posix4'_'printf | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-lposix4 $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 6491 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char printf();
+int main() {
+printf()
+; return 0; }
+EOF
+if { (eval echo configure:6502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+
+ THREADS_LINK="$THREADS_LINK -lposix4"
+
+else
+ echo "$ac_t""no" 1>&6
+fi
-USE_GLX=$USE_OPENGL
-if test "$USE_OPENGL" != 1; then
- OPENGL_LIBRARIES=
- OPENGL_INCLUDE=
- OPENGL_LINK=
- GLCANVAS=NONE
+
fi
-cat >> confdefs.h <<EOF
-#define USE_GLX $USE_GLX
-EOF
+if test "$wxUSE_MOTIF" = "1"; then
+ UNIX_THREAD="motif/thread.cpp"
+fi
+if test -z "$UNIX_THREAD"; then
+ wxUSE_THREADS=0
+fi
case "${canonical}" in
*-hp-hpux* )
- if test "${CC}" != "gcc" ; then
+ if test "$GCC" != "yes" ; then
CXXFLAGS="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
CFLAGS="${CFLAGS} -z -D_HPUX_SOURCE"
PICFLAGS="+z"
;;
*-*-solaris2* )
- if test "${CC}" != "gcc" ; then
+ if test "$GCC" != "yes" ; then
PICFLAGS="-KPIC"
else
PICFLAGS="-fPIC"
;;
*-*-sunos4* )
- if test "${CC}" != "gcc" ; then
+ if test "$GCC" != "yes" ; then
PICFLAGS="-PIC"
else
PICFLAGS="-fPIC"
;;
*-*-dgux5* )
- if test "${CC}" != "gcc" ; then
+ if test "$GCC" != "yes" ; then
PICFLAGS="-K PIC"
else
PICFLAGS="-fPIC"
;;
*-*-sysv5* )
- if test "${CC}" != "gcc" ; then
+ if test "$GCC" != "yes" ; then
PICFLAGS="-K PIC"
else
PICFLAGS="-fPIC"
;;
*-*-aix* )
- if test "${CC}" != "gcc" ; then
+ if test "$GCC" != "yes" ; then
PICFLAGS="-bM\:SRE"
else
PICFLAGS="-fPIC"
fi
if test "x$GXX" = xyes; then
- CXXFLAGS="${CXXFLAGS} -Wall"
+ if test "$wxUSE_MOTIF" = 1; then
+ CXXFLAGS="${CXXFLAGS} -Wall -Wno-unused"
+ else
+ CXXFLAGS="${CXXFLAGS} -Wall"
+ fi
fi
-if test "$USE_SHARED" != 1; then
+if test "$wxUSE_SHARED" != 1; then
CREATE_SHARED=
PICFLAGS=
fi
ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"
-trap 'rm -fr `echo "src/gtk/setup/substit include/wx/gtk/setup.h:src/gtk/setup/setup.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+trap 'rm -fr `echo "./setup/substit ./wx-config:./wx-config.in ./include/wx/gtk/setup.h:./setup/setup.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
s%@X_PRE_LIBS@%$X_PRE_LIBS%g
s%@X_LIBS@%$X_LIBS%g
s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
+s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
s%@LIBOBJS@%$LIBOBJS%g
s%@YACC@%$YACC%g
s%@LEX@%$LEX%g
s%@host_cpu@%$host_cpu%g
s%@host_vendor@%$host_vendor%g
s%@host_os@%$host_os%g
-s%@THREADS@%$THREADS%g
-s%@THREADS_LINK@%$THREADS_LINK%g
-s%@DEBUG@%$DEBUG%g
-s%@PROFILE@%$PROFILE%g
-s%@OPTIMISE@%$OPTIMISE%g
-s%@RPC@%$RPC%g
-s%@WXRESOURCES@%$WXRESOURCES%g
-s%@PROLOGIO@%$PROLOGIO%g
-s%@PROLOGIOSRC@%$PROLOGIOSRC%g
-s%@POSTSCRIPTDC@%$POSTSCRIPTDC%g
-s%@METAFILE@%$METAFILE%g
-s%@FORM@%$FORM%g
-s%@HELP@%$HELP%g
-s%@IPC@%$IPC%g
-s%@ENHDIALOGBOX@%$ENHDIALOGBOX%g
-s%@XRESOURCES@%$XRESOURCES%g
-s%@CLIPBOARD@%$CLIPBOARD%g
-s%@CONSTRAINTS@%$CONSTRAINTS%g
-s%@TIMEDATE@%$TIMEDATE%g
-s%@FRACTION@%$FRACTION%g
-s%@TOOLBAR@%$TOOLBAR%g
-s%@GAUGE@%$GAUGE%g
-s%@VIRLISTBOX@%$VIRLISTBOX%g
-s%@SCROLLBAR@%$SCROLLBAR%g
-s%@DOCVIEW@%$DOCVIEW%g
-s%@PRINTPREVIEW@%$PRINTPREVIEW%g
-s%@TYPETREE@%$TYPETREE%g
-s%@WXGRAPH@%$WXGRAPH%g
-s%@WXTREE@%$WXTREE%g
s%@GTK_CONFIG@%$GTK_CONFIG%g
s%@GTK_CFLAGS@%$GTK_CFLAGS%g
s%@GTK_LIBS@%$GTK_LIBS%g
s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
s%@GUI_TK_LINK@%$GUI_TK_LINK%g
+s%@WX_LINK@%$WX_LINK%g
s%@TOOLKIT@%$TOOLKIT%g
s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
-s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g
-s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g
-s%@OPENGL_LINK@%$OPENGL_LINK%g
-s%@GLCANVAS@%$GLCANVAS%g
+s%@MAKEINCLUDE@%$MAKEINCLUDE%g
+s%@WXDEBUG@%$WXDEBUG%g
+s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
+s%@EXTRA_LINK@%$EXTRA_LINK%g
+s%@PROFILE@%$PROFILE%g
+s%@OPTIMISE@%$OPTIMISE%g
+s%@Z_C_SRC@%$Z_C_SRC%g
+s%@PNG_C_SRC@%$PNG_C_SRC%g
+s%@IODBC_C_SRC@%$IODBC_C_SRC%g
+s%@HELP@%$HELP%g
+s%@DL_LIBRARY@%$DL_LIBRARY%g
+s%@UNIX_THREAD@%$UNIX_THREAD%g
+s%@THREADS_LINK@%$THREADS_LINK%g
s%@OS@%$OS%g
s%@PICFLAGS@%$PICFLAGS%g
s%@CREATE_SHARED@%$CREATE_SHARED%g
cat >> $CONFIG_STATUS <<EOF
-CONFIG_FILES=\${CONFIG_FILES-"src/gtk/setup/substit"}
+CONFIG_FILES=\${CONFIG_FILES-"./setup/substit ./wx-config:./wx-config.in"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
if test "${CONFIG_HEADERS+set}" != set; then
EOF
cat >> $CONFIG_STATUS <<EOF
- CONFIG_HEADERS="include/wx/gtk/setup.h:src/gtk/setup/setup.hin"
+ CONFIG_HEADERS="./include/wx/gtk/setup.h:./setup/setup.hin"
EOF
cat >> $CONFIG_STATUS <<\EOF
fi
EOF
cat >> $CONFIG_STATUS <<\EOF
-src/gtk/setup/general/createall
+./setup/general/createall
exit 0
EOF
chmod +x $CONFIG_STATUS
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
+
mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache