aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Steingold2001-11-06 15:42:06 +0000
committerSam Steingold2001-11-06 15:42:06 +0000
commitf0f2756d0e293c045f063652fd2e90ae1b433205 (patch)
tree8eef72543aced8f0aff472041d25d9ce72ea7fa3
parent7a6a97d7b9e970e757c1a9c96412ca351207ea0c (diff)
downloademacs-f0f2756d0e293c045f063652fd2e90ae1b433205.tar.gz
emacs-f0f2756d0e293c045f063652fd2e90ae1b433205.zip
added a check for nlist.h
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure76
-rw-r--r--configure.in3
3 files changed, 72 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f2f3a6c168..2eee2d408fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
12001-11-06 Sam Steingold <sds@gnu.org>
2
3 * configure.in: Added a check for <nlist.h>
4 * configure: Regenerated.
5
12001-11-02 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 62001-11-02 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2 7
3 * configure: Regenerated. 8 * configure: Regenerated.
diff --git a/configure b/configure
index b58cb9498a5..96fc3cada93 100755
--- a/configure
+++ b/configure
@@ -12283,6 +12283,58 @@ EOF
12283 12283
12284fi 12284fi
12285 12285
12286for ac_header in nlist.h
12287do
12288as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12289echo "$as_me:12289: checking for $ac_header" >&5
12290echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12291if eval "test \"\${$as_ac_Header+set}\" = set"; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6
12293else
12294 cat >conftest.$ac_ext <<_ACEOF
12295#line 12295 "configure"
12296#include "confdefs.h"
12297#include <$ac_header>
12298_ACEOF
12299if { (eval echo "$as_me:12299: \"$ac_cpp conftest.$ac_ext\"") >&5
12300 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12301 ac_status=$?
12302 egrep -v '^ *\+' conftest.er1 >conftest.err
12303 rm -f conftest.er1
12304 cat conftest.err >&5
12305 echo "$as_me:12305: \$? = $ac_status" >&5
12306 (exit $ac_status); } >/dev/null; then
12307 if test -s conftest.err; then
12308 ac_cpp_err=$ac_c_preproc_warn_flag
12309 else
12310 ac_cpp_err=
12311 fi
12312else
12313 ac_cpp_err=yes
12314fi
12315if test -z "$ac_cpp_err"; then
12316 eval "$as_ac_Header=yes"
12317else
12318 echo "$as_me: failed program was:" >&5
12319 cat conftest.$ac_ext >&5
12320 eval "$as_ac_Header=no"
12321fi
12322rm -f conftest.err conftest.$ac_ext
12323fi
12324echo "$as_me:12324: result: `eval echo '${'$as_ac_Header'}'`" >&5
12325echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12326if test `eval echo '${'$as_ac_Header'}'` = yes; then
12327 cat >>confdefs.h <<EOF
12328#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12329EOF
12330
12331cat >>confdefs.h <<\EOF
12332#define NLIST_STRUCT 1
12333EOF
12334
12335fi
12336done
12337
12286#### Report on what we decided to do. 12338#### Report on what we decided to do.
12287echo " 12339echo "
12288Configured for \`${canonical}'. 12340Configured for \`${canonical}'.
@@ -12329,7 +12381,7 @@ test "${exec_prefix}" != NONE &&
12329## C preprocessor. 12381## C preprocessor.
12330 12382
12331cat >conftest.$ac_ext <<_ACEOF 12383cat >conftest.$ac_ext <<_ACEOF
12332#line 12332 "configure" 12384#line 12384 "configure"
12333#include "confdefs.h" 12385#include "confdefs.h"
12334yes..yes 12386yes..yes
12335_ACEOF 12387_ACEOF
@@ -12422,7 +12474,7 @@ DEFS=-DHAVE_CONFIG_H
12422: ${CONFIG_STATUS=./config.status} 12474: ${CONFIG_STATUS=./config.status}
12423ac_clean_files_save=$ac_clean_files 12475ac_clean_files_save=$ac_clean_files
12424ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12476ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12425{ echo "$as_me:12425: creating $CONFIG_STATUS" >&5 12477{ echo "$as_me:12477: creating $CONFIG_STATUS" >&5
12426echo "$as_me: creating $CONFIG_STATUS" >&6;} 12478echo "$as_me: creating $CONFIG_STATUS" >&6;}
12427cat >$CONFIG_STATUS <<_ACEOF 12479cat >$CONFIG_STATUS <<_ACEOF
12428#! $SHELL 12480#! $SHELL
@@ -12598,7 +12650,7 @@ cat >>$CONFIG_STATUS <<\EOF
12598 echo "$ac_cs_version"; exit 0 ;; 12650 echo "$ac_cs_version"; exit 0 ;;
12599 --he | --h) 12651 --he | --h)
12600 # Conflict between --help and --header 12652 # Conflict between --help and --header
12601 { { echo "$as_me:12601: error: ambiguous option: $1 12653 { { echo "$as_me:12653: error: ambiguous option: $1
12602Try \`$0 --help' for more information." >&5 12654Try \`$0 --help' for more information." >&5
12603echo "$as_me: error: ambiguous option: $1 12655echo "$as_me: error: ambiguous option: $1
12604Try \`$0 --help' for more information." >&2;} 12656Try \`$0 --help' for more information." >&2;}
@@ -12617,7 +12669,7 @@ Try \`$0 --help' for more information." >&2;}
12617 ac_need_defaults=false;; 12669 ac_need_defaults=false;;
12618 12670
12619 # This is an error. 12671 # This is an error.
12620 -*) { { echo "$as_me:12620: error: unrecognized option: $1 12672 -*) { { echo "$as_me:12672: error: unrecognized option: $1
12621Try \`$0 --help' for more information." >&5 12673Try \`$0 --help' for more information." >&5
12622echo "$as_me: error: unrecognized option: $1 12674echo "$as_me: error: unrecognized option: $1
12623Try \`$0 --help' for more information." >&2;} 12675Try \`$0 --help' for more information." >&2;}
@@ -12671,7 +12723,7 @@ do
12671 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; 12723 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
12672 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 12724 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
12673 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; 12725 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
12674 *) { { echo "$as_me:12674: error: invalid argument: $ac_config_target" >&5 12726 *) { { echo "$as_me:12726: error: invalid argument: $ac_config_target" >&5
12675echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12727echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12676 { (exit 1); exit 1; }; };; 12728 { (exit 1); exit 1; }; };;
12677 esac 12729 esac
@@ -12918,7 +12970,7 @@ done; }
12918 esac 12970 esac
12919 12971
12920 if test x"$ac_file" != x-; then 12972 if test x"$ac_file" != x-; then
12921 { echo "$as_me:12921: creating $ac_file" >&5 12973 { echo "$as_me:12973: creating $ac_file" >&5
12922echo "$as_me: creating $ac_file" >&6;} 12974echo "$as_me: creating $ac_file" >&6;}
12923 rm -f "$ac_file" 12975 rm -f "$ac_file"
12924 fi 12976 fi
@@ -12936,7 +12988,7 @@ echo "$as_me: creating $ac_file" >&6;}
12936 -) echo $tmp/stdin ;; 12988 -) echo $tmp/stdin ;;
12937 [\\/$]*) 12989 [\\/$]*)
12938 # Absolute (can't be DOS-style, as IFS=:) 12990 # Absolute (can't be DOS-style, as IFS=:)
12939 test -f "$f" || { { echo "$as_me:12939: error: cannot find input file: $f" >&5 12991 test -f "$f" || { { echo "$as_me:12991: error: cannot find input file: $f" >&5
12940echo "$as_me: error: cannot find input file: $f" >&2;} 12992echo "$as_me: error: cannot find input file: $f" >&2;}
12941 { (exit 1); exit 1; }; } 12993 { (exit 1); exit 1; }; }
12942 echo $f;; 12994 echo $f;;
@@ -12949,7 +13001,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
12949 echo $srcdir/$f 13001 echo $srcdir/$f
12950 else 13002 else
12951 # /dev/null tree 13003 # /dev/null tree
12952 { { echo "$as_me:12952: error: cannot find input file: $f" >&5 13004 { { echo "$as_me:13004: error: cannot find input file: $f" >&5
12953echo "$as_me: error: cannot find input file: $f" >&2;} 13005echo "$as_me: error: cannot find input file: $f" >&2;}
12954 { (exit 1); exit 1; }; } 13006 { (exit 1); exit 1; }; }
12955 fi;; 13007 fi;;
@@ -13010,7 +13062,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
13010 * ) ac_file_in=$ac_file.in ;; 13062 * ) ac_file_in=$ac_file.in ;;
13011 esac 13063 esac
13012 13064
13013 test x"$ac_file" != x- && { echo "$as_me:13013: creating $ac_file" >&5 13065 test x"$ac_file" != x- && { echo "$as_me:13065: creating $ac_file" >&5
13014echo "$as_me: creating $ac_file" >&6;} 13066echo "$as_me: creating $ac_file" >&6;}
13015 13067
13016 # First look for the input files in the build tree, otherwise in the 13068 # First look for the input files in the build tree, otherwise in the
@@ -13021,7 +13073,7 @@ echo "$as_me: creating $ac_file" >&6;}
13021 -) echo $tmp/stdin ;; 13073 -) echo $tmp/stdin ;;
13022 [\\/$]*) 13074 [\\/$]*)
13023 # Absolute (can't be DOS-style, as IFS=:) 13075 # Absolute (can't be DOS-style, as IFS=:)
13024 test -f "$f" || { { echo "$as_me:13024: error: cannot find input file: $f" >&5 13076 test -f "$f" || { { echo "$as_me:13076: error: cannot find input file: $f" >&5
13025echo "$as_me: error: cannot find input file: $f" >&2;} 13077echo "$as_me: error: cannot find input file: $f" >&2;}
13026 { (exit 1); exit 1; }; } 13078 { (exit 1); exit 1; }; }
13027 echo $f;; 13079 echo $f;;
@@ -13034,7 +13086,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
13034 echo $srcdir/$f 13086 echo $srcdir/$f
13035 else 13087 else
13036 # /dev/null tree 13088 # /dev/null tree
13037 { { echo "$as_me:13037: error: cannot find input file: $f" >&5 13089 { { echo "$as_me:13089: error: cannot find input file: $f" >&5
13038echo "$as_me: error: cannot find input file: $f" >&2;} 13090echo "$as_me: error: cannot find input file: $f" >&2;}
13039 { (exit 1); exit 1; }; } 13091 { (exit 1); exit 1; }; }
13040 fi;; 13092 fi;;
@@ -13151,7 +13203,7 @@ cat >>$CONFIG_STATUS <<\EOF
13151 rm -f $tmp/in 13203 rm -f $tmp/in
13152 if test x"$ac_file" != x-; then 13204 if test x"$ac_file" != x-; then
13153 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 13205 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
13154 { echo "$as_me:13154: $ac_file is unchanged" >&5 13206 { echo "$as_me:13206: $ac_file is unchanged" >&5
13155echo "$as_me: $ac_file is unchanged" >&6;} 13207echo "$as_me: $ac_file is unchanged" >&6;}
13156 else 13208 else
13157 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13209 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
diff --git a/configure.in b/configure.in
index 952e117fcfa..f9eb65fe144 100644
--- a/configure.in
+++ b/configure.in
@@ -2218,6 +2218,9 @@ if test "${REL_ALLOC}" = "yes" ; then
2218 AC_DEFINE(REL_ALLOC) 2218 AC_DEFINE(REL_ALLOC)
2219fi 2219fi
2220 2220
2221AC_CHECK_HEADERS(nlist.h, [AC_DEFINE(NLIST_STRUCT, 1,
2222 [Define if you have <nlist.h>.])])
2223
2221#### Report on what we decided to do. 2224#### Report on what we decided to do.
2222echo " 2225echo "
2223Configured for \`${canonical}'. 2226Configured for \`${canonical}'.