Mercurial > emacs
comparison configure @ 109653:9cfca8c9fb07
Fix missing prototypes for HAVE_NS (caused crash) and vrious warnings.
* configure.in: Check for util.h.
* src/bidi.c (bidi_dump_cached_states): Fix fprintf warning.
* src/emacs.c: Include src/nsterm.h if HAVE_NS.
* src/image.c (xpm_scan, xpm_make_color_table_v)
(xpm_put_color_table_v, xpm_get_color_table_v)
(xpm_make_color_table_h, xpm_put_color_table_h)
(xpm_get_color_table_h, xpm_str_to_color_key, xpm_load_image)
(xpm_load): Convert to ANSI C prototypes.
* src/lisp.h (fmod_float): Declare.
* src/menu.h (x_set_menu_bar_line): Declare.
(free_menubar_widget_value_tree et.al): Add HAVE_NS for these functions.
* src/window.c: Include menu.h.
* src/nsfns.m (have_menus_p, ns_display_info_for_name)
(x_set_cursor_type, ns_appkit_version_str)
(ns_appkit_version_int, ns_do_applescript)
(x_set_scroll_bar_default_width, x_sync, compute_tip_xy)
(syms_of_nsfns): Convert to ANSI C prototypes.
* src/nsfont.m (ns_fallback_entity, syms_of_nsfont): Convert to ANSI C
prototypes.
* src/nsimage.m (ns_load_image): Move NSTRACE after declarations.
* src/nsmenu.m (popup_activated, name_is_separator)
(syms_of_nsmenu): Convert to ANSI C prototypes.
(runMenuAt): Prototypes and move declarations before code.
* src/nsterm.h : Include sysselect.h.
(x_sync, x_get_focus_frame, x_set_mouse_position)
(x_set_mouse_pixel_position, x_make_frame_visible)
(x_make_frame_invisible, x_iconify_frame, x_char_width, x_char_height)
(x_pixel_width, x_pixel_height, x_set_frame_alpha, x_set_tool_bar_lines)
(x_activate_menubar, free_frame_menubar, ns_init_paths, ns_select)
(syms_of_nsterm, syms_of_nsfns, syms_of_nsmenu, syms_of_nsselect):
Declare
* src/process.c: Check HAVE_UTIL_H. Include src/nsterm.h if HAVE_NS.
* src/nsterm.m (ns_init_paths, ns_alloc_autorelease_pool)
(ns_ring_bell, ns_defined_color, hide_hourglass)
(x_display_pixel_height, x_display_pixel_width, syms_of_nsterm):
Convert to ANSI C prototypes.
(x_set_window_size, ns_draw_fringe_bitmap, judge): Move declarations
before code.
* src/sysdep.c: Check HAVE_TERM_H
* src/term.c: Check HAVE_SYS_IOCTL_H.
* src/unexmacosx.c (print_region_list, print_regions)
(build_region_list, find_emacs_zone_regions)
(unexec_regions_merge, read_load_commands, dump_it)
(unexec_init_emacs_zone): Convert to ANSI C prototypes.
* src/xfaces.c (x_create_gc, x_free_gc): Convert to ANSI C prototypes.
author | Jan D <jan.h.d@swipnet.se> |
---|---|
date | Fri, 06 Aug 2010 12:12:41 +0200 |
parents | d8dbbecff672 |
children | b862722704f6 |
comparison
equal
deleted
inserted
replaced
109652:eb720d8ea1c6 | 109653:9cfca8c9fb07 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.66 for emacs 24.0.50. | 3 # Generated by GNU Autoconf 2.65 for emacs 24.0.50. |
4 # | 4 # |
5 # | 5 # |
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
8 # Foundation, Inc. | 8 # Inc. |
9 # | 9 # |
10 # | 10 # |
11 # This configure script is free software; the Free Software Foundation | 11 # This configure script is free software; the Free Software Foundation |
12 # gives unlimited permission to copy, distribute and modify it. | 12 # gives unlimited permission to copy, distribute and modify it. |
13 ## -------------------- ## | 13 ## -------------------- ## |
314 } | 314 } |
315 s/.*/./; q'` | 315 s/.*/./; q'` |
316 test -d "$as_dir" && break | 316 test -d "$as_dir" && break |
317 done | 317 done |
318 test -z "$as_dirs" || eval "mkdir $as_dirs" | 318 test -z "$as_dirs" || eval "mkdir $as_dirs" |
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
320 | 320 |
321 | 321 |
322 } # as_fn_mkdir_p | 322 } # as_fn_mkdir_p |
323 # as_fn_append VAR VALUE | 323 # as_fn_append VAR VALUE |
324 # ---------------------- | 324 # ---------------------- |
354 as_val=`expr "$@" || test $? -eq 1` | 354 as_val=`expr "$@" || test $? -eq 1` |
355 } | 355 } |
356 fi # as_fn_arith | 356 fi # as_fn_arith |
357 | 357 |
358 | 358 |
359 # as_fn_error STATUS ERROR [LINENO LOG_FD] | 359 # as_fn_error ERROR [LINENO LOG_FD] |
360 # ---------------------------------------- | 360 # --------------------------------- |
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
363 # script with STATUS, using 1 if that was 0. | 363 # script with status $?, using 1 if that was 0. |
364 as_fn_error () | 364 as_fn_error () |
365 { | 365 { |
366 as_status=$1; test $as_status -eq 0 && as_status=1 | 366 as_status=$?; test $as_status -eq 0 && as_status=1 |
367 if test "$4"; then | 367 if test "$3"; then |
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
370 fi | 370 fi |
371 $as_echo "$as_me: error: $2" >&2 | 371 $as_echo "$as_me: error: $1" >&2 |
372 as_fn_exit $as_status | 372 as_fn_exit $as_status |
373 } # as_fn_error | 373 } # as_fn_error |
374 | 374 |
375 if expr a : '\(a\)' >/dev/null 2>&1 && | 375 if expr a : '\(a\)' >/dev/null 2>&1 && |
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
528 | 528 |
529 test -n "$DJDIR" || exec 7<&0 </dev/null | 529 test -n "$DJDIR" || exec 7<&0 </dev/null |
530 exec 6>&1 | 530 exec 6>&1 |
531 | 531 |
532 # Name of the host. | 532 # Name of the host. |
533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | 533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
534 # so uname gets run too. | 534 # so uname gets run too. |
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
536 | 536 |
537 # | 537 # |
538 # Initializations. | 538 # Initializations. |
948 | 948 |
949 -disable-* | --disable-*) | 949 -disable-* | --disable-*) |
950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
951 # Reject names that are not valid shell variable names. | 951 # Reject names that are not valid shell variable names. |
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
953 as_fn_error $? "invalid feature name: $ac_useropt" | 953 as_fn_error "invalid feature name: $ac_useropt" |
954 ac_useropt_orig=$ac_useropt | 954 ac_useropt_orig=$ac_useropt |
955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
956 case $ac_user_opts in | 956 case $ac_user_opts in |
957 *" | 957 *" |
958 "enable_$ac_useropt" | 958 "enable_$ac_useropt" |
974 | 974 |
975 -enable-* | --enable-*) | 975 -enable-* | --enable-*) |
976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
977 # Reject names that are not valid shell variable names. | 977 # Reject names that are not valid shell variable names. |
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
979 as_fn_error $? "invalid feature name: $ac_useropt" | 979 as_fn_error "invalid feature name: $ac_useropt" |
980 ac_useropt_orig=$ac_useropt | 980 ac_useropt_orig=$ac_useropt |
981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
982 case $ac_user_opts in | 982 case $ac_user_opts in |
983 *" | 983 *" |
984 "enable_$ac_useropt" | 984 "enable_$ac_useropt" |
1178 | 1178 |
1179 -with-* | --with-*) | 1179 -with-* | --with-*) |
1180 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1180 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1181 # Reject names that are not valid shell variable names. | 1181 # Reject names that are not valid shell variable names. |
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1183 as_fn_error $? "invalid package name: $ac_useropt" | 1183 as_fn_error "invalid package name: $ac_useropt" |
1184 ac_useropt_orig=$ac_useropt | 1184 ac_useropt_orig=$ac_useropt |
1185 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1185 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1186 case $ac_user_opts in | 1186 case $ac_user_opts in |
1187 *" | 1187 *" |
1188 "with_$ac_useropt" | 1188 "with_$ac_useropt" |
1194 | 1194 |
1195 -without-* | --without-*) | 1195 -without-* | --without-*) |
1196 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1196 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1197 # Reject names that are not valid shell variable names. | 1197 # Reject names that are not valid shell variable names. |
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1199 as_fn_error $? "invalid package name: $ac_useropt" | 1199 as_fn_error "invalid package name: $ac_useropt" |
1200 ac_useropt_orig=$ac_useropt | 1200 ac_useropt_orig=$ac_useropt |
1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1202 case $ac_user_opts in | 1202 case $ac_user_opts in |
1203 *" | 1203 *" |
1204 "with_$ac_useropt" | 1204 "with_$ac_useropt" |
1224 ac_prev=x_libraries ;; | 1224 ac_prev=x_libraries ;; |
1225 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1225 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1226 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1226 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1227 x_libraries=$ac_optarg ;; | 1227 x_libraries=$ac_optarg ;; |
1228 | 1228 |
1229 -*) as_fn_error $? "unrecognized option: \`$ac_option' | 1229 -*) as_fn_error "unrecognized option: \`$ac_option' |
1230 Try \`$0 --help' for more information" | 1230 Try \`$0 --help' for more information." |
1231 ;; | 1231 ;; |
1232 | 1232 |
1233 *=*) | 1233 *=*) |
1234 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1234 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1235 # Reject names that are not valid shell variable names. | 1235 # Reject names that are not valid shell variable names. |
1236 case $ac_envvar in #( | 1236 case $ac_envvar in #( |
1237 '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1237 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1238 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | 1238 as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1239 esac | 1239 esac |
1240 eval $ac_envvar=\$ac_optarg | 1240 eval $ac_envvar=\$ac_optarg |
1241 export $ac_envvar ;; | 1241 export $ac_envvar ;; |
1242 | 1242 |
1243 *) | 1243 *) |
1251 esac | 1251 esac |
1252 done | 1252 done |
1253 | 1253 |
1254 if test -n "$ac_prev"; then | 1254 if test -n "$ac_prev"; then |
1255 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1255 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1256 as_fn_error $? "missing argument to $ac_option" | 1256 as_fn_error "missing argument to $ac_option" |
1257 fi | 1257 fi |
1258 | 1258 |
1259 if test -n "$ac_unrecognized_opts"; then | 1259 if test -n "$ac_unrecognized_opts"; then |
1260 case $enable_option_checking in | 1260 case $enable_option_checking in |
1261 no) ;; | 1261 no) ;; |
1262 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | 1262 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1264 esac | 1264 esac |
1265 fi | 1265 fi |
1266 | 1266 |
1267 # Check all directory arguments for consistency. | 1267 # Check all directory arguments for consistency. |
1280 # Be sure to have absolute directory names. | 1280 # Be sure to have absolute directory names. |
1281 case $ac_val in | 1281 case $ac_val in |
1282 [\\/$]* | ?:[\\/]* ) continue;; | 1282 [\\/$]* | ?:[\\/]* ) continue;; |
1283 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1283 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1284 esac | 1284 esac |
1285 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | 1285 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1286 done | 1286 done |
1287 | 1287 |
1288 # There might be people who depend on the old broken behavior: `$host' | 1288 # There might be people who depend on the old broken behavior: `$host' |
1289 # used to hold the argument of --host etc. | 1289 # used to hold the argument of --host etc. |
1290 # FIXME: To remove some day. | 1290 # FIXME: To remove some day. |
1294 | 1294 |
1295 # FIXME: To remove some day. | 1295 # FIXME: To remove some day. |
1296 if test "x$host_alias" != x; then | 1296 if test "x$host_alias" != x; then |
1297 if test "x$build_alias" = x; then | 1297 if test "x$build_alias" = x; then |
1298 cross_compiling=maybe | 1298 cross_compiling=maybe |
1299 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | 1299 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1300 If a cross compiler is detected then cross compile mode will be used" >&2 | 1300 If a cross compiler is detected then cross compile mode will be used." >&2 |
1301 elif test "x$build_alias" != "x$host_alias"; then | 1301 elif test "x$build_alias" != "x$host_alias"; then |
1302 cross_compiling=yes | 1302 cross_compiling=yes |
1303 fi | 1303 fi |
1304 fi | 1304 fi |
1305 | 1305 |
1310 | 1310 |
1311 | 1311 |
1312 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1312 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1313 ac_ls_di=`ls -di .` && | 1313 ac_ls_di=`ls -di .` && |
1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1315 as_fn_error $? "working directory cannot be determined" | 1315 as_fn_error "working directory cannot be determined" |
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1317 as_fn_error $? "pwd does not report name of working directory" | 1317 as_fn_error "pwd does not report name of working directory" |
1318 | 1318 |
1319 | 1319 |
1320 # Find the source files, if location was not specified. | 1320 # Find the source files, if location was not specified. |
1321 if test -z "$srcdir"; then | 1321 if test -z "$srcdir"; then |
1322 ac_srcdir_defaulted=yes | 1322 ac_srcdir_defaulted=yes |
1351 else | 1351 else |
1352 ac_srcdir_defaulted=no | 1352 ac_srcdir_defaulted=no |
1353 fi | 1353 fi |
1354 if test ! -r "$srcdir/$ac_unique_file"; then | 1354 if test ! -r "$srcdir/$ac_unique_file"; then |
1355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1356 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | 1356 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1357 fi | 1357 fi |
1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1359 ac_abs_confdir=`( | 1359 ac_abs_confdir=`( |
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | 1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1361 pwd)` | 1361 pwd)` |
1362 # When building in place, set srcdir=. | 1362 # When building in place, set srcdir=. |
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1363 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1364 srcdir=. | 1364 srcdir=. |
1365 fi | 1365 fi |
1395 Configuration: | 1395 Configuration: |
1396 -h, --help display this help and exit | 1396 -h, --help display this help and exit |
1397 --help=short display options specific to this package | 1397 --help=short display options specific to this package |
1398 --help=recursive display the short help of all the included packages | 1398 --help=recursive display the short help of all the included packages |
1399 -V, --version display version information and exit | 1399 -V, --version display version information and exit |
1400 -q, --quiet, --silent do not print \`checking ...' messages | 1400 -q, --quiet, --silent do not print \`checking...' messages |
1401 --cache-file=FILE cache test results in FILE [disabled] | 1401 --cache-file=FILE cache test results in FILE [disabled] |
1402 -C, --config-cache alias for \`--cache-file=config.cache' | 1402 -C, --config-cache alias for \`--cache-file=config.cache' |
1403 -n, --no-create do not create output files | 1403 -n, --no-create do not create output files |
1404 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1404 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1405 | 1405 |
1611 | 1611 |
1612 test -n "$ac_init_help" && exit $ac_status | 1612 test -n "$ac_init_help" && exit $ac_status |
1613 if $ac_init_version; then | 1613 if $ac_init_version; then |
1614 cat <<\_ACEOF | 1614 cat <<\_ACEOF |
1615 emacs configure 24.0.50 | 1615 emacs configure 24.0.50 |
1616 generated by GNU Autoconf 2.66 | 1616 generated by GNU Autoconf 2.65 |
1617 | 1617 |
1618 Copyright (C) 2010 Free Software Foundation, Inc. | 1618 Copyright (C) 2009 Free Software Foundation, Inc. |
1619 This configure script is free software; the Free Software Foundation | 1619 This configure script is free software; the Free Software Foundation |
1620 gives unlimited permission to copy, distribute and modify it. | 1620 gives unlimited permission to copy, distribute and modify it. |
1621 _ACEOF | 1621 _ACEOF |
1622 exit | 1622 exit |
1623 fi | 1623 fi |
1753 # the include files in INCLUDES and setting the cache variable VAR | 1753 # the include files in INCLUDES and setting the cache variable VAR |
1754 # accordingly. | 1754 # accordingly. |
1755 ac_fn_c_check_header_mongrel () | 1755 ac_fn_c_check_header_mongrel () |
1756 { | 1756 { |
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1758 if eval "test \"\${$3+set}\"" = set; then : | 1758 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1760 $as_echo_n "checking for $2... " >&6; } | 1760 $as_echo_n "checking for $2... " >&6; } |
1761 if eval "test \"\${$3+set}\"" = set; then : | 1761 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1762 $as_echo_n "(cached) " >&6 | 1762 $as_echo_n "(cached) " >&6 |
1763 fi | 1763 fi |
1764 eval ac_res=\$$3 | 1764 eval ac_res=\$$3 |
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1766 $as_echo "$ac_res" >&6; } | 1766 $as_echo "$ac_res" >&6; } |
1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1820 ;; | 1820 ;; |
1821 esac | 1821 esac |
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1823 $as_echo_n "checking for $2... " >&6; } | 1823 $as_echo_n "checking for $2... " >&6; } |
1824 if eval "test \"\${$3+set}\"" = set; then : | 1824 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1825 $as_echo_n "(cached) " >&6 | 1825 $as_echo_n "(cached) " >&6 |
1826 else | 1826 else |
1827 eval "$3=\$ac_header_compiler" | 1827 eval "$3=\$ac_header_compiler" |
1828 fi | 1828 fi |
1829 eval ac_res=\$$3 | 1829 eval ac_res=\$$3 |
1883 ac_fn_c_check_header_compile () | 1883 ac_fn_c_check_header_compile () |
1884 { | 1884 { |
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1887 $as_echo_n "checking for $2... " >&6; } | 1887 $as_echo_n "checking for $2... " >&6; } |
1888 if eval "test \"\${$3+set}\"" = set; then : | 1888 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1889 $as_echo_n "(cached) " >&6 | 1889 $as_echo_n "(cached) " >&6 |
1890 else | 1890 else |
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1892 /* end confdefs.h. */ | 1892 /* end confdefs.h. */ |
1893 $4 | 1893 $4 |
1905 $as_echo "$ac_res" >&6; } | 1905 $as_echo "$ac_res" >&6; } |
1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1907 | 1907 |
1908 } # ac_fn_c_check_header_compile | 1908 } # ac_fn_c_check_header_compile |
1909 | 1909 |
1910 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES | 1910 # ac_fn_c_check_decl LINENO SYMBOL VAR |
1911 # --------------------------------------------- | 1911 # ------------------------------------ |
1912 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR | 1912 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. |
1913 # accordingly. | |
1914 ac_fn_c_check_decl () | 1913 ac_fn_c_check_decl () |
1915 { | 1914 { |
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1917 as_decl_name=`echo $2|sed 's/ *(.*//'` | 1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 |
1918 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` | 1917 $as_echo_n "checking whether $2 is declared... " >&6; } |
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 | 1918 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1920 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } | |
1921 if eval "test \"\${$3+set}\"" = set; then : | |
1922 $as_echo_n "(cached) " >&6 | 1919 $as_echo_n "(cached) " >&6 |
1923 else | 1920 else |
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1925 /* end confdefs.h. */ | 1922 /* end confdefs.h. */ |
1926 $4 | 1923 $4 |
1927 int | 1924 int |
1928 main () | 1925 main () |
1929 { | 1926 { |
1930 #ifndef $as_decl_name | 1927 #ifndef $2 |
1931 #ifdef __cplusplus | 1928 (void) $2; |
1932 (void) $as_decl_use; | |
1933 #else | |
1934 (void) $as_decl_name; | |
1935 #endif | |
1936 #endif | 1929 #endif |
1937 | 1930 |
1938 ; | 1931 ; |
1939 return 0; | 1932 return 0; |
1940 } | 1933 } |
1959 ac_fn_c_check_header_preproc () | 1952 ac_fn_c_check_header_preproc () |
1960 { | 1953 { |
1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1963 $as_echo_n "checking for $2... " >&6; } | 1956 $as_echo_n "checking for $2... " >&6; } |
1964 if eval "test \"\${$3+set}\"" = set; then : | 1957 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1965 $as_echo_n "(cached) " >&6 | 1958 $as_echo_n "(cached) " >&6 |
1966 else | 1959 else |
1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1968 /* end confdefs.h. */ | 1961 /* end confdefs.h. */ |
1969 #include <$2> | 1962 #include <$2> |
1989 ac_fn_c_check_member () | 1982 ac_fn_c_check_member () |
1990 { | 1983 { |
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1984 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1993 $as_echo_n "checking for $2.$3... " >&6; } | 1986 $as_echo_n "checking for $2.$3... " >&6; } |
1994 if eval "test \"\${$4+set}\"" = set; then : | 1987 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : |
1995 $as_echo_n "(cached) " >&6 | 1988 $as_echo_n "(cached) " >&6 |
1996 else | 1989 else |
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1998 /* end confdefs.h. */ | 1991 /* end confdefs.h. */ |
1999 $5 | 1992 $5 |
2045 ac_fn_c_check_func () | 2038 ac_fn_c_check_func () |
2046 { | 2039 { |
2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2049 $as_echo_n "checking for $2... " >&6; } | 2042 $as_echo_n "checking for $2... " >&6; } |
2050 if eval "test \"\${$3+set}\"" = set; then : | 2043 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2051 $as_echo_n "(cached) " >&6 | 2044 $as_echo_n "(cached) " >&6 |
2052 else | 2045 else |
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2054 /* end confdefs.h. */ | 2047 /* end confdefs.h. */ |
2055 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | 2048 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2113 ac_fn_c_check_type () | 2106 ac_fn_c_check_type () |
2114 { | 2107 { |
2115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2117 $as_echo_n "checking for $2... " >&6; } | 2110 $as_echo_n "checking for $2... " >&6; } |
2118 if eval "test \"\${$3+set}\"" = set; then : | 2111 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2119 $as_echo_n "(cached) " >&6 | 2112 $as_echo_n "(cached) " >&6 |
2120 else | 2113 else |
2121 eval "$3=no" | 2114 eval "$3=no" |
2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2123 /* end confdefs.h. */ | 2116 /* end confdefs.h. */ |
2162 cat >config.log <<_ACEOF | 2155 cat >config.log <<_ACEOF |
2163 This file contains any messages produced by compilers while | 2156 This file contains any messages produced by compilers while |
2164 running configure, to aid debugging if configure makes a mistake. | 2157 running configure, to aid debugging if configure makes a mistake. |
2165 | 2158 |
2166 It was created by emacs $as_me 24.0.50, which was | 2159 It was created by emacs $as_me 24.0.50, which was |
2167 generated by GNU Autoconf 2.66. Invocation command line was | 2160 generated by GNU Autoconf 2.65. Invocation command line was |
2168 | 2161 |
2169 $ $0 $@ | 2162 $ $0 $@ |
2170 | 2163 |
2171 _ACEOF | 2164 _ACEOF |
2172 exec 5>>config.log | 2165 exec 5>>config.log |
2272 trap 'exit_status=$? | 2265 trap 'exit_status=$? |
2273 # Save into config.log some information that might help in debugging. | 2266 # Save into config.log some information that might help in debugging. |
2274 { | 2267 { |
2275 echo | 2268 echo |
2276 | 2269 |
2277 $as_echo "## ---------------- ## | 2270 cat <<\_ASBOX |
2271 ## ---------------- ## | |
2278 ## Cache variables. ## | 2272 ## Cache variables. ## |
2279 ## ---------------- ##" | 2273 ## ---------------- ## |
2274 _ASBOX | |
2280 echo | 2275 echo |
2281 # The following way of writing the cache mishandles newlines in values, | 2276 # The following way of writing the cache mishandles newlines in values, |
2282 ( | 2277 ( |
2283 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 2278 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2284 eval ac_val=\$$ac_var | 2279 eval ac_val=\$$ac_var |
2308 esac | | 2303 esac | |
2309 sort | 2304 sort |
2310 ) | 2305 ) |
2311 echo | 2306 echo |
2312 | 2307 |
2313 $as_echo "## ----------------- ## | 2308 cat <<\_ASBOX |
2309 ## ----------------- ## | |
2314 ## Output variables. ## | 2310 ## Output variables. ## |
2315 ## ----------------- ##" | 2311 ## ----------------- ## |
2312 _ASBOX | |
2316 echo | 2313 echo |
2317 for ac_var in $ac_subst_vars | 2314 for ac_var in $ac_subst_vars |
2318 do | 2315 do |
2319 eval ac_val=\$$ac_var | 2316 eval ac_val=\$$ac_var |
2320 case $ac_val in | 2317 case $ac_val in |
2323 $as_echo "$ac_var='\''$ac_val'\''" | 2320 $as_echo "$ac_var='\''$ac_val'\''" |
2324 done | sort | 2321 done | sort |
2325 echo | 2322 echo |
2326 | 2323 |
2327 if test -n "$ac_subst_files"; then | 2324 if test -n "$ac_subst_files"; then |
2328 $as_echo "## ------------------- ## | 2325 cat <<\_ASBOX |
2326 ## ------------------- ## | |
2329 ## File substitutions. ## | 2327 ## File substitutions. ## |
2330 ## ------------------- ##" | 2328 ## ------------------- ## |
2329 _ASBOX | |
2331 echo | 2330 echo |
2332 for ac_var in $ac_subst_files | 2331 for ac_var in $ac_subst_files |
2333 do | 2332 do |
2334 eval ac_val=\$$ac_var | 2333 eval ac_val=\$$ac_var |
2335 case $ac_val in | 2334 case $ac_val in |
2339 done | sort | 2338 done | sort |
2340 echo | 2339 echo |
2341 fi | 2340 fi |
2342 | 2341 |
2343 if test -s confdefs.h; then | 2342 if test -s confdefs.h; then |
2344 $as_echo "## ----------- ## | 2343 cat <<\_ASBOX |
2344 ## ----------- ## | |
2345 ## confdefs.h. ## | 2345 ## confdefs.h. ## |
2346 ## ----------- ##" | 2346 ## ----------- ## |
2347 _ASBOX | |
2347 echo | 2348 echo |
2348 cat confdefs.h | 2349 cat confdefs.h |
2349 echo | 2350 echo |
2350 fi | 2351 fi |
2351 test "$ac_signal" != 0 && | 2352 test "$ac_signal" != 0 && |
2396 # Let the site file select an alternate cache file if it wants to. | 2397 # Let the site file select an alternate cache file if it wants to. |
2397 # Prefer an explicitly selected file to automatically selected ones. | 2398 # Prefer an explicitly selected file to automatically selected ones. |
2398 ac_site_file1=NONE | 2399 ac_site_file1=NONE |
2399 ac_site_file2=NONE | 2400 ac_site_file2=NONE |
2400 if test -n "$CONFIG_SITE"; then | 2401 if test -n "$CONFIG_SITE"; then |
2401 # We do not want a PATH search for config.site. | 2402 ac_site_file1=$CONFIG_SITE |
2402 case $CONFIG_SITE in #(( | |
2403 -*) ac_site_file1=./$CONFIG_SITE;; | |
2404 */*) ac_site_file1=$CONFIG_SITE;; | |
2405 *) ac_site_file1=./$CONFIG_SITE;; | |
2406 esac | |
2407 elif test "x$prefix" != xNONE; then | 2403 elif test "x$prefix" != xNONE; then |
2408 ac_site_file1=$prefix/share/config.site | 2404 ac_site_file1=$prefix/share/config.site |
2409 ac_site_file2=$prefix/etc/config.site | 2405 ac_site_file2=$prefix/etc/config.site |
2410 else | 2406 else |
2411 ac_site_file1=$ac_default_prefix/share/config.site | 2407 ac_site_file1=$ac_default_prefix/share/config.site |
2416 test "x$ac_site_file" = xNONE && continue | 2412 test "x$ac_site_file" = xNONE && continue |
2417 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 2413 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2419 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2415 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2420 sed 's/^/| /' "$ac_site_file" >&5 | 2416 sed 's/^/| /' "$ac_site_file" >&5 |
2421 . "$ac_site_file" \ | 2417 . "$ac_site_file" |
2422 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2424 as_fn_error $? "failed to load site script $ac_site_file | |
2425 See \`config.log' for more details" "$LINENO" 5; } | |
2426 fi | 2418 fi |
2427 done | 2419 done |
2428 | 2420 |
2429 if test -r "$cache_file"; then | 2421 if test -r "$cache_file"; then |
2430 # Some versions of bash will fail to source /dev/null (special files | 2422 # Some versions of bash will fail to source /dev/null (special files |
2501 if $ac_cache_corrupted; then | 2493 if $ac_cache_corrupted; then |
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2494 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2505 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2497 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2506 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2498 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2507 fi | 2499 fi |
2508 ## -------------------- ## | 2500 ## -------------------- ## |
2509 ## Main body of script. ## | 2501 ## Main body of script. ## |
2510 ## -------------------- ## | 2502 ## -------------------- ## |
2511 | 2503 |
2675 a | at | ath | athe | athen | athena ) val=athena ;; | 2667 a | at | ath | athe | athen | athena ) val=athena ;; |
2676 m | mo | mot | moti | motif ) val=motif ;; | 2668 m | mo | mot | moti | motif ) val=motif ;; |
2677 g | gt | gtk ) val=gtk ;; | 2669 g | gt | gtk ) val=gtk ;; |
2678 gtk3 ) val=gtk3 ;; | 2670 gtk3 ) val=gtk3 ;; |
2679 * ) | 2671 * ) |
2680 as_fn_error $? "\`--with-x-toolkit=$withval' is invalid; | 2672 as_fn_error "\`--with-x-toolkit=$withval' is invalid; |
2681 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or | 2673 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or |
2682 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 | 2674 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 |
2683 ;; | 2675 ;; |
2684 esac | 2676 esac |
2685 with_x_toolkit=$val | 2677 with_x_toolkit=$val |
2954 stringbytes) ac_gc_check_stringbytes=1 ;; | 2946 stringbytes) ac_gc_check_stringbytes=1 ;; |
2955 stringoverrun) ac_gc_check_string_overrun=1 ;; | 2947 stringoverrun) ac_gc_check_string_overrun=1 ;; |
2956 stringfreelist) ac_gc_check_string_free_list=1 ;; | 2948 stringfreelist) ac_gc_check_string_free_list=1 ;; |
2957 xmallocoverrun) ac_xmalloc_overrun=1 ;; | 2949 xmallocoverrun) ac_xmalloc_overrun=1 ;; |
2958 conslist) ac_gc_check_cons_list=1 ;; | 2950 conslist) ac_gc_check_cons_list=1 ;; |
2959 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;; | 2951 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; |
2960 esac | 2952 esac |
2961 done | 2953 done |
2962 IFS="$ac_save_IFS" | 2954 IFS="$ac_save_IFS" |
2963 | 2955 |
2964 if test x$ac_enable_checking != x ; then | 2956 if test x$ac_enable_checking != x ; then |
3072 | 3064 |
3073 ### Canonicalize the configuration name. | 3065 ### Canonicalize the configuration name. |
3074 | 3066 |
3075 ac_aux_dir= | 3067 ac_aux_dir= |
3076 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 3068 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3077 if test -f "$ac_dir/install-sh"; then | 3069 for ac_t in install-sh install.sh shtool; do |
3078 ac_aux_dir=$ac_dir | 3070 if test -f "$ac_dir/$ac_t"; then |
3079 ac_install_sh="$ac_aux_dir/install-sh -c" | 3071 ac_aux_dir=$ac_dir |
3080 break | 3072 ac_install_sh="$ac_aux_dir/$ac_t -c" |
3081 elif test -f "$ac_dir/install.sh"; then | 3073 break 2 |
3082 ac_aux_dir=$ac_dir | 3074 fi |
3083 ac_install_sh="$ac_aux_dir/install.sh -c" | 3075 done |
3084 break | |
3085 elif test -f "$ac_dir/shtool"; then | |
3086 ac_aux_dir=$ac_dir | |
3087 ac_install_sh="$ac_aux_dir/shtool install -c" | |
3088 break | |
3089 fi | |
3090 done | 3076 done |
3091 if test -z "$ac_aux_dir"; then | 3077 if test -z "$ac_aux_dir"; then |
3092 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 3078 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3093 fi | 3079 fi |
3094 | 3080 |
3095 # These three variables are undocumented and unsupported, | 3081 # These three variables are undocumented and unsupported, |
3096 # and are intended to be withdrawn in a future Autoconf release. | 3082 # and are intended to be withdrawn in a future Autoconf release. |
3097 # They can cause serious problems if a builder's source tree is in a directory | 3083 # They can cause serious problems if a builder's source tree is in a directory |
3101 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | 3087 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
3102 | 3088 |
3103 | 3089 |
3104 # Make sure we can run config.sub. | 3090 # Make sure we can run config.sub. |
3105 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 3091 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3106 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 3092 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
3107 | 3093 |
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
3109 $as_echo_n "checking build system type... " >&6; } | 3095 $as_echo_n "checking build system type... " >&6; } |
3110 if test "${ac_cv_build+set}" = set; then : | 3096 if test "${ac_cv_build+set}" = set; then : |
3111 $as_echo_n "(cached) " >&6 | 3097 $as_echo_n "(cached) " >&6 |
3112 else | 3098 else |
3113 ac_build_alias=$build_alias | 3099 ac_build_alias=$build_alias |
3114 test "x$ac_build_alias" = x && | 3100 test "x$ac_build_alias" = x && |
3115 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 3101 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3116 test "x$ac_build_alias" = x && | 3102 test "x$ac_build_alias" = x && |
3117 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | 3103 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
3118 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 3104 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3119 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 3105 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
3120 | 3106 |
3121 fi | 3107 fi |
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
3123 $as_echo "$ac_cv_build" >&6; } | 3109 $as_echo "$ac_cv_build" >&6; } |
3124 case $ac_cv_build in | 3110 case $ac_cv_build in |
3125 *-*-*) ;; | 3111 *-*-*) ;; |
3126 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | 3112 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
3127 esac | 3113 esac |
3128 build=$ac_cv_build | 3114 build=$ac_cv_build |
3129 ac_save_IFS=$IFS; IFS='-' | 3115 ac_save_IFS=$IFS; IFS='-' |
3130 set x $ac_cv_build | 3116 set x $ac_cv_build |
3131 shift | 3117 shift |
3146 else | 3132 else |
3147 if test "x$host_alias" = x; then | 3133 if test "x$host_alias" = x; then |
3148 ac_cv_host=$ac_cv_build | 3134 ac_cv_host=$ac_cv_build |
3149 else | 3135 else |
3150 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 3136 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3151 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 3137 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
3152 fi | 3138 fi |
3153 | 3139 |
3154 fi | 3140 fi |
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
3156 $as_echo "$ac_cv_host" >&6; } | 3142 $as_echo "$ac_cv_host" >&6; } |
3157 case $ac_cv_host in | 3143 case $ac_cv_host in |
3158 *-*-*) ;; | 3144 *-*-*) ;; |
3159 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | 3145 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
3160 esac | 3146 esac |
3161 host=$ac_cv_host | 3147 host=$ac_cv_host |
3162 ac_save_IFS=$IFS; IFS='-' | 3148 ac_save_IFS=$IFS; IFS='-' |
3163 set x $ac_cv_host | 3149 set x $ac_cv_host |
3164 shift | 3150 shift |
3448 fi | 3434 fi |
3449 | 3435 |
3450 | 3436 |
3451 | 3437 |
3452 if test $unported = yes; then | 3438 if test $unported = yes; then |
3453 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems. | 3439 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. |
3454 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 | 3440 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 |
3455 fi | 3441 fi |
3456 | 3442 |
3457 machfile="m/${machine}.h" | 3443 machfile="m/${machine}.h" |
3458 opsysfile="s/${opsys}.h" | 3444 opsysfile="s/${opsys}.h" |
3762 fi | 3748 fi |
3763 | 3749 |
3764 | 3750 |
3765 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3751 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3767 as_fn_error $? "no acceptable C compiler found in \$PATH | 3753 as_fn_error "no acceptable C compiler found in \$PATH |
3768 See \`config.log' for more details" "$LINENO" 5; } | 3754 See \`config.log' for more details." "$LINENO" 5; } |
3769 | 3755 |
3770 # Provide some information about the compiler. | 3756 # Provide some information about the compiler. |
3771 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3757 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3772 set X $ac_compile | 3758 set X $ac_compile |
3773 ac_compiler=$2 | 3759 ac_compiler=$2 |
3877 $as_echo "$as_me: failed program was:" >&5 | 3863 $as_echo "$as_me: failed program was:" >&5 |
3878 sed 's/^/| /' conftest.$ac_ext >&5 | 3864 sed 's/^/| /' conftest.$ac_ext >&5 |
3879 | 3865 |
3880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3882 as_fn_error 77 "C compiler cannot create executables | 3868 { as_fn_set_status 77 |
3883 See \`config.log' for more details" "$LINENO" 5; } | 3869 as_fn_error "C compiler cannot create executables |
3870 See \`config.log' for more details." "$LINENO" 5; }; } | |
3884 else | 3871 else |
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3886 $as_echo "yes" >&6; } | 3873 $as_echo "yes" >&6; } |
3887 fi | 3874 fi |
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3920 esac | 3907 esac |
3921 done | 3908 done |
3922 else | 3909 else |
3923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3910 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3925 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 3912 as_fn_error "cannot compute suffix of executables: cannot compile and link |
3926 See \`config.log' for more details" "$LINENO" 5; } | 3913 See \`config.log' for more details." "$LINENO" 5; } |
3927 fi | 3914 fi |
3928 rm -f conftest conftest$ac_cv_exeext | 3915 rm -f conftest conftest$ac_cv_exeext |
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3930 $as_echo "$ac_cv_exeext" >&6; } | 3917 $as_echo "$ac_cv_exeext" >&6; } |
3931 | 3918 |
3978 if test "$cross_compiling" = maybe; then | 3965 if test "$cross_compiling" = maybe; then |
3979 cross_compiling=yes | 3966 cross_compiling=yes |
3980 else | 3967 else |
3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3983 as_fn_error $? "cannot run C compiled programs. | 3970 as_fn_error "cannot run C compiled programs. |
3984 If you meant to cross compile, use \`--host'. | 3971 If you meant to cross compile, use \`--host'. |
3985 See \`config.log' for more details" "$LINENO" 5; } | 3972 See \`config.log' for more details." "$LINENO" 5; } |
3986 fi | 3973 fi |
3987 fi | 3974 fi |
3988 fi | 3975 fi |
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3990 $as_echo "$cross_compiling" >&6; } | 3977 $as_echo "$cross_compiling" >&6; } |
4031 $as_echo "$as_me: failed program was:" >&5 | 4018 $as_echo "$as_me: failed program was:" >&5 |
4032 sed 's/^/| /' conftest.$ac_ext >&5 | 4019 sed 's/^/| /' conftest.$ac_ext >&5 |
4033 | 4020 |
4034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4036 as_fn_error $? "cannot compute suffix of object files: cannot compile | 4023 as_fn_error "cannot compute suffix of object files: cannot compile |
4037 See \`config.log' for more details" "$LINENO" 5; } | 4024 See \`config.log' for more details." "$LINENO" 5; } |
4038 fi | 4025 fi |
4039 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 4026 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4040 fi | 4027 fi |
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4042 $as_echo "$ac_cv_objext" >&6; } | 4029 $as_echo "$ac_cv_objext" >&6; } |
4449 if $ac_preproc_ok; then : | 4436 if $ac_preproc_ok; then : |
4450 | 4437 |
4451 else | 4438 else |
4452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4454 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 4441 as_fn_error "C preprocessor \"$CPP\" fails sanity check |
4455 See \`config.log' for more details" "$LINENO" 5; } | 4442 See \`config.log' for more details." "$LINENO" 5; } |
4456 fi | 4443 fi |
4457 | 4444 |
4458 ac_ext=c | 4445 ac_ext=c |
4459 ac_cpp='$CPP $CPPFLAGS' | 4446 ac_cpp='$CPP $CPPFLAGS' |
4460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4511 done | 4498 done |
4512 done | 4499 done |
4513 done | 4500 done |
4514 IFS=$as_save_IFS | 4501 IFS=$as_save_IFS |
4515 if test -z "$ac_cv_path_GREP"; then | 4502 if test -z "$ac_cv_path_GREP"; then |
4516 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4503 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4517 fi | 4504 fi |
4518 else | 4505 else |
4519 ac_cv_path_GREP=$GREP | 4506 ac_cv_path_GREP=$GREP |
4520 fi | 4507 fi |
4521 | 4508 |
4577 done | 4564 done |
4578 done | 4565 done |
4579 done | 4566 done |
4580 IFS=$as_save_IFS | 4567 IFS=$as_save_IFS |
4581 if test -z "$ac_cv_path_EGREP"; then | 4568 if test -z "$ac_cv_path_EGREP"; then |
4582 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4569 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4583 fi | 4570 fi |
4584 else | 4571 else |
4585 ac_cv_path_EGREP=$EGREP | 4572 ac_cv_path_EGREP=$EGREP |
4586 fi | 4573 fi |
4587 | 4574 |
4709 inttypes.h stdint.h unistd.h | 4696 inttypes.h stdint.h unistd.h |
4710 do : | 4697 do : |
4711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4698 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4712 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4699 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4713 " | 4700 " |
4714 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4701 eval as_val=\$$as_ac_Header |
4702 if test "x$as_val" = x""yes; then : | |
4715 cat >>confdefs.h <<_ACEOF | 4703 cat >>confdefs.h <<_ACEOF |
4716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4717 _ACEOF | 4705 _ACEOF |
4718 | 4706 |
4719 fi | 4707 fi |
5006 if $ac_preproc_ok; then : | 4994 if $ac_preproc_ok; then : |
5007 | 4995 |
5008 else | 4996 else |
5009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4997 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5011 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 4999 as_fn_error "C preprocessor \"$CPP\" fails sanity check |
5012 See \`config.log' for more details" "$LINENO" 5; } | 5000 See \`config.log' for more details." "$LINENO" 5; } |
5013 fi | 5001 fi |
5014 | 5002 |
5015 ac_ext=c | 5003 ac_ext=c |
5016 ac_cpp='$CPP $CPPFLAGS' | 5004 ac_cpp='$CPP $CPPFLAGS' |
5017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5444 ## with pre-built manuals, from a Bazaar checkout. | 5432 ## with pre-built manuals, from a Bazaar checkout. |
5445 if test "$MAKEINFO" = "no"; then | 5433 if test "$MAKEINFO" = "no"; then |
5446 if test "x${with_makeinfo}" = "xno"; then | 5434 if test "x${with_makeinfo}" = "xno"; then |
5447 MAKEINFO=off | 5435 MAKEINFO=off |
5448 elif test ! -e $srcdir/info/emacs; then | 5436 elif test ! -e $srcdir/info/emacs; then |
5449 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your | 5437 as_fn_error "You do not seem to have makeinfo >= 4.6, and your |
5450 source tree does not seem to have pre-built manuals in the \`info' directory. | 5438 source tree does not seem to have pre-built manuals in the \`info' directory. |
5451 Either install a suitable version of makeinfo, or re-run configure | 5439 Either install a suitable version of makeinfo, or re-run configure |
5452 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 | 5440 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 |
5453 fi | 5441 fi |
5454 fi | 5442 fi |
5598 ## GNU libc, __malloc_initialized would normally be resolved to the | 5586 ## GNU libc, __malloc_initialized would normally be resolved to the |
5599 ## shared library's .bss section, which is fatal. | 5587 ## shared library's .bss section, which is fatal. |
5600 if test "x$GCC" = "xyes"; then | 5588 if test "x$GCC" = "xyes"; then |
5601 C_SWITCH_MACHINE="-fno-common" | 5589 C_SWITCH_MACHINE="-fno-common" |
5602 else | 5590 else |
5603 as_fn_error $? "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 | 5591 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 |
5604 fi | 5592 fi |
5605 else | 5593 else |
5606 UNEXEC_OBJ=unexalpha.o | 5594 UNEXEC_OBJ=unexalpha.o |
5607 fi | 5595 fi |
5608 fi | 5596 fi |
5876 else | 5864 else |
5877 | 5865 |
5878 ## Some platforms don't use any of these files, so it is not | 5866 ## Some platforms don't use any of these files, so it is not |
5879 ## appropriate to put this test outside the if block. | 5867 ## appropriate to put this test outside the if block. |
5880 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ | 5868 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ |
5881 as_fn_error $? "crt*.o not found in specified location." "$LINENO" 5 | 5869 as_fn_error "crt*.o not found in specified location." "$LINENO" 5 |
5882 | 5870 |
5883 fi | 5871 fi |
5884 | 5872 |
5885 | 5873 |
5886 | 5874 |
5931 # Sound support for GNU/Linux and the free BSDs. | 5919 # Sound support for GNU/Linux and the free BSDs. |
5932 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 5920 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
5933 do : | 5921 do : |
5934 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5922 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5935 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 5923 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
5936 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5924 eval as_val=\$$as_ac_Header |
5925 if test "x$as_val" = x""yes; then : | |
5937 cat >>confdefs.h <<_ACEOF | 5926 cat >>confdefs.h <<_ACEOF |
5938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5939 _ACEOF | 5928 _ACEOF |
5940 have_sound_header=yes | 5929 have_sound_header=yes |
5941 fi | 5930 fi |
6122 else | 6111 else |
6123 emacs_alsa_subdir=no | 6112 emacs_alsa_subdir=no |
6124 fi | 6113 fi |
6125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6126 if test "$emacs_alsa_subdir" != yes; then | 6115 if test "$emacs_alsa_subdir" != yes; then |
6127 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 | 6116 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 |
6128 fi | 6117 fi |
6129 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" | 6118 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" |
6130 fi | 6119 fi |
6131 | 6120 |
6132 CFLAGS="$SAVE_CFLAGS" | 6121 CFLAGS="$SAVE_CFLAGS" |
6153 | 6142 |
6154 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | 6143 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ |
6155 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 6144 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
6156 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ | 6145 stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ |
6157 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 6146 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
6158 sys/utsname.h pwd.h utmp.h dirent.h | 6147 sys/utsname.h pwd.h utmp.h dirent.h util.h |
6159 do : | 6148 do : |
6160 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6149 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6161 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6150 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6162 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 6151 eval as_val=\$$as_ac_Header |
6152 if test "x$as_val" = x""yes; then : | |
6163 cat >>confdefs.h <<_ACEOF | 6153 cat >>confdefs.h <<_ACEOF |
6164 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6154 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6165 _ACEOF | 6155 _ACEOF |
6166 | 6156 |
6167 fi | 6157 fi |
6999 | 6989 |
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
7001 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 6991 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
7002 set x ${MAKE-make} | 6992 set x ${MAKE-make} |
7003 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 6993 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
7004 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : | 6994 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
7005 $as_echo_n "(cached) " >&6 | 6995 $as_echo_n "(cached) " >&6 |
7006 else | 6996 else |
7007 cat >conftest.make <<\_ACEOF | 6997 cat >conftest.make <<\_ACEOF |
7008 SHELL = /bin/sh | 6998 SHELL = /bin/sh |
7009 all: | 6999 all: |
7010 @echo '@@@%%%=$(MAKE)=@@@%%%' | 7000 @echo '@@@%%%=$(MAKE)=@@@%%%' |
7011 _ACEOF | 7001 _ACEOF |
7012 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | 7002 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
7013 case `${MAKE-make} -f conftest.make 2>/dev/null` in | 7003 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
7014 *@@@%%%=?*=@@@%%%*) | 7004 *@@@%%%=?*=@@@%%%*) |
7015 eval ac_cv_prog_make_${ac_make}_set=yes;; | 7005 eval ac_cv_prog_make_${ac_make}_set=yes;; |
7016 *) | 7006 *) |
7017 eval ac_cv_prog_make_${ac_make}_set=no;; | 7007 eval ac_cv_prog_make_${ac_make}_set=no;; |
7143 if test "x$with_x" = xno; then | 7133 if test "x$with_x" = xno; then |
7144 # The user explicitly disabled X. | 7134 # The user explicitly disabled X. |
7145 have_x=disabled | 7135 have_x=disabled |
7146 else | 7136 else |
7147 case $x_includes,$x_libraries in #( | 7137 case $x_includes,$x_libraries in #( |
7148 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( | 7138 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( |
7149 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : | 7139 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
7150 $as_echo_n "(cached) " >&6 | 7140 $as_echo_n "(cached) " >&6 |
7151 else | 7141 else |
7152 # One or both of the vars are not set, and there is no cached value. | 7142 # One or both of the vars are not set, and there is no cached value. |
7153 ac_x_includes=no ac_x_libraries=no | 7143 ac_x_includes=no ac_x_libraries=no |
7161 @echo usrlibdir='${USRLIBDIR}' | 7151 @echo usrlibdir='${USRLIBDIR}' |
7162 libdir: | 7152 libdir: |
7163 @echo libdir='${LIBDIR}' | 7153 @echo libdir='${LIBDIR}' |
7164 _ACEOF | 7154 _ACEOF |
7165 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then | 7155 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
7166 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | 7156 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
7167 for ac_var in incroot usrlibdir libdir; do | 7157 for ac_var in incroot usrlibdir libdir; do |
7168 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" | 7158 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" |
7169 done | 7159 done |
7170 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | 7160 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
7171 for ac_extension in a so sl dylib la dll; do | 7161 for ac_extension in a so sl dylib la dll; do |
7430 fi | 7420 fi |
7431 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" | 7421 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" |
7432 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : | 7422 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : |
7433 HAVE_NS=yes | 7423 HAVE_NS=yes |
7434 else | 7424 else |
7435 as_fn_error $? "\`--with-ns' was specified, but the include | 7425 as_fn_error "\`--with-ns' was specified, but the include |
7436 files are missing or cannot be compiled." "$LINENO" 5 | 7426 files are missing or cannot be compiled." "$LINENO" 5 |
7437 fi | 7427 fi |
7438 | 7428 |
7439 | 7429 |
7440 NS_HAVE_NSINTEGER=yes | 7430 NS_HAVE_NSINTEGER=yes |
7546 | 7536 |
7547 | 7537 |
7548 if test "$HAVE_XSERVER" = true || | 7538 if test "$HAVE_XSERVER" = true || |
7549 test -n "$DISPLAY" || | 7539 test -n "$DISPLAY" || |
7550 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | 7540 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then |
7551 as_fn_error $? "You seem to be running X, but no X development libraries | 7541 as_fn_error "You seem to be running X, but no X development libraries |
7552 were found. You should install the relevant development files for X | 7542 were found. You should install the relevant development files for X |
7553 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | 7543 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make |
7554 sure you have development files for image handling, i.e. | 7544 sure you have development files for image handling, i.e. |
7555 tiff, gif, jpeg, png and xpm. | 7545 tiff, gif, jpeg, png and xpm. |
7556 If you are sure you want Emacs compiled without X window support, pass | 7546 If you are sure you want Emacs compiled without X window support, pass |
7669 for ac_header in $ac_header_list | 7659 for ac_header in $ac_header_list |
7670 do : | 7660 do : |
7671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7661 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 7662 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7673 " | 7663 " |
7674 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 7664 eval as_val=\$$as_ac_Header |
7665 if test "x$as_val" = x""yes; then : | |
7675 cat >>confdefs.h <<_ACEOF | 7666 cat >>confdefs.h <<_ACEOF |
7676 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7667 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7677 _ACEOF | 7668 _ACEOF |
7678 | 7669 |
7679 fi | 7670 fi |
7775 | 7766 |
7776 int | 7767 int |
7777 main () | 7768 main () |
7778 { | 7769 { |
7779 char *data, *data2, *data3; | 7770 char *data, *data2, *data3; |
7780 const char *cdata2; | |
7781 int i, pagesize; | 7771 int i, pagesize; |
7782 int fd, fd2; | 7772 int fd, fd2; |
7783 | 7773 |
7784 pagesize = getpagesize (); | 7774 pagesize = getpagesize (); |
7785 | 7775 |
7800 /* Next, check that the tail of a page is zero-filled. File must have | 7790 /* Next, check that the tail of a page is zero-filled. File must have |
7801 non-zero length, otherwise we risk SIGBUS for entire page. */ | 7791 non-zero length, otherwise we risk SIGBUS for entire page. */ |
7802 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); | 7792 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); |
7803 if (fd2 < 0) | 7793 if (fd2 < 0) |
7804 return 4; | 7794 return 4; |
7805 cdata2 = ""; | 7795 data2 = ""; |
7806 if (write (fd2, cdata2, 1) != 1) | 7796 if (write (fd2, data2, 1) != 1) |
7807 return 5; | 7797 return 5; |
7808 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); | 7798 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); |
7809 if (data2 == MAP_FAILED) | 7799 if (data2 == MAP_FAILED) |
7810 return 6; | 7800 return 6; |
7811 for (i = 0; i < pagesize; ++i) | 7801 for (i = 0; i < pagesize; ++i) |
7812 if (*(data2 + i)) | 7802 if (*(data2 + i)) |
7813 return 7; | 7803 return 7; |
8176 for ac_func in XrmSetDatabase XScreenResourceString \ | 8166 for ac_func in XrmSetDatabase XScreenResourceString \ |
8177 XScreenNumberOfScreen XSetWMProtocols | 8167 XScreenNumberOfScreen XSetWMProtocols |
8178 do : | 8168 do : |
8179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8169 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 8170 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
8181 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 8171 eval as_val=\$$as_ac_var |
8172 if test "x$as_val" = x""yes; then : | |
8182 cat >>confdefs.h <<_ACEOF | 8173 cat >>confdefs.h <<_ACEOF |
8183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8174 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8184 _ACEOF | 8175 _ACEOF |
8185 | 8176 |
8186 fi | 8177 fi |
8457 else | 8448 else |
8458 pkg_check_gtk=no | 8449 pkg_check_gtk=no |
8459 fi | 8450 fi |
8460 | 8451 |
8461 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8452 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8462 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 | 8453 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 |
8463 fi | 8454 fi |
8464 fi | 8455 fi |
8465 | 8456 |
8466 if test "$pkg_check_gtk" != "yes"; then | 8457 if test "$pkg_check_gtk" != "yes"; then |
8467 HAVE_GTK=no | 8458 HAVE_GTK=no |
8563 else | 8554 else |
8564 pkg_check_gtk=no | 8555 pkg_check_gtk=no |
8565 fi | 8556 fi |
8566 | 8557 |
8567 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8558 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8568 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 | 8559 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 |
8569 fi | 8560 fi |
8570 fi | 8561 fi |
8571 fi | 8562 fi |
8572 | 8563 |
8573 GTK_OBJ= | 8564 GTK_OBJ= |
8590 fi | 8581 fi |
8591 done | 8582 done |
8592 | 8583 |
8593 if test "${GTK_COMPILES}" != "yes"; then | 8584 if test "${GTK_COMPILES}" != "yes"; then |
8594 if test "$USE_X_TOOLKIT" != "maybe"; then | 8585 if test "$USE_X_TOOLKIT" != "maybe"; then |
8595 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; | 8586 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; |
8596 fi | 8587 fi |
8597 else | 8588 else |
8598 HAVE_GTK=yes | 8589 HAVE_GTK=yes |
8599 | 8590 |
8600 $as_echo "#define USE_GTK 1" >>confdefs.h | 8591 $as_echo "#define USE_GTK 1" >>confdefs.h |
8720 gtk_widget_get_mapped gtk_adjustment_get_page_size \ | 8711 gtk_widget_get_mapped gtk_adjustment_get_page_size \ |
8721 gtk_orientable_set_orientation | 8712 gtk_orientable_set_orientation |
8722 do : | 8713 do : |
8723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 8715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
8725 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 8716 eval as_val=\$$as_ac_var |
8717 if test "x$as_val" = x""yes; then : | |
8726 cat >>confdefs.h <<_ACEOF | 8718 cat >>confdefs.h <<_ACEOF |
8727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8728 _ACEOF | 8720 _ACEOF |
8729 | 8721 |
8730 fi | 8722 fi |
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 |
9086 $as_echo "yes; using Lucid toolkit" >&6; } | 9078 $as_echo "yes; using Lucid toolkit" >&6; } |
9087 USE_X_TOOLKIT=LUCID | 9079 USE_X_TOOLKIT=LUCID |
9088 LUCID_LIBW=-lXaw | 9080 LUCID_LIBW=-lXaw |
9089 elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 9081 elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
9090 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 | 9082 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 |
9091 else | 9083 else |
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 | 9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 |
9093 $as_echo "no; do not use toolkit by default" >&6; } | 9085 $as_echo "no; do not use toolkit by default" >&6; } |
9094 USE_X_TOOLKIT=none | 9086 USE_X_TOOLKIT=none |
9095 fi | 9087 fi |
10262 # in /usr/include/libpng. | 10254 # in /usr/include/libpng. |
10263 for ac_header in png.h libpng/png.h | 10255 for ac_header in png.h libpng/png.h |
10264 do : | 10256 do : |
10265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10257 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10266 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 10258 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
10267 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 10259 eval as_val=\$$as_ac_Header |
10260 if test "x$as_val" = x""yes; then : | |
10268 cat >>confdefs.h <<_ACEOF | 10261 cat >>confdefs.h <<_ACEOF |
10269 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10262 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10270 _ACEOF | 10263 _ACEOF |
10271 | 10264 |
10272 fi | 10265 fi |
10514 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" | 10507 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" |
10515 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && | 10508 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && |
10516 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 10509 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
10517 | 10510 |
10518 if test "X${MISSING}" != X; then | 10511 if test "X${MISSING}" != X; then |
10519 as_fn_error $? "The following required libraries were not found: | 10512 as_fn_error "The following required libraries were not found: |
10520 $MISSING | 10513 $MISSING |
10521 Maybe some development libraries/packages are missing? | 10514 Maybe some development libraries/packages are missing? |
10522 If you don't want to link with them give | 10515 If you don't want to link with them give |
10523 $WITH_NO | 10516 $WITH_NO |
10524 as options to configure" "$LINENO" 5 | 10517 as options to configure" "$LINENO" 5 |
10849 $as_echo "$ac_cv_os_cray" >&6; } | 10842 $as_echo "$ac_cv_os_cray" >&6; } |
10850 if test $ac_cv_os_cray = yes; then | 10843 if test $ac_cv_os_cray = yes; then |
10851 for ac_func in _getb67 GETB67 getb67; do | 10844 for ac_func in _getb67 GETB67 getb67; do |
10852 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10845 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 10846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
10854 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 10847 eval as_val=\$$as_ac_var |
10848 if test "x$as_val" = x""yes; then : | |
10855 | 10849 |
10856 cat >>confdefs.h <<_ACEOF | 10850 cat >>confdefs.h <<_ACEOF |
10857 #define CRAY_STACKSEG_END $ac_func | 10851 #define CRAY_STACKSEG_END $ac_func |
10858 _ACEOF | 10852 _ACEOF |
10859 | 10853 |
10913 | 10907 |
10914 fi | 10908 fi |
10915 | 10909 |
10916 | 10910 |
10917 if test x"$ac_cv_func_alloca_works" != xyes; then | 10911 if test x"$ac_cv_func_alloca_works" != xyes; then |
10918 as_fn_error $? "a system implementation of alloca is required " "$LINENO" 5 | 10912 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 |
10919 fi | 10913 fi |
10920 | 10914 |
10921 # fmod, logb, and frexp are found in -lm on most systems. | 10915 # fmod, logb, and frexp are found in -lm on most systems. |
10922 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 10916 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 | 10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 |
11109 $as_echo "no" >&6; } | 11103 $as_echo "no" >&6; } |
11110 fi | 11104 fi |
11111 | 11105 |
11112 | 11106 |
11113 if test $ac_cv_prog_liblockfile = yes; then | 11107 if test $ac_cv_prog_liblockfile = yes; then |
11114 as_fn_error $? "Shared liblockfile found but can't link against it. | 11108 as_fn_error "Shared liblockfile found but can't link against it. |
11115 This probably means that movemail could lose mail. | 11109 This probably means that movemail could lose mail. |
11116 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 | 11110 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 |
11117 fi | 11111 fi |
11118 fi | 11112 fi |
11119 for ac_func in touchlock | 11113 for ac_func in touchlock |
11198 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ | 11192 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ |
11199 cfmakeraw cfsetspeed isnan copysign __executable_start | 11193 cfmakeraw cfsetspeed isnan copysign __executable_start |
11200 do : | 11194 do : |
11201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11195 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11203 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 11197 eval as_val=\$$as_ac_var |
11198 if test "x$as_val" = x""yes; then : | |
11204 cat >>confdefs.h <<_ACEOF | 11199 cat >>confdefs.h <<_ACEOF |
11205 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11206 _ACEOF | 11201 _ACEOF |
11207 | 11202 |
11208 fi | 11203 fi |
11229 | 11224 |
11230 for ac_func in $ac_func_list | 11225 for ac_func in $ac_func_list |
11231 do : | 11226 do : |
11232 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11233 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11234 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 11229 eval as_val=\$$as_ac_var |
11230 if test "x$as_val" = x""yes; then : | |
11235 cat >>confdefs.h <<_ACEOF | 11231 cat >>confdefs.h <<_ACEOF |
11236 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11237 _ACEOF | 11233 _ACEOF |
11238 | 11234 |
11239 fi | 11235 fi |
11281 | 11277 |
11282 static time_t time_t_max; | 11278 static time_t time_t_max; |
11283 static time_t time_t_min; | 11279 static time_t time_t_min; |
11284 | 11280 |
11285 /* Values we'll use to set the TZ environment variable. */ | 11281 /* Values we'll use to set the TZ environment variable. */ |
11286 static const char *tz_strings[] = { | 11282 static char *tz_strings[] = { |
11287 (const char *) 0, "TZ=GMT0", "TZ=JST-9", | 11283 (char *) 0, "TZ=GMT0", "TZ=JST-9", |
11288 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" | 11284 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" |
11289 }; | 11285 }; |
11290 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) | 11286 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |
11291 | 11287 |
11292 /* Return 0 if mktime fails to convert a date in the spring-forward gap. | 11288 /* Return 0 if mktime fails to convert a date in the spring-forward gap. |
11299 | 11295 |
11300 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | 11296 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
11301 instead of "TZ=America/Vancouver" in order to detect the bug even | 11297 instead of "TZ=America/Vancouver" in order to detect the bug even |
11302 on systems that don't support the Olson extension, or don't have the | 11298 on systems that don't support the Olson extension, or don't have the |
11303 full zoneinfo tables installed. */ | 11299 full zoneinfo tables installed. */ |
11304 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); | 11300 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); |
11305 | 11301 |
11306 tm.tm_year = 98; | 11302 tm.tm_year = 98; |
11307 tm.tm_mon = 3; | 11303 tm.tm_mon = 3; |
11308 tm.tm_mday = 5; | 11304 tm.tm_mday = 5; |
11309 tm.tm_hour = 2; | 11305 tm.tm_hour = 2; |
11312 tm.tm_isdst = -1; | 11308 tm.tm_isdst = -1; |
11313 return mktime (&tm) != (time_t) -1; | 11309 return mktime (&tm) != (time_t) -1; |
11314 } | 11310 } |
11315 | 11311 |
11316 static int | 11312 static int |
11317 mktime_test1 (time_t now) | 11313 mktime_test1 (now) |
11314 time_t now; | |
11318 { | 11315 { |
11319 struct tm *lt; | 11316 struct tm *lt; |
11320 return ! (lt = localtime (&now)) || mktime (lt) == now; | 11317 return ! (lt = localtime (&now)) || mktime (lt) == now; |
11321 } | 11318 } |
11322 | 11319 |
11323 static int | 11320 static int |
11324 mktime_test (time_t now) | 11321 mktime_test (now) |
11322 time_t now; | |
11325 { | 11323 { |
11326 return (mktime_test1 (now) | 11324 return (mktime_test1 (now) |
11327 && mktime_test1 ((time_t) (time_t_max - now)) | 11325 && mktime_test1 ((time_t) (time_t_max - now)) |
11328 && mktime_test1 ((time_t) (time_t_min + now))); | 11326 && mktime_test1 ((time_t) (time_t_min + now))); |
11329 } | 11327 } |
11343 mktime (&tm); | 11341 mktime (&tm); |
11344 return tm.tm_mon == 2 && tm.tm_mday == 31; | 11342 return tm.tm_mon == 2 && tm.tm_mday == 31; |
11345 } | 11343 } |
11346 | 11344 |
11347 static int | 11345 static int |
11348 bigtime_test (int j) | 11346 bigtime_test (j) |
11347 int j; | |
11349 { | 11348 { |
11350 struct tm tm; | 11349 struct tm tm; |
11351 time_t now; | 11350 time_t now; |
11352 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; | 11351 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; |
11353 now = mktime (&tm); | 11352 now = mktime (&tm); |
11387 | 11386 |
11388 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | 11387 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
11389 instead of "TZ=America/Vancouver" in order to detect the bug even | 11388 instead of "TZ=America/Vancouver" in order to detect the bug even |
11390 on systems that don't support the Olson extension, or don't have the | 11389 on systems that don't support the Olson extension, or don't have the |
11391 full zoneinfo tables installed. */ | 11390 full zoneinfo tables installed. */ |
11392 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); | 11391 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); |
11393 | 11392 |
11394 t = mktime (&tm); | 11393 t = mktime (&tm); |
11395 | 11394 |
11396 /* Check that the result is either a failure, or close enough | 11395 /* Check that the result is either a failure, or close enough |
11397 to the correct answer that we can assume the discrepancy is | 11396 to the correct answer that we can assume the discrepancy is |
11422 | 11421 |
11423 delta = time_t_max / 997; /* a suitable prime number */ | 11422 delta = time_t_max / 997; /* a suitable prime number */ |
11424 for (i = 0; i < N_STRINGS; i++) | 11423 for (i = 0; i < N_STRINGS; i++) |
11425 { | 11424 { |
11426 if (tz_strings[i]) | 11425 if (tz_strings[i]) |
11427 putenv ((char*) tz_strings[i]); | 11426 putenv (tz_strings[i]); |
11428 | 11427 |
11429 for (t = 0; t <= time_t_max - delta; t += delta) | 11428 for (t = 0; t <= time_t_max - delta; t += delta) |
11430 if (! mktime_test (t)) | 11429 if (! mktime_test (t)) |
11431 return 1; | 11430 return 1; |
11432 if (! (mktime_test ((time_t) 1) | 11431 if (! (mktime_test ((time_t) 1) |
11474 | 11473 |
11475 ac_have_func=no # yes means we've found a way to get the load average. | 11474 ac_have_func=no # yes means we've found a way to get the load average. |
11476 | 11475 |
11477 # Make sure getloadavg.c is where it belongs, at configure-time. | 11476 # Make sure getloadavg.c is where it belongs, at configure-time. |
11478 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || | 11477 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
11479 as_fn_error $? "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 | 11478 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 |
11480 | 11479 |
11481 ac_save_LIBS=$LIBS | 11480 ac_save_LIBS=$LIBS |
11482 | 11481 |
11483 # Check for getloadavg, but be sure not to touch the cache variable. | 11482 # Check for getloadavg, but be sure not to touch the cache variable. |
11484 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 11483 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" |
12343 else | 12342 else |
12344 have_tputs_et_al=false | 12343 have_tputs_et_al=false |
12345 fi | 12344 fi |
12346 | 12345 |
12347 if test "$have_tputs_et_al" != true; then | 12346 if test "$have_tputs_et_al" != true; then |
12348 as_fn_error $? "I couldn't find termcap functions (tputs and friends). | 12347 as_fn_error "I couldn't find termcap functions (tputs and friends). |
12349 Maybe some development libraries/packages are missing? Try installing | 12348 Maybe some development libraries/packages are missing? Try installing |
12350 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 | 12349 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 |
12351 fi | 12350 fi |
12352 # Must define this when any termcap library is found. | 12351 # Must define this when any termcap library is found. |
12353 | 12352 |
13490 | 13489 |
13491 for ac_func in fork vfork | 13490 for ac_func in fork vfork |
13492 do : | 13491 do : |
13493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 13493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13495 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 13494 eval as_val=\$$as_ac_var |
13495 if test "x$as_val" = x""yes; then : | |
13496 cat >>confdefs.h <<_ACEOF | 13496 cat >>confdefs.h <<_ACEOF |
13497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 13497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13498 _ACEOF | 13498 _ACEOF |
13499 | 13499 |
13500 fi | 13500 fi |
13864 ## Hack to detect a buggy GCC version. | 13864 ## Hack to detect a buggy GCC version. |
13865 if test "x$GCC" = xyes \ | 13865 if test "x$GCC" = xyes \ |
13866 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ | 13866 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ |
13867 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ | 13867 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ |
13868 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then | 13868 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then |
13869 as_fn_error $? "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 | 13869 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 |
13870 fi | 13870 fi |
13871 | 13871 |
13872 #### Find out which version of Emacs this is. | 13872 #### Find out which version of Emacs this is. |
13873 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ | 13873 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ |
13874 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 13874 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
13875 if test x"${version}" = x; then | 13875 if test x"${version}" = x; then |
13876 as_fn_error $? "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 | 13876 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 |
13877 fi | 13877 fi |
13878 if test x"${version}" != x"$PACKAGE_VERSION"; then | 13878 if test x"${version}" != x"$PACKAGE_VERSION"; then |
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 | 13879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 |
13880 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} | 13880 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} |
13881 fi | 13881 fi |
14429 | 14429 |
14430 DEFS=-DHAVE_CONFIG_H | 14430 DEFS=-DHAVE_CONFIG_H |
14431 | 14431 |
14432 ac_libobjs= | 14432 ac_libobjs= |
14433 ac_ltlibobjs= | 14433 ac_ltlibobjs= |
14434 U= | |
14435 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 14434 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
14436 # 1. Remove the extension, and $U if already installed. | 14435 # 1. Remove the extension, and $U if already installed. |
14437 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 14436 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
14438 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 14437 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
14439 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 14438 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
14591 | 14590 |
14592 # CDPATH. | 14591 # CDPATH. |
14593 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 14592 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
14594 | 14593 |
14595 | 14594 |
14596 # as_fn_error STATUS ERROR [LINENO LOG_FD] | 14595 # as_fn_error ERROR [LINENO LOG_FD] |
14597 # ---------------------------------------- | 14596 # --------------------------------- |
14598 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 14597 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
14599 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 14598 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
14600 # script with STATUS, using 1 if that was 0. | 14599 # script with status $?, using 1 if that was 0. |
14601 as_fn_error () | 14600 as_fn_error () |
14602 { | 14601 { |
14603 as_status=$1; test $as_status -eq 0 && as_status=1 | 14602 as_status=$?; test $as_status -eq 0 && as_status=1 |
14604 if test "$4"; then | 14603 if test "$3"; then |
14605 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 14604 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
14606 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 14605 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
14607 fi | 14606 fi |
14608 $as_echo "$as_me: error: $2" >&2 | 14607 $as_echo "$as_me: error: $1" >&2 |
14609 as_fn_exit $as_status | 14608 as_fn_exit $as_status |
14610 } # as_fn_error | 14609 } # as_fn_error |
14611 | 14610 |
14612 | 14611 |
14613 # as_fn_set_status STATUS | 14612 # as_fn_set_status STATUS |
14799 } | 14798 } |
14800 s/.*/./; q'` | 14799 s/.*/./; q'` |
14801 test -d "$as_dir" && break | 14800 test -d "$as_dir" && break |
14802 done | 14801 done |
14803 test -z "$as_dirs" || eval "mkdir $as_dirs" | 14802 test -z "$as_dirs" || eval "mkdir $as_dirs" |
14804 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 14803 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
14805 | 14804 |
14806 | 14805 |
14807 } # as_fn_mkdir_p | 14806 } # as_fn_mkdir_p |
14808 if mkdir -p . 2>/dev/null; then | 14807 if mkdir -p . 2>/dev/null; then |
14809 as_mkdir_p='mkdir -p "$as_dir"' | 14808 as_mkdir_p='mkdir -p "$as_dir"' |
14853 # Save the log message, to keep $0 and so on meaningful, and to | 14852 # Save the log message, to keep $0 and so on meaningful, and to |
14854 # report actual input values of CONFIG_FILES etc. instead of their | 14853 # report actual input values of CONFIG_FILES etc. instead of their |
14855 # values after options handling. | 14854 # values after options handling. |
14856 ac_log=" | 14855 ac_log=" |
14857 This file was extended by emacs $as_me 24.0.50, which was | 14856 This file was extended by emacs $as_me 24.0.50, which was |
14858 generated by GNU Autoconf 2.66. Invocation command line was | 14857 generated by GNU Autoconf 2.65. Invocation command line was |
14859 | 14858 |
14860 CONFIG_FILES = $CONFIG_FILES | 14859 CONFIG_FILES = $CONFIG_FILES |
14861 CONFIG_HEADERS = $CONFIG_HEADERS | 14860 CONFIG_HEADERS = $CONFIG_HEADERS |
14862 CONFIG_LINKS = $CONFIG_LINKS | 14861 CONFIG_LINKS = $CONFIG_LINKS |
14863 CONFIG_COMMANDS = $CONFIG_COMMANDS | 14862 CONFIG_COMMANDS = $CONFIG_COMMANDS |
14919 _ACEOF | 14918 _ACEOF |
14920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14921 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 14920 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
14922 ac_cs_version="\\ | 14921 ac_cs_version="\\ |
14923 emacs config.status 24.0.50 | 14922 emacs config.status 24.0.50 |
14924 configured by $0, generated by GNU Autoconf 2.66, | 14923 configured by $0, generated by GNU Autoconf 2.65, |
14925 with options \\"\$ac_cs_config\\" | 14924 with options \\"\$ac_cs_config\\" |
14926 | 14925 |
14927 Copyright (C) 2010 Free Software Foundation, Inc. | 14926 Copyright (C) 2009 Free Software Foundation, Inc. |
14928 This config.status script is free software; the Free Software Foundation | 14927 This config.status script is free software; the Free Software Foundation |
14929 gives unlimited permission to copy, distribute and modify it." | 14928 gives unlimited permission to copy, distribute and modify it." |
14930 | 14929 |
14931 ac_pwd='$ac_pwd' | 14930 ac_pwd='$ac_pwd' |
14932 srcdir='$srcdir' | 14931 srcdir='$srcdir' |
14976 esac | 14975 esac |
14977 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 14976 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
14978 ac_need_defaults=false;; | 14977 ac_need_defaults=false;; |
14979 --he | --h) | 14978 --he | --h) |
14980 # Conflict between --help and --header | 14979 # Conflict between --help and --header |
14981 as_fn_error $? "ambiguous option: \`$1' | 14980 as_fn_error "ambiguous option: \`$1' |
14982 Try \`$0 --help' for more information.";; | 14981 Try \`$0 --help' for more information.";; |
14983 --help | --hel | -h ) | 14982 --help | --hel | -h ) |
14984 $as_echo "$ac_cs_usage"; exit ;; | 14983 $as_echo "$ac_cs_usage"; exit ;; |
14985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 14984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
14986 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 14985 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
14987 ac_cs_silent=: ;; | 14986 ac_cs_silent=: ;; |
14988 | 14987 |
14989 # This is an error. | 14988 # This is an error. |
14990 -*) as_fn_error $? "unrecognized option: \`$1' | 14989 -*) as_fn_error "unrecognized option: \`$1' |
14991 Try \`$0 --help' for more information." ;; | 14990 Try \`$0 --help' for more information." ;; |
14992 | 14991 |
14993 *) as_fn_append ac_config_targets " $1" | 14992 *) as_fn_append ac_config_targets " $1" |
14994 ac_need_defaults=false ;; | 14993 ac_need_defaults=false ;; |
14995 | 14994 |
15053 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; | 15052 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; |
15054 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 15053 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
15055 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 15054 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
15056 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 15055 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
15057 | 15056 |
15058 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 15057 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
15059 esac | 15058 esac |
15060 done | 15059 done |
15061 | 15060 |
15062 | 15061 |
15063 # If the user did not use the arguments to specify the items to instantiate, | 15062 # If the user did not use the arguments to specify the items to instantiate, |
15091 test -n "$tmp" && test -d "$tmp" | 15090 test -n "$tmp" && test -d "$tmp" |
15092 } || | 15091 } || |
15093 { | 15092 { |
15094 tmp=./conf$$-$RANDOM | 15093 tmp=./conf$$-$RANDOM |
15095 (umask 077 && mkdir "$tmp") | 15094 (umask 077 && mkdir "$tmp") |
15096 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | 15095 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
15097 | 15096 |
15098 # Set up the scripts for CONFIG_FILES section. | 15097 # Set up the scripts for CONFIG_FILES section. |
15099 # No need to generate them if there are no CONFIG_FILES. | 15098 # No need to generate them if there are no CONFIG_FILES. |
15100 # This happens for instance with `./config.status config.h'. | 15099 # This happens for instance with `./config.status config.h'. |
15101 if test -n "$CONFIG_FILES"; then | 15100 if test -n "$CONFIG_FILES"; then |
15125 if test "x$ac_cr" = x; then | 15124 if test "x$ac_cr" = x; then |
15126 eval ac_cr=\$\'\\r\' | 15125 eval ac_cr=\$\'\\r\' |
15127 fi | 15126 fi |
15128 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 15127 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
15129 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 15128 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
15130 ac_cs_awk_cr='\\r' | 15129 ac_cs_awk_cr='\r' |
15131 else | 15130 else |
15132 ac_cs_awk_cr=$ac_cr | 15131 ac_cs_awk_cr=$ac_cr |
15133 fi | 15132 fi |
15134 | 15133 |
15135 echo 'BEGIN {' >"$tmp/subs1.awk" && | 15134 echo 'BEGIN {' >"$tmp/subs1.awk" && |
15142 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && | 15141 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && |
15143 echo "_ACAWK" && | 15142 echo "_ACAWK" && |
15144 echo "_ACEOF" | 15143 echo "_ACEOF" |
15145 } >conf$$files.sh && | 15144 } >conf$$files.sh && |
15146 . ./conf$$files.sh || | 15145 . ./conf$$files.sh || |
15147 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 15146 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15148 rm -f conf$$files.sh | 15147 rm -f conf$$files.sh |
15149 | 15148 |
15150 { | 15149 { |
15151 echo "cat >conf$$subs.awk <<_ACEOF" && | 15150 echo "cat >conf$$subs.awk <<_ACEOF" && |
15152 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 15151 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
15153 echo "_ACEOF" | 15152 echo "_ACEOF" |
15154 } >conf$$subs.sh || | 15153 } >conf$$subs.sh || |
15155 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 15154 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15156 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | 15155 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
15157 ac_delim='%!_!# ' | 15156 ac_delim='%!_!# ' |
15158 for ac_last_try in false false false false false :; do | 15157 for ac_last_try in false false false false false :; do |
15159 . ./conf$$subs.sh || | 15158 . ./conf$$subs.sh || |
15160 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 15159 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15161 | 15160 |
15162 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 15161 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
15163 if test $ac_delim_n = $ac_delim_num; then | 15162 if test $ac_delim_n = $ac_delim_num; then |
15164 break | 15163 break |
15165 elif $ac_last_try; then | 15164 elif $ac_last_try; then |
15166 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 15165 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15167 else | 15166 else |
15168 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 15167 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15169 fi | 15168 fi |
15170 done | 15169 done |
15171 rm -f conf$$subs.sh | 15170 rm -f conf$$subs.sh |
15256 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 15255 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
15257 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 15256 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
15258 else | 15257 else |
15259 cat | 15258 cat |
15260 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 15259 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
15261 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | 15260 || as_fn_error "could not setup config files machinery" "$LINENO" 5 |
15262 _ACEOF | 15261 _ACEOF |
15263 | 15262 |
15264 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | 15263 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
15265 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | 15264 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
15266 # trailing colons and then remove the whole line if VPATH becomes empty | 15265 # trailing colons and then remove the whole line if VPATH becomes empty |
15267 # (actually we leave an empty line to preserve line numbers). | 15266 # (actually we leave an empty line to preserve line numbers). |
15268 if test "x$srcdir" = x.; then | 15267 if test "x$srcdir" = x.; then |
15269 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | 15268 ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
15270 h | 15269 s/:*\$(srcdir):*/:/ |
15271 s/// | 15270 s/:*\${srcdir}:*/:/ |
15272 s/^/:/ | 15271 s/:*@srcdir@:*/:/ |
15273 s/[ ]*$/:/ | 15272 s/^\([^=]*=[ ]*\):*/\1/ |
15274 s/:\$(srcdir):/:/g | |
15275 s/:\${srcdir}:/:/g | |
15276 s/:@srcdir@:/:/g | |
15277 s/^:*// | |
15278 s/:*$// | 15273 s/:*$// |
15279 x | |
15280 s/\(=[ ]*\).*/\1/ | |
15281 G | |
15282 s/\n// | |
15283 s/^[^=]*=[ ]*$// | 15274 s/^[^=]*=[ ]*$// |
15284 }' | 15275 }' |
15285 fi | 15276 fi |
15286 | 15277 |
15287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15305 for ac_last_try in false false :; do | 15296 for ac_last_try in false false :; do |
15306 ac_t=`sed -n "/$ac_delim/p" confdefs.h` | 15297 ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
15307 if test -z "$ac_t"; then | 15298 if test -z "$ac_t"; then |
15308 break | 15299 break |
15309 elif $ac_last_try; then | 15300 elif $ac_last_try; then |
15310 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | 15301 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
15311 else | 15302 else |
15312 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 15303 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15313 fi | 15304 fi |
15314 done | 15305 done |
15315 | 15306 |
15390 } | 15381 } |
15391 { print } | 15382 { print } |
15392 _ACAWK | 15383 _ACAWK |
15393 _ACEOF | 15384 _ACEOF |
15394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15395 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | 15386 as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
15396 fi # test -n "$CONFIG_HEADERS" | 15387 fi # test -n "$CONFIG_HEADERS" |
15397 | 15388 |
15398 | 15389 |
15399 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | 15390 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
15400 shift | 15391 shift |
15403 case $ac_tag in | 15394 case $ac_tag in |
15404 :[FHLC]) ac_mode=$ac_tag; continue;; | 15395 :[FHLC]) ac_mode=$ac_tag; continue;; |
15405 esac | 15396 esac |
15406 case $ac_mode$ac_tag in | 15397 case $ac_mode$ac_tag in |
15407 :[FHL]*:*);; | 15398 :[FHL]*:*);; |
15408 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | 15399 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
15409 :[FH]-) ac_tag=-:-;; | 15400 :[FH]-) ac_tag=-:-;; |
15410 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 15401 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
15411 esac | 15402 esac |
15412 ac_save_IFS=$IFS | 15403 ac_save_IFS=$IFS |
15413 IFS=: | 15404 IFS=: |
15431 test -f "$ac_f" || | 15422 test -f "$ac_f" || |
15432 case $ac_f in | 15423 case $ac_f in |
15433 [\\/$]*) false;; | 15424 [\\/$]*) false;; |
15434 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 15425 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
15435 esac || | 15426 esac || |
15436 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 15427 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
15437 esac | 15428 esac |
15438 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 15429 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
15439 as_fn_append ac_file_inputs " '$ac_f'" | 15430 as_fn_append ac_file_inputs " '$ac_f'" |
15440 done | 15431 done |
15441 | 15432 |
15458 *) ac_sed_conf_input=$configure_input;; | 15449 *) ac_sed_conf_input=$configure_input;; |
15459 esac | 15450 esac |
15460 | 15451 |
15461 case $ac_tag in | 15452 case $ac_tag in |
15462 *:-:* | *:-) cat >"$tmp/stdin" \ | 15453 *:-:* | *:-) cat >"$tmp/stdin" \ |
15463 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | 15454 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
15464 esac | 15455 esac |
15465 ;; | 15456 ;; |
15466 esac | 15457 esac |
15467 | 15458 |
15468 ac_dir=`$as_dirname -- "$ac_file" || | 15459 ac_dir=`$as_dirname -- "$ac_file" || |
15594 if $ac_cs_awk_getline; then | 15585 if $ac_cs_awk_getline; then |
15595 $AWK -f "$tmp/subs.awk" | 15586 $AWK -f "$tmp/subs.awk" |
15596 else | 15587 else |
15597 $AWK -f "$tmp/subs.awk" | $SHELL | 15588 $AWK -f "$tmp/subs.awk" | $SHELL |
15598 fi >$tmp/out \ | 15589 fi >$tmp/out \ |
15599 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 15590 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
15600 | 15591 |
15601 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 15592 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
15602 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 15593 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
15603 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 15594 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
15604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 15595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15605 which seems to be undefined. Please make sure it is defined" >&5 | 15596 which seems to be undefined. Please make sure it is defined." >&5 |
15606 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 15597 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15607 which seems to be undefined. Please make sure it is defined" >&2;} | 15598 which seems to be undefined. Please make sure it is defined." >&2;} |
15608 | 15599 |
15609 rm -f "$tmp/stdin" | 15600 rm -f "$tmp/stdin" |
15610 case $ac_file in | 15601 case $ac_file in |
15611 -) cat "$tmp/out" && rm -f "$tmp/out";; | 15602 -) cat "$tmp/out" && rm -f "$tmp/out";; |
15612 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 15603 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
15613 esac \ | 15604 esac \ |
15614 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 15605 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
15615 ;; | 15606 ;; |
15616 :H) | 15607 :H) |
15617 # | 15608 # |
15618 # CONFIG_HEADER | 15609 # CONFIG_HEADER |
15619 # | 15610 # |
15620 if test x"$ac_file" != x-; then | 15611 if test x"$ac_file" != x-; then |
15621 { | 15612 { |
15622 $as_echo "/* $configure_input */" \ | 15613 $as_echo "/* $configure_input */" \ |
15623 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 15614 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
15624 } >"$tmp/config.h" \ | 15615 } >"$tmp/config.h" \ |
15625 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 15616 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
15626 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 15617 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 15618 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
15628 $as_echo "$as_me: $ac_file is unchanged" >&6;} | 15619 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
15629 else | 15620 else |
15630 rm -f "$ac_file" | 15621 rm -f "$ac_file" |
15631 mv "$tmp/config.h" "$ac_file" \ | 15622 mv "$tmp/config.h" "$ac_file" \ |
15632 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 15623 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
15633 fi | 15624 fi |
15634 else | 15625 else |
15635 $as_echo "/* $configure_input */" \ | 15626 $as_echo "/* $configure_input */" \ |
15636 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 15627 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
15637 || as_fn_error $? "could not create -" "$LINENO" 5 | 15628 || as_fn_error "could not create -" "$LINENO" 5 |
15638 fi | 15629 fi |
15639 ;; | 15630 ;; |
15640 | 15631 |
15641 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 15632 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
15642 $as_echo "$as_me: executing $ac_file commands" >&6;} | 15633 $as_echo "$as_me: executing $ac_file commands" >&6;} |
15669 as_fn_exit 0 | 15660 as_fn_exit 0 |
15670 _ACEOF | 15661 _ACEOF |
15671 ac_clean_files=$ac_clean_files_save | 15662 ac_clean_files=$ac_clean_files_save |
15672 | 15663 |
15673 test $ac_write_fail = 0 || | 15664 test $ac_write_fail = 0 || |
15674 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 15665 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
15675 | 15666 |
15676 | 15667 |
15677 # configure is writing to config.log, and then calls config.status. | 15668 # configure is writing to config.log, and then calls config.status. |
15678 # config.status does its own redirection, appending to config.log. | 15669 # config.status does its own redirection, appending to config.log. |
15679 # Unfortunately, on DOS this fails, as config.log is still kept open | 15670 # Unfortunately, on DOS this fails, as config.log is still kept open |
15690 exec 5>/dev/null | 15681 exec 5>/dev/null |
15691 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 15682 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
15692 exec 5>>config.log | 15683 exec 5>>config.log |
15693 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 15684 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
15694 # would make configure fail if this is the last instruction. | 15685 # would make configure fail if this is the last instruction. |
15695 $ac_cs_success || as_fn_exit 1 | 15686 $ac_cs_success || as_fn_exit $? |
15696 fi | 15687 fi |
15697 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 15688 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
15698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 15689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
15699 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 15690 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
15700 fi | 15691 fi |