/[guile]/guile/guile-core/configure.in
ViewVC logotype

Diff of /guile/guile-core/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.195 by mvo, Thu Oct 3 22:02:14 2002 UTC revision 1.196 by rlb, Sat Oct 5 04:57:09 2002 UTC
# Line 43  AC_CONFIG_SUBDIRS(guile-readline) Line 43  AC_CONFIG_SUBDIRS(guile-readline)
43  #  #
44  #--------------------------------------------------------------------  #--------------------------------------------------------------------
45    
46    GUILE_ERROR_ON_WARNING="yes"
47    
48  AC_ARG_ENABLE(error-on-warning,  AC_ARG_ENABLE(error-on-warning,
49    [  --enable-error-on-warning    treat compile warnings as errors],    [  --enable-error-on-warning    treat compile warnings as errors],
50    [case "${enableval}" in    [case "${enableval}" in
51       yes | y) CFLAGS="${CFLAGS} -Werror"; enable_compile_warnings=no ;;       yes | y) GUILE_ERROR_ON_WARNING="yes" ;;
52       no | n)  ;;       no | n)  GUILE_ERROR_ON_WARNING="no" ;;
53       *) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;;       *) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;;
54     esac])     esac])
55    
   
56  AC_ARG_ENABLE(debug-freelist,  AC_ARG_ENABLE(debug-freelist,
57    [  --enable-debug-freelist include garbage collector freelist debugging code],    [  --enable-debug-freelist include garbage collector freelist debugging code],
58    if test "$enable_debug_freelist" = y || test "$enable_debug_freelist" = yes; then    if test "$enable_debug_freelist" = y || test "$enable_debug_freelist" = yes; then
# Line 150  AC_CYGWIN Line 151  AC_CYGWIN
151  AC_MINGW32  AC_MINGW32
152  AC_LIBTOOL_WIN32_DLL  AC_LIBTOOL_WIN32_DLL
153    
 AC_LIBLTDL_CONVENIENCE  
 AC_CONFIG_SUBDIRS(libltdl)  
   
154  AC_PROG_INSTALL  AC_PROG_INSTALL
155  AC_PROG_CC  AC_PROG_CC
156  AC_PROG_CPP  AC_PROG_CPP
157  AC_LIBTOOL_DLOPEN  AC_PROG_AWK
158    
159  AC_AIX  AC_AIX
160  AC_ISC_POSIX  AC_ISC_POSIX
# Line 164  AC_MINIX Line 162  AC_MINIX
162    
163  AM_PROG_CC_STDC  AM_PROG_CC_STDC
164    
165  ## Needed for building DLLs on Cygwin, before AM_PROG_LIBTOOL  AC_LIBTOOL_DLOPEN
 AC_LIBTOOL_WIN32_DLL  
166  AM_PROG_LIBTOOL  AM_PROG_LIBTOOL
167    AC_LIB_LTDL
168    
169  AC_CHECK_PROG(have_makeinfo, makeinfo, yes, no)  AC_CHECK_PROG(have_makeinfo, makeinfo, yes, no)
170  AM_CONDITIONAL(HAVE_MAKEINFO, test "$have_makeinfo" = yes)  AM_CONDITIONAL(HAVE_MAKEINFO, test "$have_makeinfo" = yes)
# Line 264  AC_HEADER_STDC Line 262  AC_HEADER_STDC
262  AC_HEADER_DIRENT  AC_HEADER_DIRENT
263  AC_HEADER_TIME  AC_HEADER_TIME
264  AC_HEADER_SYS_WAIT  AC_HEADER_SYS_WAIT
265  AC_CHECK_HEADERS(io.h libc.h limits.h malloc.h memory.h string.h regex.h rxposix.h rx/rxposix.h sys/ioctl.h sys/select.h sys/time.h sys/timeb.h sys/times.h sys/stdtypes.h sys/types.h sys/utime.h time.h unistd.h utime.h pwd.h grp.h sys/utsname.h direct.h)  
266    AC_CHECK_HEADERS([io.h libc.h limits.h malloc.h memory.h string.h \
267    regex.h rxposix.h rx/rxposix.h sys/dir.h sys/ioctl.h sys/select.h \
268    sys/time.h sys/timeb.h sys/times.h sys/stdtypes.h sys/types.h \
269    sys/utime.h time.h unistd.h utime.h pwd.h grp.h sys/utsname.h \
270    direct.h])
271    
272  GUILE_HEADER_LIBC_WITH_UNISTD  GUILE_HEADER_LIBC_WITH_UNISTD
273    
274  AC_TYPE_GETGROUPS  AC_TYPE_GETGROUPS
# Line 306  if test "$MINGW32" = "yes" ; then Line 310  if test "$MINGW32" = "yes" ; then
310  fi  fi
311  AC_SUBST(EXTRA_DEFS)  AC_SUBST(EXTRA_DEFS)
312    
313  AC_SUBST(INCLTDL)  # FIXME: check to see if we still need these.
314  AC_SUBST(LIBLTDL)  #AC_SUBST(INCLTDL)
315    #AC_SUBST(LIBLTDL)
316    
317  AC_SUBST(DLPREOPEN)  AC_SUBST(DLPREOPEN)
318    
319  AC_CHECK_FUNCS(ctermid ftime fchown getcwd geteuid gettimeofday lstat mkdir mknod nice readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction siginterrupt strftime strptime symlink sync tcgetpgrp tcsetpgrp times uname waitpid strdup system usleep atexit on_exit chown link fcntl ttyname getpwent getgrent kill getppid getpgrp fork setitimer getitimer)  AC_CHECK_HEADERS([assert.h])
320    
321    AC_CHECK_FUNCS([ctermid ftime fchown getcwd geteuid gettimeofday lstat mkdir mknod nice readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction siginterrupt strftime strptime symlink sync tcgetpgrp tcsetpgrp times uname waitpid strdup system usleep atexit on_exit chown link fcntl ttyname getpwent getgrent kill getppid getpgrp fork setitimer getitimer strchr strcmp index bcopy memcpy rindex])
322    
323  AC_CHECK_HEADERS(crypt.h sys/resource.h sys/file.h)  AC_CHECK_HEADERS(crypt.h sys/resource.h sys/file.h)
324  AC_CHECK_FUNCS(chroot flock getlogin cuserid getpriority setpriority getpass sethostname gethostname)  AC_CHECK_FUNCS(chroot flock getlogin cuserid getpriority setpriority getpass sethostname gethostname)
# Line 739  if test "$cross_compiling" = "yes"; then Line 747  if test "$cross_compiling" = "yes"; then
747  fi  fi
748  AC_SUBST(GUILE_FOR_BUILD)  AC_SUBST(GUILE_FOR_BUILD)
749                                                    
750    # Do this here so we don't screw up any of the tests above that might
751    # not be "warning free"
752    
753    if test "${GUILE_ERROR_ON_WARNING}" = yes
754    then
755      CFLAGS="${CFLAGS} -Werror"
756      enable_compile_warnings=no
757    fi
758    
759  ## If we're using GCC, ask for aggressive warnings.  ## If we're using GCC, ask for aggressive warnings.
760  case "$GCC" in  case "$GCC" in
761    yes )    yes )
# Line 750  case "$GCC" in Line 767  case "$GCC" in
767      CFLAGS="$CFLAGS -Wall -Wmissing-prototypes" ;;      CFLAGS="$CFLAGS -Wall -Wmissing-prototypes" ;;
768  esac  esac
769    
 AC_PROG_AWK  
   
770  ## NOTE the code below sets LIBOBJS directly and so is now forbidden  ## NOTE the code below sets LIBOBJS directly and so is now forbidden
771  ## -- I'm disabling it for now in the hopes that the newer autoconf  ## -- I'm disabling it for now in the hopes that the newer autoconf
772  ## will DTRT -- if not, we need to fix up the sed command to match the  ## will DTRT -- if not, we need to fix up the sed command to match the
# Line 824  AC_CONFIG_FILES([ Line 839  AC_CONFIG_FILES([
839    libguile/guile-func-name-check    libguile/guile-func-name-check
840    libguile/guile-snarf-docs    libguile/guile-snarf-docs
841    libguile/version.h    libguile/version.h
842      libguile-ltdl/Makefile
843      libguile-ltdl/upstream/Makefile
844    ice-9/Makefile    ice-9/Makefile
845    lang/Makefile    lang/Makefile
846    lang/elisp/Makefile    lang/elisp/Makefile

Legend:
Removed from v.1.195  
changed lines
  Added in v.1.196

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26