#!/bin/sh
-# From configure.in Revision: 1.18
+# From configure.in Revision: 1.19
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.0
echo "$ac_t""$without_gcc" 1>&4
+# If the user switches compilers, we can't believe the cache
+if test ! -z "$ac_cv_prog_CC" -a ! -z "$CC" -a "$CC" != "$ac_cv_prog_CC"
+then
+ { echo "configure: error: cached CC is different -- throw away $cache_file
+(it is also a good idea to do 'make clean' before compiling)" 1>&2; exit 1; }
+fi
+
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&4
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 610 "configure"
+#line 617 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
-#line 624 "configure"
+#line 631 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
echo $ac_n "checking for AIX""... $ac_c" 1>&4
cat > conftest.$ac_ext <<EOF
-#line 649 "configure"
+#line 656 "configure"
#include "confdefs.h"
#ifdef _AIX
yes
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 696 "configure"
+#line 703 "configure"
#include "confdefs.h"
#include <minix/config.h>
EOF
ac_cv_cross=yes
else
cat > conftest.$ac_ext <<EOF
-#line 746 "configure"
+#line 753 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
-#line 766 "configure"
+#line 773 "configure"
#include "confdefs.h"
#ifdef _NEXT_SOURCE
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 793 "configure"
+#line 800 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
-#line 815 "configure"
+#line 822 "configure"
#include "confdefs.h"
#include <string.h>
EOF
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
-#line 833 "configure"
+#line 840 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
ac_cv_header_stdc=no
else
cat > conftest.$ac_ext <<EOF
-#line 854 "configure"
+#line 861 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 891 "configure"
+#line 898 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 928 "configure"
+#line 935 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <$ac_hdr>
ac_save_LIBS="$LIBS"
LIBS="$LIBS -ldir "
cat > conftest.$ac_ext <<EOF
-#line 967 "configure"
+#line 974 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="$LIBS -lx "
cat > conftest.$ac_ext <<EOF
-#line 1001 "configure"
+#line 1008 "configure"
#include "confdefs.h"
int main() { return 0; }
was_it_defined=no
echo $ac_n "checking for clock_t in time.h""... $ac_c" 1>&4
cat > conftest.$ac_ext <<EOF
-#line 1034 "configure"
+#line 1041 "configure"
#include "confdefs.h"
#include <time.h>
EOF
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1058 "configure"
+#line 1065 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1089 "configure"
+#line 1096 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1120 "configure"
+#line 1127 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1151 "configure"
+#line 1158 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <signal.h>
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1185 "configure"
+#line 1192 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1216 "configure"
+#line 1223 "configure"
#include "confdefs.h"
#include <sys/types.h>
EOF
ac_save_LIBS="$LIBS"
LIBS="$LIBS -ldl "
cat > conftest.$ac_ext <<EOF
-#line 1325 "configure"
+#line 1332 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="$LIBS -ldld "
cat > conftest.$ac_ext <<EOF
-#line 1364 "configure"
+#line 1371 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="$LIBS -lsun "
cat > conftest.$ac_ext <<EOF
-#line 1403 "configure"
+#line 1410 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="$LIBS -lnsl "
cat > conftest.$ac_ext <<EOF
-#line 1450 "configure"
+#line 1457 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="$LIBS -linet -lnsl"
cat > conftest.$ac_ext <<EOF
-#line 1483 "configure"
+#line 1490 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="$LIBS -lsocket $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1516 "configure"
+#line 1523 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="$LIBS -ltermcap "
cat > conftest.$ac_ext <<EOF
-#line 1565 "configure"
+#line 1572 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="$LIBS -ltermlib "
cat > conftest.$ac_ext <<EOF
-#line 1597 "configure"
+#line 1604 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="$LIBS -lpthreads "
cat > conftest.$ac_ext <<EOF
-#line 1656 "configure"
+#line 1663 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="$LIBS -lmpc "
cat > conftest.$ac_ext <<EOF
-#line 1698 "configure"
+#line 1705 "configure"
#include "confdefs.h"
int main() { return 0; }
ac_save_LIBS="$LIBS"
LIBS="$LIBS -lthread "
cat > conftest.$ac_ext <<EOF
-#line 1736 "configure"
+#line 1743 "configure"
#include "confdefs.h"
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1830 "configure"
+#line 1837 "configure"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1877 "configure"
+#line 1884 "configure"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1920 "configure"
+#line 1927 "configure"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
int main() { return 0; }
if eval "test \"`echo '$ac_cv_func_'getpgrp`\" = yes"; then
echo "$ac_t""yes" 1>&4
cat > conftest.$ac_ext <<EOF
-#line 1951 "configure"
+#line 1958 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 1977 "configure"
+#line 1984 "configure"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
int main() { return 0; }
if eval "test \"`echo '$ac_cv_func_'setpgrp`\" = yes"; then
echo "$ac_t""yes" 1>&4
cat > conftest.$ac_ext <<EOF
-#line 2008 "configure"
+#line 2015 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 2034 "configure"
+#line 2041 "configure"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
int main() { return 0; }
if eval "test \"`echo '$ac_cv_func_'gettimeofday`\" = yes"; then
echo "$ac_t""yes" 1>&4
cat > conftest.$ac_ext <<EOF
-#line 2065 "configure"
+#line 2072 "configure"
#include "confdefs.h"
#include <sys/time.h>
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 2095 "configure"
+#line 2102 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 2128 "configure"
+#line 2135 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <time.h>
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 2160 "configure"
+#line 2167 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <$ac_cv_struct_tm>
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 2191 "configure"
+#line 2198 "configure"
#include "confdefs.h"
#include <time.h>
#ifndef tzname /* For SGI. */
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 2227 "configure"
+#line 2234 "configure"
#include "confdefs.h"
#include <time.h>
int main() { return 0; }
was_it_defined=no
echo $ac_n "checking whether sys/select.h and sys/time.h may both be included""... $ac_c" 1>&4
cat > conftest.$ac_ext <<EOF
-#line 2257 "configure"
+#line 2264 "configure"
#include "confdefs.h"
#include <sys/types.h>
if test "$GCC" = yes; then
# GCC predefines this symbol on systems where it applies.
cat > conftest.$ac_ext <<EOF
-#line 2289 "configure"
+#line 2296 "configure"
#include "confdefs.h"
#ifdef __CHAR_UNSIGNED__
yes
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
-#line 2311 "configure"
+#line 2318 "configure"
#include "confdefs.h"
/* volatile prevents gcc2 from optimizing the test away on sparcs. */
#if !defined(__STDC__) || __STDC__ != 1
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 2345 "configure"
+#line 2352 "configure"
#include "confdefs.h"
int main() { return 0; }
works=no
echo $ac_n "checking for working volatile""... $ac_c" 1>&4
cat > conftest.$ac_ext <<EOF
-#line 2417 "configure"
+#line 2424 "configure"
#include "confdefs.h"
int main() { return 0; }
works=no
echo $ac_n "checking for working signed char""... $ac_c" 1>&4
cat > conftest.$ac_ext <<EOF
-#line 2442 "configure"
+#line 2449 "configure"
#include "confdefs.h"
int main() { return 0; }
have_prototypes=no
echo $ac_n "checking for prototypes""... $ac_c" 1>&4
cat > conftest.$ac_ext <<EOF
-#line 2467 "configure"
+#line 2474 "configure"
#include "confdefs.h"
int foo(int x) { return 0; }
int main() { return 0; }
works=no
echo $ac_n "checking for variable length prototypes and stdarg.h""... $ac_c" 1>&4
cat > conftest.$ac_ext <<EOF
-#line 2489 "configure"
+#line 2496 "configure"
#include "confdefs.h"
#include <stdarg.h>
bad_prototypes=no
echo $ac_n "checking for bad exec* prototypes""... $ac_c" 1>&4
cat > conftest.$ac_ext <<EOF
-#line 2515 "configure"
+#line 2522 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() { return 0; }
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
-#line 2543 "configure"
+#line 2550 "configure"
#include "confdefs.h"
struct s { int a; int b; };
va_list_is_array=no
echo $ac_n "checking whether va_list is an array""... $ac_c" 1>&4
cat > conftest.$ac_ext <<EOF
-#line 2575 "configure"
+#line 2582 "configure"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
ac_save_LIBS="$LIBS"
LIBS="$LIBS -lieee "
cat > conftest.$ac_ext <<EOF
-#line 2613 "configure"
+#line 2620 "configure"
#include "confdefs.h"
int main() { return 0; }
echo $ac_n "(cached) $ac_c" 1>&4
else
cat > conftest.$ac_ext <<EOF
-#line 2683 "configure"
+#line 2690 "configure"
#include "confdefs.h"
#include <ctype.h> /* Arbitrary system header to define __stub macros. */
int main() { return 0; }
ac_cv_func_getopt=no
else
cat > conftest.$ac_ext <<EOF
-#line 2734 "configure"
+#line 2741 "configure"
#include "confdefs.h"
#include <stdio.h>
extern int optind, opterr, getopt();