Ignore:
Timestamp:
May 23, 2007, 7:31:19 AM (18 years ago)
Author:
bird
Message:

Merged with the 2007-05-23 CVS. Added rsort and fixed a couple of windows build issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmakenew/configure.in

    r503 r903  
    1717# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1818
    19 AC_INIT([GNU make],[3.81],[bug-make@gnu.org])
     19AC_INIT([GNU make],[3.81.90],[bug-make@gnu.org])
    2020
    2121AC_PREREQ(2.59)
    22 AC_REVISION([[$Id: configure.in,v 1.142 2006/04/01 06:36:40 psmith Exp $]])
     22AC_REVISION([[$Id: configure.in,v 1.147 2007/05/09 02:01:53 psmith Exp $]])
    2323
    2424# Autoconf setup
     
    4545AC_MINIX
    4646
    47 # Needed for ansi2knr
    48 AM_C_PROTOTYPES
    49 
    5047# Enable gettext, in "external" mode.
    5148
     
    7269if test "$ac_cv_prog_cc_stdc" != no; then
    7370  AC_DEFINE(HAVE_ANSI_COMPILER, 1,
    74               [Define if your compiler conforms to the ANSI C standard.])
     71              [Define to 1 if your compiler conforms to the ANSI C standard.])
    7572fi
    7673
     
    123120  if test "$ac_cv_search_clock_gettime" != no; then
    124121    AC_DEFINE(HAVE_CLOCK_GETTIME, 1,
    125               [Define if you have the clock_gettime function.])
     122              [Define to 1 if you have the clock_gettime function.])
    126123  fi
    127124fi
     
    147144if test "$ac_cv_func_gettimeofday" = yes; then
    148145  AC_DEFINE(HAVE_GETTIMEOFDAY, 1,
    149             [Define if you have a standard gettimeofday function])
    150 fi
    151 
    152 AC_CHECK_FUNCS( memcpy memmove strchr strdup mkstemp mktemp fdopen \
     146            [Define to 1 if you have a standard gettimeofday function])
     147fi
     148
     149AC_CHECK_FUNCS( strdup mkstemp mktemp fdopen \
    153150                bsd_signal dup2 getcwd realpath sigsetmask sigaction \
    154151                getgroups seteuid setegid setlinebuf setreuid setregid \
     
    157154
    158155AC_FUNC_SETVBUF_REVERSED
     156
     157# Rumor has it that strcasecmp lives in -lresolv on some odd systems.
     158# It doesn't hurt much to use our own if we can't find it so I don't
     159# make the effort here.
     160AC_CHECK_FUNCS(strcasecmp strcmpi stricmp)
    159161
    160162# strcoll() is used by the GNU glob library
     
    180182  if test "$make_cv_nlist_struct" = yes; then
    181183    AC_DEFINE(NLIST_STRUCT, 1,
    182        [Define if struct nlist.n_name is a pointer rather than an array.])
     184       [Define to 1 if struct nlist.n_name is a pointer rather than an array.])
    183185  fi
    184186fi
     
    195197
    196198# Check out the wait reality.
    197 AC_CHECK_HEADERS(sys/wait.h)
     199AC_CHECK_HEADERS(sys/wait.h,,,[[#include <sys/types.h>]])
    198200AC_CHECK_FUNCS(waitpid wait3)
    199201AC_MSG_CHECKING(for union wait)
     
    221223if test "$make_cv_union_wait" = yes; then
    222224  AC_DEFINE(HAVE_UNION_WAIT, 1,
    223             [Define this if you have the \`union wait' type in <sys/wait.h>.])
     225            [Define to 1 if you have the \`union wait' type in <sys/wait.h>.])
    224226fi
    225227AC_MSG_RESULT($make_cv_union_wait)
     
    229231if test "$PATH_SEPARATOR" = ';'; then
    230232  AC_DEFINE(HAVE_DOS_PATHS, 1,
    231             [Define this if your system requires backslashes or drive specs in pathnames.])
     233            [Define to 1 if your system requires backslashes or drive specs in pathnames.])
    232234fi
    233235
     
    265267AC_ARG_ENABLE(case-insensitive-file-system,
    266268  AC_HELP_STRING([--enable-case-insensitive-file-system],
    267                  [enable case insensitive file system support]),
    268   case_insensitive_fs="yes" AC_DEFINE(HAVE_CASE_INSENSITIVE_FS),
    269   case_insensitive_fs="no")
     269                 [assume file systems are case insensitive]),
     270  [case $enableval in
     271     yes) AC_DEFINE(HAVE_CASE_INSENSITIVE_FS) ;;
     272   esac])
    270273
    271274# See if we can handle the job server feature, and if the user wants it.
     
    290293if test "$make_cv_sa_restart" != no; then
    291294  AC_DEFINE(HAVE_SA_RESTART, 1,
    292      [Define if <signal.h> defines the SA_RESTART constant.])
     295     [Define to 1 if <signal.h> defines the SA_RESTART constant.])
    293296fi
    294297
     
    302305  yes/yes/yes/yes/yes)
    303306    AC_DEFINE(MAKE_JOBSERVER, 1,
    304               [Define this to enable job server support in GNU make.]);;
     307              [Define to 1 to enable job server support in GNU make.]);;
    305308esac
    306309
     
    310313  yes/yes)
    311314    AC_DEFINE(MAKE_SYMLINKS, 1,
    312               [Define this to enable symbolic link timestamp checking.]);;
     315              [Define to 1 to enable symbolic link timestamp checking.]);;
    313316esac
    314317
     
    337340  case "$make_cv_sys_get_minus_G" in
    338341    yes) AC_DEFINE(SCCS_GET_MINUS_G, 1,
    339            [Define this if the SCCS 'get' command understands the '-G<file>' option.]);;
     342           [Define to 1 if the SCCS 'get' command understands the '-G<file>' option.]);;
    340343  esac
    341344fi
     
    385388esac
    386389
     390AC_DEFINE_UNQUOTED(PATH_SEPARATOR_CHAR,'$PATH_SEPARATOR',[Define to the character that separates directories in PATH.])
     391
    387392# Include the Maintainer's Makefile section, if it's here.
    388393
Note: See TracChangeset for help on using the changeset viewer.