From 83eae8c0c72e1702190c0828f612a11a2f3a3178 Mon Sep 17 00:00:00 2001 From: thib Date: Fri, 17 Aug 2001 19:41:20 +0000 Subject: [PATCH] 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() --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]) -- 2.40.0