From: Thibault Godouet Date: Fri, 17 Aug 2001 19:41:20 +0000 (+0000) Subject: bug corrected : we check for the existence of getopt_long(), not only getopt.h,as... X-Git-Tag: ver2_9_4~277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f89307f6643c69e01100e912145bb7001a24cae;p=thirdparty%2Ffcron.git bug corrected : we check for the existence of getopt_long(), not only getopt.h,as some systems may define getopt() in getopt.h but not getopt_long() --- diff --git a/configure.in b/configure.in index 00d2fe6..9547494 100644 --- a/configure.in +++ b/configure.in @@ -8,7 +8,7 @@ AC_PREFIX_DEFAULT($prefix) AC_CONFIG_HEADER(config.h) AC_PREREQ(2.7) -vers="1.1.1" +vers="1.1.2" vers_quoted="\"$vers\"" AC_DEFINE_UNQUOTED(VERSION, $vers) AC_DEFINE_UNQUOTED(VERSION_QUOTED, $vers_quoted) @@ -66,6 +66,7 @@ dnl Try to use the /proc/loadavg file ... AC_MSG_RESULT(/proc/loadavg) fi AC_CHECK_FUNCS(getcwd gettimeofday mktime putenv strerror setenv gethostname) +AC_CHECK_FUNCS(getopt_long) AC_CHECK_FUNCS(mkstemp) AC_CHECK_FUNCS(flock lockf) AC_CHECK_FUNCS(seteuid, [seteuid=1], [seteuid=0])