|
|
|
@ -329,7 +329,7 @@ ac_includes_default="\
|
|
|
|
|
# include <unistd.h>
|
|
|
|
|
#endif"
|
|
|
|
|
|
|
|
|
|
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAJOR_VERSION MINOR_VERSION CLIENT_BIN_FILENAME TOP_BUILD_DIR TOP_SOURCE_DIR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP RANLIB ac_ct_RANLIB PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS MYSQL_CONFIG MYSQL_LIBS MYSQL_CFLAGS EGREP CXXCPP STATIC_FLAGS 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAJOR_VERSION MINOR_VERSION CLIENT_BIN_FILENAME TOP_BUILD_DIR TOP_SOURCE_DIR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP RANLIB ac_ct_RANLIB PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS GRXLIBS MYSQL_CONFIG MYSQL_LIBS MYSQL_CFLAGS EGREP CXXCPP STATIC_FLAGS LIBOBJS LTLIBOBJS'
|
|
|
|
|
ac_subst_files=''
|
|
|
|
|
|
|
|
|
|
# Initialize some variables set by options.
|
|
|
|
@ -4403,7 +4403,426 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
|
|
|
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for glCallList in -lGL" >&5
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
sah_save_libs="$LIBS"
|
|
|
|
|
GRXLIBS=
|
|
|
|
|
echo "$as_me:$LINENO: checking for XCreateGC in -lX11" >&5
|
|
|
|
|
echo $ECHO_N "checking for XCreateGC in -lX11... $ECHO_C" >&6
|
|
|
|
|
if test "${ac_cv_lib_X11_XCreateGC+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
|
LIBS="-lX11 $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 XCreateGC ();
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
XCreateGC ();
|
|
|
|
|
;
|
|
|
|
|
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_X11_XCreateGC=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_cv_lib_X11_XCreateGC=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_X11_XCreateGC" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_X11_XCreateGC" >&6
|
|
|
|
|
if test $ac_cv_lib_X11_XCreateGC = yes; then
|
|
|
|
|
GRXLIBS="-lX11" ;
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
|
|
|
#define HAVE_X11 1
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for XawTextReplace in -lXaw" >&5
|
|
|
|
|
echo $ECHO_N "checking for XawTextReplace in -lXaw... $ECHO_C" >&6
|
|
|
|
|
if test "${ac_cv_lib_Xaw_XawTextReplace+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
|
LIBS="-lXaw $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 XawTextReplace ();
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
XawTextReplace ();
|
|
|
|
|
;
|
|
|
|
|
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_Xaw_XawTextReplace=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_cv_lib_Xaw_XawTextReplace=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_Xaw_XawTextReplace" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_Xaw_XawTextReplace" >&6
|
|
|
|
|
if test $ac_cv_lib_Xaw_XawTextReplace = yes; then
|
|
|
|
|
GRXLIBS="$GRXLIBS -lXaw"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for XShmGetImage in -lXext" >&5
|
|
|
|
|
echo $ECHO_N "checking for XShmGetImage in -lXext... $ECHO_C" >&6
|
|
|
|
|
if test "${ac_cv_lib_Xext_XShmGetImage+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
|
LIBS="-lXext $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 XShmGetImage ();
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
XShmGetImage ();
|
|
|
|
|
;
|
|
|
|
|
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_Xext_XShmGetImage=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_cv_lib_Xext_XShmGetImage=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_Xext_XShmGetImage" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_Xext_XShmGetImage" >&6
|
|
|
|
|
if test $ac_cv_lib_Xext_XShmGetImage = yes; then
|
|
|
|
|
GRXLIBS="$GRXLIBS -lXext"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for XmuMakeAtom in -lXmu" >&5
|
|
|
|
|
echo $ECHO_N "checking for XmuMakeAtom in -lXmu... $ECHO_C" >&6
|
|
|
|
|
if test "${ac_cv_lib_Xmu_XmuMakeAtom+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
|
LIBS="-lXmu $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 XmuMakeAtom ();
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
XmuMakeAtom ();
|
|
|
|
|
;
|
|
|
|
|
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_Xmu_XmuMakeAtom=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_cv_lib_Xmu_XmuMakeAtom=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_Xmu_XmuMakeAtom" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_Xmu_XmuMakeAtom" >&6
|
|
|
|
|
if test $ac_cv_lib_Xmu_XmuMakeAtom = yes; then
|
|
|
|
|
GRXLIBS="$GRXLIBS -lXmu"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for XtDisplay in -lXt" >&5
|
|
|
|
|
echo $ECHO_N "checking for XtDisplay in -lXt... $ECHO_C" >&6
|
|
|
|
|
if test "${ac_cv_lib_Xt_XtDisplay+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
|
LIBS="-lXt $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 XtDisplay ();
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
XtDisplay ();
|
|
|
|
|
;
|
|
|
|
|
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_Xt_XtDisplay=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_cv_lib_Xt_XtDisplay=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_Xt_XtDisplay" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_Xt_XtDisplay" >&6
|
|
|
|
|
if test $ac_cv_lib_Xt_XtDisplay = yes; then
|
|
|
|
|
GRXLIBS="$GRXLIBS -lXt"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for IceProtocolVersion in -lICE" >&5
|
|
|
|
|
echo $ECHO_N "checking for IceProtocolVersion in -lICE... $ECHO_C" >&6
|
|
|
|
|
if test "${ac_cv_lib_ICE_IceProtocolVersion+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
|
LIBS="-lICE $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 IceProtocolVersion ();
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
IceProtocolVersion ();
|
|
|
|
|
;
|
|
|
|
|
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_ICE_IceProtocolVersion=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_cv_lib_ICE_IceProtocolVersion=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_ICE_IceProtocolVersion" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_ICE_IceProtocolVersion" >&6
|
|
|
|
|
if test $ac_cv_lib_ICE_IceProtocolVersion = yes; then
|
|
|
|
|
GRXLIBS="$GRXLIBS -lICE"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for SmsInitialize in -lSM" >&5
|
|
|
|
|
echo $ECHO_N "checking for SmsInitialize in -lSM... $ECHO_C" >&6
|
|
|
|
|
if test "${ac_cv_lib_SM_SmsInitialize+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
|
LIBS="-lSM $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 SmsInitialize ();
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
SmsInitialize ();
|
|
|
|
|
;
|
|
|
|
|
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_SM_SmsInitialize=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_cv_lib_SM_SmsInitialize=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_SM_SmsInitialize" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_SM_SmsInitialize" >&6
|
|
|
|
|
if test $ac_cv_lib_SM_SmsInitialize = yes; then
|
|
|
|
|
GRXLIBS="$GRXLIBS -lSM"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for glCallList in -lGL" >&5
|
|
|
|
|
echo $ECHO_N "checking for glCallList in -lGL... $ECHO_C" >&6
|
|
|
|
|
if test "${ac_cv_lib_GL_glCallList+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
@ -4458,13 +4877,122 @@ fi
|
|
|
|
|
echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glCallList" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_GL_glCallList" >&6
|
|
|
|
|
if test $ac_cv_lib_GL_glCallList = yes; then
|
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
|
|
|
#define HAVE_GL_LIB 1
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
GRXLIBS="$GRXLIBS -lGL"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for main in -lGLU" >&5
|
|
|
|
|
echo $ECHO_N "checking for main in -lGLU... $ECHO_C" >&6
|
|
|
|
|
if test "${ac_cv_lib_GLU_main+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
|
LIBS="-lGLU $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. */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
main ();
|
|
|
|
|
;
|
|
|
|
|
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_GLU_main=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_cv_lib_GLU_main=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_GLU_main" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_GLU_main" >&6
|
|
|
|
|
if test $ac_cv_lib_GLU_main = yes; then
|
|
|
|
|
GRXLIBS="$GRXLIBS -lGLU"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for main in -lGLUT" >&5
|
|
|
|
|
echo $ECHO_N "checking for main in -lGLUT... $ECHO_C" >&6
|
|
|
|
|
if test "${ac_cv_lib_GLUT_main+set}" = set; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
|
LIBS="-lGLUT $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. */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
main ();
|
|
|
|
|
;
|
|
|
|
|
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_GLUT_main=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_cv_lib_GLUT_main=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_GLUT_main" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_cv_lib_GLUT_main" >&6
|
|
|
|
|
if test $ac_cv_lib_GLUT_main = yes; then
|
|
|
|
|
GRXLIBS="$GRXLIBS -lGLUT"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
LIBS="$sah_save_libs"
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: checking for setservent in -lsocket" >&5
|
|
|
|
|
echo $ECHO_N "checking for setservent in -lsocket... $ECHO_C" >&6
|
|
|
|
@ -5526,163 +6054,6 @@ fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_header in gl.h glu.h glut.h GL/gl.h GL/glu.h GL/glut.h OpenGL/gl.h OpenGL/glu.h OpenGL/glut.h GLUT/glut.h
|
|
|
|
|
do
|
|
|
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
fi
|
|
|
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
|
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
|
|
|
else
|
|
|
|
|
# Is the header compilable?
|
|
|
|
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
|
|
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
|
|
|
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. */
|
|
|
|
|
$ac_includes_default
|
|
|
|
|
#include <$ac_header>
|
|
|
|
|
_ACEOF
|
|
|
|
|
rm -f conftest.$ac_objext
|
|
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
|
|
(eval $ac_compile) 2>&5
|
|
|
|
|
ac_status=$?
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } &&
|
|
|
|
|
{ ac_try='test -s conftest.$ac_objext'
|
|
|
|
|
{ (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_header_compiler=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_header_compiler=no
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
|
|
|
|
|
|
# Is the header present?
|
|
|
|
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
|
|
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
|
|
|
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. */
|
|
|
|
|
#include <$ac_header>
|
|
|
|
|
_ACEOF
|
|
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
|
|
|
(eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
|
|
|
|
|
if test -s conftest.err; then
|
|
|
|
|
ac_cpp_err=$ac_c_preproc_warn_flag
|
|
|
|
|
else
|
|
|
|
|
ac_cpp_err=
|
|
|
|
|
fi
|
|
|
|
|
else
|
|
|
|
|
ac_cpp_err=yes
|
|
|
|
|
fi
|
|
|
|
|
if test -z "$ac_cpp_err"; then
|
|
|
|
|
ac_header_preproc=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_header_preproc=no
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest.err conftest.$ac_ext
|
|
|
|
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
|
|
|
|
|
|
# So? What about this header?
|
|
|
|
|
case $ac_header_compiler:$ac_header_preproc in
|
|
|
|
|
yes:no )
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
|
|
|
(
|
|
|
|
|
cat <<\_ASBOX
|
|
|
|
|
## ------------------------------------ ##
|
|
|
|
|
## Report this to bug-autoconf@gnu.org. ##
|
|
|
|
|
## ------------------------------------ ##
|
|
|
|
|
_ASBOX
|
|
|
|
|
) |
|
|
|
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
|
|
|
;;
|
|
|
|
|
no:yes )
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
|
|
|
(
|
|
|
|
|
cat <<\_ASBOX
|
|
|
|
|
## ------------------------------------ ##
|
|
|
|
|
## Report this to bug-autoconf@gnu.org. ##
|
|
|
|
|
## ------------------------------------ ##
|
|
|
|
|
_ASBOX
|
|
|
|
|
) |
|
|
|
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
eval "$as_ac_Header=$ac_header_preproc"
|
|
|
|
|
fi
|
|
|
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
|
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
ac_ext=cc
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ac_ext=cc
|
|
|
|
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
|
|
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
|
@ -5915,6 +6286,184 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ac_ext=cc
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_header in gl.h glu.h glut.h glaux.h GL/gl.h GL/glu.h GL/glut.h GL/glaux.h OpenGL/gl.h OpenGL/glu.h OpenGL/glut.h OpenGL/glaux.h GLUT/glut.h MesaGL/gl.h MesaGL/glu.h MesaGL/glut.h MesaGL/glaux.h
|
|
|
|
|
do
|
|
|
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
fi
|
|
|
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
|
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
|
|
|
else
|
|
|
|
|
# Is the header compilable?
|
|
|
|
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
|
|
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
|
|
|
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. */
|
|
|
|
|
$ac_includes_default
|
|
|
|
|
#include <$ac_header>
|
|
|
|
|
_ACEOF
|
|
|
|
|
rm -f conftest.$ac_objext
|
|
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
|
|
|
(eval $ac_compile) 2>&5
|
|
|
|
|
ac_status=$?
|
|
|
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
|
|
|
(exit $ac_status); } &&
|
|
|
|
|
{ ac_try='test -s conftest.$ac_objext'
|
|
|
|
|
{ (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_header_compiler=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_header_compiler=no
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
|
|
|
|
|
|
|
|
# Is the header present?
|
|
|
|
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
|
|
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
|
|
|
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. */
|
|
|
|
|
#include <$ac_header>
|
|
|
|
|
_ACEOF
|
|
|
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
|
|
|
|
(eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
|
|
|
|
|
if test -s conftest.err; then
|
|
|
|
|
ac_cpp_err=$ac_cxx_preproc_warn_flag
|
|
|
|
|
else
|
|
|
|
|
ac_cpp_err=
|
|
|
|
|
fi
|
|
|
|
|
else
|
|
|
|
|
ac_cpp_err=yes
|
|
|
|
|
fi
|
|
|
|
|
if test -z "$ac_cpp_err"; then
|
|
|
|
|
ac_header_preproc=yes
|
|
|
|
|
else
|
|
|
|
|
echo "$as_me: failed program was:" >&5
|
|
|
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
|
|
|
|
|
|
ac_header_preproc=no
|
|
|
|
|
fi
|
|
|
|
|
rm -f conftest.err conftest.$ac_ext
|
|
|
|
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
|
|
|
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
|
|
|
|
|
|
|
|
# So? What about this header?
|
|
|
|
|
case $ac_header_compiler:$ac_header_preproc in
|
|
|
|
|
yes:no )
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
|
|
|
(
|
|
|
|
|
cat <<\_ASBOX
|
|
|
|
|
## ------------------------------------ ##
|
|
|
|
|
## Report this to bug-autoconf@gnu.org. ##
|
|
|
|
|
## ------------------------------------ ##
|
|
|
|
|
_ASBOX
|
|
|
|
|
) |
|
|
|
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
|
|
|
;;
|
|
|
|
|
no:yes )
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
|
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
|
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
|
|
|
(
|
|
|
|
|
cat <<\_ASBOX
|
|
|
|
|
## ------------------------------------ ##
|
|
|
|
|
## Report this to bug-autoconf@gnu.org. ##
|
|
|
|
|
## ------------------------------------ ##
|
|
|
|
|
_ASBOX
|
|
|
|
|
) |
|
|
|
|
|
sed "s/^/$as_me: WARNING: /" >&2
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
|
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
|
|
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
|
else
|
|
|
|
|
eval "$as_ac_Header=$ac_header_preproc"
|
|
|
|
|
fi
|
|
|
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
|
|
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
|
|
|
cat >>confdefs.h <<_ACEOF
|
|
|
|
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
|
|
|
_ACEOF
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ac_ext=cc
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_header in map
|
|
|
|
|
do
|
|
|
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
|
|
@ -7596,6 +8145,7 @@ s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
|
|
|
|
s,@PTHREAD_CC@,$PTHREAD_CC,;t t
|
|
|
|
|
s,@PTHREAD_LIBS@,$PTHREAD_LIBS,;t t
|
|
|
|
|
s,@PTHREAD_CFLAGS@,$PTHREAD_CFLAGS,;t t
|
|
|
|
|
s,@GRXLIBS@,$GRXLIBS,;t t
|
|
|
|
|
s,@MYSQL_CONFIG@,$MYSQL_CONFIG,;t t
|
|
|
|
|
s,@MYSQL_LIBS@,$MYSQL_LIBS,;t t
|
|
|
|
|
s,@MYSQL_CFLAGS@,$MYSQL_CFLAGS,;t t
|
|
|
|
|