You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1068 lines
30 KiB
1068 lines
30 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../lcdemu/lcdemuhotfix.patch |
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
# |
|
# More information can be found in the files COPYING and README. |
|
# |
|
# This patch file is dual-licensed. It is available under the license the |
|
# patched project is licensed under, as long as it is an OpenSource license |
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|
# of the GNU General Public License as published by the Free Software |
|
# Foundation; either version 2 of the License, or (at your option) any later |
|
# version. |
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
--- lcdemu-0.6-beta1/configure.in Fri Dec 6 16:12:30 2002 |
|
+++ lcdemu-0.6.0/configure.in Mon Mar 17 00:04:59 2003 |
|
@@ -17,7 +17,10 @@ |
|
|
|
AC_ARG_ENABLE(debug, |
|
[ --enable-debug turn on debugging [default=no]], |
|
- AC_DEFINE(DEBUG, 1, [Define to switch on debug messages]),) |
|
+ echo $enableval |
|
+ if [[[ "$enableval" = "yes" ]]]; then |
|
+ AC_DEFINE(DEBUG, 1, [Define to switch on debug messages]) |
|
+ fi,) |
|
|
|
AC_ARG_ENABLE(debug-dump-buffer, |
|
[ --enable-dump_buffer turn on buffer dump output [default=no]], |
|
--- lcdemu-0.6-beta1/configure Fri Dec 6 16:12:41 2002 |
|
+++ lcdemu-0.6.0/configure Mon Mar 17 00:05:01 2003 |
|
@@ -1,6 +1,6 @@ |
|
#! /bin/sh |
|
# Guess values for system-dependent variables and create Makefiles. |
|
-# Generated by GNU Autoconf 2.54. |
|
+# Generated by GNU Autoconf 2.57. |
|
# |
|
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
|
# Free Software Foundation, Inc. |
|
@@ -36,7 +36,10 @@ |
|
PS4='+ ' |
|
|
|
# NLS nuisances. |
|
-for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME |
|
+for as_var in \ |
|
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
+ LC_TELEPHONE LC_TIME |
|
do |
|
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
eval $as_var=C; export $as_var |
|
@@ -82,15 +85,15 @@ |
|
|
|
# The user is always right. |
|
if test "${PATH_SEPARATOR+set}" != set; then |
|
- echo "#! /bin/sh" >conftest.sh |
|
- echo "exit 0" >>conftest.sh |
|
- chmod +x conftest.sh |
|
- if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then |
|
+ echo "#! /bin/sh" >conf$$.sh |
|
+ echo "exit 0" >>conf$$.sh |
|
+ chmod +x conf$$.sh |
|
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
PATH_SEPARATOR=';' |
|
else |
|
PATH_SEPARATOR=: |
|
fi |
|
- rm -f conftest.sh |
|
+ rm -f conf$$.sh |
|
fi |
|
|
|
|
|
@@ -900,7 +903,7 @@ |
|
running configure, to aid debugging if configure makes a mistake. |
|
|
|
It was created by $as_me, which was |
|
-generated by GNU Autoconf 2.54. Invocation command line was |
|
+generated by GNU Autoconf 2.57. Invocation command line was |
|
|
|
$ $0 $@ |
|
|
|
@@ -952,24 +955,54 @@ |
|
|
|
# Keep a trace of the command line. |
|
# Strip out --no-create and --no-recursion so they do not pile up. |
|
+# Strip out --silent because we don't want to record it for future runs. |
|
# Also quote any args containing shell meta-characters. |
|
+# Make two passes to allow for proper duplicate-argument suppression. |
|
ac_configure_args= |
|
+ac_configure_args0= |
|
+ac_configure_args1= |
|
ac_sep= |
|
-for ac_arg |
|
+ac_must_keep_next=false |
|
+for ac_pass in 1 2 |
|
do |
|
- case $ac_arg in |
|
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
- | --no-cr | --no-c | -n ) continue ;; |
|
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
- continue ;; |
|
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
|
- ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
- esac |
|
- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
|
- # Get rid of the leading space. |
|
- ac_sep=" " |
|
+ for ac_arg |
|
+ do |
|
+ case $ac_arg in |
|
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
+ | -silent | --silent | --silen | --sile | --sil) |
|
+ continue ;; |
|
+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
|
+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
+ esac |
|
+ case $ac_pass in |
|
+ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
|
+ 2) |
|
+ ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
|
+ if test $ac_must_keep_next = true; then |
|
+ ac_must_keep_next=false # Got value, back to normal. |
|
+ else |
|
+ case $ac_arg in |
|
+ *=* | --config-cache | -C | -disable-* | --disable-* \ |
|
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
+ | -with-* | --with-* | -without-* | --without-* | --x) |
|
+ case "$ac_configure_args0 " in |
|
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
+ esac |
|
+ ;; |
|
+ -* ) ac_must_keep_next=true ;; |
|
+ esac |
|
+ fi |
|
+ ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
|
+ # Get rid of the leading space. |
|
+ ac_sep=" " |
|
+ ;; |
|
+ esac |
|
+ done |
|
done |
|
+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
|
+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
|
|
|
# When interrupted or exit'd, cleanup temporary files, and complete |
|
# config.log. We remove comments because anyway the quotes in there |
|
@@ -1412,15 +1445,15 @@ |
|
test -n "$AWK" && break |
|
done |
|
|
|
-echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
|
-echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 |
|
+echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
+echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` |
|
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
else |
|
cat >conftest.make <<\_ACEOF |
|
all: |
|
- @echo 'ac_maketemp="${MAKE}"' |
|
+ @echo 'ac_maketemp="$(MAKE)"' |
|
_ACEOF |
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
|
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
|
@@ -1996,8 +2029,10 @@ |
|
fi |
|
|
|
|
|
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 |
|
-echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} |
|
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
+See \`config.log' for more details." >&5 |
|
+echo "$as_me: error: no acceptable C compiler found in \$PATH |
|
+See \`config.log' for more details." >&2;} |
|
{ (exit 1); exit 1; }; } |
|
|
|
# Provide some information about the compiler. |
|
@@ -2022,7 +2057,11 @@ |
|
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
@@ -2033,7 +2072,7 @@ |
|
} |
|
_ACEOF |
|
ac_clean_files_save=$ac_clean_files |
|
-ac_clean_files="$ac_clean_files a.out a.exe" |
|
+ac_clean_files="$ac_clean_files a.out a.exe b.out" |
|
# Try to create an executable without -o first, disregard a.out. |
|
# It will help us diagnose broken compilers, and finding out an intuition |
|
# of exeext. |
|
@@ -2052,27 +2091,39 @@ |
|
# Be careful to initialize this variable, since it used to be cached. |
|
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
|
ac_cv_exeext= |
|
-for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do |
|
+# b.out is created by i960 compilers. |
|
+for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
|
+do |
|
test -f "$ac_file" || continue |
|
case $ac_file in |
|
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
|
- a.out ) # We found the default executable, but exeext='' is most |
|
- # certainly right. |
|
- break;; |
|
- *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
- # FIXME: I believe we export ac_cv_exeext for Libtool --akim. |
|
- export ac_cv_exeext |
|
- break;; |
|
- * ) break;; |
|
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
|
+ ;; |
|
+ conftest.$ac_ext ) |
|
+ # This is the source file. |
|
+ ;; |
|
+ [ab].out ) |
|
+ # We found the default executable, but exeext='' is most |
|
+ # certainly right. |
|
+ break;; |
|
+ *.* ) |
|
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
+ # FIXME: I believe we export ac_cv_exeext for Libtool, |
|
+ # but it would be cool to find out if it's true. Does anybody |
|
+ # maintain Libtool? --akim. |
|
+ export ac_cv_exeext |
|
+ break;; |
|
+ * ) |
|
+ break;; |
|
esac |
|
done |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
|
-check \`config.log' for details." >&5 |
|
+See \`config.log' for more details." >&5 |
|
echo "$as_me: error: C compiler cannot create executables |
|
-check \`config.log' for details." >&2;} |
|
+See \`config.log' for more details." >&2;} |
|
{ (exit 77); exit 77; }; } |
|
fi |
|
|
|
@@ -2099,9 +2150,11 @@ |
|
cross_compiling=yes |
|
else |
|
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
|
-If you meant to cross compile, use \`--host'." >&5 |
|
+If you meant to cross compile, use \`--host'. |
|
+See \`config.log' for more details." >&5 |
|
echo "$as_me: error: cannot run C compiled programs. |
|
-If you meant to cross compile, use \`--host'." >&2;} |
|
+If you meant to cross compile, use \`--host'. |
|
+See \`config.log' for more details." >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
fi |
|
@@ -2109,7 +2162,7 @@ |
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
echo "${ECHO_T}yes" >&6 |
|
|
|
-rm -f a.out a.exe conftest$ac_cv_exeext |
|
+rm -f a.out a.exe conftest$ac_cv_exeext b.out |
|
ac_clean_files=$ac_clean_files_save |
|
# Check the compiler produces executables we can run. If not, either |
|
# the compiler is broken, or we cross compile. |
|
@@ -2140,8 +2193,10 @@ |
|
esac |
|
done |
|
else |
|
- { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 |
|
-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} |
|
+ { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
|
+See \`config.log' for more details." >&5 |
|
+echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
|
+See \`config.log' for more details." >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
@@ -2159,7 +2214,11 @@ |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
@@ -2184,9 +2243,12 @@ |
|
done |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 |
|
-echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
+{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
|
+See \`config.log' for more details." >&5 |
|
+echo "$as_me: error: cannot compute suffix of object files: cannot compile |
|
+See \`config.log' for more details." >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
@@ -2203,7 +2265,11 @@ |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
@@ -2231,7 +2297,8 @@ |
|
ac_compiler_gnu=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
ac_compiler_gnu=no |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
@@ -2251,7 +2318,11 @@ |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
@@ -2276,7 +2347,8 @@ |
|
ac_cv_prog_cc_g=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
ac_cv_prog_cc_g=no |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
@@ -2307,7 +2379,11 @@ |
|
ac_save_CC=$CC |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
#include <stdarg.h> |
|
#include <stdio.h> |
|
#include <sys/types.h> |
|
@@ -2370,7 +2446,8 @@ |
|
break |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
fi |
|
rm -f conftest.$ac_objext |
|
done |
|
@@ -2421,7 +2498,11 @@ |
|
do |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
#include <stdlib.h> |
|
$ac_declaration |
|
int |
|
@@ -2447,13 +2528,18 @@ |
|
: |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
continue |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
$ac_declaration |
|
int |
|
main () |
|
@@ -2478,7 +2564,8 @@ |
|
break |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
done |
|
@@ -2491,7 +2578,8 @@ |
|
|
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
@@ -2592,7 +2680,11 @@ |
|
LIBS="-lcposix $LIBS" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
|
|
/* Override any gcc2 internal prototype to avoid an error. */ |
|
#ifdef __cplusplus |
|
@@ -2624,7 +2716,8 @@ |
|
ac_cv_lib_cposix_strerror=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
ac_cv_lib_cposix_strerror=no |
|
fi |
|
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
@@ -2947,8 +3040,10 @@ |
|
fi |
|
|
|
|
|
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 |
|
-echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} |
|
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
+See \`config.log' for more details." >&5 |
|
+echo "$as_me: error: no acceptable C compiler found in \$PATH |
|
+See \`config.log' for more details." >&2;} |
|
{ (exit 1); exit 1; }; } |
|
|
|
# Provide some information about the compiler. |
|
@@ -2978,7 +3073,11 @@ |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
@@ -3006,7 +3105,8 @@ |
|
ac_compiler_gnu=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
ac_compiler_gnu=no |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
@@ -3026,7 +3126,11 @@ |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
@@ -3051,7 +3155,8 @@ |
|
ac_cv_prog_cc_g=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
ac_cv_prog_cc_g=no |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
@@ -3082,7 +3187,11 @@ |
|
ac_save_CC=$CC |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
#include <stdarg.h> |
|
#include <stdio.h> |
|
#include <sys/types.h> |
|
@@ -3145,7 +3254,8 @@ |
|
break |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
fi |
|
rm -f conftest.$ac_objext |
|
done |
|
@@ -3196,7 +3306,11 @@ |
|
do |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
#include <stdlib.h> |
|
$ac_declaration |
|
int |
|
@@ -3222,13 +3336,18 @@ |
|
: |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
continue |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
$ac_declaration |
|
int |
|
main () |
|
@@ -3253,7 +3372,8 @@ |
|
break |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
done |
|
@@ -3266,7 +3386,8 @@ |
|
|
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
ac_ext=c |
|
@@ -3378,7 +3499,11 @@ |
|
CC="$ac_save_CC $ac_arg" |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
#include <stdarg.h> |
|
#include <stdio.h> |
|
#include <sys/types.h> |
|
@@ -3433,7 +3558,8 @@ |
|
am_cv_prog_cc_stdc="$ac_arg"; break |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
fi |
|
rm -f conftest.$ac_objext conftest.$ac_ext |
|
done |
|
@@ -3476,12 +3602,22 @@ |
|
do |
|
# Use a header file that comes with gcc, so configuring glibc |
|
# with a fresh cross-compiler works. |
|
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
+ # <limits.h> exists even on freestanding compilers. |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
# not just through cpp. "Syntax error" is here to catch this case. |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
-#include <assert.h> |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
+#ifdef __STDC__ |
|
+# include <limits.h> |
|
+#else |
|
+# include <assert.h> |
|
+#endif |
|
Syntax error |
|
_ACEOF |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
@@ -3504,7 +3640,8 @@ |
|
: |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
- cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
# Broken: fails on valid input. |
|
continue |
|
fi |
|
@@ -3514,7 +3651,11 @@ |
|
# can be detected and how. |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
#include <ac_nonexistent.h> |
|
_ACEOF |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
@@ -3538,7 +3679,8 @@ |
|
continue |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
- cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
# Passes both tests. |
|
ac_preproc_ok=: |
|
break |
|
@@ -3567,12 +3709,22 @@ |
|
do |
|
# Use a header file that comes with gcc, so configuring glibc |
|
# with a fresh cross-compiler works. |
|
+ # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
+ # <limits.h> exists even on freestanding compilers. |
|
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
# not just through cpp. "Syntax error" is here to catch this case. |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
-#include <assert.h> |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
+#ifdef __STDC__ |
|
+# include <limits.h> |
|
+#else |
|
+# include <assert.h> |
|
+#endif |
|
Syntax error |
|
_ACEOF |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
@@ -3595,7 +3747,8 @@ |
|
: |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
- cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
# Broken: fails on valid input. |
|
continue |
|
fi |
|
@@ -3605,7 +3758,11 @@ |
|
# can be detected and how. |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
#include <ac_nonexistent.h> |
|
_ACEOF |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
@@ -3629,7 +3786,8 @@ |
|
continue |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
- cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
# Passes both tests. |
|
ac_preproc_ok=: |
|
break |
|
@@ -3642,8 +3800,10 @@ |
|
if $ac_preproc_ok; then |
|
: |
|
else |
|
- { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
|
-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
|
+ { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
|
+See \`config.log' for more details." >&5 |
|
+echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
|
+See \`config.log' for more details." >&2;} |
|
{ (exit 1); exit 1; }; } |
|
fi |
|
|
|
@@ -3676,43 +3836,54 @@ |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
#include <stdlib.h> |
|
#include <stdarg.h> |
|
#include <string.h> |
|
#include <float.h> |
|
|
|
+int |
|
+main () |
|
+{ |
|
+ |
|
+ ; |
|
+ return 0; |
|
+} |
|
_ACEOF |
|
-if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
+rm -f conftest.$ac_objext |
|
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
+ (eval $ac_compile) 2>&5 |
|
ac_status=$? |
|
- grep -v '^ *+' conftest.er1 >conftest.err |
|
- rm -f conftest.er1 |
|
- cat conftest.err >&5 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
- (exit $ac_status); } >/dev/null; then |
|
- if test -s conftest.err; then |
|
- ac_cpp_err=$ac_c_preproc_warn_flag |
|
- else |
|
- ac_cpp_err= |
|
- fi |
|
-else |
|
- ac_cpp_err=yes |
|
-fi |
|
-if test -z "$ac_cpp_err"; then |
|
+ (exit $ac_status); } && |
|
+ { ac_try='test -s conftest.$ac_objext' |
|
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
+ (eval $ac_try) 2>&5 |
|
+ ac_status=$? |
|
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
+ (exit $ac_status); }; }; then |
|
ac_cv_header_stdc=yes |
|
else |
|
echo "$as_me: failed program was:" >&5 |
|
- cat conftest.$ac_ext >&5 |
|
- ac_cv_header_stdc=no |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
+ac_cv_header_stdc=no |
|
fi |
|
-rm -f conftest.err conftest.$ac_ext |
|
+rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
#include <string.h> |
|
|
|
_ACEOF |
|
@@ -3730,7 +3901,11 @@ |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
#include <stdlib.h> |
|
|
|
_ACEOF |
|
@@ -3751,13 +3926,18 @@ |
|
else |
|
cat >conftest.$ac_ext <<_ACEOF |
|
#line $LINENO "configure" |
|
-#include "confdefs.h" |
|
+/* confdefs.h. */ |
|
+_ACEOF |
|
+cat confdefs.h >>conftest.$ac_ext |
|
+cat >>conftest.$ac_ext <<_ACEOF |
|
+/* end confdefs.h. */ |
|
#include <ctype.h> |
|
#if ((' ' & 0x0FF) == 0x020) |
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
#else |
|
-# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ |
|
+# define ISLOWER(c) \ |
|
+ (('a' <= (c) && (c) <= 'i') \ |
|
|| ('j' <= (c) && (c) <= 'r') \ |
|
|| ('s' <= (c) && (c) <= 'z')) |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
@@ -3790,7 +3970,8 @@ |
|
else |
|
echo "$as_me: program exited with status $ac_status" >&5 |
|
echo "$as_me: failed program was:" >&5 |
|
-cat conftest.$ac_ext >&5 |
|
+sed 's/^/| /' conftest.$ac_ext >&5 |
|
+ |
|
( exit $ac_status ) |
|
ac_cv_header_stdc=no |
|
fi |
|
@@ -3914,11 +4095,14 @@ |
|
# Check whether --enable-debug or --disable-debug was given. |
|
if test "${enable_debug+set}" = set; then |
|
enableval="$enable_debug" |
|
+ echo $enableval |
|
+ if [ "$enableval" = "yes" ]; then |
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
#define DEBUG 1 |
|
_ACEOF |
|
|
|
+ fi |
|
fi; |
|
|
|
# Check whether --enable-debug-dump-buffer or --disable-debug-dump-buffer was given. |
|
@@ -3987,7 +4171,7 @@ |
|
t end |
|
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
: end' >>confcache |
|
-if cmp -s $cache_file confcache; then :; else |
|
+if diff $cache_file confcache >/dev/null 2>&1; then :; else |
|
if test -w $cache_file; then |
|
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
|
cat confcache >$cache_file |
|
@@ -4075,6 +4259,8 @@ |
|
# configure, is in config.log if it exists. |
|
|
|
debug=false |
|
+ac_cs_recheck=false |
|
+ac_cs_silent=false |
|
SHELL=\${CONFIG_SHELL-$SHELL} |
|
_ACEOF |
|
|
|
@@ -4109,7 +4295,10 @@ |
|
PS4='+ ' |
|
|
|
# NLS nuisances. |
|
-for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME |
|
+for as_var in \ |
|
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
+ LC_TELEPHONE LC_TIME |
|
do |
|
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
eval $as_var=C; export $as_var |
|
@@ -4155,15 +4344,15 @@ |
|
|
|
# The user is always right. |
|
if test "${PATH_SEPARATOR+set}" != set; then |
|
- echo "#! /bin/sh" >conftest.sh |
|
- echo "exit 0" >>conftest.sh |
|
- chmod +x conftest.sh |
|
- if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then |
|
+ echo "#! /bin/sh" >conf$$.sh |
|
+ echo "exit 0" >>conf$$.sh |
|
+ chmod +x conf$$.sh |
|
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
PATH_SEPARATOR=';' |
|
else |
|
PATH_SEPARATOR=: |
|
fi |
|
- rm -f conftest.sh |
|
+ rm -f conf$$.sh |
|
fi |
|
|
|
|
|
@@ -4326,7 +4515,7 @@ |
|
cat >&5 <<_CSEOF |
|
|
|
This file was extended by $as_me, which was |
|
-generated by GNU Autoconf 2.54. Invocation command line was |
|
+generated by GNU Autoconf 2.57. Invocation command line was |
|
|
|
CONFIG_FILES = $CONFIG_FILES |
|
CONFIG_HEADERS = $CONFIG_HEADERS |
|
@@ -4366,6 +4555,7 @@ |
|
|
|
-h, --help print this help, then exit |
|
-V, --version print version number, then exit |
|
+ -q, --quiet do not print progress messages |
|
-d, --debug don't remove temporary files |
|
--recheck update $as_me by reconfiguring in the same conditions |
|
--file=FILE[:TEMPLATE] |
|
@@ -4388,7 +4578,7 @@ |
|
cat >>$CONFIG_STATUS <<_ACEOF |
|
ac_cs_version="\\ |
|
config.status |
|
-configured by $0, generated by GNU Autoconf 2.54, |
|
+configured by $0, generated by GNU Autoconf 2.57, |
|
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
|
|
|
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
|
@@ -4425,12 +4615,9 @@ |
|
case $ac_option in |
|
# Handling of the options. |
|
_ACEOF |
|
-cat >>$CONFIG_STATUS <<_ACEOF |
|
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
- echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" |
|
- exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; |
|
-_ACEOF |
|
cat >>$CONFIG_STATUS <<\_ACEOF |
|
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
+ ac_cs_recheck=: ;; |
|
--version | --vers* | -V ) |
|
echo "$ac_cs_version"; exit 0 ;; |
|
--he | --h) |
|
@@ -4452,6 +4639,9 @@ |
|
$ac_shift |
|
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
|
ac_need_defaults=false;; |
|
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
+ | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
+ ac_cs_silent=: ;; |
|
|
|
# This is an error. |
|
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
|
@@ -4466,6 +4656,20 @@ |
|
shift |
|
done |
|
|
|
+ac_configure_extra_args= |
|
+ |
|
+if $ac_cs_silent; then |
|
+ exec 6>/dev/null |
|
+ ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
+fi |
|
+ |
|
+_ACEOF |
|
+cat >>$CONFIG_STATUS <<_ACEOF |
|
+if \$ac_cs_recheck; then |
|
+ echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
|
+ exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
+fi |
|
+ |
|
_ACEOF |
|
|
|
cat >>$CONFIG_STATUS <<_ACEOF |
|
@@ -4504,6 +4708,9 @@ |
|
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
fi |
|
|
|
+# Have a temporary directory for convenience. Make it in the build tree |
|
+# simply because there is no reason to put it here, and in addition, |
|
+# creating and moving files from /tmp can sometimes cause problems. |
|
# Create a temporary directory, and hook for its removal unless debugging. |
|
$debug || |
|
{ |
|
@@ -4512,17 +4719,17 @@ |
|
} |
|
|
|
# Create a (secure) tmp directory for tmp files. |
|
-: ${TMPDIR=/tmp} |
|
+ |
|
{ |
|
- tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && |
|
+ tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
|
test -n "$tmp" && test -d "$tmp" |
|
} || |
|
{ |
|
- tmp=$TMPDIR/cs$$-$RANDOM |
|
+ tmp=./confstat$$-$RANDOM |
|
(umask 077 && mkdir $tmp) |
|
} || |
|
{ |
|
- echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
|
+ echo "$me: cannot create a temporary directory in ." >&2 |
|
{ (exit 1); exit 1; } |
|
} |
|
|
|
@@ -4991,7 +5198,7 @@ |
|
cat $tmp/in >>$tmp/config.h |
|
rm -f $tmp/in |
|
if test x"$ac_file" != x-; then |
|
- if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
|
+ if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
|
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
|
echo "$as_me: $ac_file is unchanged" >&6;} |
|
else |
|
@@ -5223,8 +5430,11 @@ |
|
# need to make the FD available again. |
|
if test "$no_create" != yes; then |
|
ac_cs_success=: |
|
+ ac_config_status_args= |
|
+ test "$silent" = yes && |
|
+ ac_config_status_args="$ac_config_status_args --quiet" |
|
exec 5>/dev/null |
|
- $SHELL $CONFIG_STATUS || ac_cs_success=false |
|
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
exec 5>>config.log |
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
# would make configure fail if this is the last instruction.
|
|
|