diff options
| author | Sam Steingold | 2001-11-06 15:42:06 +0000 |
|---|---|---|
| committer | Sam Steingold | 2001-11-06 15:42:06 +0000 |
| commit | f0f2756d0e293c045f063652fd2e90ae1b433205 (patch) | |
| tree | 8eef72543aced8f0aff472041d25d9ce72ea7fa3 | |
| parent | 7a6a97d7b9e970e757c1a9c96412ca351207ea0c (diff) | |
| download | emacs-f0f2756d0e293c045f063652fd2e90ae1b433205.tar.gz emacs-f0f2756d0e293c045f063652fd2e90ae1b433205.zip | |
added a check for nlist.h
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rwxr-xr-x | configure | 76 | ||||
| -rw-r--r-- | configure.in | 3 |
3 files changed, 72 insertions, 12 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-11-06 Sam Steingold <sds@gnu.org> | ||
| 2 | |||
| 3 | * configure.in: Added a check for <nlist.h> | ||
| 4 | * configure: Regenerated. | ||
| 5 | |||
| 1 | 2001-11-02 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 6 | 2001-11-02 Pavel Jan,Bm(Bk <Pavel@Janik.cz> |
| 2 | 7 | ||
| 3 | * configure: Regenerated. | 8 | * configure: Regenerated. |
| @@ -12283,6 +12283,58 @@ EOF | |||
| 12283 | 12283 | ||
| 12284 | fi | 12284 | fi |
| 12285 | 12285 | ||
| 12286 | for ac_header in nlist.h | ||
| 12287 | do | ||
| 12288 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
| 12289 | echo "$as_me:12289: checking for $ac_header" >&5 | ||
| 12290 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
| 12291 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
| 12292 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
| 12293 | else | ||
| 12294 | cat >conftest.$ac_ext <<_ACEOF | ||
| 12295 | #line 12295 "configure" | ||
| 12296 | #include "confdefs.h" | ||
| 12297 | #include <$ac_header> | ||
| 12298 | _ACEOF | ||
| 12299 | if { (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 | ||
| 12312 | else | ||
| 12313 | ac_cpp_err=yes | ||
| 12314 | fi | ||
| 12315 | if test -z "$ac_cpp_err"; then | ||
| 12316 | eval "$as_ac_Header=yes" | ||
| 12317 | else | ||
| 12318 | echo "$as_me: failed program was:" >&5 | ||
| 12319 | cat conftest.$ac_ext >&5 | ||
| 12320 | eval "$as_ac_Header=no" | ||
| 12321 | fi | ||
| 12322 | rm -f conftest.err conftest.$ac_ext | ||
| 12323 | fi | ||
| 12324 | echo "$as_me:12324: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
| 12325 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
| 12326 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
| 12327 | cat >>confdefs.h <<EOF | ||
| 12328 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
| 12329 | EOF | ||
| 12330 | |||
| 12331 | cat >>confdefs.h <<\EOF | ||
| 12332 | #define NLIST_STRUCT 1 | ||
| 12333 | EOF | ||
| 12334 | |||
| 12335 | fi | ||
| 12336 | done | ||
| 12337 | |||
| 12286 | #### Report on what we decided to do. | 12338 | #### Report on what we decided to do. |
| 12287 | echo " | 12339 | echo " |
| 12288 | Configured for \`${canonical}'. | 12340 | Configured for \`${canonical}'. |
| @@ -12329,7 +12381,7 @@ test "${exec_prefix}" != NONE && | |||
| 12329 | ## C preprocessor. | 12381 | ## C preprocessor. |
| 12330 | 12382 | ||
| 12331 | cat >conftest.$ac_ext <<_ACEOF | 12383 | cat >conftest.$ac_ext <<_ACEOF |
| 12332 | #line 12332 "configure" | 12384 | #line 12384 "configure" |
| 12333 | #include "confdefs.h" | 12385 | #include "confdefs.h" |
| 12334 | yes..yes | 12386 | yes..yes |
| 12335 | _ACEOF | 12387 | _ACEOF |
| @@ -12422,7 +12474,7 @@ DEFS=-DHAVE_CONFIG_H | |||
| 12422 | : ${CONFIG_STATUS=./config.status} | 12474 | : ${CONFIG_STATUS=./config.status} |
| 12423 | ac_clean_files_save=$ac_clean_files | 12475 | ac_clean_files_save=$ac_clean_files |
| 12424 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 12476 | ac_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 |
| 12426 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 12478 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 12427 | cat >$CONFIG_STATUS <<_ACEOF | 12479 | cat >$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 |
| 12602 | Try \`$0 --help' for more information." >&5 | 12654 | Try \`$0 --help' for more information." >&5 |
| 12603 | echo "$as_me: error: ambiguous option: $1 | 12655 | echo "$as_me: error: ambiguous option: $1 |
| 12604 | Try \`$0 --help' for more information." >&2;} | 12656 | Try \`$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 |
| 12621 | Try \`$0 --help' for more information." >&5 | 12673 | Try \`$0 --help' for more information." >&5 |
| 12622 | echo "$as_me: error: unrecognized option: $1 | 12674 | echo "$as_me: error: unrecognized option: $1 |
| 12623 | Try \`$0 --help' for more information." >&2;} | 12675 | Try \`$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 |
| 12675 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 12727 | echo "$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 |
| 12922 | echo "$as_me: creating $ac_file" >&6;} | 12974 | echo "$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 |
| 12940 | echo "$as_me: error: cannot find input file: $f" >&2;} | 12992 | echo "$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 |
| 12953 | echo "$as_me: error: cannot find input file: $f" >&2;} | 13005 | echo "$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 |
| 13014 | echo "$as_me: creating $ac_file" >&6;} | 13066 | echo "$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 |
| 13025 | echo "$as_me: error: cannot find input file: $f" >&2;} | 13077 | echo "$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 |
| 13038 | echo "$as_me: error: cannot find input file: $f" >&2;} | 13090 | echo "$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 |
| 13155 | echo "$as_me: $ac_file is unchanged" >&6;} | 13207 | echo "$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) |
| 2219 | fi | 2219 | fi |
| 2220 | 2220 | ||
| 2221 | AC_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. |
| 2222 | echo " | 2225 | echo " |
| 2223 | Configured for \`${canonical}'. | 2226 | Configured for \`${canonical}'. |