version 1.1, 2003/11/24 08:16:13 |
version 1.3, 2003/12/13 07:10:18 |
|
|
PACKAGE_BUGREPORT= |
PACKAGE_BUGREPORT= |
|
|
ac_unique_file="tree2polymake.c" |
ac_unique_file="tree2polymake.c" |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB LIBOBJS LTLIBOBJS' |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB YACC LIBOBJS LTLIBOBJS' |
ac_subst_files='' |
ac_subst_files='' |
|
|
# Initialize some variables set by options. |
# Initialize some variables set by options. |
|
|
RANLIB="$ac_cv_prog_RANLIB" |
RANLIB="$ac_cv_prog_RANLIB" |
fi |
fi |
|
|
|
for ac_prog in 'bison -y' byacc |
|
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_YACC+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
if test -n "$YACC"; then |
|
ac_cv_prog_YACC="$YACC" # 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_prog_YACC="$ac_prog" |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
|
|
fi |
|
fi |
|
YACC=$ac_cv_prog_YACC |
|
if test -n "$YACC"; then |
|
echo "$as_me:$LINENO: result: $YACC" >&5 |
|
echo "${ECHO_T}$YACC" >&6 |
|
else |
|
echo "$as_me:$LINENO: result: no" >&5 |
|
echo "${ECHO_T}no" >&6 |
|
fi |
|
|
|
test -n "$YACC" && break |
|
done |
|
test -n "$YACC" || YACC="yacc" |
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for socket" >&5 |
echo "$as_me:$LINENO: checking for socket" >&5 |
echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
if test "${ac_cv_func_socket+set}" = set; then |
if test "${ac_cv_func_socket+set}" = set; then |
|
|
fi |
fi |
|
|
fi |
fi |
|
echo "$as_me:$LINENO: checking for dlopen" >&5 |
|
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
|
if test "${ac_cv_func_dlopen+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
/* System header to define __stub macros and hopefully few prototypes, |
|
which can conflict with char dlopen (); below. |
|
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
<limits.h> exists even on freestanding compilers. */ |
|
#ifdef __STDC__ |
|
# include <limits.h> |
|
#else |
|
# include <assert.h> |
|
#endif |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
{ |
|
#endif |
|
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char dlopen (); |
|
/* 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_dlopen) || defined (__stub___dlopen) |
|
choke me |
|
#else |
|
char (*f) () = dlopen; |
|
#endif |
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
int |
|
main () |
|
{ |
|
return f != dlopen; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
(eval $ac_link) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_cv_func_dlopen=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_func_dlopen=no |
|
fi |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
|
echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
|
|
|
if test "$ac_cv_func_dlopen" = no ; then |
|
|
|
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
|
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-ldl $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
/* confdefs.h. */ |
|
_ACEOF |
|
cat confdefs.h >>conftest.$ac_ext |
|
cat >>conftest.$ac_ext <<_ACEOF |
|
/* end confdefs.h. */ |
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
/* We use char because int might match the return type of a gcc2 |
|
builtin and then its argument prototype would still apply. */ |
|
char dlopen (); |
|
int |
|
main () |
|
{ |
|
dlopen (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
(eval $ac_link) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } && |
|
{ ac_try='test -s conftest$ac_exeext' |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
(eval $ac_try) 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); }; }; then |
|
ac_cv_lib_dl_dlopen=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_cv_lib_dl_dlopen=no |
|
fi |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
|
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
|
if test $ac_cv_lib_dl_dlopen = yes; then |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBDL 1 |
|
_ACEOF |
|
|
|
LIBS="-ldl $LIBS" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
ac_config_files="$ac_config_files Makefile" |
ac_config_files="$ac_config_files Makefile" |
cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
Line 3082 s,@EXEEXT@,$EXEEXT,;t t |
|
Line 3262 s,@EXEEXT@,$EXEEXT,;t t |
|
s,@OBJEXT@,$OBJEXT,;t t |
s,@OBJEXT@,$OBJEXT,;t t |
s,@RANLIB@,$RANLIB,;t t |
s,@RANLIB@,$RANLIB,;t t |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
|
s,@YACC@,$YACC,;t t |
s,@LIBOBJS@,$LIBOBJS,;t t |
s,@LIBOBJS@,$LIBOBJS,;t t |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
CEOF |
CEOF |