Mercurial > hg > xemacs-beta
comparison configure @ 4932:8b63e21b0436
fix compile issues with gcc 4
-------------------- ChangeLog entries follow: --------------------
ChangeLog addition:
2010-01-24 Ben Wing <ben@xemacs.org>
* aclocal.m4 (XE_SHLIB_STUFF):
Use -export-all-symbols instead of -export-dynamic on PE targets
(Cygwin and MinGW).
* configure.ac (XE_EXPAND_VARIABLE):
* configure.ac (TAB):
Create variable XEMACS_CC_GPP to check whether we're running g++.
Don't just check for an executable called `g++' -- it might be
called g++-4 or whatever. Instead, check for either named `g++*'
or claiming to be g++ when called with --version. Rewrite code do
use the variable.
Add -fno-strict-aliasing to optimization flags when GCC and
optimized, and in all cases with g++, since under these circumstances
strict aliasing is otherwise assumed, and XEmacs can't easily be
made to respect its restrictions.
* configure: Regenerate.
lib-src/ChangeLog addition:
2010-01-24 Ben Wing <ben@xemacs.org>
* fakemail.c (args_size):
* fakemail.c (parse_header):
* ootags.c (C_entries):
Fix warnings about possible use of uninitialized vars.
lwlib/ChangeLog addition:
2010-01-24 Ben Wing <ben@xemacs.org>
* xlwgauge.c (GaugeResize):
* xlwgauge.c (GaugeSize):
Fix warnings about possible use of uninitialized vars.
modules/ChangeLog addition:
2010-01-24 Ben Wing <ben@xemacs.org>
* postgresql/postgresql.c (CHECK_LIVE_CONNECTION):
* postgresql/postgresql.c (print_pgconn):
* postgresql/postgresql.c (Fpq_connectdb):
* postgresql/postgresql.c (Fpq_connect_start):
* postgresql/postgresql.c (Fpq_exec):
* postgresql/postgresql.c (Fpq_get_result):
Fix g++ 4.3 complaints about implicit conversions of string
literals (const char *) to char *.
src/ChangeLog addition:
2010-01-24 Ben Wing <ben@xemacs.org>
* chartab.c (decode_char_table_range):
* extents.c (extent_fragment_update):
* objects-msw.c (initialize_font_instance):
* process.c (Fgetenv):
* redisplay-output.c (get_next_display_block):
Fix warnings about possible use of uninitialized vars.
* compiler.h:
* compiler.h (REGISTER):
* event-stream.c (is_scrollbar_event):
* window.c (window_scrollbar_width):
* window.c (window_scrollbar_height):
* window.c (window_left_window_gutter_width):
* window.c (window_right_window_gutter_width):
Add USED_IF_SCROLLBARS. Use it to fix warnings about unused
vars when --with-scrollbars=no.
* config.h.in:
Change comment to explain better why DECLARE_INLINE_HEADER
is needed.
* dialog-msw.c:
* emacs.c (SHEBANG_EXE_PROGNAME_LENGTH):
* emacs.c (main_1):
* event-msw.c (struct mswin_message_debug):
* event-msw.c (debug_output_mswin_message):
* font-mgr.c:
* font-mgr.c (Ffc_config_filename):
* glyphs-msw.c (struct):
* glyphs-msw.c (bitmap_table):
* glyphs-x.c (update_widget_face):
* intl-win32.c (struct lang_to_string):
* intl-win32.c (lang_to_string_table):
* nas.c:
* objects-xlike-inc.c:
* objects-xlike-inc.c (xft_find_charset_font):
* syswindows.h:
* win32.c (mswindows_output_last_error):
Fix g++ 4.3 complaints about implicit conversions of string
literals (const char *) to char *.
* lisp.h:
G++ 4.3 needs #include <limits> to avoid errors about min/max.
* lisp.h (disabled_assert_with_message):
Use disabled_assert* whenever asserts are disabled. Rewrite
disabled_assert* to avoid complaints about unused vars by
pretending to use the vars but casting them to (void).
Remove code that defined assert() weirdly if DEBUG_XEMACS but
not USE_ASSERTIONS -- configure sets USE_ASSERTIONS automatically
when DEBUG_XEMACS, and if the user has forced it off, then
so be it.
* lisp.h (SYMBOL_KEYWORD):
Put some of the combined `extern Lisp_Object's back under
the file they are declared in. Cosmetic fix.
* number.h:
Remove `extern Lisp_Object' decls that duplicate lisp.h,
since they have different C vs. C++ linkage.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Sun, 24 Jan 2010 22:04:58 -0600 |
parents | 6c0bb4d2c23a |
children | 349f01075eb7 |
comparison
equal
deleted
inserted
replaced
4931:8a08cf0b7583 | 4932:8b63e21b0436 |
---|---|
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.64 for XEmacs 21.5. | 3 # Generated by GNU Autoconf 2.65 for XEmacs 21.5. |
4 # | 4 # |
5 # Report bugs to <xemacs-beta@xemacs.org>. | 5 # Report bugs to <xemacs-beta@xemacs.org>. |
6 # | 6 # |
7 # | |
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software | 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
9 # Foundation, Inc. | 10 # Inc. |
11 # | |
10 # | 12 # |
11 # This configure script is free software; the Free Software Foundation | 13 # This configure script is free software; the Free Software Foundation |
12 # gives unlimited permission to copy, distribute and modify it. | 14 # gives unlimited permission to copy, distribute and modify it. |
13 # | 15 # |
14 # Configuration script for XEmacs. Largely divergent from FSF. | 16 # Configuration script for XEmacs. Largely divergent from FSF. |
571 | 573 |
572 # Sed expression to map a string onto a valid variable name. | 574 # Sed expression to map a string onto a valid variable name. |
573 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 575 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
574 | 576 |
575 | 577 |
576 exec 7<&0 </dev/null 6>&1 | 578 test -n "$DJDIR" || exec 7<&0 </dev/null |
579 exec 6>&1 | |
577 | 580 |
578 # Name of the host. | 581 # Name of the host. |
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 582 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
580 # so uname gets run too. | 583 # so uname gets run too. |
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 584 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
1984 CC C compiler command | 1987 CC C compiler command |
1985 CFLAGS C compiler flags | 1988 CFLAGS C compiler flags |
1986 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1989 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1987 nonstandard directory <lib dir> | 1990 nonstandard directory <lib dir> |
1988 LIBS libraries to pass to the linker, e.g. -l<library> | 1991 LIBS libraries to pass to the linker, e.g. -l<library> |
1989 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | 1992 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1990 you have headers in a nonstandard directory <include dir> | 1993 you have headers in a nonstandard directory <include dir> |
1991 CPP C preprocessor | 1994 CPP C preprocessor |
1992 YACC The `Yet Another C Compiler' implementation to use. Defaults to | 1995 YACC The `Yet Another C Compiler' implementation to use. Defaults to |
1993 the first program found out of: `bison -y', `byacc', `yacc'. | 1996 the first program found out of: `bison -y', `byacc', `yacc'. |
1994 YFLAGS The list of arguments that will be passed by default to $YACC. | 1997 YFLAGS The list of arguments that will be passed by default to $YACC. |
2061 | 2064 |
2062 test -n "$ac_init_help" && exit $ac_status | 2065 test -n "$ac_init_help" && exit $ac_status |
2063 if $ac_init_version; then | 2066 if $ac_init_version; then |
2064 cat <<\_ACEOF | 2067 cat <<\_ACEOF |
2065 XEmacs configure 21.5 | 2068 XEmacs configure 21.5 |
2066 generated by GNU Autoconf 2.64 | 2069 generated by GNU Autoconf 2.65 |
2067 | 2070 |
2068 Copyright (C) 2009 Free Software Foundation, Inc. | 2071 Copyright (C) 2009 Free Software Foundation, Inc. |
2069 This configure script is free software; the Free Software Foundation | 2072 This configure script is free software; the Free Software Foundation |
2070 gives unlimited permission to copy, distribute and modify it. | 2073 gives unlimited permission to copy, distribute and modify it. |
2071 | 2074 |
2154 sed 's/^/| /' conftest.$ac_ext >&5 | 2157 sed 's/^/| /' conftest.$ac_ext >&5 |
2155 | 2158 |
2156 ac_retval=1 | 2159 ac_retval=1 |
2157 fi | 2160 fi |
2158 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 2161 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2159 return $ac_retval | 2162 as_fn_set_status $ac_retval |
2160 | 2163 |
2161 } # ac_fn_c_try_compile | 2164 } # ac_fn_c_try_compile |
2162 | 2165 |
2163 # ac_fn_c_try_cpp LINENO | 2166 # ac_fn_c_try_cpp LINENO |
2164 # ---------------------- | 2167 # ---------------------- |
2191 sed 's/^/| /' conftest.$ac_ext >&5 | 2194 sed 's/^/| /' conftest.$ac_ext >&5 |
2192 | 2195 |
2193 ac_retval=1 | 2196 ac_retval=1 |
2194 fi | 2197 fi |
2195 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 2198 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2196 return $ac_retval | 2199 as_fn_set_status $ac_retval |
2197 | 2200 |
2198 } # ac_fn_c_try_cpp | 2201 } # ac_fn_c_try_cpp |
2199 | 2202 |
2200 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | 2203 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2201 # ------------------------------------------------------- | 2204 # ------------------------------------------------------- |
2326 | 2329 |
2327 ac_retval=$ac_status | 2330 ac_retval=$ac_status |
2328 fi | 2331 fi |
2329 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 2332 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2330 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 2333 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2331 return $ac_retval | 2334 as_fn_set_status $ac_retval |
2332 | 2335 |
2333 } # ac_fn_c_try_run | 2336 } # ac_fn_c_try_run |
2334 | 2337 |
2335 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | 2338 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
2336 # ------------------------------------------------------- | 2339 # ------------------------------------------------------- |
2403 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | 2406 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
2404 # interfere with the next link command; also delete a directory that is | 2407 # interfere with the next link command; also delete a directory that is |
2405 # left behind by Apple's compiler. We do this before executing the actions. | 2408 # left behind by Apple's compiler. We do this before executing the actions. |
2406 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 2409 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2407 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 2410 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2408 return $ac_retval | 2411 as_fn_set_status $ac_retval |
2409 | 2412 |
2410 } # ac_fn_c_try_link | 2413 } # ac_fn_c_try_link |
2411 | 2414 |
2412 # ac_fn_c_check_func LINENO FUNC VAR | 2415 # ac_fn_c_check_func LINENO FUNC VAR |
2413 # ---------------------------------- | 2416 # ---------------------------------- |
2798 conftest.$ac_objext conftest.beam conftest.$ac_ext | 2801 conftest.$ac_objext conftest.beam conftest.$ac_ext |
2799 rm -f conftest.val | 2802 rm -f conftest.val |
2800 | 2803 |
2801 fi | 2804 fi |
2802 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 2805 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2803 return $ac_retval | 2806 as_fn_set_status $ac_retval |
2804 | 2807 |
2805 } # ac_fn_c_compute_int | 2808 } # ac_fn_c_compute_int |
2806 cat >config.log <<_ACEOF | 2809 cat >config.log <<_ACEOF |
2807 This file contains any messages produced by compilers while | 2810 This file contains any messages produced by compilers while |
2808 running configure, to aid debugging if configure makes a mistake. | 2811 running configure, to aid debugging if configure makes a mistake. |
2809 | 2812 |
2810 It was created by XEmacs $as_me 21.5, which was | 2813 It was created by XEmacs $as_me 21.5, which was |
2811 generated by GNU Autoconf 2.64. Invocation command line was | 2814 generated by GNU Autoconf 2.65. Invocation command line was |
2812 | 2815 |
2813 $ $0 $@ | 2816 $ $0 $@ |
2814 | 2817 |
2815 _ACEOF | 2818 _ACEOF |
2816 exec 5>>config.log | 2819 exec 5>>config.log |
3059 ac_site_file2=$ac_default_prefix/etc/config.site | 3062 ac_site_file2=$ac_default_prefix/etc/config.site |
3060 fi | 3063 fi |
3061 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 3064 for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
3062 do | 3065 do |
3063 test "x$ac_site_file" = xNONE && continue | 3066 test "x$ac_site_file" = xNONE && continue |
3064 if test -r "$ac_site_file"; then | 3067 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 3068 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
3066 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 3069 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
3067 sed 's/^/| /' "$ac_site_file" >&5 | 3070 sed 's/^/| /' "$ac_site_file" >&5 |
3068 . "$ac_site_file" | 3071 . "$ac_site_file" |
3069 fi | 3072 fi |
3070 done | 3073 done |
3071 | 3074 |
3072 if test -r "$cache_file"; then | 3075 if test -r "$cache_file"; then |
3073 # Some versions of bash will fail to source /dev/null (special | 3076 # Some versions of bash will fail to source /dev/null (special files |
3074 # files actually), so we avoid doing that. | 3077 # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
3075 if test -f "$cache_file"; then | 3078 if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 3079 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
3077 $as_echo "$as_me: loading cache $cache_file" >&6;} | 3080 $as_echo "$as_me: loading cache $cache_file" >&6;} |
3078 case $cache_file in | 3081 case $cache_file in |
3079 [\\/]* | ?:[\\/]* ) . "$cache_file";; | 3082 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
3080 *) . "./$cache_file";; | 3083 *) . "./$cache_file";; |
6293 if test -s conftest.err; then | 6296 if test -s conftest.err; then |
6294 sed '10a\ | 6297 sed '10a\ |
6295 ... rest of stderr output deleted ... | 6298 ... rest of stderr output deleted ... |
6296 10q' conftest.err >conftest.er1 | 6299 10q' conftest.err >conftest.er1 |
6297 cat conftest.er1 >&5 | 6300 cat conftest.er1 >&5 |
6298 rm -f conftest.er1 conftest.err | |
6299 fi | 6301 fi |
6302 rm -f conftest.er1 conftest.err | |
6300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6301 test $ac_status = 0; } | 6304 test $ac_status = 0; } |
6302 done | 6305 done |
6303 | 6306 |
6304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6305 /* end confdefs.h. */ | 6308 /* end confdefs.h. */ |
6306 #include <stdio.h> | 6309 |
6307 int | 6310 int |
6308 main () | 6311 main () |
6309 { | 6312 { |
6310 FILE *f = fopen ("conftest.out", "w"); | |
6311 return ferror (f) || fclose (f) != 0; | |
6312 | 6313 |
6313 ; | 6314 ; |
6314 return 0; | 6315 return 0; |
6315 } | 6316 } |
6316 _ACEOF | 6317 _ACEOF |
6317 ac_clean_files_save=$ac_clean_files | 6318 ac_clean_files_save=$ac_clean_files |
6318 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" | 6319 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
6319 # Try to create an executable without -o first, disregard a.out. | 6320 # Try to create an executable without -o first, disregard a.out. |
6320 # It will help us diagnose broken compilers, and finding out an intuition | 6321 # It will help us diagnose broken compilers, and finding out an intuition |
6321 # of exeext. | 6322 # of exeext. |
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
6323 $as_echo_n "checking for C compiler default output file name... " >&6; } | 6324 $as_echo_n "checking whether the C compiler works... " >&6; } |
6324 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 6325 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
6325 | 6326 |
6326 # The possible output files: | 6327 # The possible output files: |
6327 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | 6328 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
6328 | 6329 |
6380 test "$ac_cv_exeext" = no && ac_cv_exeext= | 6381 test "$ac_cv_exeext" = no && ac_cv_exeext= |
6381 | 6382 |
6382 else | 6383 else |
6383 ac_file='' | 6384 ac_file='' |
6384 fi | 6385 fi |
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
6386 $as_echo "$ac_file" >&6; } | |
6387 if test -z "$ac_file"; then : | 6386 if test -z "$ac_file"; then : |
6388 $as_echo "$as_me: failed program was:" >&5 | 6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6388 $as_echo "no" >&6; } | |
6389 $as_echo "$as_me: failed program was:" >&5 | |
6389 sed 's/^/| /' conftest.$ac_ext >&5 | 6390 sed 's/^/| /' conftest.$ac_ext >&5 |
6390 | 6391 |
6391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 6392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
6392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 6393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
6393 { as_fn_set_status 77 | 6394 { as_fn_set_status 77 |
6394 as_fn_error "C compiler cannot create executables | 6395 as_fn_error "C compiler cannot create executables |
6395 See \`config.log' for more details." "$LINENO" 5; }; } | 6396 See \`config.log' for more details." "$LINENO" 5; }; } |
6396 fi | 6397 else |
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
6399 $as_echo "yes" >&6; } | |
6400 fi | |
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
6402 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
6404 $as_echo "$ac_file" >&6; } | |
6397 ac_exeext=$ac_cv_exeext | 6405 ac_exeext=$ac_cv_exeext |
6398 | 6406 |
6399 # Check that the compiler produces executables we can run. If not, either | 6407 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
6400 # the compiler is broken, or we cross compile. | |
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | |
6402 $as_echo_n "checking whether the C compiler works... " >&6; } | |
6403 # If not cross compiling, check that we can run a simple program. | |
6404 if test "$cross_compiling" != yes; then | |
6405 if { ac_try='./$ac_file' | |
6406 { { case "(($ac_try" in | |
6407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6408 *) ac_try_echo=$ac_try;; | |
6409 esac | |
6410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
6411 $as_echo "$ac_try_echo"; } >&5 | |
6412 (eval "$ac_try") 2>&5 | |
6413 ac_status=$? | |
6414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
6415 test $ac_status = 0; }; }; then | |
6416 cross_compiling=no | |
6417 else | |
6418 if test "$cross_compiling" = maybe; then | |
6419 cross_compiling=yes | |
6420 else | |
6421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
6422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
6423 as_fn_error "cannot run C compiled programs. | |
6424 If you meant to cross compile, use \`--host'. | |
6425 See \`config.log' for more details." "$LINENO" 5; } | |
6426 fi | |
6427 fi | |
6428 fi | |
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
6430 $as_echo "yes" >&6; } | |
6431 | |
6432 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out | |
6433 ac_clean_files=$ac_clean_files_save | 6408 ac_clean_files=$ac_clean_files_save |
6434 # Check that the compiler produces executables we can run. If not, either | |
6435 # the compiler is broken, or we cross compile. | |
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
6437 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
6439 $as_echo "$cross_compiling" >&6; } | |
6440 | |
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
6442 $as_echo_n "checking for suffix of executables... " >&6; } | 6410 $as_echo_n "checking for suffix of executables... " >&6; } |
6443 if { { ac_try="$ac_link" | 6411 if { { ac_try="$ac_link" |
6444 case "(($ac_try" in | 6412 case "(($ac_try" in |
6445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 6413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 6436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
6469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 6437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
6470 as_fn_error "cannot compute suffix of executables: cannot compile and link | 6438 as_fn_error "cannot compute suffix of executables: cannot compile and link |
6471 See \`config.log' for more details." "$LINENO" 5; } | 6439 See \`config.log' for more details." "$LINENO" 5; } |
6472 fi | 6440 fi |
6473 rm -f conftest$ac_cv_exeext | 6441 rm -f conftest conftest$ac_cv_exeext |
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
6475 $as_echo "$ac_cv_exeext" >&6; } | 6443 $as_echo "$ac_cv_exeext" >&6; } |
6476 | 6444 |
6477 rm -f conftest.$ac_ext | 6445 rm -f conftest.$ac_ext |
6478 EXEEXT=$ac_cv_exeext | 6446 EXEEXT=$ac_cv_exeext |
6479 ac_exeext=$EXEEXT | 6447 ac_exeext=$EXEEXT |
6448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6449 /* end confdefs.h. */ | |
6450 #include <stdio.h> | |
6451 int | |
6452 main () | |
6453 { | |
6454 FILE *f = fopen ("conftest.out", "w"); | |
6455 return ferror (f) || fclose (f) != 0; | |
6456 | |
6457 ; | |
6458 return 0; | |
6459 } | |
6460 _ACEOF | |
6461 ac_clean_files="$ac_clean_files conftest.out" | |
6462 # Check that the compiler produces executables we can run. If not, either | |
6463 # the compiler is broken, or we cross compile. | |
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
6465 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
6466 if test "$cross_compiling" != yes; then | |
6467 { { ac_try="$ac_link" | |
6468 case "(($ac_try" in | |
6469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6470 *) ac_try_echo=$ac_try;; | |
6471 esac | |
6472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
6473 $as_echo "$ac_try_echo"; } >&5 | |
6474 (eval "$ac_link") 2>&5 | |
6475 ac_status=$? | |
6476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
6477 test $ac_status = 0; } | |
6478 if { ac_try='./conftest$ac_cv_exeext' | |
6479 { { case "(($ac_try" in | |
6480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6481 *) ac_try_echo=$ac_try;; | |
6482 esac | |
6483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
6484 $as_echo "$ac_try_echo"; } >&5 | |
6485 (eval "$ac_try") 2>&5 | |
6486 ac_status=$? | |
6487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
6488 test $ac_status = 0; }; }; then | |
6489 cross_compiling=no | |
6490 else | |
6491 if test "$cross_compiling" = maybe; then | |
6492 cross_compiling=yes | |
6493 else | |
6494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
6495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
6496 as_fn_error "cannot run C compiled programs. | |
6497 If you meant to cross compile, use \`--host'. | |
6498 See \`config.log' for more details." "$LINENO" 5; } | |
6499 fi | |
6500 fi | |
6501 fi | |
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
6503 $as_echo "$cross_compiling" >&6; } | |
6504 | |
6505 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
6506 ac_clean_files=$ac_clean_files_save | |
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | 6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
6481 $as_echo_n "checking for suffix of object files... " >&6; } | 6508 $as_echo_n "checking for suffix of object files... " >&6; } |
6482 if test "${ac_cv_objext+set}" = set; then : | 6509 if test "${ac_cv_objext+set}" = set; then : |
6483 $as_echo_n "(cached) " >&6 | 6510 $as_echo_n "(cached) " >&6 |
6484 else | 6511 else |
7533 if test -s conftest.err; then | 7560 if test -s conftest.err; then |
7534 sed '10a\ | 7561 sed '10a\ |
7535 ... rest of stderr output deleted ... | 7562 ... rest of stderr output deleted ... |
7536 10q' conftest.err >conftest.er1 | 7563 10q' conftest.err >conftest.er1 |
7537 cat conftest.er1 >&5 | 7564 cat conftest.er1 >&5 |
7538 rm -f conftest.er1 conftest.err | |
7539 fi | 7565 fi |
7566 rm -f conftest.er1 conftest.err | |
7540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
7541 test $ac_status = 0; } | 7568 test $ac_status = 0; } |
7542 done | 7569 done |
7543 | 7570 |
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
8081 if test -s conftest.err; then | 8108 if test -s conftest.err; then |
8082 sed '10a\ | 8109 sed '10a\ |
8083 ... rest of stderr output deleted ... | 8110 ... rest of stderr output deleted ... |
8084 10q' conftest.err >conftest.er1 | 8111 10q' conftest.err >conftest.er1 |
8085 cat conftest.er1 >&5 | 8112 cat conftest.er1 >&5 |
8086 rm -f conftest.er1 conftest.err | |
8087 fi | 8113 fi |
8114 rm -f conftest.er1 conftest.err | |
8088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8089 test $ac_status = 0; } | 8116 test $ac_status = 0; } |
8090 done | 8117 done |
8091 | 8118 |
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
8629 if test -s conftest.err; then | 8656 if test -s conftest.err; then |
8630 sed '10a\ | 8657 sed '10a\ |
8631 ... rest of stderr output deleted ... | 8658 ... rest of stderr output deleted ... |
8632 10q' conftest.err >conftest.er1 | 8659 10q' conftest.err >conftest.er1 |
8633 cat conftest.er1 >&5 | 8660 cat conftest.er1 >&5 |
8634 rm -f conftest.er1 conftest.err | |
8635 fi | 8661 fi |
8662 rm -f conftest.er1 conftest.err | |
8636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8637 test $ac_status = 0; } | 8664 test $ac_status = 0; } |
8638 done | 8665 done |
8639 | 8666 |
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 8667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
8906 | 8933 |
8907 test -n "$with_xemacs_compiler" && XEMACS_CC="$with_xemacs_compiler" | 8934 test -n "$with_xemacs_compiler" && XEMACS_CC="$with_xemacs_compiler" |
8908 : ${XEMACS_CC:="$CC"} | 8935 : ${XEMACS_CC:="$CC"} |
8909 | 8936 |
8910 | 8937 |
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using g++" >&5 | |
8939 $as_echo_n "checking whether we are using g++... " >&6; } | |
8940 | |
8941 XEMACS_CC_GPP=no | |
8942 case "$XEMACS_CC" in | |
8943 *g++* ) XEMACS_CC_GPP=yes ;; | |
8944 esac | |
8945 | |
8946 if test "$XEMACS_CC_GPP" = "no" -a "$GCC" = "yes"; then | |
8947 case "`$XEMACS_CC --version`" in | |
8948 g++* ) XEMACS_CC_GPP=yes ;; | |
8949 esac | |
8950 fi | |
8951 | |
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XEMACS_CC_GPP" >&5 | |
8953 $as_echo "$XEMACS_CC_GPP" >&6; } | |
8954 | |
8955 | |
8911 test -n "$CPP" -a -d "$CPP" && CPP= | 8956 test -n "$CPP" -a -d "$CPP" && CPP= |
8912 | 8957 |
8913 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 8958 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
8914 | 8959 |
8915 ac_ext=c | 8960 ac_ext=c |
9434 fi | 9479 fi |
9435 | 9480 |
9436 | 9481 |
9437 xemacs_cc_cc_mismatch=no | 9482 xemacs_cc_cc_mismatch=no |
9438 if test "$CC" != "$XEMACS_CC"; then | 9483 if test "$CC" != "$XEMACS_CC"; then |
9439 case "$XEMACS_CC" in | 9484 if test "$XEMACS_CC_GPP" = "yes" -a "$GCC" != "yes"; then |
9440 *g++* ) | 9485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CC and g++ are mismatched; XE_CFLAGS may be wrong" >&5 |
9441 if test "$GCC" != "yes"; then | |
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CC and g++ are mismatched; XE_CFLAGS may be wrong" >&5 | |
9443 $as_echo "$as_me: WARNING: CC and g++ are mismatched; XE_CFLAGS may be wrong" >&2;} | 9486 $as_echo "$as_me: WARNING: CC and g++ are mismatched; XE_CFLAGS may be wrong" >&2;} |
9444 xemacs_cc_cc_mismatch=yes | 9487 xemacs_cc_cc_mismatch=yes |
9445 fi | 9488 fi |
9446 ;; | 9489 if test -n "$GCC" -a "$XEMACS_CC_GPP" != "yes" ; then |
9447 esac | 9490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gcc and XEMACS_CC are mismatched; XE_CFLAGS may be wrong" >&5 |
9448 if test -n "$GCC"; then | |
9449 case $XEMACS_CC in | |
9450 *g++* ) | |
9451 # it's as expected, do nothing | |
9452 ;; | |
9453 * ) | |
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gcc and XEMACS_CC are mismatched; XE_CFLAGS may be wrong" >&5 | |
9455 $as_echo "$as_me: WARNING: gcc and XEMACS_CC are mismatched; XE_CFLAGS may be wrong" >&2;} | 9491 $as_echo "$as_me: WARNING: gcc and XEMACS_CC are mismatched; XE_CFLAGS may be wrong" >&2;} |
9456 xemacs_cc_cc_mismatch=yes | 9492 xemacs_cc_cc_mismatch=yes |
9457 ;; | |
9458 esac | |
9459 fi | 9493 fi |
9460 fi | 9494 fi |
9461 | 9495 |
9462 | 9496 |
9463 if test -z "$with_optimization"; then | 9497 if test -z "$with_optimization"; then |
9476 fi | 9510 fi |
9477 fi | 9511 fi |
9478 | 9512 |
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preferred optimization flags" >&5 | 9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preferred optimization flags" >&5 |
9480 $as_echo_n "checking for preferred optimization flags... " >&6; } | 9514 $as_echo_n "checking for preferred optimization flags... " >&6; } |
9481 if test "$with_optimization" = "yes" ; then | 9515 if test "$cflags_optimization_specified" = "no"; then |
9482 if test "$cflags_optimization_specified" = "no"; then | 9516 if test "$with_optimization" = "yes" ; then |
9483 if test "$GCC" = "yes"; then | 9517 if test "$GCC" = "yes"; then |
9484 with_cflags_optimization="-O3" | 9518 with_cflags_optimization="-O3 -fno-strict-aliasing" |
9485 elif test "$__SUNPRO_C" = "yes"; then | 9519 elif test "$__SUNPRO_C" = "yes"; then |
9486 case "$opsys" in | 9520 case "$opsys" in |
9487 sol2 ) with_cflags_optimization="-xO4" ;; | 9521 sol2 ) with_cflags_optimization="-xO4" ;; |
9488 esac | 9522 esac |
9489 elif test "$__DECC" = "yes"; then | 9523 elif test "$__DECC" = "yes"; then |
9492 with_cflags_optimization="-O3 -qstrict -qnoansialias -qlibansi -qmaxmem=20000" | 9526 with_cflags_optimization="-O3 -qstrict -qnoansialias -qlibansi -qmaxmem=20000" |
9493 elif test "$__ICC" = "yes"; then | 9527 elif test "$__ICC" = "yes"; then |
9494 with_cflags_optimization="-O3 -Ob2" | 9528 with_cflags_optimization="-O3 -Ob2" |
9495 else | 9529 else |
9496 with_cflags_optimization="-O" ; fi | 9530 with_cflags_optimization="-O" ; fi |
9531 elif test "$XEMACS_CC_GPP" = "yes" ; then | |
9532 with_cflags_optimization="-fno-strict-aliasing" | |
9497 fi | 9533 fi |
9498 else | |
9499 with_cflags_optimization= | |
9500 fi | 9534 fi |
9501 | 9535 |
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_cflags_optimization}" >&5 | 9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_cflags_optimization}" >&5 |
9503 $as_echo "${with_cflags_optimization}" >&6; } | 9537 $as_echo "${with_cflags_optimization}" >&6; } |
9504 | 9538 |
9537 | 9571 |
9538 with_cflags_warning="$with_cflags_warning -Wsign-compare -Wno-char-subscripts" | 9572 with_cflags_warning="$with_cflags_warning -Wsign-compare -Wno-char-subscripts" |
9539 test "$__GCC" -ge 3 && with_cflags_warning="$with_cflags_warning -Wpacked" | 9573 test "$__GCC" -ge 3 && with_cflags_warning="$with_cflags_warning -Wpacked" |
9540 test "$have_glibc" != "yes" && \ | 9574 test "$have_glibc" != "yes" && \ |
9541 with_cflags_warning="$with_cflags_warning -Wpointer-arith" | 9575 with_cflags_warning="$with_cflags_warning -Wpointer-arith" |
9542 if test "$with_xemacs_compiler" = "g++"; then | 9576 if test "$XEMACS_CC_GPP" = "yes"; then |
9543 xe_cflags_warning="$with_cflags_warning -Weffc++" | 9577 xe_cflags_warning="$with_cflags_warning -Weffc++" |
9544 elif test "$__GCC" -ge 3; then | 9578 elif test "$__GCC" -ge 3; then |
9545 xe_cflags_warning="$with_cflags_warning -Wunused-parameter" | 9579 xe_cflags_warning="$with_cflags_warning -Wunused-parameter" |
9546 if test "$__GCC" -gt 3 || test "$__GCC_MINOR" -ge 4; then | 9580 if test "$__GCC" -gt 3 || test "$__GCC_MINOR" -ge 4; then |
9547 with_cflags_warning="$with_cflags_warning -Wdeclaration-after-statement" | 9581 with_cflags_warning="$with_cflags_warning -Wdeclaration-after-statement" |
13880 | 13914 |
13881 | 13915 |
13882 | 13916 |
13883 | 13917 |
13884 | 13918 |
13885 if test "$with_xemacs_compiler" = "g++"; then | 13919 if test "$XEMACS_CC_GPP" = "yes"; then |
13886 LIBSTDCPP=-lstdc++ | 13920 LIBSTDCPP=-lstdc++ |
13887 else | 13921 else |
13888 LIBSTDCPP= | 13922 LIBSTDCPP= |
13889 fi | 13923 fi |
13890 | 13924 |
14552 can_build_shared=no | 14586 can_build_shared=no |
14553 fi | 14587 fi |
14554 fi # End of if cc_produces_so = no | 14588 fi # End of if cc_produces_so = no |
14555 | 14589 |
14556 | 14590 |
14557 if test "$xe_gnu_ld" = yes; then | 14591 if test "$xe_gnu_ld" = yes -a "$ld_shlibs" = yes; then |
14558 if test "$ld_shlibs" = yes; then | 14592 case "$xehost_os" in |
14593 *cygwin* | *mingw* ) | |
14594 # -export-all-symbols is the PE equivalent of ELF-specific -export-dynamic | |
14595 ld_dynamic_link_flags="${wl}-export-all-symbols" | |
14596 ;; | |
14597 | |
14598 *) | |
14559 ld_dynamic_link_flags="${wl}-export-dynamic" | 14599 ld_dynamic_link_flags="${wl}-export-dynamic" |
14560 fi | 14600 ;; |
14601 esac | |
14561 fi | 14602 fi |
14562 | 14603 |
14563 if test -z "$ld_dynamic_link_flags"; then | 14604 if test -z "$ld_dynamic_link_flags"; then |
14564 case "$xehost_os" in | 14605 case "$xehost_os" in |
14565 aix[3-9]*) | 14606 aix[3-9]*) |
20644 elif test "$with_debug_malloc" = "yes"; then $as_echo "#define USE_DEBUG_MALLOC 1" >>confdefs.h | 20685 elif test "$with_debug_malloc" = "yes"; then $as_echo "#define USE_DEBUG_MALLOC 1" >>confdefs.h |
20645 | 20686 |
20646 $as_echo "#define USE_SYSTEM_MALLOC 1" >>confdefs.h | 20687 $as_echo "#define USE_SYSTEM_MALLOC 1" >>confdefs.h |
20647 | 20688 |
20648 fi | 20689 fi |
20649 test "$GCC" = "yes" && $as_echo "#define USE_GCC 1" >>confdefs.h | 20690 test "$GCC" = "yes" && $as_echo "#define USE_GCC 1" >>confdefs.h |
20650 | 20691 |
20651 test "$with_xemacs_compiler" = "g++" && $as_echo "#define USE_GPLUSPLUS 1" >>confdefs.h | 20692 test "$XEMACS_CC_GPP" = "yes" && $as_echo "#define USE_GPLUSPLUS 1" >>confdefs.h |
20652 | 20693 |
20653 test "$with_external_widget" = "yes" && $as_echo "#define EXTERNAL_WIDGET 1" >>confdefs.h | 20694 test "$with_external_widget" = "yes" && $as_echo "#define EXTERNAL_WIDGET 1" >>confdefs.h |
20654 | 20695 |
20655 test "$with_kkcc" = "yes" && $as_echo "#define USE_KKCC 1" >>confdefs.h | 20696 test "$with_kkcc" = "yes" && $as_echo "#define USE_KKCC 1" >>confdefs.h |
20656 | 20697 |
20657 test "$with_newgc" = "yes" && $as_echo "#define NEW_GC 1" >>confdefs.h | 20698 test "$with_newgc" = "yes" && $as_echo "#define NEW_GC 1" >>confdefs.h |
20658 | 20699 |
20659 test "$have_vdb_posix" = "yes" && $as_echo "#define VDB_POSIX 1" >>confdefs.h | 20700 test "$have_vdb_posix" = "yes" && $as_echo "#define VDB_POSIX 1" >>confdefs.h |
20660 | 20701 |
20661 test "$have_vdb_fake" = "yes" && $as_echo "#define VDB_FAKE 1" >>confdefs.h | 20702 test "$have_vdb_fake" = "yes" && $as_echo "#define VDB_FAKE 1" >>confdefs.h |
20662 | 20703 |
20663 test "$with_quick_build" = "yes" && $as_echo "#define QUICK_BUILD 1" >>confdefs.h | 20704 test "$with_quick_build" = "yes" && $as_echo "#define QUICK_BUILD 1" >>confdefs.h |
20664 | 20705 |
20665 test "$with_purify" = "yes" && $as_echo "#define PURIFY 1" >>confdefs.h | 20706 test "$with_purify" = "yes" && $as_echo "#define PURIFY 1" >>confdefs.h |
20666 | 20707 |
20667 test "$with_quantify" = "yes" && $as_echo "#define QUANTIFY 1" >>confdefs.h | 20708 test "$with_quantify" = "yes" && $as_echo "#define QUANTIFY 1" >>confdefs.h |
20668 | 20709 |
20669 test "$with_valgrind" = "yes" && $as_echo "#define USE_VALGRIND 1" >>confdefs.h | 20710 test "$with_valgrind" = "yes" && $as_echo "#define USE_VALGRIND 1" >>confdefs.h |
20670 | 20711 |
20671 test "$with_pop" = "yes" && $as_echo "#define MAIL_USE_POP 1" >>confdefs.h | 20712 test "$with_pop" = "yes" && $as_echo "#define MAIL_USE_POP 1" >>confdefs.h |
20672 | 20713 |
20673 test "$with_kerberos" = "yes" && $as_echo "#define KERBEROS 1" >>confdefs.h | 20714 test "$with_kerberos" = "yes" && $as_echo "#define KERBEROS 1" >>confdefs.h |
20674 | 20715 |
20675 test "$with_hesiod" = "yes" && $as_echo "#define HESIOD 1" >>confdefs.h | 20716 test "$with_hesiod" = "yes" && $as_echo "#define HESIOD 1" >>confdefs.h |
20676 | 20717 |
20677 test "$with_union_type" = "yes" && $as_echo "#define USE_UNION_TYPE 1" >>confdefs.h | 20718 test "$with_union_type" = "yes" && $as_echo "#define USE_UNION_TYPE 1" >>confdefs.h |
20678 | 20719 |
20679 test "$with_pdump" = "yes" && $as_echo "#define PDUMP 1" >>confdefs.h | 20720 test "$with_pdump" = "yes" && $as_echo "#define PDUMP 1" >>confdefs.h |
20680 | 20721 |
20681 test "$with_dump_in_exec" = "yes" && $as_echo "#define DUMP_IN_EXEC 1" >>confdefs.h | 20722 test "$with_dump_in_exec" = "yes" && $as_echo "#define DUMP_IN_EXEC 1" >>confdefs.h |
20682 | 20723 |
20683 test "$with_ipv6_cname" = "yes" && $as_echo "#define IPV6_CANONICALIZE 1" >>confdefs.h | 20724 test "$with_ipv6_cname" = "yes" && $as_echo "#define IPV6_CANONICALIZE 1" >>confdefs.h |
20684 | 20725 |
20685 | 20726 |
20686 | 20727 |
20687 | 20728 |
20688 | 20729 |
21529 # Save the log message, to keep $0 and so on meaningful, and to | 21570 # Save the log message, to keep $0 and so on meaningful, and to |
21530 # report actual input values of CONFIG_FILES etc. instead of their | 21571 # report actual input values of CONFIG_FILES etc. instead of their |
21531 # values after options handling. | 21572 # values after options handling. |
21532 ac_log=" | 21573 ac_log=" |
21533 This file was extended by XEmacs $as_me 21.5, which was | 21574 This file was extended by XEmacs $as_me 21.5, which was |
21534 generated by GNU Autoconf 2.64. Invocation command line was | 21575 generated by GNU Autoconf 2.65. Invocation command line was |
21535 | 21576 |
21536 CONFIG_FILES = $CONFIG_FILES | 21577 CONFIG_FILES = $CONFIG_FILES |
21537 CONFIG_HEADERS = $CONFIG_HEADERS | 21578 CONFIG_HEADERS = $CONFIG_HEADERS |
21538 CONFIG_LINKS = $CONFIG_LINKS | 21579 CONFIG_LINKS = $CONFIG_LINKS |
21539 CONFIG_COMMANDS = $CONFIG_COMMANDS | 21580 CONFIG_COMMANDS = $CONFIG_COMMANDS |
21569 | 21610 |
21570 Usage: $0 [OPTION]... [TAG]... | 21611 Usage: $0 [OPTION]... [TAG]... |
21571 | 21612 |
21572 -h, --help print this help, then exit | 21613 -h, --help print this help, then exit |
21573 -V, --version print version number and configuration settings, then exit | 21614 -V, --version print version number and configuration settings, then exit |
21615 --config print configuration, then exit | |
21574 -q, --quiet, --silent | 21616 -q, --quiet, --silent |
21575 do not print progress messages | 21617 do not print progress messages |
21576 -d, --debug don't remove temporary files | 21618 -d, --debug don't remove temporary files |
21577 --recheck update $as_me by reconfiguring in the same conditions | 21619 --recheck update $as_me by reconfiguring in the same conditions |
21578 --file=FILE[:TEMPLATE] | 21620 --file=FILE[:TEMPLATE] |
21591 | 21633 |
21592 Report bugs to <xemacs-beta@xemacs.org>." | 21634 Report bugs to <xemacs-beta@xemacs.org>." |
21593 | 21635 |
21594 _ACEOF | 21636 _ACEOF |
21595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 21637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
21638 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
21596 ac_cs_version="\\ | 21639 ac_cs_version="\\ |
21597 XEmacs config.status 21.5 | 21640 XEmacs config.status 21.5 |
21598 configured by $0, generated by GNU Autoconf 2.64, | 21641 configured by $0, generated by GNU Autoconf 2.65, |
21599 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | 21642 with options \\"\$ac_cs_config\\" |
21600 | 21643 |
21601 Copyright (C) 2009 Free Software Foundation, Inc. | 21644 Copyright (C) 2009 Free Software Foundation, Inc. |
21602 This config.status script is free software; the Free Software Foundation | 21645 This config.status script is free software; the Free Software Foundation |
21603 gives unlimited permission to copy, distribute and modify it." | 21646 gives unlimited permission to copy, distribute and modify it." |
21604 | 21647 |
21630 # Handling of the options. | 21673 # Handling of the options. |
21631 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 21674 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
21632 ac_cs_recheck=: ;; | 21675 ac_cs_recheck=: ;; |
21633 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 21676 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
21634 $as_echo "$ac_cs_version"; exit ;; | 21677 $as_echo "$ac_cs_version"; exit ;; |
21678 --config | --confi | --conf | --con | --co | --c ) | |
21679 $as_echo "$ac_cs_config"; exit ;; | |
21635 --debug | --debu | --deb | --de | --d | -d ) | 21680 --debug | --debu | --deb | --de | --d | -d ) |
21636 debug=: ;; | 21681 debug=: ;; |
21637 --file | --fil | --fi | --f ) | 21682 --file | --fil | --fi | --f ) |
21638 $ac_shift | 21683 $ac_shift |
21639 case $ac_optarg in | 21684 case $ac_optarg in |
21824 t repl | 21869 t repl |
21825 s/'"$ac_delim"'$// | 21870 s/'"$ac_delim"'$// |
21826 t delim | 21871 t delim |
21827 :nl | 21872 :nl |
21828 h | 21873 h |
21829 s/\(.\{148\}\).*/\1/ | 21874 s/\(.\{148\}\)..*/\1/ |
21830 t more1 | 21875 t more1 |
21831 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | 21876 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
21832 p | 21877 p |
21833 n | 21878 n |
21834 b repl | 21879 b repl |
21838 g | 21883 g |
21839 s/.\{148\}// | 21884 s/.\{148\}// |
21840 t nl | 21885 t nl |
21841 :delim | 21886 :delim |
21842 h | 21887 h |
21843 s/\(.\{148\}\).*/\1/ | 21888 s/\(.\{148\}\)..*/\1/ |
21844 t more2 | 21889 t more2 |
21845 s/["\\]/\\&/g; s/^/"/; s/$/"/ | 21890 s/["\\]/\\&/g; s/^/"/; s/$/"/ |
21846 p | 21891 p |
21847 b | 21892 b |
21848 :more2 | 21893 :more2 |