Fix configure script and configh.in...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
a1236f0900
commit
f2d2d347e9
28
configh.in
28
configh.in
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* "$Id: configh.in,v 1.11.2.9 2001/04/27 14:39:27 easysw Exp $"
|
||||
* "$Id: configh.in,v 1.11.2.10 2001/04/27 17:00:23 easysw Exp $"
|
||||
*
|
||||
* Configuration file for the Fast Light Tool Kit (FLTK).
|
||||
* @configure_input@
|
||||
@ -122,26 +122,26 @@
|
||||
* Where is <dirent.h> (used only by fl_file_chooser and scandir).
|
||||
*/
|
||||
|
||||
#define HAVE_DIRENT_H 1
|
||||
#define HAVE_SYS_NDIR_H 0
|
||||
#define HAVE_SYS_DIR_H 0
|
||||
#define HAVE_NDIR_H 0
|
||||
#define HAVE_SCANDIR 0
|
||||
#undef HAVE_DIRENT_H
|
||||
#undef HAVE_SYS_NDIR_H
|
||||
#undef HAVE_SYS_DIR_H
|
||||
#undef HAVE_NDIR_H
|
||||
#undef HAVE_SCANDIR
|
||||
|
||||
/*
|
||||
* Possibly missing sprintf-style functions:
|
||||
*/
|
||||
|
||||
#define HAVE_VSNPRINTF 0
|
||||
#define HAVE_SNPRINTF 0
|
||||
#define HAVE_VSPRINTF 0
|
||||
#undef HAVE_VSNPRINTF
|
||||
#undef HAVE_SNPRINTF
|
||||
#undef HAVE_VSPRINTF
|
||||
|
||||
/*
|
||||
* String functions and headers...
|
||||
*/
|
||||
|
||||
#define HAVE_STRINGS_H 0
|
||||
#define HAVE_STRCASECMP 0
|
||||
#undef HAVE_STRINGS_H
|
||||
#undef HAVE_STRCASECMP
|
||||
|
||||
/*
|
||||
* HAVE_SYS_SELECT_H:
|
||||
@ -149,7 +149,7 @@
|
||||
* Whether or not select() call has its own header file.
|
||||
*/
|
||||
|
||||
#define HAVE_SYS_SELECT_H 0
|
||||
#undef HAVE_SYS_SELECT_H
|
||||
|
||||
/*
|
||||
* HAVE_SYS_STDTYPES_H:
|
||||
@ -157,7 +157,7 @@
|
||||
* Whether or not we have the <sys/stdtypes.h> header file.
|
||||
*/
|
||||
|
||||
#define HAVE_SYS_STDTYPES_H 0
|
||||
#undef HAVE_SYS_STDTYPES_H
|
||||
|
||||
/*
|
||||
* USE_POLL:
|
||||
@ -168,5 +168,5 @@
|
||||
#define USE_POLL 0
|
||||
|
||||
/*
|
||||
* End of "$Id: configh.in,v 1.11.2.9 2001/04/27 14:39:27 easysw Exp $".
|
||||
* End of "$Id: configh.in,v 1.11.2.10 2001/04/27 17:00:23 easysw Exp $".
|
||||
*/
|
||||
|
10
configure.in
10
configure.in
@ -1,7 +1,7 @@
|
||||
dnl -*- sh -*-
|
||||
dnl the "configure" script is made from this by running GNU "autoconf"
|
||||
dnl
|
||||
dnl "$Id: configure.in,v 1.33.2.28 2001/04/27 14:39:27 easysw Exp $"
|
||||
dnl "$Id: configure.in,v 1.33.2.29 2001/04/27 17:00:23 easysw Exp $"
|
||||
dnl
|
||||
dnl Configuration script for the Fast Light Tool Kit (FLTK).
|
||||
dnl
|
||||
@ -135,8 +135,8 @@ else
|
||||
fi
|
||||
|
||||
AC_HEADER_DIRENT
|
||||
AC_CHECK_HEADER(sys/select.h)
|
||||
AC_CHECK_HEADER(sys/stdtypes.h)
|
||||
AC_CHECK_HEADER(sys/select.h,AC_DEFINE(HAVE_SYS_SELECT_H))
|
||||
AC_CHECK_HEADER(sys/stdtypes.h,AC_DEFINE(HAVE_SYS_SELECT_H))
|
||||
AC_CHECK_FUNC(scandir,
|
||||
if test "$uname" = SunOS -o "$uname" = QNX; then
|
||||
echo Not using $uname scandir emulation function.
|
||||
@ -156,7 +156,7 @@ AC_CHECK_FUNC(snprintf,
|
||||
AC_DEFINE(HAVE_SNPRINTF)
|
||||
fi)
|
||||
AC_CHECK_FUNCS(vsprintf)
|
||||
AC_CHECK_HEADER(strings.h)
|
||||
AC_CHECK_HEADER(strings.h,AC_DEFINE(HAVE_STRINGS_H))
|
||||
AC_CHECK_FUNCS(strcasecmp)
|
||||
|
||||
dnl Check for X11...
|
||||
@ -372,5 +372,5 @@ AC_CONFIG_HEADER(config.h:configh.in)
|
||||
AC_OUTPUT(makeinclude)
|
||||
|
||||
dnl
|
||||
dnl End of "$Id: configure.in,v 1.33.2.28 2001/04/27 14:39:27 easysw Exp $".
|
||||
dnl End of "$Id: configure.in,v 1.33.2.29 2001/04/27 17:00:23 easysw Exp $".
|
||||
dnl
|
||||
|
Loading…
Reference in New Issue
Block a user