|
From: <ob...@us...> - 2007-11-28 18:01:46
|
Revision: 349
http://iaeditor.svn.sourceforge.net/iaeditor/?rev=349&view=rev
Author: obi666
Date: 2007-11-28 10:01:46 -0800 (Wed, 28 Nov 2007)
Log Message:
-----------
Configure script tweaks.
Modified Paths:
--------------
trunk/configure
trunk/configure.ac
Modified: trunk/configure
===================================================================
--- trunk/configure 2007-10-10 10:11:48 UTC (rev 348)
+++ trunk/configure 2007-11-28 18:01:46 UTC (rev 349)
@@ -1,8 +1,8 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for csextra 0.0.
+# Generated by GNU Autoconf 2.61 for iaeditor 0.0.
#
-# Report bugs to <jor...@gm...>.
+# Report bugs to <obr...@gm...>.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@@ -574,11 +574,11 @@
SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
-PACKAGE_NAME='csextra'
-PACKAGE_TARNAME='csextra'
+PACKAGE_NAME='iaeditor'
+PACKAGE_TARNAME='iaeditor'
PACKAGE_VERSION='0.0'
-PACKAGE_STRING='csextra 0.0'
-PACKAGE_BUGREPORT='jor...@gm...'
+PACKAGE_STRING='iaeditor 0.0'
+PACKAGE_BUGREPORT='obr...@gm...'
ac_unique_file="mk/jam/build.jam"
# Factoring default headers for most tests.
@@ -702,16 +702,9 @@
ac_ct_PKG_CONFIG
CONFIG_CPPUNIT
ac_ct_CONFIG_CPPUNIT
-PYTHON
CPP
GREP
EGREP
-CONFIG_VERSE
-ac_ct_CONFIG_VERSE
-CONFIG_QT_MT
-ac_ct_CONFIG_QT_MT
-CONFIG_JS
-ac_ct_CONFIG_JS
CONFIG_WX
ac_ct_CONFIG_WX
CRYSTAL
@@ -1241,7 +1234,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures csextra 0.0 to adapt to many kinds of systems.
+\`configure' configures iaeditor 0.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1289,7 +1282,7 @@
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root [DATAROOTDIR/doc/csextra]
+ --docdir=DIR documentation root [DATAROOTDIR/doc/iaeditor]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
@@ -1306,7 +1299,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of csextra 0.0:";;
+ short | recursive ) echo "Configuration of iaeditor 0.0:";;
esac
cat <<\_ACEOF
@@ -1320,6 +1313,10 @@
(default YES)
--enable-celtest verify that the CEL SDK is actually usable (default
YES)
+ --enable-shared enable creation of shared libraries (default YES on
+ Win32 and Linux, NO otherwise)
+ --enable-make-emulation enable emulation layer allowing project to be built
+ with `make', in addition to `jam' (default YES)
--enable-meta-info-embedding
store plugin meta-information directly inside plugin
modules if supported by platform; if disabled,
@@ -1342,16 +1339,6 @@
--with-cppunit=dir specify location of libcppunit if not detected
automatically; searches dir/include, dir/lib, and
dir
- --without-python do not use Python
- --with-verse=dir specify location of libverse if not detected
- automatically; searches dir/include, dir/lib, and
- dir
- --with-qt-mt=dir specify location of libqt-mt if not detected
- automatically; searches dir/include, dir/lib, and
- dir
- --with-js=dir specify location of libjs if not detected
- automatically; searches dir/include, dir/lib, and
- dir
--with-wx=dir specify location of libwx if not detected
automatically; searches dir/include, dir/lib, and
dir
@@ -1392,7 +1379,7 @@
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
-Report bugs to <jor...@gm...>.
+Report bugs to <obr...@gm...>.
_ACEOF
ac_status=$?
fi
@@ -1453,7 +1440,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-csextra configure 0.0
+iaeditor configure 0.0
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1467,7 +1454,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by csextra $as_me 0.0, which was
+It was created by iaeditor $as_me 0.0, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -1820,9 +1807,9 @@
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-PACKAGE_LONGNAME="Crystal Space Extra Stuff"
- PACKAGE_COPYRIGHT="Jorrit Tyberghein"
- PACKAGE_HOMEPAGE="http://www.crystalspace3d.org"
+PACKAGE_LONGNAME="IAEditor"
+ PACKAGE_COPYRIGHT="Piotr Obrzut"
+ PACKAGE_HOMEPAGE="http://www.sourceforge.net/projects/iaeditor/"
ac_aux_dir=
@@ -7985,1201 +7972,6 @@
fi
- case $host_os in
-
- *)
- if test "" != yes; then
- { echo "$as_me:$LINENO: checking for pthread" >&5
-echo $ECHO_N "checking for pthread... $ECHO_C" >&6; }
-if test "${cs_cv_sys_pthread+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- cs_cflags_save="$CFLAGS"
- cs_lflags_save="$LDFLAGS"
- cs_libs_save="$LIBS"
- cs_build_ok=no
-
-
- for cs_build_item in `echo @@@ | sed 'y% %#%'` \
- `echo @@@-lpthread | sed 'y% %#%'` \
- `echo @@@-lpthread -lrt | sed 'y% %#%'` \
- `echo @-pthread@-pthread@ | sed 'y% %#%'` \
- `echo @-pthread@-pthread@-lpthread | sed 'y% %#%'` \
- `echo @-pthread@-pthread@-lc_r | sed 'y% %#%'`
- do
-
- set filler `echo "$cs_build_item" | awk 'BEGIN { FS="@" }
- { for (i=1; i <= NF; ++i)
- { if ($i == "") print "filler"; else print $i } }'`
- shift
- if test $# -eq 0; then
- cs_dummy=''
-else
- if test "$1" = filler; then
- cs_dummy=''
-else
- cs_dummy=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_cflags_test=''
-else
- if test "$1" = filler; then
- cs_cflags_test=''
-else
- cs_cflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_lflags_test=''
-else
- if test "$1" = filler; then
- cs_lflags_test=''
-else
- cs_lflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_libs_test=''
-else
- if test "$1" = filler; then
- cs_libs_test=''
-else
- cs_libs_test=$1
-fi
-
- shift
-fi
-
- cs_cflags_test=`echo $cs_cflags_test | sed 'y%#% %'`
- cs_lflags_test=`echo $cs_lflags_test | sed 'y%#% %'`
- cs_libs_test=`echo $cs_libs_test | sed 'y%#% %'`
-
- CFLAGS="$cs_cflags_test $cs_cflags_save"
- LDFLAGS="$cs_lflags_test $cs_lflags_save"
- LIBS="$cs_libs_test $cs_libs_save"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include <pthread.h>
- #include <semaphore.h>
- void* worker(void* p) { (void)p; return p; }
-int
-main ()
-{
-pthread_t tid;
- sem_t sem;
- pthread_create(&tid, 0, worker, 0);
- sem_init(&sem, 0, 0);
- sem_destroy(&sem);
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- cs_build_ok=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
- if test $cs_build_ok = yes; then
- break
-fi
-
- done
-
-
- CFLAGS=$cs_cflags_save
- LDFLAGS=$cs_lflags_save
- LIBS=$cs_libs_save
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
- if test $cs_build_ok = yes; then
- cs_build_cflags=`echo x$cs_cflags_test | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_lflags=`echo x$cs_lflags_test | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_libs=`echo x$cs_libs_test | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_cv_sys_pthread=yes
- cs_cv_sys_pthread_cflags=$cs_build_cflags
- cs_cv_sys_pthread_lflags=$cs_build_lflags
- cs_cv_sys_pthread_libs=$cs_build_libs
-else
- cs_cv_sys_pthread=no
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $cs_cv_sys_pthread" >&5
-echo "${ECHO_T}$cs_cv_sys_pthread" >&6; }
-else
- { echo "$as_me:$LINENO: checking for pthread" >&5
-echo $ECHO_N "checking for pthread... $ECHO_C" >&6; }
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- cs_cflags_save="$CFLAGS"
- cs_lflags_save="$LDFLAGS"
- cs_libs_save="$LIBS"
- cs_build_ok=no
-
-
- for cs_build_item in `echo @@@ | sed 'y% %#%'` \
- `echo @@@-lpthread | sed 'y% %#%'` \
- `echo @@@-lpthread -lrt | sed 'y% %#%'` \
- `echo @-pthread@-pthread@ | sed 'y% %#%'` \
- `echo @-pthread@-pthread@-lpthread | sed 'y% %#%'` \
- `echo @-pthread@-pthread@-lc_r | sed 'y% %#%'`
- do
-
- set filler `echo "$cs_build_item" | awk 'BEGIN { FS="@" }
- { for (i=1; i <= NF; ++i)
- { if ($i == "") print "filler"; else print $i } }'`
- shift
- if test $# -eq 0; then
- cs_dummy=''
-else
- if test "$1" = filler; then
- cs_dummy=''
-else
- cs_dummy=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_cflags_test=''
-else
- if test "$1" = filler; then
- cs_cflags_test=''
-else
- cs_cflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_lflags_test=''
-else
- if test "$1" = filler; then
- cs_lflags_test=''
-else
- cs_lflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_libs_test=''
-else
- if test "$1" = filler; then
- cs_libs_test=''
-else
- cs_libs_test=$1
-fi
-
- shift
-fi
-
- cs_cflags_test=`echo $cs_cflags_test | sed 'y%#% %'`
- cs_lflags_test=`echo $cs_lflags_test | sed 'y%#% %'`
- cs_libs_test=`echo $cs_libs_test | sed 'y%#% %'`
-
- CFLAGS="$cs_cflags_test $cs_cflags_save"
- LDFLAGS="$cs_lflags_test $cs_lflags_save"
- LIBS="$cs_libs_test $cs_libs_save"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include <pthread.h>
- #include <semaphore.h>
- void* worker(void* p) { (void)p; return p; }
-int
-main ()
-{
-pthread_t tid;
- sem_t sem;
- pthread_create(&tid, 0, worker, 0);
- sem_init(&sem, 0, 0);
- sem_destroy(&sem);
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- cs_build_ok=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
- if test $cs_build_ok = yes; then
- break
-fi
-
- done
-
-
- CFLAGS=$cs_cflags_save
- LDFLAGS=$cs_lflags_save
- LIBS=$cs_libs_save
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
- if test $cs_build_ok = yes; then
- cs_build_cflags=`echo x$cs_cflags_test | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_lflags=`echo x$cs_lflags_test | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_libs=`echo x$cs_libs_test | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_cv_sys_pthread=yes
- cs_cv_sys_pthread_cflags=$cs_build_cflags
- cs_cv_sys_pthread_lflags=$cs_build_lflags
- cs_cv_sys_pthread_libs=$cs_build_libs
-else
- cs_cv_sys_pthread=no
-fi
-
- { echo "$as_me:$LINENO: result: $cs_cv_sys_pthread" >&5
-echo "${ECHO_T}$cs_cv_sys_pthread" >&6; }
-fi
-
- if test $cs_cv_sys_pthread = yes; then
- :
-else
- cs_cv_sys_pthread_cflags=''
- cs_cv_sys_pthread_lflags=''
- cs_cv_sys_pthread_libs=''
-
-fi
-
- ;;
- esac
- if test $cs_cv_sys_pthread = yes; then
- { echo "$as_me:$LINENO: checking for pthread recursive mutexes" >&5
-echo $ECHO_N "checking for pthread recursive mutexes... $ECHO_C" >&6; }
-if test "${cs_cv_sys_pthread_mutex_recursive+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- cs_cflags_save="$CFLAGS"
- cs_lflags_save="$LDFLAGS"
- cs_libs_save="$LIBS"
- cs_build_ok=no
-
-
- for cs_build_item in `echo @-DCS_MUTEX_FEATURE=PTHREAD_MUTEX_RECURSIVE@@ | sed 'y% %#%'` \
- `echo @-DCS_MUTEX_FEATURE=PTHREAD_MUTEX_RECURSIVE_NP@@ | sed 'y% %#%'`
- do
-
- set filler `echo "$cs_build_item" | awk 'BEGIN { FS="@" }
- { for (i=1; i <= NF; ++i)
- { if ($i == "") print "filler"; else print $i } }'`
- shift
- if test $# -eq 0; then
- cs_dummy=''
-else
- if test "$1" = filler; then
- cs_dummy=''
-else
- cs_dummy=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_cflags_test=''
-else
- if test "$1" = filler; then
- cs_cflags_test=''
-else
- cs_cflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_lflags_test=''
-else
- if test "$1" = filler; then
- cs_lflags_test=''
-else
- cs_lflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_libs_test=''
-else
- if test "$1" = filler; then
- cs_libs_test=''
-else
- cs_libs_test=$1
-fi
-
- shift
-fi
-
- cs_cflags_test=`echo $cs_cflags_test | sed 'y%#% %'`
- cs_lflags_test=`echo $cs_lflags_test | sed 'y%#% %'`
- cs_libs_test=`echo $cs_libs_test | sed 'y%#% %'`
-
- CFLAGS="$cs_cflags_test $cs_cv_sys_pthread_cflags -D_GNU_SOURCE $cs_cflags_save"
- LDFLAGS="$cs_lflags_test $cs_cv_sys_pthread_lflags $cs_lflags_save"
- LIBS="$cs_libs_test $cs_cv_sys_pthread_libs $cs_libs_save"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include <pthread.h>
-int
-main ()
-{
-pthread_mutexattr_t attr;
- pthread_mutexattr_settype(&attr, CS_MUTEX_FEATURE);
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- cs_build_ok=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
- if test $cs_build_ok = yes; then
- break
-fi
-
- done
-
-
- CFLAGS=$cs_cflags_save
- LDFLAGS=$cs_lflags_save
- LIBS=$cs_libs_save
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
- if test $cs_build_ok = yes; then
- cs_build_cflags=`echo x$cs_cflags_test $cs_cv_sys_pthread_cflags -D_GNU_SOURCE | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_lflags=`echo x$cs_lflags_test $cs_cv_sys_pthread_lflags | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_libs=`echo x$cs_libs_test $cs_cv_sys_pthread_libs | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_cv_sys_pthread_mutex_recursive=`echo $cs_build_cflags | sed 's/.*\(PTHREAD_MUTEX_RECURSIVE_*N*P*\).*/\1/'`
-else
- cs_cv_sys_pthread_mutex_recursive=no
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $cs_cv_sys_pthread_mutex_recursive" >&5
-echo "${ECHO_T}$cs_cv_sys_pthread_mutex_recursive" >&6; }
-else
- cs_cv_sys_pthread_mutex_recursive=no
-fi
-
-
- { echo "$as_me:$LINENO: checking how to suppress C++ \`long double' warnings" >&5
-echo $ECHO_N "checking how to suppress C++ \`long double' warnings... $ECHO_C" >&6; }
-if test "${cs_cv_prog_cxx_ignore_long_double_ok+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
- cs_cflags_save="$CXXFLAGS"
- cs_lflags_save="$LDFLAGS"
- cs_libs_save="$LIBS"
- cs_build_ok=no
-
-
- for cs_build_item in `echo @-Wno-long-double@@ | sed 'y% %#%'`
- do
-
- set filler `echo "$cs_build_item" | awk 'BEGIN { FS="@" }
- { for (i=1; i <= NF; ++i)
- { if ($i == "") print "filler"; else print $i } }'`
- shift
- if test $# -eq 0; then
- cs_dummy=''
-else
- if test "$1" = filler; then
- cs_dummy=''
-else
- cs_dummy=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_cflags_test=''
-else
- if test "$1" = filler; then
- cs_cflags_test=''
-else
- cs_cflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_lflags_test=''
-else
- if test "$1" = filler; then
- cs_lflags_test=''
-else
- cs_lflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_libs_test=''
-else
- if test "$1" = filler; then
- cs_libs_test=''
-else
- cs_libs_test=$1
-fi
-
- shift
-fi
-
- cs_cflags_test=`echo $cs_cflags_test | sed 'y%#% %'`
- cs_lflags_test=`echo $cs_lflags_test | sed 'y%#% %'`
- cs_libs_test=`echo $cs_libs_test | sed 'y%#% %'`
-
- CXXFLAGS="$cs_cflags_test $cs_cflags_save"
- LDFLAGS="$cs_lflags_test $cs_lflags_save"
- LIBS="$cs_libs_test $cs_libs_save"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_cxx_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- cs_build_ok=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
- if test $cs_build_ok = yes; then
- break
-fi
-
- done
-
-
- CXXFLAGS=$cs_cflags_save
- LDFLAGS=$cs_lflags_save
- LIBS=$cs_libs_save
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
- if test $cs_build_ok = yes; then
- cs_build_cflags=`echo x$cs_cflags_test | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_lflags=`echo x$cs_lflags_test | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_libs=`echo x$cs_libs_test | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_cv_prog_cxx_ignore_long_double=`echo x$cs_build_cflags $cs_build_lflags $cs_build_libs | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_cv_prog_cxx_ignore_long_double_ok="$cs_cv_prog_cxx_ignore_long_double"
-else
- cs_cv_prog_cxx_ignore_long_double=''
- cs_cv_prog_cxx_ignore_long_double_ok=no
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $cs_cv_prog_cxx_ignore_long_double_ok" >&5
-echo "${ECHO_T}$cs_cv_prog_cxx_ignore_long_double_ok" >&6; }
-
-
-
-# Check whether --with-python was given.
-if test "${with_python+set}" = set; then
- withval=$with_python;
-fi
-
- if test -z "$with_python"; then
- with_python=yes
-fi
-
-
-
- if test "$cs_prog_path_prepared" != yes; then
- cs_prog_path_prepared=yes
- PATH="$PATH$PATH_SEPARATOR/usr/local/bin$PATH_SEPARATOR/sw/bin"
- export PATH
-fi
-
- for ac_prog in python
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_PYTHON+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$PYTHON"; then
- ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_PYTHON="$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-PYTHON=$ac_cv_prog_PYTHON
-if test -n "$PYTHON"; then
- { echo "$as_me:$LINENO: result: $PYTHON" >&5
-echo "${ECHO_T}$PYTHON" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$PYTHON" && break
-done
-
-
- cs_build_prop_val="$PYTHON"
- cs_build_prop_val=`echo x$cs_build_prop_val | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- if test -n "$cs_build_prop_val"; then
- cs_jamconfig_text="${cs_jamconfig_text}PYTHON ?= \"$cs_build_prop_val\" ;
-"
-fi
-
-
- if test -n "$PYTHON" && test "$with_python" != no; then
- { echo "$as_me:$LINENO: checking for python SDK" >&5
-echo $ECHO_N "checking for python SDK... $ECHO_C" >&6; }
-if test "${cs_cv_python_sdk+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- cs_pyver=`{ (echo "$as_me:$LINENO: \$PYTHON -c 'import sys, string; \\
- print string.join(map(str,sys.version_info[:2]),\".\")'") >&5
- ($PYTHON -c 'import sys, string; \
- print string.join(map(str,sys.version_info[:2]),".")') 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }`
- cs_cv_pybase="python${cs_pyver}"
-
- cs_cv_pybase_cflags=`{ (echo "$as_me:$LINENO: \$PYTHON -c \\
- 'import distutils.sysconfig; \\
- print \"-I\" + distutils.sysconfig.get_python_inc()'") >&5
- ($PYTHON -c \
- 'import distutils.sysconfig; \
- print "-I" + distutils.sysconfig.get_python_inc()') 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } | tr '\\\\' '/' | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_cv_pybase_cflags="$cs_cv_pybase_cflags \
- $cs_cv_prog_cxx_ignore_long_double"
-
- # Depending upon platform and installation, link library might
- # reside in "get_python_lib()", "get_python_lib()/config",
- # "${prefix}/lib" (Unix), or "${prefix}/libs" (Windows).
- cs_cv_pybase_syslib=`{ (echo "$as_me:$LINENO: \$PYTHON -c \\
- 'import distutils.sysconfig; \\
- print distutils.sysconfig.get_python_lib(0,1)'") >&5
- ($PYTHON -c \
- 'import distutils.sysconfig; \
- print distutils.sysconfig.get_python_lib(0,1)') 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } | tr '\\\\' '/' | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_cv_pybase_sysprefix=`{ (echo "$as_me:$LINENO: \$PYTHON -c \\
- 'import sys; print sys.prefix'") >&5
- ($PYTHON -c \
- 'import sys; print sys.prefix') 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } | tr '\\\\' '/' | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_cv_pybase_lflags_base=''
- if test -d "$cs_cv_pybase_syslib"; then
- cs_cv_pybase_lflags_base="$cs_cv_pybase_lflags_base -L$cs_cv_pybase_syslib"
-fi
-
- cs_cv_pybase_lflags_ext='$cs_cv_pybase_lflags_base'
- if test -d "$cs_cv_pybase_syslib/config"; then
- cs_cv_pybase_lflags_ext="$cs_cv_pybase_lflags_ext -L$cs_cv_pybase_syslib/config"
-fi
-
- if test -d "$cs_cv_pybase_sysprefix/lib"; then
- cs_cv_pybase_sysprefix_lflags="$cs_cv_pybase_sysprefix_lflags -L$cs_cv_pybase_sysprefix/lib"
-fi
-
- if test -d "$cs_cv_pybase_sysprefix/libs"; then
- cs_cv_pybase_sysprefix_lflags="$cs_cv_pybase_sysprefix_lflags -L$cs_cv_pybase_sysprefix/libs"
-fi
-
-
- cs_cv_pybase_libs=`{ (echo "$as_me:$LINENO: \$PYTHON -c \\
- 'import distutils.sysconfig; \\
- print (distutils.sysconfig.get_config_var(\"LIBS\") or \"\")+\" \"+ \\
- (distutils.sysconfig.get_config_var(\"SYSLIBS\") or \"\")'") >&5
- ($PYTHON -c \
- 'import distutils.sysconfig; \
- print (distutils.sysconfig.get_config_var("LIBS") or "")+" "+ \
- (distutils.sysconfig.get_config_var("SYSLIBS") or "")') 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } | tr '\\\\' '/' | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
-
- cs_cv_python_ext=`{ (echo "$as_me:$LINENO: \$PYTHON -c \\
- 'import distutils.sysconfig; \\
- print (distutils.sysconfig.get_config_var(\"SO\") or \"\")'") >&5
- ($PYTHON -c \
- 'import distutils.sysconfig; \
- print (distutils.sysconfig.get_config_var("SO") or "")') 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }`
-
- if test -n "$cs_pyver" &&
- test -n "$cs_cv_pybase_cflags" &&
- test -n "$cs_cv_pybase_lflags$cs_cv_pybase_sysprefix_lflags"; then
- cs_cv_python_sdk=yes
-else
- cs_cv_python_sdk=no
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $cs_cv_python_sdk" >&5
-echo "${ECHO_T}$cs_cv_python_sdk" >&6; }
-
- # Check if Python SDK is usable. The most common library name is the
- # basename with a few decorations (for example, libpython2.2.a),
- # however some Windows libraries lack the decimal point (for example,
- # libpython22.a or python22.lib), so we must check for both variations.
- # Furthermore, MacOS/X 10.3 supplies a Python.framework, however,
- # earlier releases did not. Instead, Python on MacOS/X pre-10.3 uses a
- # one-level linker namespace, which means that loadable Python modules
- # do not link against the Python library; instead, unresolved symbols
- # in the modules are satisfied automatically by the Python executable
- # when the module is loaded into the executable. For this reason,
- # Python on MacOS/X does not even provide a Python link library. We
- # account for this by trying -bundle, rather than linking against the
- # library.
- if test $cs_cv_python_sdk = yes; then
- cs_build_prop_val="$cs_cv_python_ext"
- cs_build_prop_val=`echo x$cs_build_prop_val | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- if test -n "$cs_build_prop_val"; then
- cs_jamconfig_text="${cs_jamconfig_text}PYTHON.MODULE_EXT ?= \"$cs_build_prop_val\" ;
-"
-fi
-
- cs_pywinlib=`echo "$cs_cv_pybase" | sed 's/\.//g'`
- cs_pyflags="$cs_pyflags `echo @@@$cs_cv_pybase_lflags_base -framework Python | sed 'y% %#%'`"
- cs_pyflags="$cs_pyflags `echo @@@$cs_cv_pybase_sysprefix_lflags -framework Python | sed 'y% %#%'`"
- cs_pyflags="$cs_pyflags `echo @@@$cs_cv_pybase_lflags_ext -framework Python | sed 'y% %#%'`"
-
- cs_pyflags="$cs_pyflags `echo @@@$cs_cv_pybase_lflags_base -l$cs_cv_pybase | sed 'y% %#%'`"
- cs_pyflags="$cs_pyflags `echo @@@$cs_cv_pybase_sysprefix_lflags -l$cs_cv_pybase | sed 'y% %#%'`"
- cs_pyflags="$cs_pyflags `echo @@@$cs_cv_pybase_lflags_ext -l$cs_cv_pybase | sed 'y% %#%'`"
-
- cs_pyflags="$cs_pyflags `echo @@@$cs_cv_pybase_lflags_base -l$cs_pywinlib | sed 'y% %#%'`"
- cs_pyflags="$cs_pyflags `echo @@@$cs_cv_pybase_sysprefix_lflags -l$cs_pywinlib | sed 'y% %#%'`"
- cs_pyflags="$cs_pyflags `echo @@@$cs_cv_pybase_lflags_ext -l$cs_pywinlib | sed 'y% %#%'`"
-
- cs_pyflags="$cs_pyflags `echo @@-bundle -flat_namespace -undefined suppress@$cs_cv_pybase_lflags_base | sed 'y% %#%'`"
- cs_pyflags="$cs_pyflags `echo @@-bundle -flat_namespace -undefined suppress@$cs_cv_pybase_sysprefix_lflags | sed 'y% %#%'`"
- cs_pyflags="$cs_pyflags `echo @@-bundle -flat_namespace -undefined suppress@$cs_cv_pybase_lflags_ext | sed 'y% %#%'`"
-
- if test "" != yes; then
- { echo "$as_me:$LINENO: checking if python SDK is usable" >&5
-echo $ECHO_N "checking if python SDK is usable... $ECHO_C" >&6; }
-if test "${cs_cv_python+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- cs_cflags_save="$CFLAGS"
- cs_lflags_save="$LDFLAGS"
- cs_libs_save="$LIBS"
- cs_build_ok=no
-
-
- for cs_build_item in $cs_pyflags
- do
-
- set filler `echo "$cs_build_item" | awk 'BEGIN { FS="@" }
- { for (i=1; i <= NF; ++i)
- { if ($i == "") print "filler"; else print $i } }'`
- shift
- if test $# -eq 0; then
- cs_dummy=''
-else
- if test "$1" = filler; then
- cs_dummy=''
-else
- cs_dummy=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_cflags_test=''
-else
- if test "$1" = filler; then
- cs_cflags_test=''
-else
- cs_cflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_lflags_test=''
-else
- if test "$1" = filler; then
- cs_lflags_test=''
-else
- cs_lflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_libs_test=''
-else
- if test "$1" = filler; then
- cs_libs_test=''
-else
- cs_libs_test=$1
-fi
-
- shift
-fi
-
- cs_cflags_test=`echo $cs_cflags_test | sed 'y%#% %'`
- cs_lflags_test=`echo $cs_lflags_test | sed 'y%#% %'`
- cs_libs_test=`echo $cs_libs_test | sed 'y%#% %'`
-
- CFLAGS="$cs_cflags_test $cs_cv_pybase_cflags $cs_cv_sys_pthread_cflags $cs_cflags_save"
- LDFLAGS="$cs_lflags_test $cs_cv_sys_pthread_lflags $cs_lflags_save"
- LIBS="$cs_libs_test $cs_cv_pybase_libs $cs_cv_sys_pthread_libs $cs_libs_save"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include <Python.h>
-int
-main ()
-{
-Py_Initialize(); Py_Finalize();
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- cs_build_ok=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
- if test $cs_build_ok = yes; then
- break
-fi
-
- done
-
-
- CFLAGS=$cs_cflags_save
- LDFLAGS=$cs_lflags_save
- LIBS=$cs_libs_save
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
- if test $cs_build_ok = yes; then
- cs_build_cflags=`echo x$cs_cflags_test $cs_cv_pybase_cflags $cs_cv_sys_pthread_cflags | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_lflags=`echo x$cs_lflags_test $cs_cv_sys_pthread_lflags | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_libs=`echo x$cs_libs_test $cs_cv_pybase_libs $cs_cv_sys_pthread_libs | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_cv_python=yes
- cs_cv_python_cflags=$cs_build_cflags
- cs_cv_python_lflags=$cs_build_lflags
- cs_cv_python_libs=$cs_build_libs
-else
- cs_cv_python=no
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $cs_cv_python" >&5
-echo "${ECHO_T}$cs_cv_python" >&6; }
-else
- { echo "$as_me:$LINENO: checking if python SDK is usable" >&5
-echo $ECHO_N "checking if python SDK is usable... $ECHO_C" >&6; }
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- cs_cflags_save="$CFLAGS"
- cs_lflags_save="$LDFLAGS"
- cs_libs_save="$LIBS"
- cs_build_ok=no
-
-
- for cs_build_item in $cs_pyflags
- do
-
- set filler `echo "$cs_build_item" | awk 'BEGIN { FS="@" }
- { for (i=1; i <= NF; ++i)
- { if ($i == "") print "filler"; else print $i } }'`
- shift
- if test $# -eq 0; then
- cs_dummy=''
-else
- if test "$1" = filler; then
- cs_dummy=''
-else
- cs_dummy=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_cflags_test=''
-else
- if test "$1" = filler; then
- cs_cflags_test=''
-else
- cs_cflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_lflags_test=''
-else
- if test "$1" = filler; then
- cs_lflags_test=''
-else
- cs_lflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_libs_test=''
-else
- if test "$1" = filler; then
- cs_libs_test=''
-else
- cs_libs_test=$1
-fi
-
- shift
-fi
-
- cs_cflags_test=`echo $cs_cflags_test | sed 'y%#% %'`
- cs_lflags_test=`echo $cs_lflags_test | sed 'y%#% %'`
- cs_libs_test=`echo $cs_libs_test | sed 'y%#% %'`
-
- CFLAGS="$cs_cflags_test $cs_cv_pybase_cflags $cs_cv_sys_pthread_cflags $cs_cflags_save"
- LDFLAGS="$cs_lflags_test $cs_cv_sys_pthread_lflags $cs_lflags_save"
- LIBS="$cs_libs_test $cs_cv_pybase_libs $cs_cv_sys_pthread_libs $cs_libs_save"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include <Python.h>
-int
-main ()
-{
-Py_Initialize(); Py_Finalize();
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- cs_build_ok=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
- if test $cs_build_ok = yes; then
- break
-fi
-
- done
-
-
- CFLAGS=$cs_cflags_save
- LDFLAGS=$cs_lflags_save
- LIBS=$cs_libs_save
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
- if test $cs_build_ok = yes; then
- cs_build_cflags=`echo x$cs_cflags_test $cs_cv_pybase_cflags $cs_cv_sys_pthread_cflags | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_lflags=`echo x$cs_lflags_test $cs_cv_sys_pthread_lflags | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_libs=`echo x$cs_libs_test $cs_cv_pybase_libs $cs_cv_sys_pthread_libs | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_cv_python=yes
- cs_cv_python_cflags=$cs_build_cflags
- cs_cv_python_lflags=$cs_build_lflags
- cs_cv_python_libs=$cs_build_libs
-else
- cs_cv_python=no
-fi
-
- { echo "$as_me:$LINENO: result: $cs_cv_python" >&5
-echo "${ECHO_T}$cs_cv_python" >&6; }
-fi
-
- if test $cs_cv_python = yes; then
- if test "$cs_cv_python" = yes; then
- cs_build_prop_val="yes"
- cs_build_prop_val=`echo x$cs_build_prop_val | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- if test -n "$cs_build_prop_val"; then
- cs_jamconfig_text="${cs_jamconfig_text}PYTHON.AVAILABLE ?= \"$cs_build_prop_val\" ;
-"
-fi
-
- cs_build_prop_val="$cs_cv_python_cflags"
- cs_build_prop_val=`echo x$cs_build_prop_val | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- if test -n "$cs_build_prop_val"; then
- cs_jamconfig_text="${cs_jamconfig_text}PYTHON.CFLAGS ?= \"$cs_build_prop_val\" ;
-"
-fi
-
- cs_build_prop_val="$cs_cv_python_lflags $cs_cv_python_libs"
- cs_build_prop_val=`echo x$cs_build_prop_val | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- if test -n "$cs_build_prop_val"; then
- cs_jamconfig_text="${cs_jamconfig_text}PYTHON.LFLAGS ?= \"$cs_build_prop_val\" ;
-"
-fi
-
-fi
-
-else
- cs_cv_python_cflags=''
- cs_cv_python_lflags=''
- cs_cv_python_libs=''
-
-fi
-
-else
- cs_cv_python=no
-fi
-
-else
- cs_cv_python=no
-fi
-
-
#------------------------------------------------------------------------------
# Check for BSD-style socket support. Also test for presence of type
# socklen_t. Note that we must not include both <winsock.h> and the Unix
@@ -10019,9 +8811,9 @@
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
( cat <<\_ASBOX
-## ------------------------------------------ ##
-## Report this to jor...@gm... ##
-## ------------------------------------------ ##
+## ------------------------------------- ##
+## Report this to obr...@gm... ##
+## ------------------------------------- ##
_ASBOX
) | sed "s/^/$as_me: WARNING: /" >&2
;;
@@ -10500,1615 +9292,6 @@
fi
-# Check Verse
-
-# Check whether --with-verse was given.
-if test "${with_verse+set}" = set; then
- withval=$with_verse;
-fi
-
-
- # Backward compatibility: Recognize --with-libverse as alias for --with-verse.
- if test -n "$with_libverse" &&
- test -z "$with_verse"; then
- with_verse="$with_libverse"
-fi
-
-
- if test -z "$with_verse"; then
- with_verse=yes
-fi
-
- if test "$with_verse" != no; then
- # If --with-verse value is same as cached value, then assume other
- # cached values are also valid; otherwise, ignore all cached values.
- if test "$with_verse" != "$cs_cv_with_verse"; then
- cs_ignore_cache=yes
-else
- cs_ignore_cache=no
-fi
-
-
- cs_check_lib_flags=''
- if test $with_verse = yes; then
- if test "$cs_prog_pkg_config_checked" != yes; then
-
- if test "$cs_prog_path_prepared" != yes; then
- cs_prog_path_prepared=yes
- PATH="$PATH$PATH_SEPARATOR/usr/local/bin$PATH_SEPARATOR/sw/bin"
- export PATH
-fi
-
- if test -n "$ac_tool_prefix"; then
- for ac_prog in pkg-config
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$PKG_CONFIG"; then
- ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_PKG_CONFIG="$ac_tool_prefix$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
-if test -n "$PKG_CONFIG"; then
- { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
-echo "${ECHO_T}$PKG_CONFIG" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$PKG_CONFIG" && break
- done
-fi
-if test -z "$PKG_CONFIG"; then
- ac_ct_PKG_CONFIG=$PKG_CONFIG
- for ac_prog in pkg-config
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_PKG_CONFIG+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_PKG_CONFIG"; then
- ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_PKG_CONFIG="$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
-if test -n "$ac_ct_PKG_CONFIG"; then
- { echo "$as_me:$LINENO: result: $ac_ct_PKG_CONFIG" >&5
-echo "${ECHO_T}$ac_ct_PKG_CONFIG" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$ac_ct_PKG_CONFIG" && break
-done
-
- if test "x$ac_ct_PKG_CONFIG" = x; then
- PKG_CONFIG=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to aut...@gn...." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to aut...@gn...." >&2;}
-ac_tool_warned=yes ;;
-esac
- PKG_CONFIG=$ac_ct_PKG_CONFIG
- fi
-fi
-
- PKG_CONFIG_PATH="/usr/local/lib/pkgconfig$PATH_SEPARATOR/sw/lib/pkgconfig$PATH_SEPARATOR/opt/local/lib/pkgconfig$PATH_SEPARATOR/opt/lib/pkgconfig$PATH_SEPARATOR$PKG_CONFIG_PATH"
- export PKG_CONFIG_PATH
- cs_prog_pkg_config_checked=yes
-fi
-
- if test -z "$cs_cv_prog_pkg_config_ok"; then
- if test -n "$PKG_CONFIG"; then
- if $PKG_CONFIG --atleast-pkgconfig-version=0.9.0; then
- cs_cv_prog_pkg_config_ok=yes
-else
- cs_cv_prog_pkg_config_ok=no
-fi
-
-else
- cs_cv_prog_pkg_config_ok=no
-fi
-
-fi
-
- if test $cs_cv_prog_pkg_config_ok = yes; then
- { echo "$as_me:$LINENO: checking if $PKG_CONFIG recognizes verse" >&5
-echo $ECHO_N "checking if $PKG_CONFIG recognizes verse... $ECHO_C" >&6; }
-if test "${cs_cv_prog_pkg_config_verse+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if $PKG_CONFIG --exists verse; then
- cs_cv_prog_pkg_config_verse=yes
-else
- cs_cv_prog_pkg_config_verse=no
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $cs_cv_prog_pkg_config_verse" >&5
-echo "${ECHO_T}$cs_cv_prog_pkg_config_verse" >&6; }
- if test $cs_cv_prog_pkg_config_verse = yes; then
- if test -z "$cs_cv_prog_pkg_config_verse_flags"; then
- cs_check_lib_cflag=`{ (echo "$as_me:$LINENO: \$PKG_CONFIG --cflags verse") >&5
- ($PKG_CONFIG --cflags verse) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } | tr '\\\\' '/' | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_check_lib_lflag=''
- cs_check_lib_libs=`{ (echo "$as_me:$LINENO: \$PKG_CONFIG --libs verse") >&5
- ($PKG_CONFIG --libs verse) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } | tr '\\\\' '/' | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_cv_prog_pkg_config_verse_flags=`echo @$cs_check_lib_cflag@$cs_check_lib_lflag@$cs_check_lib_libs | sed 'y% %#%'`
-fi
-
- cs_check_lib_flags="$cs_check_lib_flags $cs_cv_prog_pkg_config_verse_flags"
-fi
-
-fi
-
-
- if test "$cs_prog_path_prepared" != yes; then
- cs_prog_path_prepared=yes
- PATH="$PATH$PATH_SEPARATOR/usr/local/bin$PATH_SEPARATOR/sw/bin"
- export PATH
-fi
-
- if test -n "$ac_tool_prefix"; then
- for ac_prog in verse-config
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CONFIG_VERSE+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$CONFIG_VERSE"; then
- ac_cv_prog_CONFIG_VERSE="$CONFIG_VERSE" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_CONFIG_VERSE="$ac_tool_prefix$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-CONFIG_VERSE=$ac_cv_prog_CONFIG_VERSE
-if test -n "$CONFIG_VERSE"; then
- { echo "$as_me:$LINENO: result: $CONFIG_VERSE" >&5
-echo "${ECHO_T}$CONFIG_VERSE" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$CONFIG_VERSE" && break
- done
-fi
-if test -z "$CONFIG_VERSE"; then
- ac_ct_CONFIG_VERSE=$CONFIG_VERSE
- for ac_prog in verse-config
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_CONFIG_VERSE+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- if test -n "$ac_ct_CONFIG_VERSE"; then
- ac_cv_prog_ac_ct_CONFIG_VERSE="$ac_ct_CONFIG_VERSE" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
- ac_cv_prog_ac_ct_CONFIG_VERSE="$ac_prog"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CONFIG_VERSE=$ac_cv_prog_ac_ct_CONFIG_VERSE
-if test -n "$ac_ct_CONFIG_VERSE"; then
- { echo "$as_me:$LINENO: result: $ac_ct_CONFIG_VERSE" >&5
-echo "${ECHO_T}$ac_ct_CONFIG_VERSE" >&6; }
-else
- { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
- test -n "$ac_ct_CONFIG_VERSE" && break
-done
-
- if test "x$ac_ct_CONFIG_VERSE" = x; then
- CONFIG_VERSE=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to aut...@gn...." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet. If you think this
-configuration is useful to you, please write to aut...@gn...." >&2;}
-ac_tool_warned=yes ;;
-esac
- CONFIG_VERSE=$ac_ct_CONFIG_VERSE
- fi
-fi
-
- if test -n "$CONFIG_VERSE"; then
- if test -z "$cs_cv_prog_config_verse_ok"; then
- if $CONFIG_VERSE --cflags --libs >/dev/null 2>&1; then
- cs_cv_prog_config_verse_ok=yes
-else
- cs_cv_prog_config_verse_ok=no
-fi
-
-fi
-
- if test $cs_cv_prog_config_verse_ok = yes; then
- if test -z "$cs_cv_prog_config_verse_flags"; then
- cs_check_lib_cflag=`{ (echo "$as_me:$LINENO: \$CONFIG_VERSE --cflags ") >&5
- ($CONFIG_VERSE --cflags ) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } | tr '\\\\' '/' | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_check_lib_lflag=''
- cs_check_lib_libs=`{ (echo "$as_me:$LINENO: \$CONFIG_VERSE --libs ") >&5
- ($CONFIG_VERSE --libs ) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } | tr '\\\\' '/' | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_cv_prog_config_verse_flags=`echo @$cs_check_lib_cflag@$cs_check_lib_lflag@$cs_check_lib_libs | sed 'y% %#%'`
-fi
-
- cs_check_lib_flags="$cs_check_lib_flags $cs_cv_prog_config_verse_flags"
-fi
-
-fi
-
-
-fi
-
-
- if test $with_verse != yes; then
- cs_check_lib_paths=$with_verse
-else
- cs_check_lib_paths="| /usr/local/include|/usr/local/lib \
- /sw/include|/sw/lib \
- /opt/local/include|/opt/local/lib \
- /opt/include|/opt/lib "
-fi
-
- for cs_lib_item in $cs_check_lib_paths
- do
- case $cs_lib_item in
- *\|*)
- set filler `echo "$cs_lib_item" | awk 'BEGIN { FS="|" }
- { for (i=1; i <= NF; ++i)
- { if ($i == "") print "filler"; else print $i } }'`
- shift
- if test $# -eq 0; then
- cs_check_incdir=''
-else
- if test "$1" = filler; then
- cs_check_incdir=''
-else
- cs_check_incdir=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_check_libdir=''
-else
- if test "$1" = filler; then
- cs_check_libdir=''
-else
- cs_check_libdir=$1
-fi
-
- shift
-fi
-
- if test -n "$cs_check_incdir"; then
- cs_check_lib_cflag="-I$cs_check_incdir"
-else
- cs_check_lib_cflag=''
-fi
-
- if test -n "$cs_check_libdir"; then
- cs_check_lib_lflag="-L$cs_check_libdir"
-else
- cs_check_lib_lflag=''
-fi
-
- if test -n "verse"; then
- cs_check_lib_libs="-lverse"
- cs_check_lib_framework="-framework verse"
-else
- cs_check_lib_libs=''
- cs_check_lib_framework=''
-fi
-
- cs_check_lib_flags="$cs_check_lib_flags
- `echo @$cs_check_lib_cflag@$cs_check_lib_lflag@$cs_check_lib_framework | sed 'y% %#%'`
- `echo @$cs_check_lib_cflag@$cs_check_lib_lflag@$cs_check_lib_libs | sed 'y% %#%'`"
- ;;
- *) if test -n "$cs_lib_item/include"; then
- cs_check_lib_cflag="-I$cs_lib_item/include"
-else
- cs_check_lib_cflag=''
-fi
-
- if test -n "$cs_lib_item/lib"; then
- cs_check_lib_lflag="-L$cs_lib_item/lib"
-else
- cs_check_lib_lflag=''
-fi
-
- if test -n "verse"; then
- cs_check_lib_libs="-lverse"
- cs_check_lib_framework="-framework verse"
-else
- cs_check_lib_libs=''
- cs_check_lib_framework=''
-fi
-
- cs_check_lib_flags="$cs_check_lib_flags
- `echo @$cs_check_lib_cflag@$cs_check_lib_lflag@$cs_check_lib_framework | sed 'y% %#%'`
- `echo @$cs_check_lib_cflag@$cs_check_lib_lflag@$cs_check_lib_libs | sed 'y% %#%'`"
- if test -n "$cs_lib_item"; then
- cs_check_lib_cflag="-I$cs_lib_item"
-else
- cs_check_lib_cflag=''
-fi
-
- if test -n "$cs_lib_item"; then
- cs_check_lib_lflag="-L$cs_lib_item"
-else
- cs_check_lib_lflag=''
-fi
-
- if test -n "verse"; then
- cs_check_lib_libs="-lverse"
- cs_check_lib_framework="-framework verse"
-else
- cs_check_lib_libs=''
- cs_check_lib_framework=''
-fi
-
- cs_check_lib_flags="$cs_check_lib_flags
- `echo @$cs_check_lib_cflag@$cs_check_lib_lflag@$cs_check_lib_framework | sed 'y% %#%'`
- `echo @$cs_check_lib_cflag@$cs_check_lib_lflag@$cs_check_lib_libs | sed 'y% %#%'`"
- ;;
- esac
- done
-
-
- if test "$cs_ignore_cache" != yes; then
- { echo "$as_me:$LINENO: checking for libverse" >&5
-echo $ECHO_N "checking for libverse... $ECHO_C" >&6; }
-if test "${cs_cv_libverse+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- cs_cflags_save="$CFLAGS"
- cs_lflags_save="$LDFLAGS"
- cs_libs_save="$LIBS"
- cs_build_ok=no
-
-
- for cs_build_item in $cs_check_lib_flags
- do
-
- set filler `echo "$cs_build_item" | awk 'BEGIN { FS="@" }
- { for (i=1; i <= NF; ++i)
- { if ($i == "") print "filler"; else print $i } }'`
- shift
- if test $# -eq 0; then
- cs_dummy=''
-else
- if test "$1" = filler; then
- cs_dummy=''
-else
- cs_dummy=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_cflags_test=''
-else
- if test "$1" = filler; then
- cs_cflags_test=''
-else
- cs_cflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_lflags_test=''
-else
- if test "$1" = filler; then
- cs_lflags_test=''
-else
- cs_lflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_libs_test=''
-else
- if test "$1" = filler; then
- cs_libs_test=''
-else
- cs_libs_test=$1
-fi
-
- shift
-fi
-
- cs_cflags_test=`echo $cs_cflags_test | sed 'y%#% %'`
- cs_lflags_test=`echo $cs_lflags_test | sed 'y%#% %'`
- cs_libs_test=`echo $cs_libs_test | sed 'y%#% %'`
-
- CFLAGS="$cs_cflags_test $cs_cflags_save"
- LDFLAGS="$cs_lflags_test $cs_lflags_save"
- LIBS="$cs_libs_test $cs_cv_sys_socket_libs $cs_libs_save"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include "verse.h"
-int
-main ()
-{
-verse_send_connect("","","",0)
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- cs_build_ok=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
- if test $cs_build_ok = yes; then
- break
-fi
-
- done
-
-
- CFLAGS=$cs_cflags_save
- LDFLAGS=$cs_lflags_save
- LIBS=$cs_libs_save
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
- if test $cs_build_ok = yes; then
- cs_build_cflags=`echo x$cs_cflags_test | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_lflags=`echo x$cs_lflags_test | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_libs=`echo x$cs_libs_test $cs_cv_sys_socket_libs | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_cv_libverse=yes
- cs_cv_libverse_cflags=$cs_build_cflags
- cs_cv_libverse_lflags=$cs_build_lflags
- cs_cv_libverse_libs=$cs_build_libs
-else
- cs_cv_libverse=no
-fi
-
-fi
-{ echo "$as_me:$LINENO: result: $cs_cv_libverse" >&5
-echo "${ECHO_T}$cs_cv_libverse" >&6; }
-else
- { echo "$as_me:$LINENO: checking for libverse" >&5
-echo $ECHO_N "checking for libverse... $ECHO_C" >&6; }
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- cs_cflags_save="$CFLAGS"
- cs_lflags_save="$LDFLAGS"
- cs_libs_save="$LIBS"
- cs_build_ok=no
-
-
- for cs_build_item in $cs_check_lib_flags
- do
-
- set filler `echo "$cs_build_item" | awk 'BEGIN { FS="@" }
- { for (i=1; i <= NF; ++i)
- { if ($i == "") print "filler"; else print $i } }'`
- shift
- if test $# -eq 0; then
- cs_dummy=''
-else
- if test "$1" = filler; then
- cs_dummy=''
-else
- cs_dummy=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_cflags_test=''
-else
- if test "$1" = filler; then
- cs_cflags_test=''
-else
- cs_cflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_lflags_test=''
-else
- if test "$1" = filler; then
- cs_lflags_test=''
-else
- cs_lflags_test=$1
-fi
-
- shift
-fi
-if test $# -eq 0; then
- cs_libs_test=''
-else
- if test "$1" = filler; then
- cs_libs_test=''
-else
- cs_libs_test=$1
-fi
-
- shift
-fi
-
- cs_cflags_test=`echo $cs_cflags_test | sed 'y%#% %'`
- cs_lflags_test=`echo $cs_lflags_test | sed 'y%#% %'`
- cs_libs_test=`echo $cs_libs_test | sed 'y%#% %'`
-
- CFLAGS="$cs_cflags_test $cs_cflags_save"
- LDFLAGS="$cs_lflags_test $cs_lflags_save"
- LIBS="$cs_libs_test $cs_cv_sys_socket_libs $cs_libs_save"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-#include "verse.h"
-int
-main ()
-{
-verse_send_connect("","","",0)
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
- (eval "$ac_link") 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext &&
- $as_test_x conftest$ac_exeext; then
- cs_build_ok=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
- conftest$ac_exeext conftest.$ac_ext
- if test $cs_build_ok = yes; then
- break
-fi
-
- done
-
-
- CFLAGS=$cs_cflags_save
- LDFLAGS=$cs_lflags_save
- LIBS=$cs_libs_save
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
- if test $cs_build_ok = yes; then
- cs_build_cflags=`echo x$cs_cflags_test | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_lflags=`echo x$cs_lflags_test | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_build_libs=`echo x$cs_libs_test $cs_cv_sys_socket_libs | sed 's/^x//;s/ */ /g;s/^ //;s/ $//'`
- cs_cv_libverse=yes
- cs_cv_libverse_cflags=$cs_build_cflags
- cs_cv_libverse_lflags=$cs_build_lflags
- cs_cv_libverse_libs=$cs_build_libs
-else
- cs_cv_libverse=no
-fi
-
- { echo "$as_me:$LINENO: result: $cs_cv_libverse" >&5
-echo "${ECHO_T}$cs_cv_libverse" >&6; }
-fi
-
- if test $cs_cv_libverse = yes; then
- :
-el...
[truncated message content] |