Ignore:
Timestamp:
May 16, 2005, 6:54:02 PM (20 years ago)
Author:
bird
Message:

Current make snaphot, 2005-05-16.

Location:
branches/GNU/src/gmake
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gmake

    • Property svn:ignore
      •  

        old new  
        3434README.DOS
        3535README.W32
         36README.OS2
        3637aclocal.m4
        3738autom4te.cache
  • branches/GNU/src/gmake/configure.in

    r153 r280  
    11# Process this file with autoconf to produce a configure script.
    22
    3 AC_INIT([GNU make],[3.81beta1],[bug-make@gnu.org])
     3AC_INIT([GNU make],[3.81beta3],[bug-make@gnu.org])
    44
    55AC_PREREQ(2.59)
    6 AC_REVISION([[$Id: configure.in,v 1.125 2004/03/06 08:05:19 psmith Exp $]])
     6AC_REVISION([[$Id: configure.in,v 1.135 2005/05/10 01:38:18 psmith Exp $]])
    77
    88# Autoconf setup
     
    5151AC_HEADER_TIME
    5252AC_CHECK_HEADERS(stdlib.h locale.h unistd.h limits.h fcntl.h string.h \
    53                  memory.h sys/param.h sys/time.h sys/timeb.h)
     53                 memory.h sys/param.h sys/resource.h sys/time.h sys/timeb.h)
    5454
    5555# Set a flag if we have an ANSI C compiler
     
    135135
    136136AC_CHECK_FUNCS( memcpy memmove strchr strdup mkstemp mktemp fdopen \
    137                 bsd_signal dup2 getcwd sigsetmask sigaction getgroups \
    138                 seteuid setegid setlinebuf setreuid setregid setvbuf pipe \
    139                 strerror strsignal)
     137                bsd_signal dup2 getcwd realpath sigsetmask sigaction \
     138                getgroups seteuid setegid setlinebuf setreuid setregid \
     139                getrlimit setrlimit setvbuf pipe strerror strsignal \
     140                lstat readlink)
    140141
    141142AC_FUNC_SETVBUF_REVERSED
     
    167168fi
    168169
    169 AC_CHECK_DECLS([sys_siglist])
     170AC_CHECK_DECLS([sys_siglist],,,
     171[#include <signal.h>
     172/* NetBSD declares sys_siglist in unistd.h.  */
     173#if HAVE_UNISTD_H
     174# include <unistd.h>
     175#endif
     176])
    170177
    171178
     
    236243AM_CONDITIONAL(USE_CUSTOMS, test "$use_customs" = true)
    237244
     245# See if the user asked to handle case insensitive file systems.
     246
     247AH_TEMPLATE(HAVE_CASE_INSENSITIVE_FS, [Use case insensitive file names])
     248AC_ARG_ENABLE(case-insensitive-file-system,
     249  AC_HELP_STRING([--enable-case-insensitive-file-system],
     250                 [enable case insensitive file system support]),
     251  case_insensitive_fs="yes" AC_DEFINE(HAVE_CASE_INSENSITIVE_FS),
     252  case_insensitive_fs="no")
     253
    238254# See if we can handle the job server feature, and if the user wants it.
    239255
     
    255271    [make_cv_sa_restart=no])])
    256272
    257 # enable make_cv_sa_restart for OS/2
    258 case "$host_os" in
    259   os2*) make_cv_sa_restart=yes ;;
    260 esac
    261 
    262273if test "$make_cv_sa_restart" != no; then
    263274  AC_DEFINE(HAVE_SA_RESTART, 1,
    264275     [Define if <signal.h> defines the SA_RESTART constant.])
    265276fi
     277
     278# enable make_cv_sa_restart for OS/2 so that the jobserver will be enabled,
     279# but do it after HAVE_SA_RESTART has been defined.
     280case "$host_os" in
     281  os2*) make_cv_sa_restart=yes ;;
     282esac
    266283
    267284case "$ac_cv_func_pipe/$ac_cv_func_sigaction/$make_cv_sa_restart/$has_wait_nohang/$make_cv_job_server" in
     
    269286    AC_DEFINE(MAKE_JOBSERVER, 1,
    270287              [Define this to enable job server support in GNU make.]);;
     288esac
     289
     290# if we have both lstat() and readlink() then we can support symlink
     291# timechecks.
     292case "$ac_cv_func_lstat/$ac_cv_func_readlink" in
     293  yes/yes)
     294    AC_DEFINE(MAKE_SYMLINKS, 1,
     295              [Define this to enable symbolic link timestamp checking.]);;
    271296esac
    272297
     
    331356AC_SUBST(MAKE_HOST)
    332357
     358w32_target_env=no
     359AM_CONDITIONAL([WINDOWSENV], false)
     360
     361case "$host" in
     362  *-*-mingw32)
     363    AM_CONDITIONAL(WINDOWSENV, true)
     364    w32_target_env=yes
     365    AC_DEFINE([WINDOWS32], [1], [Use platform specific coding])
     366    AC_DEFINE([HAVE_DOS_PATHS], [1], [Use platform specific coding])
     367    ;;
     368esac
     369
    333370# Include the Maintainer's Makefile section, if it's here.
    334371
     
    389426
    390427# Specify what files are to be created.
     428AC_CONFIG_FILES(Makefile glob/Makefile po/Makefile.in config/Makefile doc/Makefile w32/Makefile)
     429
     430# OK, do it!
     431
     432AC_OUTPUT
     433
    391434# We only generate the build.sh if we have a build.sh.in; we won't have
    392435# one before we've created a distribution.
    393 
    394 AC_CONFIG_FILES(Makefile glob/Makefile po/Makefile.in config/Makefile doc/Makefile)
    395 
    396 if test -f $srcdir/build.sh.in; then
    397   AC_CONFIG_FILES(build.sh)
    398 fi
    399 
    400 
    401 # OK, do it!
    402 
    403 AC_OUTPUT
    404 
     436if test -f build.sh.in; then
     437  ./config.status --file build.sh
     438  chmod +x build.sh
     439fi
    405440
    406441dnl Local Variables:
Note: See TracChangeset for help on using the changeset viewer.