… | |
… | |
239 | |
239 | |
240 | # CDPATH. |
240 | # CDPATH. |
241 | $as_unset CDPATH |
241 | $as_unset CDPATH |
242 | |
242 | |
243 | |
243 | |
244 | # Find the correct PATH separator. Usually this is `:', but |
|
|
245 | # DJGPP uses `;' like DOS. |
|
|
246 | if test "X${PATH_SEPARATOR+set}" != Xset; then |
|
|
247 | UNAME=${UNAME-`uname 2>/dev/null`} |
|
|
248 | case X$UNAME in |
|
|
249 | *-DOS) lt_cv_sys_path_separator=';' ;; |
|
|
250 | *) lt_cv_sys_path_separator=':' ;; |
|
|
251 | esac |
|
|
252 | fi |
|
|
253 | |
|
|
254 | |
|
|
255 | # Check that we are running under the correct shell. |
|
|
256 | SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
257 | |
|
|
258 | case "X$ECHO" in |
|
|
259 | X*--fallback-echo) |
|
|
260 | # Remove one level of quotation (which was required for Make). |
|
|
261 | ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` |
|
|
262 | ;; |
|
|
263 | esac |
|
|
264 | |
|
|
265 | echo=${ECHO-echo} |
|
|
266 | if test "X$1" = X--no-reexec; then |
|
|
267 | # Discard the --no-reexec flag, and continue. |
|
|
268 | shift |
|
|
269 | elif test "X$1" = X--fallback-echo; then |
|
|
270 | # Avoid inline document here, it may be left over |
|
|
271 | : |
|
|
272 | elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then |
|
|
273 | # Yippee, $echo works! |
|
|
274 | : |
|
|
275 | else |
|
|
276 | # Restart under the correct shell. |
|
|
277 | exec $SHELL "$0" --no-reexec ${1+"$@"} |
|
|
278 | fi |
|
|
279 | |
|
|
280 | if test "X$1" = X--fallback-echo; then |
|
|
281 | # used as fallback echo |
|
|
282 | shift |
|
|
283 | cat <<EOF |
|
|
284 | |
|
|
285 | EOF |
|
|
286 | exit 0 |
|
|
287 | fi |
|
|
288 | |
|
|
289 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
|
|
290 | # if CDPATH is set. |
|
|
291 | if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
|
|
292 | |
|
|
293 | if test -z "$ECHO"; then |
|
|
294 | if test "X${echo_test_string+set}" != Xset; then |
|
|
295 | # find a string as large as possible, as long as the shell can cope with it |
|
|
296 | for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
|
|
297 | # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
|
|
298 | if (echo_test_string="`eval $cmd`") 2>/dev/null && |
|
|
299 | echo_test_string="`eval $cmd`" && |
|
|
300 | (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null |
|
|
301 | then |
|
|
302 | break |
|
|
303 | fi |
|
|
304 | done |
|
|
305 | fi |
|
|
306 | |
|
|
307 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && |
|
|
308 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && |
|
|
309 | test "X$echo_testing_string" = "X$echo_test_string"; then |
|
|
310 | : |
|
|
311 | else |
|
|
312 | # The Solaris, AIX, and Digital Unix default echo programs unquote |
|
|
313 | # backslashes. This makes it impossible to quote backslashes using |
|
|
314 | # echo "$something" | sed 's/\\/\\\\/g' |
|
|
315 | # |
|
|
316 | # So, first we look for a working echo in the user's PATH. |
|
|
317 | |
|
|
318 | IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}" |
|
|
319 | for dir in $PATH /usr/ucb; do |
|
|
320 | if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
|
|
321 | test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
|
|
322 | echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
|
|
323 | test "X$echo_testing_string" = "X$echo_test_string"; then |
|
|
324 | echo="$dir/echo" |
|
|
325 | break |
|
|
326 | fi |
|
|
327 | done |
|
|
328 | IFS="$save_ifs" |
|
|
329 | |
|
|
330 | if test "X$echo" = Xecho; then |
|
|
331 | # We didn't find a better echo, so look for alternatives. |
|
|
332 | if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && |
|
|
333 | echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && |
|
|
334 | test "X$echo_testing_string" = "X$echo_test_string"; then |
|
|
335 | # This shell has a builtin print -r that does the trick. |
|
|
336 | echo='print -r' |
|
|
337 | elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && |
|
|
338 | test "X$CONFIG_SHELL" != X/bin/ksh; then |
|
|
339 | # If we have ksh, try running ltconfig again with it. |
|
|
340 | ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
341 | export ORIGINAL_CONFIG_SHELL |
|
|
342 | CONFIG_SHELL=/bin/ksh |
|
|
343 | export CONFIG_SHELL |
|
|
344 | exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
|
|
345 | else |
|
|
346 | # Try using printf. |
|
|
347 | echo='printf %s\n' |
|
|
348 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && |
|
|
349 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && |
|
|
350 | test "X$echo_testing_string" = "X$echo_test_string"; then |
|
|
351 | # Cool, printf works |
|
|
352 | : |
|
|
353 | elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
|
|
354 | test "X$echo_testing_string" = 'X\t' && |
|
|
355 | echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
|
|
356 | test "X$echo_testing_string" = "X$echo_test_string"; then |
|
|
357 | CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
|
|
358 | export CONFIG_SHELL |
|
|
359 | SHELL="$CONFIG_SHELL" |
|
|
360 | export SHELL |
|
|
361 | echo="$CONFIG_SHELL $0 --fallback-echo" |
|
|
362 | elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
|
|
363 | test "X$echo_testing_string" = 'X\t' && |
|
|
364 | echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
|
|
365 | test "X$echo_testing_string" = "X$echo_test_string"; then |
|
|
366 | echo="$CONFIG_SHELL $0 --fallback-echo" |
|
|
367 | else |
|
|
368 | # maybe with a smaller string... |
|
|
369 | prev=: |
|
|
370 | |
|
|
371 | for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
|
|
372 | if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null |
|
|
373 | then |
|
|
374 | break |
|
|
375 | fi |
|
|
376 | prev="$cmd" |
|
|
377 | done |
|
|
378 | |
|
|
379 | if test "$prev" != 'sed 50q "$0"'; then |
|
|
380 | echo_test_string=`eval $prev` |
|
|
381 | export echo_test_string |
|
|
382 | exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
|
|
383 | else |
|
|
384 | # Oops. We lost completely, so just stick with echo. |
|
|
385 | echo=echo |
|
|
386 | fi |
|
|
387 | fi |
|
|
388 | fi |
|
|
389 | fi |
|
|
390 | fi |
|
|
391 | fi |
|
|
392 | |
|
|
393 | # Copy echo and quote the copy suitably for passing to libtool from |
|
|
394 | # the Makefile, instead of quoting the original, which is used later. |
|
|
395 | ECHO=$echo |
|
|
396 | if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
|
|
397 | ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
|
|
398 | fi |
|
|
399 | |
|
|
400 | |
|
|
401 | |
|
|
402 | # Name of the host. |
244 | # Name of the host. |
403 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
245 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
404 | # so uname gets run too. |
246 | # so uname gets run too. |
405 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
247 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
406 | |
248 | |
… | |
… | |
465 | #endif |
307 | #endif |
466 | #if HAVE_UNISTD_H |
308 | #if HAVE_UNISTD_H |
467 | # include <unistd.h> |
309 | # include <unistd.h> |
468 | #endif" |
310 | #endif" |
469 | |
311 | |
470 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AWK LINKER CXXCPP EGREP LN_S ECHO RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL INSTALL_LIBRXVT RXVTNAME MV RM CP LN SED CMP TBL TIC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define DEBUG DINCLUDE DLIB include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' |
312 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER CXXLIB INSTALL_LIBRXVT RXVTNAME TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS afterimage_config XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PKG_CONFIG XFT_CONFIG PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O LIBAFTERIMAGE_CFLAGS AFTERIMAGE_LIBS include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' |
471 | ac_subst_files='MCOMMON' |
313 | ac_subst_files='' |
472 | |
314 | |
473 | # Initialize some variables set by options. |
315 | # Initialize some variables set by options. |
474 | ac_init_help= |
316 | ac_init_help= |
475 | ac_init_version=false |
317 | ac_init_version=false |
476 | # The variables have the same names as the options, with |
318 | # The variables have the same names as the options, with |
… | |
… | |
1021 | cat <<\_ACEOF |
863 | cat <<\_ACEOF |
1022 | |
864 | |
1023 | Optional Features: |
865 | Optional Features: |
1024 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
866 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1025 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
867 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1026 | --enable-shared=PKGS build shared libraries default=no |
|
|
1027 | --enable-static=PKGS build static libraries default=yes |
|
|
1028 | --enable-fast-install=PKGS optimize for fast installation default=yes |
|
|
1029 | --disable-libtool-lock avoid locking (might break parallel builds) |
|
|
1030 | --enable-everything enable standard non-multichoice features |
868 | --enable-everything enable standard non-multichoice features |
1031 | NOTE: this option is order dependent |
869 | NOTE: this option is order dependent |
1032 | NOTE: automatically enabled with --enable-shared |
870 | NOTE: automatically enabled with --enable-shared |
1033 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
871 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1034 | --enable-combining enable composition of base and combining characters |
872 | --enable-combining enable composition of base and combining characters |
1035 | --enable-xft enable xft support on systems that have it |
873 | --enable-xft enable xft support on systems that have it |
1036 | --enable-font-styles enable bold and italic support |
874 | --enable-font-styles enable bold and italic support |
1037 | --enable-utmp enable utmp (utmpx) support |
|
|
1038 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
|
|
1039 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
|
|
1040 | --enable-xpm-background enable XPM background pixmaps |
875 | --enable-xpm-background enable background pixmaps |
|
|
876 | --enable-afterimage enable integration with libAfterImage for background images |
|
|
877 | --enable-afterstep enable integration with AfterStep window manager |
1041 | --enable-transparency enable transparent backgrounds |
878 | --enable-transparency enable transparent backgrounds |
1042 | --enable-tinting enable tinting of transparent bg |
879 | --enable-tinting enable tinting of transparent bg |
1043 | --enable-fading enable colors fading when off focus |
880 | --enable-fading enable colors fading when off focus |
1044 | --enable-menubar enable menubar |
|
|
1045 | --enable-rxvt-scroll enable rxvt style scrollbar |
881 | --enable-rxvt-scroll enable rxvt style scrollbar |
1046 | --enable-next-scroll enable NeXT style scrollbar |
882 | --enable-next-scroll enable NeXT style scrollbar |
1047 | --enable-xterm-scroll enable Xterm style scrollbar |
883 | --enable-xterm-scroll enable Xterm style scrollbar |
|
|
884 | --enable-perl enable embedded perl interpreter |
1048 | --enable-plain-scroll enable plain style scrollbar |
885 | --enable-plain-scroll enable plain style scrollbar |
1049 | --enable-half-shadow use half width/height shadow on rxvt scrollbar |
|
|
1050 | --enable-xim XIM (X Input Method) protocol support |
886 | --enable-xim XIM (X Input Method) protocol support |
1051 | --enable-ttygid enable tty setting to group named "tty" |
|
|
1052 | --disable-backspace-key disable handling of the backspace key |
887 | --disable-backspace-key disable handling of the backspace key |
1053 | --disable-delete-key disable handling of the delete key |
888 | --disable-delete-key disable handling of the delete key |
1054 | --disable-resources disable all resource checking |
889 | --disable-resources disable all resource checking |
1055 | --enable-xgetdefault enable resources via X instead of our small version |
|
|
1056 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
890 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1057 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
891 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1058 | --enable-strings enable some replacement system functions |
|
|
1059 | --disable-swapscreen disable swap screen support |
892 | --disable-swapscreen disable swap screen support |
1060 | --enable-iso14755 enable support for extended ISO 14755 modes |
893 | --enable-iso14755 enable support for extended ISO 14755 modes |
1061 | --enable-frills enable support for rarely used features |
894 | --enable-frills enable support for rarely used features |
1062 | --enable-24bit enable support for using 24bit visuals if available |
|
|
1063 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
895 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1064 | --enable-selectionscrolling enable scrolling during selections |
896 | --enable-selectionscrolling enable scrolling during selections |
1065 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
897 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1066 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
898 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1067 | --enable-dmalloc enable Gray Watson's malloc - for debugging use |
|
|
1068 | --enable-dlmalloc enable Doug Lea's malloc - for production use |
|
|
1069 | NOTE: enable only one malloc package |
|
|
1070 | --enable-smart-resize enable smart growth/shrink behaviour |
899 | --enable-smart-resize enable smart growth/shrink behaviour |
1071 | --enable-cursor-blink enable blinking cursor |
|
|
1072 | --enable-text-blink enable blinking text |
900 | --enable-text-blink enable blinking text |
1073 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
901 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
|
|
902 | --enable-utmp enable utmp (utmpx) support |
|
|
903 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
|
|
904 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1074 | |
905 | |
1075 | Optional Packages: |
906 | Optional Packages: |
1076 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
907 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1077 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
908 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1078 | --with-gnu-ld assume the C compiler uses GNU ld default=no |
909 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
1079 | --with-pic try to use only PIC/non-PIC objects default=use both |
|
|
1080 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
910 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1081 | --with-res-name=NAME use this as default resource name (default: urxvt) |
911 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1082 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
912 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1083 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
913 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1084 | --with-term=NAME set the terminal to NAME (default: rxvt) |
914 | --with-term=NAME set the terminal to NAME (default: rxvt) |
… | |
… | |
1189 | echo |
1019 | echo |
1190 | $ac_configure --help |
1020 | $ac_configure --help |
1191 | else |
1021 | else |
1192 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1022 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1193 | fi |
1023 | fi |
1194 | cd "$ac_popdir" |
1024 | cd $ac_popdir |
1195 | done |
1025 | done |
1196 | fi |
1026 | fi |
1197 | |
1027 | |
1198 | test -n "$ac_init_help" && exit 0 |
1028 | test -n "$ac_init_help" && exit 0 |
1199 | if $ac_init_version; then |
1029 | if $ac_init_version; then |
… | |
… | |
1537 | |
1367 | |
1538 | |
1368 | |
1539 | |
1369 | |
1540 | |
1370 | |
1541 | |
1371 | |
|
|
1372 | |
|
|
1373 | ac_config_headers="$ac_config_headers config.h:config.h.in" |
|
|
1374 | |
|
|
1375 | |
1542 | ac_aux_dir= |
1376 | ac_aux_dir= |
1543 | for ac_dir in autoconf $srcdir/autoconf; do |
1377 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1544 | if test -f $ac_dir/install-sh; then |
1378 | if test -f $ac_dir/install-sh; then |
1545 | ac_aux_dir=$ac_dir |
1379 | ac_aux_dir=$ac_dir |
1546 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1380 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1547 | break |
1381 | break |
1548 | elif test -f $ac_dir/install.sh; then |
1382 | elif test -f $ac_dir/install.sh; then |
… | |
… | |
1554 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1388 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1555 | break |
1389 | break |
1556 | fi |
1390 | fi |
1557 | done |
1391 | done |
1558 | if test -z "$ac_aux_dir"; then |
1392 | if test -z "$ac_aux_dir"; then |
1559 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5 |
1393 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
1560 | echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;} |
1394 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
1561 | { (exit 1); exit 1; }; } |
1395 | { (exit 1); exit 1; }; } |
1562 | fi |
1396 | fi |
1563 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1397 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1564 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1398 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1565 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1399 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1566 | |
|
|
1567 | ac_config_headers="$ac_config_headers config.h:autoconf/config.h.in" |
|
|
1568 | |
|
|
1569 | |
1400 | |
1570 | # Make sure we can run config.sub. |
1401 | # Make sure we can run config.sub. |
1571 | $ac_config_sub sun4 >/dev/null 2>&1 || |
1402 | $ac_config_sub sun4 >/dev/null 2>&1 || |
1572 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1403 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1573 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1404 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
… | |
… | |
1622 | |
1453 | |
1623 | |
1454 | |
1624 | |
1455 | |
1625 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1456 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1626 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1457 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1627 | LSMDATE=`sed -n -e 's/^.*[ \t]LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
|
|
1628 | LIBVERSION=`sed -n -e 's/^.*[ \t]LIBVERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
|
|
1629 | echo "" |
1458 | echo "" |
1630 | echo "configuring for rxvt $VERSION" |
1459 | echo "configuring for rxvt $VERSION" |
1631 | echo "" |
1460 | echo "" |
|
|
1461 | |
|
|
1462 | orig_CXXFLAGS="$CXXFLAGS" |
1632 | |
1463 | |
1633 | |
1464 | |
1634 | ac_ext=c |
1465 | ac_ext=c |
1635 | ac_cpp='$CPP $CPPFLAGS' |
1466 | ac_cpp='$CPP $CPPFLAGS' |
1636 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1467 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
2197 | grep -v '^ *+' conftest.er1 >conftest.err |
2028 | grep -v '^ *+' conftest.er1 >conftest.err |
2198 | rm -f conftest.er1 |
2029 | rm -f conftest.er1 |
2199 | cat conftest.err >&5 |
2030 | cat conftest.err >&5 |
2200 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2201 | (exit $ac_status); } && |
2032 | (exit $ac_status); } && |
2202 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2033 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
2034 | || test ! -s conftest.err' |
2203 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2035 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2204 | (eval $ac_try) 2>&5 |
2036 | (eval $ac_try) 2>&5 |
2205 | ac_status=$? |
2037 | ac_status=$? |
2206 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2207 | (exit $ac_status); }; } && |
2039 | (exit $ac_status); }; } && |
… | |
… | |
2255 | grep -v '^ *+' conftest.er1 >conftest.err |
2087 | grep -v '^ *+' conftest.er1 >conftest.err |
2256 | rm -f conftest.er1 |
2088 | rm -f conftest.er1 |
2257 | cat conftest.err >&5 |
2089 | cat conftest.err >&5 |
2258 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2259 | (exit $ac_status); } && |
2091 | (exit $ac_status); } && |
2260 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2092 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
2093 | || test ! -s conftest.err' |
2261 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2094 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2262 | (eval $ac_try) 2>&5 |
2095 | (eval $ac_try) 2>&5 |
2263 | ac_status=$? |
2096 | ac_status=$? |
2264 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2265 | (exit $ac_status); }; } && |
2098 | (exit $ac_status); }; } && |
… | |
… | |
2371 | grep -v '^ *+' conftest.er1 >conftest.err |
2204 | grep -v '^ *+' conftest.er1 >conftest.err |
2372 | rm -f conftest.er1 |
2205 | rm -f conftest.er1 |
2373 | cat conftest.err >&5 |
2206 | cat conftest.err >&5 |
2374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2207 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2375 | (exit $ac_status); } && |
2208 | (exit $ac_status); } && |
2376 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2209 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
2210 | || test ! -s conftest.err' |
2377 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2211 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2378 | (eval $ac_try) 2>&5 |
2212 | (eval $ac_try) 2>&5 |
2379 | ac_status=$? |
2213 | ac_status=$? |
2380 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2381 | (exit $ac_status); }; } && |
2215 | (exit $ac_status); }; } && |
… | |
… | |
2425 | grep -v '^ *+' conftest.er1 >conftest.err |
2259 | grep -v '^ *+' conftest.er1 >conftest.err |
2426 | rm -f conftest.er1 |
2260 | rm -f conftest.er1 |
2427 | cat conftest.err >&5 |
2261 | cat conftest.err >&5 |
2428 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2429 | (exit $ac_status); } && |
2263 | (exit $ac_status); } && |
2430 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2264 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
2265 | || test ! -s conftest.err' |
2431 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2266 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2432 | (eval $ac_try) 2>&5 |
2267 | (eval $ac_try) 2>&5 |
2433 | ac_status=$? |
2268 | ac_status=$? |
2434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2435 | (exit $ac_status); }; } && |
2270 | (exit $ac_status); }; } && |
… | |
… | |
2470 | grep -v '^ *+' conftest.er1 >conftest.err |
2305 | grep -v '^ *+' conftest.er1 >conftest.err |
2471 | rm -f conftest.er1 |
2306 | rm -f conftest.er1 |
2472 | cat conftest.err >&5 |
2307 | cat conftest.err >&5 |
2473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2308 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2474 | (exit $ac_status); } && |
2309 | (exit $ac_status); } && |
2475 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2310 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
2311 | || test ! -s conftest.err' |
2476 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2312 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2477 | (eval $ac_try) 2>&5 |
2313 | (eval $ac_try) 2>&5 |
2478 | ac_status=$? |
2314 | ac_status=$? |
2479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2480 | (exit $ac_status); }; } && |
2316 | (exit $ac_status); }; } && |
… | |
… | |
2514 | grep -v '^ *+' conftest.er1 >conftest.err |
2350 | grep -v '^ *+' conftest.er1 >conftest.err |
2515 | rm -f conftest.er1 |
2351 | rm -f conftest.er1 |
2516 | cat conftest.err >&5 |
2352 | cat conftest.err >&5 |
2517 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2518 | (exit $ac_status); } && |
2354 | (exit $ac_status); } && |
2519 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
2355 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
2356 | || test ! -s conftest.err' |
2520 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2357 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2521 | (eval $ac_try) 2>&5 |
2358 | (eval $ac_try) 2>&5 |
2522 | ac_status=$? |
2359 | ac_status=$? |
2523 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2524 | (exit $ac_status); }; } && |
2361 | (exit $ac_status); }; } && |
… | |
… | |
2698 | grep -v '^ *+' conftest.er1 >conftest.err |
2535 | grep -v '^ *+' conftest.er1 >conftest.err |
2699 | rm -f conftest.er1 |
2536 | rm -f conftest.er1 |
2700 | cat conftest.err >&5 |
2537 | cat conftest.err >&5 |
2701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2702 | (exit $ac_status); } && |
2539 | (exit $ac_status); } && |
2703 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
2540 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
2541 | || test ! -s conftest.err' |
2704 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2542 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2705 | (eval $ac_try) 2>&5 |
2543 | (eval $ac_try) 2>&5 |
2706 | ac_status=$? |
2544 | ac_status=$? |
2707 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2708 | (exit $ac_status); }; } && |
2546 | (exit $ac_status); }; } && |
… | |
… | |
2756 | grep -v '^ *+' conftest.er1 >conftest.err |
2594 | grep -v '^ *+' conftest.er1 >conftest.err |
2757 | rm -f conftest.er1 |
2595 | rm -f conftest.er1 |
2758 | cat conftest.err >&5 |
2596 | cat conftest.err >&5 |
2759 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2760 | (exit $ac_status); } && |
2598 | (exit $ac_status); } && |
2761 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
2599 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
2600 | || test ! -s conftest.err' |
2762 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2601 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2763 | (eval $ac_try) 2>&5 |
2602 | (eval $ac_try) 2>&5 |
2764 | ac_status=$? |
2603 | ac_status=$? |
2765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2766 | (exit $ac_status); }; } && |
2605 | (exit $ac_status); }; } && |
… | |
… | |
2827 | grep -v '^ *+' conftest.er1 >conftest.err |
2666 | grep -v '^ *+' conftest.er1 >conftest.err |
2828 | rm -f conftest.er1 |
2667 | rm -f conftest.er1 |
2829 | cat conftest.err >&5 |
2668 | cat conftest.err >&5 |
2830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2669 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2831 | (exit $ac_status); } && |
2670 | (exit $ac_status); } && |
2832 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
2671 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
2672 | || test ! -s conftest.err' |
2833 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2673 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2834 | (eval $ac_try) 2>&5 |
2674 | (eval $ac_try) 2>&5 |
2835 | ac_status=$? |
2675 | ac_status=$? |
2836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2837 | (exit $ac_status); }; } && |
2677 | (exit $ac_status); }; } && |
… | |
… | |
2871 | grep -v '^ *+' conftest.er1 >conftest.err |
2711 | grep -v '^ *+' conftest.er1 >conftest.err |
2872 | rm -f conftest.er1 |
2712 | rm -f conftest.er1 |
2873 | cat conftest.err >&5 |
2713 | cat conftest.err >&5 |
2874 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2714 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2875 | (exit $ac_status); } && |
2715 | (exit $ac_status); } && |
2876 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
2716 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
2717 | || test ! -s conftest.err' |
2877 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2718 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2878 | (eval $ac_try) 2>&5 |
2719 | (eval $ac_try) 2>&5 |
2879 | ac_status=$? |
2720 | ac_status=$? |
2880 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2881 | (exit $ac_status); }; } && |
2722 | (exit $ac_status); }; } && |
… | |
… | |
3217 | |
3058 | |
3218 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3059 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3219 | |
3060 | |
3220 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3061 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3221 | |
3062 | |
3222 | for ac_prog in gawk mawk nawk awk |
|
|
3223 | do |
|
|
3224 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
3225 | set dummy $ac_prog; ac_word=$2 |
|
|
3226 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
3227 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
3228 | if test "${ac_cv_prog_AWK+set}" = set; then |
|
|
3229 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3230 | else |
|
|
3231 | if test -n "$AWK"; then |
|
|
3232 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
|
3233 | else |
|
|
3234 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3235 | for as_dir in $PATH |
|
|
3236 | do |
|
|
3237 | IFS=$as_save_IFS |
|
|
3238 | test -z "$as_dir" && as_dir=. |
|
|
3239 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3240 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3241 | ac_cv_prog_AWK="$ac_prog" |
|
|
3242 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3243 | break 2 |
|
|
3244 | fi |
|
|
3245 | done |
|
|
3246 | done |
|
|
3247 | |
3063 | |
3248 | fi |
|
|
3249 | fi |
|
|
3250 | AWK=$ac_cv_prog_AWK |
|
|
3251 | if test -n "$AWK"; then |
|
|
3252 | echo "$as_me:$LINENO: result: $AWK" >&5 |
|
|
3253 | echo "${ECHO_T}$AWK" >&6 |
|
|
3254 | else |
|
|
3255 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
3256 | echo "${ECHO_T}no" >&6 |
|
|
3257 | fi |
|
|
3258 | |
|
|
3259 | test -n "$AWK" && break |
|
|
3260 | done |
|
|
3261 | |
|
|
3262 | |
|
|
3263 | ac_ext=c |
|
|
3264 | ac_cpp='$CPP $CPPFLAGS' |
|
|
3265 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3266 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3267 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3268 | |
|
|
3269 | |
|
|
3270 | if test -z "$orig_CXXFLAGS"; then |
|
|
3271 | CXXFLAGS='-O' |
|
|
3272 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
|
|
3273 | CXXFLAGS="-g -O3" |
|
|
3274 | fi |
|
|
3275 | CFLAGS="$CXXFLAGS" |
|
|
3276 | fi |
|
|
3277 | |
|
|
3278 | LINKER="$CXX" |
|
|
3279 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3280 | |
|
|
3281 | echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 |
|
|
3282 | echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 |
|
|
3283 | if test "${ac_cv_lib_supcpp_main+set}" = set; then |
|
|
3284 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3285 | else |
|
|
3286 | ac_check_lib_save_LIBS=$LIBS |
|
|
3287 | LIBS="-lsupc++ $LIBS" |
|
|
3288 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3289 | /* confdefs.h. */ |
|
|
3290 | _ACEOF |
|
|
3291 | cat confdefs.h >>conftest.$ac_ext |
|
|
3292 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3293 | /* end confdefs.h. */ |
|
|
3294 | |
|
|
3295 | |
|
|
3296 | int |
|
|
3297 | main () |
|
|
3298 | { |
|
|
3299 | main (); |
|
|
3300 | ; |
|
|
3301 | return 0; |
|
|
3302 | } |
|
|
3303 | _ACEOF |
|
|
3304 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3305 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3306 | (eval $ac_link) 2>conftest.er1 |
|
|
3307 | ac_status=$? |
|
|
3308 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3309 | rm -f conftest.er1 |
|
|
3310 | cat conftest.err >&5 |
|
|
3311 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3312 | (exit $ac_status); } && |
|
|
3313 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
3314 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3315 | (eval $ac_try) 2>&5 |
|
|
3316 | ac_status=$? |
|
|
3317 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3318 | (exit $ac_status); }; } && |
|
|
3319 | { ac_try='test -s conftest$ac_exeext' |
|
|
3320 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3321 | (eval $ac_try) 2>&5 |
|
|
3322 | ac_status=$? |
|
|
3323 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3324 | (exit $ac_status); }; }; then |
|
|
3325 | ac_cv_lib_supcpp_main=yes |
|
|
3326 | else |
|
|
3327 | echo "$as_me: failed program was:" >&5 |
|
|
3328 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3329 | |
|
|
3330 | ac_cv_lib_supcpp_main=no |
|
|
3331 | fi |
|
|
3332 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3333 | conftest$ac_exeext conftest.$ac_ext |
|
|
3334 | LIBS=$ac_check_lib_save_LIBS |
|
|
3335 | fi |
|
|
3336 | echo "$as_me:$LINENO: result: $ac_cv_lib_supcpp_main" >&5 |
|
|
3337 | echo "${ECHO_T}$ac_cv_lib_supcpp_main" >&6 |
|
|
3338 | if test $ac_cv_lib_supcpp_main = yes; then |
|
|
3339 | |
|
|
3340 | LINKER="$CC" |
|
|
3341 | LIBS="$LIBS -lsupc++" |
|
|
3342 | |
|
|
3343 | fi |
|
|
3344 | |
|
|
3345 | fi |
|
|
3346 | LINKER=$LINKER |
|
|
3347 | |
|
|
3348 | |
|
|
3349 | |
|
|
3350 | cat >>confdefs.h <<\_ACEOF |
|
|
3351 | #define _GNU_SOURCE 1 |
|
|
3352 | _ACEOF |
|
|
3353 | |
|
|
3354 | |
|
|
3355 | case $host in |
|
|
3356 | *-*-solaris* ) |
|
|
3357 | |
|
|
3358 | cat >>confdefs.h <<\_ACEOF |
|
|
3359 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3360 | _ACEOF |
|
|
3361 | |
|
|
3362 | |
|
|
3363 | cat >>confdefs.h <<\_ACEOF |
|
|
3364 | #define _XOPEN_SOURCE 2 |
|
|
3365 | _ACEOF |
|
|
3366 | |
|
|
3367 | |
|
|
3368 | cat >>confdefs.h <<\_ACEOF |
|
|
3369 | #define __EXTENSIONS__ 1 |
|
|
3370 | _ACEOF |
|
|
3371 | |
|
|
3372 | ;; |
|
|
3373 | esac |
|
|
3374 | |
|
|
3375 | |
|
|
3376 | ac_ext=cc |
|
|
3377 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3378 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3379 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3380 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3381 | |
|
|
3382 | |
|
|
3383 | |
|
|
3384 | ac_ext=cc |
|
|
3385 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3386 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3387 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3388 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3389 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
3390 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
|
|
3391 | if test -z "$CXXCPP"; then |
|
|
3392 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
3393 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3394 | else |
|
|
3395 | # Double quotes because CXXCPP needs to be expanded |
|
|
3396 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
3397 | do |
|
|
3398 | ac_preproc_ok=false |
|
|
3399 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
3400 | do |
|
|
3401 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3402 | # with a fresh cross-compiler works. |
|
|
3403 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3404 | # <limits.h> exists even on freestanding compilers. |
|
|
3405 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3406 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3407 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3408 | /* confdefs.h. */ |
|
|
3409 | _ACEOF |
|
|
3410 | cat confdefs.h >>conftest.$ac_ext |
|
|
3411 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3412 | /* end confdefs.h. */ |
|
|
3413 | #ifdef __STDC__ |
|
|
3414 | # include <limits.h> |
|
|
3415 | #else |
|
|
3416 | # include <assert.h> |
|
|
3417 | #endif |
|
|
3418 | Syntax error |
|
|
3419 | _ACEOF |
|
|
3420 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3421 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3422 | ac_status=$? |
|
|
3423 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3424 | rm -f conftest.er1 |
|
|
3425 | cat conftest.err >&5 |
|
|
3426 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3427 | (exit $ac_status); } >/dev/null; then |
|
|
3428 | if test -s conftest.err; then |
|
|
3429 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3430 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3431 | else |
|
|
3432 | ac_cpp_err= |
|
|
3433 | fi |
|
|
3434 | else |
|
|
3435 | ac_cpp_err=yes |
|
|
3436 | fi |
|
|
3437 | if test -z "$ac_cpp_err"; then |
|
|
3438 | : |
|
|
3439 | else |
|
|
3440 | echo "$as_me: failed program was:" >&5 |
|
|
3441 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3442 | |
|
|
3443 | # Broken: fails on valid input. |
|
|
3444 | continue |
|
|
3445 | fi |
|
|
3446 | rm -f conftest.err conftest.$ac_ext |
|
|
3447 | |
|
|
3448 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
3449 | # can be detected and how. |
|
|
3450 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3451 | /* confdefs.h. */ |
|
|
3452 | _ACEOF |
|
|
3453 | cat confdefs.h >>conftest.$ac_ext |
|
|
3454 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3455 | /* end confdefs.h. */ |
|
|
3456 | #include <ac_nonexistent.h> |
|
|
3457 | _ACEOF |
|
|
3458 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3459 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3460 | ac_status=$? |
|
|
3461 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3462 | rm -f conftest.er1 |
|
|
3463 | cat conftest.err >&5 |
|
|
3464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3465 | (exit $ac_status); } >/dev/null; then |
|
|
3466 | if test -s conftest.err; then |
|
|
3467 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3468 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3469 | else |
|
|
3470 | ac_cpp_err= |
|
|
3471 | fi |
|
|
3472 | else |
|
|
3473 | ac_cpp_err=yes |
|
|
3474 | fi |
|
|
3475 | if test -z "$ac_cpp_err"; then |
|
|
3476 | # Broken: success on invalid input. |
|
|
3477 | continue |
|
|
3478 | else |
|
|
3479 | echo "$as_me: failed program was:" >&5 |
|
|
3480 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3481 | |
|
|
3482 | # Passes both tests. |
|
|
3483 | ac_preproc_ok=: |
|
|
3484 | break |
|
|
3485 | fi |
|
|
3486 | rm -f conftest.err conftest.$ac_ext |
|
|
3487 | |
|
|
3488 | done |
|
|
3489 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3490 | rm -f conftest.err conftest.$ac_ext |
|
|
3491 | if $ac_preproc_ok; then |
|
|
3492 | break |
|
|
3493 | fi |
|
|
3494 | |
|
|
3495 | done |
|
|
3496 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
3497 | |
|
|
3498 | fi |
|
|
3499 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
3500 | else |
|
|
3501 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
3502 | fi |
|
|
3503 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
3504 | echo "${ECHO_T}$CXXCPP" >&6 |
|
|
3505 | ac_preproc_ok=false |
|
|
3506 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
3507 | do |
|
|
3508 | # Use a header file that comes with gcc, so configuring glibc |
|
|
3509 | # with a fresh cross-compiler works. |
|
|
3510 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3511 | # <limits.h> exists even on freestanding compilers. |
|
|
3512 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
3513 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
3514 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3515 | /* confdefs.h. */ |
|
|
3516 | _ACEOF |
|
|
3517 | cat confdefs.h >>conftest.$ac_ext |
|
|
3518 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3519 | /* end confdefs.h. */ |
|
|
3520 | #ifdef __STDC__ |
|
|
3521 | # include <limits.h> |
|
|
3522 | #else |
|
|
3523 | # include <assert.h> |
|
|
3524 | #endif |
|
|
3525 | Syntax error |
|
|
3526 | _ACEOF |
|
|
3527 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3528 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3529 | ac_status=$? |
|
|
3530 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3531 | rm -f conftest.er1 |
|
|
3532 | cat conftest.err >&5 |
|
|
3533 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3534 | (exit $ac_status); } >/dev/null; then |
|
|
3535 | if test -s conftest.err; then |
|
|
3536 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3537 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3538 | else |
|
|
3539 | ac_cpp_err= |
|
|
3540 | fi |
|
|
3541 | else |
|
|
3542 | ac_cpp_err=yes |
|
|
3543 | fi |
|
|
3544 | if test -z "$ac_cpp_err"; then |
|
|
3545 | : |
|
|
3546 | else |
|
|
3547 | echo "$as_me: failed program was:" >&5 |
|
|
3548 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3549 | |
|
|
3550 | # Broken: fails on valid input. |
|
|
3551 | continue |
|
|
3552 | fi |
|
|
3553 | rm -f conftest.err conftest.$ac_ext |
|
|
3554 | |
|
|
3555 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
3556 | # can be detected and how. |
|
|
3557 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3558 | /* confdefs.h. */ |
|
|
3559 | _ACEOF |
|
|
3560 | cat confdefs.h >>conftest.$ac_ext |
|
|
3561 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3562 | /* end confdefs.h. */ |
|
|
3563 | #include <ac_nonexistent.h> |
|
|
3564 | _ACEOF |
|
|
3565 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3566 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
3567 | ac_status=$? |
|
|
3568 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3569 | rm -f conftest.er1 |
|
|
3570 | cat conftest.err >&5 |
|
|
3571 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3572 | (exit $ac_status); } >/dev/null; then |
|
|
3573 | if test -s conftest.err; then |
|
|
3574 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
3575 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
3576 | else |
|
|
3577 | ac_cpp_err= |
|
|
3578 | fi |
|
|
3579 | else |
|
|
3580 | ac_cpp_err=yes |
|
|
3581 | fi |
|
|
3582 | if test -z "$ac_cpp_err"; then |
|
|
3583 | # Broken: success on invalid input. |
|
|
3584 | continue |
|
|
3585 | else |
|
|
3586 | echo "$as_me: failed program was:" >&5 |
|
|
3587 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3588 | |
|
|
3589 | # Passes both tests. |
|
|
3590 | ac_preproc_ok=: |
|
|
3591 | break |
|
|
3592 | fi |
|
|
3593 | rm -f conftest.err conftest.$ac_ext |
|
|
3594 | |
|
|
3595 | done |
|
|
3596 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
3597 | rm -f conftest.err conftest.$ac_ext |
|
|
3598 | if $ac_preproc_ok; then |
|
|
3599 | : |
|
|
3600 | else |
|
|
3601 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
3602 | See \`config.log' for more details." >&5 |
|
|
3603 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
3604 | See \`config.log' for more details." >&2;} |
|
|
3605 | { (exit 1); exit 1; }; } |
|
|
3606 | fi |
|
|
3607 | |
|
|
3608 | ac_ext=cc |
|
|
3609 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3610 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3611 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3612 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
3613 | |
3064 | |
3614 | |
3065 | |
3615 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3066 | echo "$as_me:$LINENO: checking for egrep" >&5 |
3616 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3067 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
3617 | if test "${ac_cv_prog_egrep+set}" = set; then |
3068 | if test "${ac_cv_prog_egrep+set}" = set; then |
… | |
… | |
3692 | grep -v '^ *+' conftest.er1 >conftest.err |
3143 | grep -v '^ *+' conftest.er1 >conftest.err |
3693 | rm -f conftest.er1 |
3144 | rm -f conftest.er1 |
3694 | cat conftest.err >&5 |
3145 | cat conftest.err >&5 |
3695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3146 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3696 | (exit $ac_status); } && |
3147 | (exit $ac_status); } && |
3697 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3148 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
3149 | || test ! -s conftest.err' |
3698 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3150 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3699 | (eval $ac_try) 2>&5 |
3151 | (eval $ac_try) 2>&5 |
3700 | ac_status=$? |
3152 | ac_status=$? |
3701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3153 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3702 | (exit $ac_status); }; } && |
3154 | (exit $ac_status); }; } && |
… | |
… | |
3746 | grep -v '^ *+' conftest.er1 >conftest.err |
3198 | grep -v '^ *+' conftest.er1 >conftest.err |
3747 | rm -f conftest.er1 |
3199 | rm -f conftest.er1 |
3748 | cat conftest.err >&5 |
3200 | cat conftest.err >&5 |
3749 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3201 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3750 | (exit $ac_status); } && |
3202 | (exit $ac_status); } && |
3751 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3203 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
3204 | || test ! -s conftest.err' |
3752 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3205 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3753 | (eval $ac_try) 2>&5 |
3206 | (eval $ac_try) 2>&5 |
3754 | ac_status=$? |
3207 | ac_status=$? |
3755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3208 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3756 | (exit $ac_status); }; } && |
3209 | (exit $ac_status); }; } && |
… | |
… | |
3778 | if test "$ac_cv_search_strerror" != no; then |
3231 | if test "$ac_cv_search_strerror" != no; then |
3779 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3232 | test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
3780 | |
3233 | |
3781 | fi |
3234 | fi |
3782 | |
3235 | |
|
|
3236 | ac_ext=cc |
|
|
3237 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
3238 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
3239 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
3240 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
3783 | |
3241 | |
|
|
3242 | |
|
|
3243 | if test x$GCC = xyes && test x$GXX = xyes; then |
|
|
3244 | echo "$as_me:$LINENO: checking for working libsupc++" >&5 |
|
|
3245 | echo $ECHO_N "checking for working libsupc++... $ECHO_C" >&6 |
|
|
3246 | save_CXX="$CXX" |
|
|
3247 | save_LIBS="$LIBS" |
|
|
3248 | CXX="$CC" |
|
|
3249 | LIBS="$LIBS -lsupc++" |
|
|
3250 | LINKER="$CC" |
|
|
3251 | |
|
|
3252 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3253 | /* confdefs.h. */ |
|
|
3254 | _ACEOF |
|
|
3255 | cat confdefs.h >>conftest.$ac_ext |
|
|
3256 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3257 | /* end confdefs.h. */ |
|
|
3258 | struct test { }; void f() try { throw new test; } catch (...) { throw; } |
|
|
3259 | int |
|
|
3260 | main () |
|
|
3261 | { |
|
|
3262 | |
|
|
3263 | ; |
|
|
3264 | return 0; |
|
|
3265 | } |
|
|
3266 | _ACEOF |
|
|
3267 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3268 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3269 | (eval $ac_link) 2>conftest.er1 |
|
|
3270 | ac_status=$? |
|
|
3271 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3272 | rm -f conftest.er1 |
|
|
3273 | cat conftest.err >&5 |
|
|
3274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3275 | (exit $ac_status); } && |
|
|
3276 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3277 | || test ! -s conftest.err' |
|
|
3278 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3279 | (eval $ac_try) 2>&5 |
|
|
3280 | ac_status=$? |
|
|
3281 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3282 | (exit $ac_status); }; } && |
|
|
3283 | { ac_try='test -s conftest$ac_exeext' |
|
|
3284 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3285 | (eval $ac_try) 2>&5 |
|
|
3286 | ac_status=$? |
|
|
3287 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3288 | (exit $ac_status); }; }; then |
|
|
3289 | |
|
|
3290 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
3291 | echo "${ECHO_T}ok" >&6 |
|
|
3292 | CXXLIB="-lsupc++" |
|
|
3293 | |
|
|
3294 | else |
|
|
3295 | echo "$as_me: failed program was:" >&5 |
|
|
3296 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3297 | |
|
|
3298 | |
|
|
3299 | echo "$as_me:$LINENO: result: no, making everything bigger and slower" >&5 |
|
|
3300 | echo "${ECHO_T}no, making everything bigger and slower" >&6 |
|
|
3301 | LIBS="$save_LIBS" |
|
|
3302 | LINKER="$save_CXX" |
|
|
3303 | |
|
|
3304 | |
|
|
3305 | fi |
|
|
3306 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3307 | conftest$ac_exeext conftest.$ac_ext |
|
|
3308 | CXX="$save_CXX" |
|
|
3309 | fi |
|
|
3310 | LINKER=$LINKER |
|
|
3311 | |
|
|
3312 | |
|
|
3313 | |
|
|
3314 | if test -z "$orig_CXXFLAGS"; then |
|
|
3315 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
|
|
3316 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
|
|
3317 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3318 | /* confdefs.h. */ |
|
|
3319 | _ACEOF |
|
|
3320 | cat confdefs.h >>conftest.$ac_ext |
|
|
3321 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3322 | /* end confdefs.h. */ |
|
|
3323 | |
|
|
3324 | int |
|
|
3325 | main () |
|
|
3326 | { |
|
|
3327 | |
|
|
3328 | ; |
|
|
3329 | return 0; |
|
|
3330 | } |
|
|
3331 | _ACEOF |
|
|
3332 | rm -f conftest.$ac_objext |
|
|
3333 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
3334 | (eval $ac_compile) 2>conftest.er1 |
|
|
3335 | ac_status=$? |
|
|
3336 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3337 | rm -f conftest.er1 |
|
|
3338 | cat conftest.err >&5 |
|
|
3339 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3340 | (exit $ac_status); } && |
|
|
3341 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3342 | || test ! -s conftest.err' |
|
|
3343 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3344 | (eval $ac_try) 2>&5 |
|
|
3345 | ac_status=$? |
|
|
3346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3347 | (exit $ac_status); }; } && |
|
|
3348 | { ac_try='test -s conftest.$ac_objext' |
|
|
3349 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3350 | (eval $ac_try) 2>&5 |
|
|
3351 | ac_status=$? |
|
|
3352 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3353 | (exit $ac_status); }; }; then |
|
|
3354 | : |
|
|
3355 | else |
|
|
3356 | echo "$as_me: failed program was:" >&5 |
|
|
3357 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3358 | |
|
|
3359 | CXXFLAGS="-g -O3" |
|
|
3360 | fi |
|
|
3361 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3362 | else |
|
|
3363 | CXXFLAGS="-O" |
|
|
3364 | fi |
|
|
3365 | CFLAGS="$CXXFLAGS" |
|
|
3366 | fi |
|
|
3367 | |
|
|
3368 | |
|
|
3369 | cat >>confdefs.h <<\_ACEOF |
|
|
3370 | #define _GNU_SOURCE 1 |
|
|
3371 | _ACEOF |
|
|
3372 | |
|
|
3373 | |
|
|
3374 | case $host in |
|
|
3375 | *-*-solaris* ) |
|
|
3376 | |
|
|
3377 | cat >>confdefs.h <<\_ACEOF |
|
|
3378 | #define _XOPEN_SOURCE_EXTENDED 1 |
|
|
3379 | _ACEOF |
|
|
3380 | |
|
|
3381 | |
|
|
3382 | cat >>confdefs.h <<\_ACEOF |
|
|
3383 | #define _XOPEN_SOURCE 2 |
|
|
3384 | _ACEOF |
|
|
3385 | |
|
|
3386 | |
|
|
3387 | cat >>confdefs.h <<\_ACEOF |
|
|
3388 | #define __EXTENSIONS__ 1 |
|
|
3389 | _ACEOF |
|
|
3390 | |
|
|
3391 | ;; |
|
|
3392 | esac |
|
|
3393 | |
|
|
3394 | |
|
|
3395 | echo "$as_me:$LINENO: checking for setlocale" >&5 |
|
|
3396 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6 |
|
|
3397 | if test "${ac_cv_func_setlocale+set}" = set; then |
|
|
3398 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3399 | else |
|
|
3400 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3401 | /* confdefs.h. */ |
|
|
3402 | _ACEOF |
|
|
3403 | cat confdefs.h >>conftest.$ac_ext |
|
|
3404 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3405 | /* end confdefs.h. */ |
|
|
3406 | /* Define setlocale to an innocuous variant, in case <limits.h> declares setlocale. |
|
|
3407 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3408 | #define setlocale innocuous_setlocale |
|
|
3409 | |
|
|
3410 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3411 | which can conflict with char setlocale (); below. |
|
|
3412 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3413 | <limits.h> exists even on freestanding compilers. */ |
|
|
3414 | |
|
|
3415 | #ifdef __STDC__ |
|
|
3416 | # include <limits.h> |
|
|
3417 | #else |
|
|
3418 | # include <assert.h> |
|
|
3419 | #endif |
|
|
3420 | |
|
|
3421 | #undef setlocale |
|
|
3422 | |
|
|
3423 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3424 | #ifdef __cplusplus |
|
|
3425 | extern "C" |
|
|
3426 | { |
|
|
3427 | #endif |
|
|
3428 | /* We use char because int might match the return type of a gcc2 |
|
|
3429 | builtin and then its argument prototype would still apply. */ |
|
|
3430 | char setlocale (); |
|
|
3431 | /* The GNU C library defines this for functions which it implements |
|
|
3432 | to always fail with ENOSYS. Some functions are actually named |
|
|
3433 | something starting with __ and the normal name is an alias. */ |
|
|
3434 | #if defined (__stub_setlocale) || defined (__stub___setlocale) |
|
|
3435 | choke me |
|
|
3436 | #else |
|
|
3437 | char (*f) () = setlocale; |
|
|
3438 | #endif |
|
|
3439 | #ifdef __cplusplus |
|
|
3440 | } |
|
|
3441 | #endif |
|
|
3442 | |
|
|
3443 | int |
|
|
3444 | main () |
|
|
3445 | { |
|
|
3446 | return f != setlocale; |
|
|
3447 | ; |
|
|
3448 | return 0; |
|
|
3449 | } |
|
|
3450 | _ACEOF |
|
|
3451 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3452 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3453 | (eval $ac_link) 2>conftest.er1 |
|
|
3454 | ac_status=$? |
|
|
3455 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3456 | rm -f conftest.er1 |
|
|
3457 | cat conftest.err >&5 |
|
|
3458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3459 | (exit $ac_status); } && |
|
|
3460 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3461 | || test ! -s conftest.err' |
|
|
3462 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3463 | (eval $ac_try) 2>&5 |
|
|
3464 | ac_status=$? |
|
|
3465 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3466 | (exit $ac_status); }; } && |
|
|
3467 | { ac_try='test -s conftest$ac_exeext' |
|
|
3468 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3469 | (eval $ac_try) 2>&5 |
|
|
3470 | ac_status=$? |
|
|
3471 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3472 | (exit $ac_status); }; }; then |
|
|
3473 | ac_cv_func_setlocale=yes |
|
|
3474 | else |
|
|
3475 | echo "$as_me: failed program was:" >&5 |
|
|
3476 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3477 | |
|
|
3478 | ac_cv_func_setlocale=no |
|
|
3479 | fi |
|
|
3480 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3481 | conftest$ac_exeext conftest.$ac_ext |
|
|
3482 | fi |
|
|
3483 | echo "$as_me:$LINENO: result: $ac_cv_func_setlocale" >&5 |
|
|
3484 | echo "${ECHO_T}$ac_cv_func_setlocale" >&6 |
|
|
3485 | if test $ac_cv_func_setlocale = yes; then |
|
|
3486 | : |
|
|
3487 | else |
3784 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
3488 | echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5 |
3785 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
3489 | echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6 |
3786 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
3490 | if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then |
3787 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3491 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3788 | else |
3492 | else |
3789 | ac_check_lib_save_LIBS=$LIBS |
3493 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
3817 | grep -v '^ *+' conftest.er1 >conftest.err |
3521 | grep -v '^ *+' conftest.er1 >conftest.err |
3818 | rm -f conftest.er1 |
3522 | rm -f conftest.er1 |
3819 | cat conftest.err >&5 |
3523 | cat conftest.err >&5 |
3820 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3524 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3821 | (exit $ac_status); } && |
3525 | (exit $ac_status); } && |
3822 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3526 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3527 | || test ! -s conftest.err' |
3823 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3528 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3824 | (eval $ac_try) 2>&5 |
3529 | (eval $ac_try) 2>&5 |
3825 | ac_status=$? |
3530 | ac_status=$? |
3826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3827 | (exit $ac_status); }; } && |
3532 | (exit $ac_status); }; } && |
… | |
… | |
3846 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
3551 | echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6 |
3847 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
3552 | if test $ac_cv_lib_xpg4_setlocale = yes; then |
3848 | LIBS="$LIBS -lxpg4" |
3553 | LIBS="$LIBS -lxpg4" |
3849 | fi |
3554 | fi |
3850 | |
3555 | |
|
|
3556 | fi |
3851 | |
3557 | |
|
|
3558 | |
|
|
3559 | echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
|
|
3560 | echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
|
|
3561 | if test "${ac_cv_func_gethostbyname+set}" = set; then |
|
|
3562 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3563 | else |
|
|
3564 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3565 | /* confdefs.h. */ |
|
|
3566 | _ACEOF |
|
|
3567 | cat confdefs.h >>conftest.$ac_ext |
|
|
3568 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3569 | /* end confdefs.h. */ |
|
|
3570 | /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname. |
|
|
3571 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3572 | #define gethostbyname innocuous_gethostbyname |
|
|
3573 | |
|
|
3574 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3575 | which can conflict with char gethostbyname (); below. |
|
|
3576 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3577 | <limits.h> exists even on freestanding compilers. */ |
|
|
3578 | |
|
|
3579 | #ifdef __STDC__ |
|
|
3580 | # include <limits.h> |
|
|
3581 | #else |
|
|
3582 | # include <assert.h> |
|
|
3583 | #endif |
|
|
3584 | |
|
|
3585 | #undef gethostbyname |
|
|
3586 | |
|
|
3587 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3588 | #ifdef __cplusplus |
|
|
3589 | extern "C" |
|
|
3590 | { |
|
|
3591 | #endif |
|
|
3592 | /* We use char because int might match the return type of a gcc2 |
|
|
3593 | builtin and then its argument prototype would still apply. */ |
|
|
3594 | char gethostbyname (); |
|
|
3595 | /* The GNU C library defines this for functions which it implements |
|
|
3596 | to always fail with ENOSYS. Some functions are actually named |
|
|
3597 | something starting with __ and the normal name is an alias. */ |
|
|
3598 | #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
|
|
3599 | choke me |
|
|
3600 | #else |
|
|
3601 | char (*f) () = gethostbyname; |
|
|
3602 | #endif |
|
|
3603 | #ifdef __cplusplus |
|
|
3604 | } |
|
|
3605 | #endif |
|
|
3606 | |
|
|
3607 | int |
|
|
3608 | main () |
|
|
3609 | { |
|
|
3610 | return f != gethostbyname; |
|
|
3611 | ; |
|
|
3612 | return 0; |
|
|
3613 | } |
|
|
3614 | _ACEOF |
|
|
3615 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3616 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3617 | (eval $ac_link) 2>conftest.er1 |
|
|
3618 | ac_status=$? |
|
|
3619 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3620 | rm -f conftest.er1 |
|
|
3621 | cat conftest.err >&5 |
|
|
3622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3623 | (exit $ac_status); } && |
|
|
3624 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3625 | || test ! -s conftest.err' |
|
|
3626 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3627 | (eval $ac_try) 2>&5 |
|
|
3628 | ac_status=$? |
|
|
3629 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3630 | (exit $ac_status); }; } && |
|
|
3631 | { ac_try='test -s conftest$ac_exeext' |
|
|
3632 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3633 | (eval $ac_try) 2>&5 |
|
|
3634 | ac_status=$? |
|
|
3635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3636 | (exit $ac_status); }; }; then |
|
|
3637 | ac_cv_func_gethostbyname=yes |
|
|
3638 | else |
|
|
3639 | echo "$as_me: failed program was:" >&5 |
|
|
3640 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3641 | |
|
|
3642 | ac_cv_func_gethostbyname=no |
|
|
3643 | fi |
|
|
3644 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3645 | conftest$ac_exeext conftest.$ac_ext |
|
|
3646 | fi |
|
|
3647 | echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
|
|
3648 | echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
|
|
3649 | if test $ac_cv_func_gethostbyname = yes; then |
|
|
3650 | : |
|
|
3651 | else |
3852 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
3652 | echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
3853 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
3653 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
3854 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
3654 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
3855 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3655 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3856 | else |
3656 | else |
3857 | ac_check_lib_save_LIBS=$LIBS |
3657 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
3885 | grep -v '^ *+' conftest.er1 >conftest.err |
3685 | grep -v '^ *+' conftest.er1 >conftest.err |
3886 | rm -f conftest.er1 |
3686 | rm -f conftest.er1 |
3887 | cat conftest.err >&5 |
3687 | cat conftest.err >&5 |
3888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3889 | (exit $ac_status); } && |
3689 | (exit $ac_status); } && |
3890 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3690 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3691 | || test ! -s conftest.err' |
3891 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3692 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3892 | (eval $ac_try) 2>&5 |
3693 | (eval $ac_try) 2>&5 |
3893 | ac_status=$? |
3694 | ac_status=$? |
3894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3895 | (exit $ac_status); }; } && |
3696 | (exit $ac_status); }; } && |
… | |
… | |
3914 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
3715 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
3915 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
3716 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
3916 | LIBS="$LIBS -lnsl" |
3717 | LIBS="$LIBS -lnsl" |
3917 | fi |
3718 | fi |
3918 | |
3719 | |
|
|
3720 | fi |
|
|
3721 | |
|
|
3722 | echo "$as_me:$LINENO: checking for socket" >&5 |
|
|
3723 | echo $ECHO_N "checking for socket... $ECHO_C" >&6 |
|
|
3724 | if test "${ac_cv_func_socket+set}" = set; then |
|
|
3725 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3726 | else |
|
|
3727 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3728 | /* confdefs.h. */ |
|
|
3729 | _ACEOF |
|
|
3730 | cat confdefs.h >>conftest.$ac_ext |
|
|
3731 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3732 | /* end confdefs.h. */ |
|
|
3733 | /* Define socket to an innocuous variant, in case <limits.h> declares socket. |
|
|
3734 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
3735 | #define socket innocuous_socket |
|
|
3736 | |
|
|
3737 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
3738 | which can conflict with char socket (); below. |
|
|
3739 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3740 | <limits.h> exists even on freestanding compilers. */ |
|
|
3741 | |
|
|
3742 | #ifdef __STDC__ |
|
|
3743 | # include <limits.h> |
|
|
3744 | #else |
|
|
3745 | # include <assert.h> |
|
|
3746 | #endif |
|
|
3747 | |
|
|
3748 | #undef socket |
|
|
3749 | |
|
|
3750 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
3751 | #ifdef __cplusplus |
|
|
3752 | extern "C" |
|
|
3753 | { |
|
|
3754 | #endif |
|
|
3755 | /* We use char because int might match the return type of a gcc2 |
|
|
3756 | builtin and then its argument prototype would still apply. */ |
|
|
3757 | char socket (); |
|
|
3758 | /* The GNU C library defines this for functions which it implements |
|
|
3759 | to always fail with ENOSYS. Some functions are actually named |
|
|
3760 | something starting with __ and the normal name is an alias. */ |
|
|
3761 | #if defined (__stub_socket) || defined (__stub___socket) |
|
|
3762 | choke me |
|
|
3763 | #else |
|
|
3764 | char (*f) () = socket; |
|
|
3765 | #endif |
|
|
3766 | #ifdef __cplusplus |
|
|
3767 | } |
|
|
3768 | #endif |
|
|
3769 | |
|
|
3770 | int |
|
|
3771 | main () |
|
|
3772 | { |
|
|
3773 | return f != socket; |
|
|
3774 | ; |
|
|
3775 | return 0; |
|
|
3776 | } |
|
|
3777 | _ACEOF |
|
|
3778 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
3779 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
3780 | (eval $ac_link) 2>conftest.er1 |
|
|
3781 | ac_status=$? |
|
|
3782 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3783 | rm -f conftest.er1 |
|
|
3784 | cat conftest.err >&5 |
|
|
3785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3786 | (exit $ac_status); } && |
|
|
3787 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3788 | || test ! -s conftest.err' |
|
|
3789 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3790 | (eval $ac_try) 2>&5 |
|
|
3791 | ac_status=$? |
|
|
3792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3793 | (exit $ac_status); }; } && |
|
|
3794 | { ac_try='test -s conftest$ac_exeext' |
|
|
3795 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
3796 | (eval $ac_try) 2>&5 |
|
|
3797 | ac_status=$? |
|
|
3798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3799 | (exit $ac_status); }; }; then |
|
|
3800 | ac_cv_func_socket=yes |
|
|
3801 | else |
|
|
3802 | echo "$as_me: failed program was:" >&5 |
|
|
3803 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3804 | |
|
|
3805 | ac_cv_func_socket=no |
|
|
3806 | fi |
|
|
3807 | rm -f conftest.err conftest.$ac_objext \ |
|
|
3808 | conftest$ac_exeext conftest.$ac_ext |
|
|
3809 | fi |
|
|
3810 | echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
|
|
3811 | echo "${ECHO_T}$ac_cv_func_socket" >&6 |
|
|
3812 | if test $ac_cv_func_socket = yes; then |
|
|
3813 | : |
|
|
3814 | else |
3919 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
3815 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
3920 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
3816 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
3921 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
3817 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
3922 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3818 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3923 | else |
3819 | else |
3924 | ac_check_lib_save_LIBS=$LIBS |
3820 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
3952 | grep -v '^ *+' conftest.er1 >conftest.err |
3848 | grep -v '^ *+' conftest.er1 >conftest.err |
3953 | rm -f conftest.er1 |
3849 | rm -f conftest.er1 |
3954 | cat conftest.err >&5 |
3850 | cat conftest.err >&5 |
3955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3851 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3956 | (exit $ac_status); } && |
3852 | (exit $ac_status); } && |
3957 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
3853 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
3854 | || test ! -s conftest.err' |
3958 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3855 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3959 | (eval $ac_try) 2>&5 |
3856 | (eval $ac_try) 2>&5 |
3960 | ac_status=$? |
3857 | ac_status=$? |
3961 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3962 | (exit $ac_status); }; } && |
3859 | (exit $ac_status); }; } && |
… | |
… | |
3981 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
3878 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
3982 | if test $ac_cv_lib_socket_socket = yes; then |
3879 | if test $ac_cv_lib_socket_socket = yes; then |
3983 | LIBS="$LIBS -lsocket" |
3880 | LIBS="$LIBS -lsocket" |
3984 | fi |
3881 | fi |
3985 | |
3882 | |
3986 | |
|
|
3987 | # Check whether --enable-shared or --disable-shared was given. |
|
|
3988 | if test "${enable_shared+set}" = set; then |
|
|
3989 | enableval="$enable_shared" |
|
|
3990 | p=${PACKAGE-default} |
|
|
3991 | case "$enableval" in |
|
|
3992 | yes) enable_shared=yes ;; |
|
|
3993 | no) enable_shared=no ;; |
|
|
3994 | *) |
|
|
3995 | enable_shared=no |
|
|
3996 | # Look at the argument we got. We use all the common list separators. |
|
|
3997 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," |
|
|
3998 | for pkg in $enableval; do |
|
|
3999 | if test "X$pkg" = "X$p"; then |
|
|
4000 | enable_shared=yes |
|
|
4001 | fi |
|
|
4002 | done |
|
|
4003 | IFS="$ac_save_ifs" |
|
|
4004 | ;; |
|
|
4005 | esac |
|
|
4006 | else |
|
|
4007 | enable_shared=no |
|
|
4008 | fi; # Check whether --enable-static or --disable-static was given. |
|
|
4009 | if test "${enable_static+set}" = set; then |
|
|
4010 | enableval="$enable_static" |
|
|
4011 | p=${PACKAGE-default} |
|
|
4012 | case "$enableval" in |
|
|
4013 | yes) enable_static=yes ;; |
|
|
4014 | no) enable_static=no ;; |
|
|
4015 | *) |
|
|
4016 | enable_static=no |
|
|
4017 | # Look at the argument we got. We use all the common list separators. |
|
|
4018 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," |
|
|
4019 | for pkg in $enableval; do |
|
|
4020 | if test "X$pkg" = "X$p"; then |
|
|
4021 | enable_static=yes |
|
|
4022 | fi |
|
|
4023 | done |
|
|
4024 | IFS="$ac_save_ifs" |
|
|
4025 | ;; |
|
|
4026 | esac |
|
|
4027 | else |
|
|
4028 | enable_static=yes |
|
|
4029 | fi; # Check whether --enable-fast-install or --disable-fast-install was given. |
|
|
4030 | if test "${enable_fast_install+set}" = set; then |
|
|
4031 | enableval="$enable_fast_install" |
|
|
4032 | p=${PACKAGE-default} |
|
|
4033 | case "$enableval" in |
|
|
4034 | yes) enable_fast_install=yes ;; |
|
|
4035 | no) enable_fast_install=no ;; |
|
|
4036 | *) |
|
|
4037 | enable_fast_install=no |
|
|
4038 | # Look at the argument we got. We use all the common list separators. |
|
|
4039 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," |
|
|
4040 | for pkg in $enableval; do |
|
|
4041 | if test "X$pkg" = "X$p"; then |
|
|
4042 | enable_fast_install=yes |
|
|
4043 | fi |
|
|
4044 | done |
|
|
4045 | IFS="$ac_save_ifs" |
|
|
4046 | ;; |
|
|
4047 | esac |
|
|
4048 | else |
|
|
4049 | enable_fast_install=yes |
|
|
4050 | fi; |
3883 | fi |
4051 | |
3884 | |
4052 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
|
|
4053 | if test "${with_gnu_ld+set}" = set; then |
|
|
4054 | withval="$with_gnu_ld" |
|
|
4055 | test "$withval" = no || with_gnu_ld=yes |
|
|
4056 | else |
|
|
4057 | with_gnu_ld=no |
|
|
4058 | fi; |
|
|
4059 | ac_prog=ld |
|
|
4060 | if test "$GCC" = yes; then |
|
|
4061 | # Check if gcc -print-prog-name=ld gives a path. |
|
|
4062 | echo "$as_me:$LINENO: checking for ld used by GCC" >&5 |
|
|
4063 | echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 |
|
|
4064 | case $host in |
|
|
4065 | *-*-mingw*) |
|
|
4066 | # gcc leaves a trailing carriage return which upsets mingw |
|
|
4067 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
|
|
4068 | *) |
|
|
4069 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
|
|
4070 | esac |
|
|
4071 | case "$ac_prog" in |
|
|
4072 | # Accept absolute paths. |
|
|
4073 | [\\/]* | [A-Za-z]:[\\/]*) |
|
|
4074 | re_direlt='/[^/][^/]*/\.\./' |
|
|
4075 | # Canonicalize the path of ld |
|
|
4076 | ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` |
|
|
4077 | while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do |
|
|
4078 | ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` |
|
|
4079 | done |
|
|
4080 | test -z "$LD" && LD="$ac_prog" |
|
|
4081 | ;; |
|
|
4082 | "") |
|
|
4083 | # If it fails, then pretend we aren't using GCC. |
|
|
4084 | ac_prog=ld |
|
|
4085 | ;; |
|
|
4086 | *) |
|
|
4087 | # If it is relative, then search for the first ld in PATH. |
|
|
4088 | with_gnu_ld=unknown |
|
|
4089 | ;; |
|
|
4090 | esac |
|
|
4091 | elif test "$with_gnu_ld" = yes; then |
|
|
4092 | echo "$as_me:$LINENO: checking for GNU ld" >&5 |
|
|
4093 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
|
|
4094 | else |
|
|
4095 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
|
|
4096 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
|
|
4097 | fi |
|
|
4098 | if test "${lt_cv_path_LD+set}" = set; then |
|
|
4099 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4100 | else |
|
|
4101 | if test -z "$LD"; then |
|
|
4102 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
|
|
4103 | for ac_dir in $PATH; do |
|
|
4104 | test -z "$ac_dir" && ac_dir=. |
|
|
4105 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
|
|
4106 | lt_cv_path_LD="$ac_dir/$ac_prog" |
|
|
4107 | # Check to see if the program is GNU ld. I'd rather use --version, |
|
|
4108 | # but apparently some GNU ld's only accept -v. |
|
|
4109 | # Break only if it was the GNU/non-GNU ld that we prefer. |
|
|
4110 | if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then |
|
|
4111 | test "$with_gnu_ld" != no && break |
|
|
4112 | else |
|
|
4113 | test "$with_gnu_ld" != yes && break |
|
|
4114 | fi |
|
|
4115 | fi |
|
|
4116 | done |
|
|
4117 | IFS="$ac_save_ifs" |
|
|
4118 | else |
|
|
4119 | lt_cv_path_LD="$LD" # Let the user override the test with a path. |
|
|
4120 | fi |
|
|
4121 | fi |
|
|
4122 | |
3885 | |
4123 | LD="$lt_cv_path_LD" |
|
|
4124 | if test -n "$LD"; then |
|
|
4125 | echo "$as_me:$LINENO: result: $LD" >&5 |
|
|
4126 | echo "${ECHO_T}$LD" >&6 |
|
|
4127 | else |
|
|
4128 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
4129 | echo "${ECHO_T}no" >&6 |
|
|
4130 | fi |
|
|
4131 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
|
|
4132 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
|
|
4133 | { (exit 1); exit 1; }; } |
|
|
4134 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
|
|
4135 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 |
|
|
4136 | if test "${lt_cv_prog_gnu_ld+set}" = set; then |
|
|
4137 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4138 | else |
|
|
4139 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
|
|
4140 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
|
|
4141 | lt_cv_prog_gnu_ld=yes |
|
|
4142 | else |
|
|
4143 | lt_cv_prog_gnu_ld=no |
|
|
4144 | fi |
|
|
4145 | fi |
|
|
4146 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
|
|
4147 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 |
|
|
4148 | with_gnu_ld=$lt_cv_prog_gnu_ld |
|
|
4149 | |
3886 | |
4150 | |
|
|
4151 | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
|
|
4152 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 |
|
|
4153 | if test "${lt_cv_ld_reload_flag+set}" = set; then |
|
|
4154 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4155 | else |
|
|
4156 | lt_cv_ld_reload_flag='-r' |
|
|
4157 | fi |
|
|
4158 | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
|
|
4159 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 |
|
|
4160 | reload_flag=$lt_cv_ld_reload_flag |
|
|
4161 | test -n "$reload_flag" && reload_flag=" $reload_flag" |
|
|
4162 | |
|
|
4163 | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
|
|
4164 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
|
|
4165 | if test "${lt_cv_path_NM+set}" = set; then |
|
|
4166 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4167 | else |
|
|
4168 | if test -n "$NM"; then |
|
|
4169 | # Let the user override the test. |
|
|
4170 | lt_cv_path_NM="$NM" |
|
|
4171 | else |
|
|
4172 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
|
|
4173 | for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do |
|
|
4174 | test -z "$ac_dir" && ac_dir=. |
|
|
4175 | tmp_nm=$ac_dir/${ac_tool_prefix}nm |
|
|
4176 | if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then |
|
|
4177 | # Check to see if the nm accepts a BSD-compat flag. |
|
|
4178 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: |
|
|
4179 | # nm: unknown option "B" ignored |
|
|
4180 | # Tru64's nm complains that /dev/null is an invalid object file |
|
|
4181 | if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then |
|
|
4182 | lt_cv_path_NM="$tmp_nm -B" |
|
|
4183 | break |
|
|
4184 | elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then |
|
|
4185 | lt_cv_path_NM="$tmp_nm -p" |
|
|
4186 | break |
|
|
4187 | else |
|
|
4188 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
|
|
4189 | continue # so that we can try to find one that supports BSD flags |
|
|
4190 | fi |
|
|
4191 | fi |
|
|
4192 | done |
|
|
4193 | IFS="$ac_save_ifs" |
|
|
4194 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
|
|
4195 | fi |
|
|
4196 | fi |
|
|
4197 | |
|
|
4198 | NM="$lt_cv_path_NM" |
|
|
4199 | echo "$as_me:$LINENO: result: $NM" >&5 |
|
|
4200 | echo "${ECHO_T}$NM" >&6 |
|
|
4201 | |
|
|
4202 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
|
|
4203 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
|
|
4204 | LN_S=$as_ln_s |
|
|
4205 | if test "$LN_S" = "ln -s"; then |
|
|
4206 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
4207 | echo "${ECHO_T}yes" >&6 |
|
|
4208 | else |
|
|
4209 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
|
|
4210 | echo "${ECHO_T}no, using $LN_S" >&6 |
|
|
4211 | fi |
|
|
4212 | |
|
|
4213 | echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 |
|
|
4214 | echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 |
|
|
4215 | if test "${lt_cv_deplibs_check_method+set}" = set; then |
|
|
4216 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4217 | else |
|
|
4218 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
|
|
4219 | lt_cv_file_magic_test_file= |
|
|
4220 | lt_cv_deplibs_check_method='unknown' |
|
|
4221 | # Need to set the preceding variable on all platforms that support |
|
|
4222 | # interlibrary dependencies. |
|
|
4223 | # 'none' -- dependencies not supported. |
|
|
4224 | # `unknown' -- same as none, but documents that we really don't know. |
|
|
4225 | # 'pass_all' -- all dependencies passed with no checks. |
|
|
4226 | # 'test_compile' -- check by making test program. |
|
|
4227 | # ['file_magic [regex]'] -- check by looking for files in library path |
|
|
4228 | # which responds to the $file_magic_cmd with a given egrep regex. |
|
|
4229 | # If you have `file' or equivalent on your system and you're not sure |
|
|
4230 | # whether `pass_all' will *always* work, you probably want this one. |
|
|
4231 | |
|
|
4232 | case "$host_os" in |
|
|
4233 | aix4*) |
|
|
4234 | lt_cv_deplibs_check_method=pass_all |
|
|
4235 | ;; |
|
|
4236 | |
|
|
4237 | beos*) |
|
|
4238 | lt_cv_deplibs_check_method=pass_all |
|
|
4239 | ;; |
|
|
4240 | |
|
|
4241 | bsdi4*) |
|
|
4242 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
|
|
4243 | lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
|
4244 | lt_cv_file_magic_test_file=/shlib/libc.so |
|
|
4245 | ;; |
|
|
4246 | |
|
|
4247 | cygwin* | mingw* | pw32*) |
|
|
4248 | lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
|
|
4249 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
|
|
4250 | ;; |
|
|
4251 | |
|
|
4252 | darwin*|rhapsody*) |
|
|
4253 | lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' |
|
|
4254 | lt_cv_file_magiic_cmd=/usr/bin/file |
|
|
4255 | lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` |
|
|
4256 | ;; |
|
|
4257 | |
|
|
4258 | freebsd*) |
|
|
4259 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
|
|
4260 | case "$host_cpu" in |
|
|
4261 | i*86 ) |
|
|
4262 | # Not sure whether the presence of OpenBSD here was a mistake. |
|
|
4263 | # Let's accept both of them until this is cleared up. |
|
|
4264 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' |
|
|
4265 | lt_cv_file_magic_cmd=/usr/bin/file |
|
|
4266 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
|
|
4267 | ;; |
|
|
4268 | esac |
|
|
4269 | else |
|
|
4270 | lt_cv_deplibs_check_method=pass_all |
|
|
4271 | fi |
|
|
4272 | ;; |
|
|
4273 | |
|
|
4274 | gnu*) |
|
|
4275 | lt_cv_deplibs_check_method=pass_all |
|
|
4276 | ;; |
|
|
4277 | |
|
|
4278 | hpux10.20*|hpux11*) |
|
|
4279 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' |
|
|
4280 | lt_cv_file_magic_cmd=/usr/bin/file |
|
|
4281 | lt_cv_file_magic_test_file=/usr/lib/libc.sl |
|
|
4282 | ;; |
|
|
4283 | |
|
|
4284 | irix5* | irix6*) |
|
|
4285 | case "$host_os" in |
|
|
4286 | irix5*) |
|
|
4287 | # this will be overridden with pass_all, but let us keep it just in case |
|
|
4288 | lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" |
|
|
4289 | ;; |
|
|
4290 | *) |
|
|
4291 | case "$LD" in |
|
|
4292 | *-32|*"-32 ") libmagic=32-bit;; |
|
|
4293 | *-n32|*"-n32 ") libmagic=N32;; |
|
|
4294 | *-64|*"-64 ") libmagic=64-bit;; |
|
|
4295 | *) libmagic=never-match;; |
|
|
4296 | esac |
|
|
4297 | # this will be overridden with pass_all, but let us keep it just in case |
|
|
4298 | lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" |
|
|
4299 | ;; |
|
|
4300 | esac |
|
|
4301 | lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` |
|
|
4302 | lt_cv_deplibs_check_method=pass_all |
|
|
4303 | ;; |
|
|
4304 | |
|
|
4305 | # This must be Linux ELF. |
|
|
4306 | linux-gnu*) |
|
|
4307 | case "$host_cpu" in |
|
|
4308 | alpha* | i*86 | powerpc* | sparc* | ia64* ) |
|
|
4309 | lt_cv_deplibs_check_method=pass_all ;; |
|
|
4310 | *) |
|
|
4311 | # glibc up to 2.1.1 does not perform some relocations on ARM |
|
|
4312 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; |
|
|
4313 | esac |
|
|
4314 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` |
|
|
4315 | ;; |
|
|
4316 | |
|
|
4317 | netbsd*) |
|
|
4318 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then |
|
|
4319 | lt_cv_deplibs_check_method='file_magic NetBSD/[a-z0-9]* demand paged shared library' |
|
|
4320 | else |
|
|
4321 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' |
|
|
4322 | fi |
|
|
4323 | lt_cv_file_magic_cmd='/usr/bin/file -L' |
|
|
4324 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
|
|
4325 | ;; |
|
|
4326 | |
|
|
4327 | newos6*) |
|
|
4328 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
|
|
4329 | lt_cv_file_magic_cmd=/usr/bin/file |
|
|
4330 | lt_cv_file_magic_test_file=/usr/lib/libnls.so |
|
|
4331 | ;; |
|
|
4332 | |
|
|
4333 | osf3* | osf4* | osf5*) |
|
|
4334 | # this will be overridden with pass_all, but let us keep it just in case |
|
|
4335 | lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' |
|
|
4336 | lt_cv_file_magic_test_file=/shlib/libc.so |
|
|
4337 | lt_cv_deplibs_check_method=pass_all |
|
|
4338 | ;; |
|
|
4339 | |
|
|
4340 | sco3.2v5*) |
|
|
4341 | lt_cv_deplibs_check_method=pass_all |
|
|
4342 | ;; |
|
|
4343 | |
|
|
4344 | solaris*) |
|
|
4345 | lt_cv_deplibs_check_method=pass_all |
|
|
4346 | lt_cv_file_magic_test_file=/lib/libc.so |
|
|
4347 | ;; |
|
|
4348 | |
|
|
4349 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
|
|
4350 | case "$host_vendor" in |
|
|
4351 | motorola) |
|
|
4352 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' |
|
|
4353 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
|
|
4354 | ;; |
|
|
4355 | ncr) |
|
|
4356 | lt_cv_deplibs_check_method=pass_all |
|
|
4357 | ;; |
|
|
4358 | sequent) |
|
|
4359 | lt_cv_file_magic_cmd='/bin/file' |
|
|
4360 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
|
|
4361 | ;; |
|
|
4362 | sni) |
|
|
4363 | lt_cv_file_magic_cmd='/bin/file' |
|
|
4364 | lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
|
|
4365 | lt_cv_file_magic_test_file=/lib/libc.so |
|
|
4366 | ;; |
|
|
4367 | esac |
|
|
4368 | ;; |
|
|
4369 | esac |
|
|
4370 | |
|
|
4371 | fi |
|
|
4372 | echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
|
|
4373 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 |
|
|
4374 | file_magic_cmd=$lt_cv_file_magic_cmd |
|
|
4375 | deplibs_check_method=$lt_cv_deplibs_check_method |
|
|
4376 | |
|
|
4377 | |
|
|
4378 | |
|
|
4379 | |
|
|
4380 | |
|
|
4381 | |
|
|
4382 | |
|
|
4383 | # Check for command to grab the raw symbol name followed by C symbol from nm. |
|
|
4384 | echo "$as_me:$LINENO: checking command to parse $NM output" >&5 |
|
|
4385 | echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 |
|
|
4386 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
|
|
4387 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4388 | else |
|
|
4389 | |
|
|
4390 | # These are sane defaults that work on at least a few old systems. |
|
|
4391 | # [They come from Ultrix. What could be older than Ultrix?!! ;)] |
|
|
4392 | |
|
|
4393 | # Character class describing NM global symbol codes. |
|
|
4394 | symcode='[BCDEGRST]' |
|
|
4395 | |
|
|
4396 | # Regexp to match symbols that can be accessed directly from C. |
|
|
4397 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
|
|
4398 | |
|
|
4399 | # Transform the above into a raw symbol and a C symbol. |
|
|
4400 | symxfrm='\1 \2\3 \3' |
|
|
4401 | |
|
|
4402 | # Transform an extracted symbol line into a proper C declaration |
|
|
4403 | lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" |
|
|
4404 | |
|
|
4405 | # Define system-specific variables. |
|
|
4406 | case "$host_os" in |
|
|
4407 | aix*) |
|
|
4408 | symcode='[BCDT]' |
|
|
4409 | ;; |
|
|
4410 | cygwin* | mingw* | pw32*) |
|
|
4411 | symcode='[ABCDGISTW]' |
|
|
4412 | ;; |
|
|
4413 | hpux*) # Its linker distinguishes data from code symbols |
|
|
4414 | lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^. .* \(.*\)$/extern char \1;/p'" |
|
|
4415 | ;; |
|
|
4416 | irix*) |
|
|
4417 | symcode='[BCDEGRST]' |
|
|
4418 | ;; |
|
|
4419 | solaris* | sysv5*) |
|
|
4420 | symcode='[BDT]' |
|
|
4421 | ;; |
|
|
4422 | sysv4) |
|
|
4423 | symcode='[DFNSTU]' |
|
|
4424 | ;; |
|
|
4425 | esac |
|
|
4426 | |
|
|
4427 | # Handle CRLF in mingw tool chain |
|
|
4428 | opt_cr= |
|
|
4429 | case "$host_os" in |
|
|
4430 | mingw*) |
|
|
4431 | opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
|
|
4432 | ;; |
|
|
4433 | esac |
|
|
4434 | |
|
|
4435 | # If we're using GNU nm, then use its standard symbol codes. |
|
|
4436 | if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then |
|
|
4437 | symcode='[ABCDGISTW]' |
|
|
4438 | fi |
|
|
4439 | |
|
|
4440 | # Try without a prefix undercore, then with it. |
|
|
4441 | for ac_symprfx in "" "_"; do |
|
|
4442 | |
|
|
4443 | # Write the raw and C identifiers. |
|
|
4444 | lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" |
|
|
4445 | |
|
|
4446 | # Check to see that the pipe works correctly. |
|
|
4447 | pipe_works=no |
|
|
4448 | rm -f conftest* |
|
|
4449 | cat > conftest.$ac_ext <<EOF |
|
|
4450 | #ifdef __cplusplus |
|
|
4451 | extern "C" { |
|
|
4452 | #endif |
|
|
4453 | char nm_test_var; |
|
|
4454 | void nm_test_func(){} |
|
|
4455 | #ifdef __cplusplus |
|
|
4456 | } |
|
|
4457 | #endif |
|
|
4458 | main(){nm_test_var='a';nm_test_func();return(0);} |
|
|
4459 | EOF |
|
|
4460 | |
|
|
4461 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
4462 | (eval $ac_compile) 2>&5 |
|
|
4463 | ac_status=$? |
|
|
4464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4465 | (exit $ac_status); }; then |
|
|
4466 | # Now try to grab the symbols. |
|
|
4467 | nlist=conftest.nm |
|
|
4468 | if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 |
|
|
4469 | (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 |
|
|
4470 | ac_status=$? |
|
|
4471 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4472 | (exit $ac_status); } && test -s "$nlist"; then |
|
|
4473 | # Try sorting and uniquifying the output. |
|
|
4474 | if sort "$nlist" | uniq > "$nlist"T; then |
|
|
4475 | mv -f "$nlist"T "$nlist" |
|
|
4476 | else |
|
|
4477 | rm -f "$nlist"T |
|
|
4478 | fi |
|
|
4479 | |
|
|
4480 | # Make sure that we snagged all the symbols we need. |
|
|
4481 | if egrep ' nm_test_var$' "$nlist" >/dev/null; then |
|
|
4482 | if egrep ' nm_test_func$' "$nlist" >/dev/null; then |
|
|
4483 | cat <<EOF > conftest.$ac_ext |
|
|
4484 | #ifdef __cplusplus |
|
|
4485 | extern "C" { |
|
|
4486 | #endif |
|
|
4487 | |
|
|
4488 | EOF |
|
|
4489 | # Now generate the symbol file. |
|
|
4490 | eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' |
|
|
4491 | |
|
|
4492 | cat <<EOF >> conftest.$ac_ext |
|
|
4493 | #if defined (__STDC__) && __STDC__ |
|
|
4494 | # define lt_ptr_t void * |
|
|
4495 | #else |
|
|
4496 | # define lt_ptr_t char * |
|
|
4497 | # define const |
|
|
4498 | #endif |
|
|
4499 | |
|
|
4500 | /* The mapping between symbol names and symbols. */ |
|
|
4501 | const struct { |
|
|
4502 | const char *name; |
|
|
4503 | lt_ptr_t address; |
|
|
4504 | } |
|
|
4505 | lt_preloaded_symbols[] = |
|
|
4506 | { |
|
|
4507 | EOF |
|
|
4508 | sed 's/^. \(.*\) \(.*\)$/ {"\2", (lt_ptr_t) \&\2},/' < "$nlist" >> conftest.$ac_ext |
|
|
4509 | cat <<\EOF >> conftest.$ac_ext |
|
|
4510 | {0, (lt_ptr_t) 0} |
|
|
4511 | }; |
|
|
4512 | |
|
|
4513 | #ifdef __cplusplus |
|
|
4514 | } |
|
|
4515 | #endif |
|
|
4516 | EOF |
|
|
4517 | # Now try linking the two files. |
|
|
4518 | mv conftest.$ac_objext conftstm.$ac_objext |
|
|
4519 | save_LIBS="$LIBS" |
|
|
4520 | save_CFLAGS="$CFLAGS" |
|
|
4521 | LIBS="conftstm.$ac_objext" |
|
|
4522 | CFLAGS="$CFLAGS$no_builtin_flag" |
|
|
4523 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4524 | (eval $ac_link) 2>&5 |
|
|
4525 | ac_status=$? |
|
|
4526 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4527 | (exit $ac_status); } && test -s conftest; then |
|
|
4528 | pipe_works=yes |
|
|
4529 | fi |
|
|
4530 | LIBS="$save_LIBS" |
|
|
4531 | CFLAGS="$save_CFLAGS" |
|
|
4532 | else |
|
|
4533 | echo "cannot find nm_test_func in $nlist" >&5 |
|
|
4534 | fi |
|
|
4535 | else |
|
|
4536 | echo "cannot find nm_test_var in $nlist" >&5 |
|
|
4537 | fi |
|
|
4538 | else |
|
|
4539 | echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
|
|
4540 | fi |
|
|
4541 | else |
|
|
4542 | echo "$progname: failed program was:" >&5 |
|
|
4543 | cat conftest.$ac_ext >&5 |
|
|
4544 | fi |
|
|
4545 | rm -f conftest* conftst* |
|
|
4546 | |
|
|
4547 | # Do not use the global_symbol_pipe unless it works. |
|
|
4548 | if test "$pipe_works" = yes; then |
|
|
4549 | break |
|
|
4550 | else |
|
|
4551 | lt_cv_sys_global_symbol_pipe= |
|
|
4552 | fi |
|
|
4553 | done |
|
|
4554 | |
|
|
4555 | fi |
|
|
4556 | |
|
|
4557 | global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" |
|
|
4558 | if test -z "$lt_cv_sys_global_symbol_pipe"; then |
|
|
4559 | global_symbol_to_cdecl= |
|
|
4560 | else |
|
|
4561 | global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" |
|
|
4562 | fi |
|
|
4563 | if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; then |
|
|
4564 | echo "$as_me:$LINENO: result: failed" >&5 |
|
|
4565 | echo "${ECHO_T}failed" >&6 |
|
|
4566 | else |
|
|
4567 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
4568 | echo "${ECHO_T}ok" >&6 |
|
|
4569 | fi |
|
|
4570 | |
|
|
4571 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
4572 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
|
|
4573 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
4574 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4575 | else |
|
|
4576 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4577 | /* confdefs.h. */ |
|
|
4578 | _ACEOF |
|
|
4579 | cat confdefs.h >>conftest.$ac_ext |
|
|
4580 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4581 | /* end confdefs.h. */ |
|
|
4582 | #include <stdlib.h> |
|
|
4583 | #include <stdarg.h> |
|
|
4584 | #include <string.h> |
|
|
4585 | #include <float.h> |
|
|
4586 | |
|
|
4587 | int |
|
|
4588 | main () |
|
|
4589 | { |
|
|
4590 | |
|
|
4591 | ; |
|
|
4592 | return 0; |
|
|
4593 | } |
|
|
4594 | _ACEOF |
|
|
4595 | rm -f conftest.$ac_objext |
|
|
4596 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
4597 | (eval $ac_compile) 2>conftest.er1 |
|
|
4598 | ac_status=$? |
|
|
4599 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4600 | rm -f conftest.er1 |
|
|
4601 | cat conftest.err >&5 |
|
|
4602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4603 | (exit $ac_status); } && |
|
|
4604 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4605 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4606 | (eval $ac_try) 2>&5 |
|
|
4607 | ac_status=$? |
|
|
4608 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4609 | (exit $ac_status); }; } && |
|
|
4610 | { ac_try='test -s conftest.$ac_objext' |
|
|
4611 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4612 | (eval $ac_try) 2>&5 |
|
|
4613 | ac_status=$? |
|
|
4614 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4615 | (exit $ac_status); }; }; then |
|
|
4616 | ac_cv_header_stdc=yes |
|
|
4617 | else |
|
|
4618 | echo "$as_me: failed program was:" >&5 |
|
|
4619 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4620 | |
|
|
4621 | ac_cv_header_stdc=no |
|
|
4622 | fi |
|
|
4623 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4624 | |
|
|
4625 | if test $ac_cv_header_stdc = yes; then |
|
|
4626 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
4627 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4628 | /* confdefs.h. */ |
|
|
4629 | _ACEOF |
|
|
4630 | cat confdefs.h >>conftest.$ac_ext |
|
|
4631 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4632 | /* end confdefs.h. */ |
|
|
4633 | #include <string.h> |
|
|
4634 | |
|
|
4635 | _ACEOF |
|
|
4636 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
4637 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
4638 | : |
|
|
4639 | else |
|
|
4640 | ac_cv_header_stdc=no |
|
|
4641 | fi |
|
|
4642 | rm -f conftest* |
|
|
4643 | |
|
|
4644 | fi |
|
|
4645 | |
|
|
4646 | if test $ac_cv_header_stdc = yes; then |
|
|
4647 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
4648 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4649 | /* confdefs.h. */ |
|
|
4650 | _ACEOF |
|
|
4651 | cat confdefs.h >>conftest.$ac_ext |
|
|
4652 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4653 | /* end confdefs.h. */ |
|
|
4654 | #include <stdlib.h> |
|
|
4655 | |
|
|
4656 | _ACEOF |
|
|
4657 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
4658 | $EGREP "free" >/dev/null 2>&1; then |
|
|
4659 | : |
|
|
4660 | else |
|
|
4661 | ac_cv_header_stdc=no |
|
|
4662 | fi |
|
|
4663 | rm -f conftest* |
|
|
4664 | |
|
|
4665 | fi |
|
|
4666 | |
|
|
4667 | if test $ac_cv_header_stdc = yes; then |
|
|
4668 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
4669 | if test "$cross_compiling" = yes; then |
|
|
4670 | : |
|
|
4671 | else |
|
|
4672 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4673 | /* confdefs.h. */ |
|
|
4674 | _ACEOF |
|
|
4675 | cat confdefs.h >>conftest.$ac_ext |
|
|
4676 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4677 | /* end confdefs.h. */ |
|
|
4678 | #include <ctype.h> |
|
|
4679 | #if ((' ' & 0x0FF) == 0x020) |
|
|
4680 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
4681 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
4682 | #else |
|
|
4683 | # define ISLOWER(c) \ |
|
|
4684 | (('a' <= (c) && (c) <= 'i') \ |
|
|
4685 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
4686 | || ('s' <= (c) && (c) <= 'z')) |
|
|
4687 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
4688 | #endif |
|
|
4689 | |
|
|
4690 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
4691 | int |
|
|
4692 | main () |
|
|
4693 | { |
|
|
4694 | int i; |
|
|
4695 | for (i = 0; i < 256; i++) |
|
|
4696 | if (XOR (islower (i), ISLOWER (i)) |
|
|
4697 | || toupper (i) != TOUPPER (i)) |
|
|
4698 | exit(2); |
|
|
4699 | exit (0); |
|
|
4700 | } |
|
|
4701 | _ACEOF |
|
|
4702 | rm -f conftest$ac_exeext |
|
|
4703 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
4704 | (eval $ac_link) 2>&5 |
|
|
4705 | ac_status=$? |
|
|
4706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4707 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
4708 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4709 | (eval $ac_try) 2>&5 |
|
|
4710 | ac_status=$? |
|
|
4711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4712 | (exit $ac_status); }; }; then |
|
|
4713 | : |
|
|
4714 | else |
|
|
4715 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
4716 | echo "$as_me: failed program was:" >&5 |
|
|
4717 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4718 | |
|
|
4719 | ( exit $ac_status ) |
|
|
4720 | ac_cv_header_stdc=no |
|
|
4721 | fi |
|
|
4722 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
4723 | fi |
|
|
4724 | fi |
|
|
4725 | fi |
|
|
4726 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
4727 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
|
|
4728 | if test $ac_cv_header_stdc = yes; then |
|
|
4729 | |
|
|
4730 | cat >>confdefs.h <<\_ACEOF |
|
|
4731 | #define STDC_HEADERS 1 |
|
|
4732 | _ACEOF |
|
|
4733 | |
|
|
4734 | fi |
|
|
4735 | |
|
|
4736 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
4737 | |
|
|
4738 | |
|
|
4739 | |
|
|
4740 | |
|
|
4741 | |
|
|
4742 | |
|
|
4743 | |
|
|
4744 | |
|
|
4745 | |
|
|
4746 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
4747 | inttypes.h stdint.h unistd.h |
|
|
4748 | do |
|
|
4749 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
4750 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4751 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
4752 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
4753 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4754 | else |
|
|
4755 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4756 | /* confdefs.h. */ |
|
|
4757 | _ACEOF |
|
|
4758 | cat confdefs.h >>conftest.$ac_ext |
|
|
4759 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4760 | /* end confdefs.h. */ |
|
|
4761 | $ac_includes_default |
|
|
4762 | |
|
|
4763 | #include <$ac_header> |
|
|
4764 | _ACEOF |
|
|
4765 | rm -f conftest.$ac_objext |
|
|
4766 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
4767 | (eval $ac_compile) 2>conftest.er1 |
|
|
4768 | ac_status=$? |
|
|
4769 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4770 | rm -f conftest.er1 |
|
|
4771 | cat conftest.err >&5 |
|
|
4772 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4773 | (exit $ac_status); } && |
|
|
4774 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4775 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4776 | (eval $ac_try) 2>&5 |
|
|
4777 | ac_status=$? |
|
|
4778 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4779 | (exit $ac_status); }; } && |
|
|
4780 | { ac_try='test -s conftest.$ac_objext' |
|
|
4781 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4782 | (eval $ac_try) 2>&5 |
|
|
4783 | ac_status=$? |
|
|
4784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4785 | (exit $ac_status); }; }; then |
|
|
4786 | eval "$as_ac_Header=yes" |
|
|
4787 | else |
|
|
4788 | echo "$as_me: failed program was:" >&5 |
|
|
4789 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4790 | |
|
|
4791 | eval "$as_ac_Header=no" |
|
|
4792 | fi |
|
|
4793 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4794 | fi |
|
|
4795 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
4796 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
4797 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
4798 | cat >>confdefs.h <<_ACEOF |
|
|
4799 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
4800 | _ACEOF |
|
|
4801 | |
|
|
4802 | fi |
|
|
4803 | |
|
|
4804 | done |
|
|
4805 | |
|
|
4806 | |
|
|
4807 | |
|
|
4808 | for ac_header in dlfcn.h |
|
|
4809 | do |
|
|
4810 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
4811 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
4812 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4813 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
4814 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
4815 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4816 | fi |
|
|
4817 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
4818 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
4819 | else |
|
|
4820 | # Is the header compilable? |
|
|
4821 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
4822 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
4823 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4824 | /* confdefs.h. */ |
|
|
4825 | _ACEOF |
|
|
4826 | cat confdefs.h >>conftest.$ac_ext |
|
|
4827 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4828 | /* end confdefs.h. */ |
|
|
4829 | $ac_includes_default |
|
|
4830 | #include <$ac_header> |
|
|
4831 | _ACEOF |
|
|
4832 | rm -f conftest.$ac_objext |
|
|
4833 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
4834 | (eval $ac_compile) 2>conftest.er1 |
|
|
4835 | ac_status=$? |
|
|
4836 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4837 | rm -f conftest.er1 |
|
|
4838 | cat conftest.err >&5 |
|
|
4839 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4840 | (exit $ac_status); } && |
|
|
4841 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
4842 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4843 | (eval $ac_try) 2>&5 |
|
|
4844 | ac_status=$? |
|
|
4845 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4846 | (exit $ac_status); }; } && |
|
|
4847 | { ac_try='test -s conftest.$ac_objext' |
|
|
4848 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4849 | (eval $ac_try) 2>&5 |
|
|
4850 | ac_status=$? |
|
|
4851 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4852 | (exit $ac_status); }; }; then |
|
|
4853 | ac_header_compiler=yes |
|
|
4854 | else |
|
|
4855 | echo "$as_me: failed program was:" >&5 |
|
|
4856 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4857 | |
|
|
4858 | ac_header_compiler=no |
|
|
4859 | fi |
|
|
4860 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4861 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
4862 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
4863 | |
|
|
4864 | # Is the header present? |
|
|
4865 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
4866 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
4867 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4868 | /* confdefs.h. */ |
|
|
4869 | _ACEOF |
|
|
4870 | cat confdefs.h >>conftest.$ac_ext |
|
|
4871 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4872 | /* end confdefs.h. */ |
|
|
4873 | #include <$ac_header> |
|
|
4874 | _ACEOF |
|
|
4875 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4876 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4877 | ac_status=$? |
|
|
4878 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4879 | rm -f conftest.er1 |
|
|
4880 | cat conftest.err >&5 |
|
|
4881 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4882 | (exit $ac_status); } >/dev/null; then |
|
|
4883 | if test -s conftest.err; then |
|
|
4884 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4885 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4886 | else |
|
|
4887 | ac_cpp_err= |
|
|
4888 | fi |
|
|
4889 | else |
|
|
4890 | ac_cpp_err=yes |
|
|
4891 | fi |
|
|
4892 | if test -z "$ac_cpp_err"; then |
|
|
4893 | ac_header_preproc=yes |
|
|
4894 | else |
|
|
4895 | echo "$as_me: failed program was:" >&5 |
|
|
4896 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4897 | |
|
|
4898 | ac_header_preproc=no |
|
|
4899 | fi |
|
|
4900 | rm -f conftest.err conftest.$ac_ext |
|
|
4901 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
4902 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
4903 | |
|
|
4904 | # So? What about this header? |
|
|
4905 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
4906 | yes:no: ) |
|
|
4907 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
4908 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
4909 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
4910 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
4911 | ac_header_preproc=yes |
|
|
4912 | ;; |
|
|
4913 | no:yes:* ) |
|
|
4914 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
4915 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
4916 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
4917 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
4918 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
4919 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
4920 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
4921 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
4922 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
4923 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
4924 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
4925 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
4926 | ( |
|
|
4927 | cat <<\_ASBOX |
|
|
4928 | ## ------------------------------------------ ## |
|
|
4929 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
4930 | ## ------------------------------------------ ## |
|
|
4931 | _ASBOX |
|
|
4932 | ) | |
|
|
4933 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
4934 | ;; |
|
|
4935 | esac |
|
|
4936 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4937 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
4938 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
4939 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4940 | else |
|
|
4941 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
4942 | fi |
|
|
4943 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
4944 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
4945 | |
|
|
4946 | fi |
|
|
4947 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
4948 | cat >>confdefs.h <<_ACEOF |
|
|
4949 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
4950 | _ACEOF |
|
|
4951 | |
|
|
4952 | fi |
|
|
4953 | |
|
|
4954 | done |
|
|
4955 | |
|
|
4956 | |
|
|
4957 | |
|
|
4958 | |
|
|
4959 | |
|
|
4960 | # Only perform the check for file, if the check method requires it |
|
|
4961 | case "$deplibs_check_method" in |
|
|
4962 | file_magic*) |
|
|
4963 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
|
|
4964 | echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
|
|
4965 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 |
|
|
4966 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
|
|
4967 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4968 | else |
|
|
4969 | case "$MAGIC_CMD" in |
|
|
4970 | /*) |
|
|
4971 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
|
4972 | ;; |
|
|
4973 | ?:/*) |
|
|
4974 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. |
|
|
4975 | ;; |
|
|
4976 | *) |
|
|
4977 | ac_save_MAGIC_CMD="$MAGIC_CMD" |
|
|
4978 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
4979 | ac_dummy="/usr/bin:$PATH" |
|
|
4980 | for ac_dir in $ac_dummy; do |
|
|
4981 | test -z "$ac_dir" && ac_dir=. |
|
|
4982 | if test -f $ac_dir/${ac_tool_prefix}file; then |
|
|
4983 | lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
|
|
4984 | if test -n "$file_magic_test_file"; then |
|
|
4985 | case "$deplibs_check_method" in |
|
|
4986 | "file_magic "*) |
|
|
4987 | file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" |
|
|
4988 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
|
4989 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
|
4990 | egrep "$file_magic_regex" > /dev/null; then |
|
|
4991 | : |
|
|
4992 | else |
|
|
4993 | cat <<EOF 1>&2 |
|
|
4994 | |
|
|
4995 | *** Warning: the command libtool uses to detect shared libraries, |
|
|
4996 | *** $file_magic_cmd, produces output that libtool cannot recognize. |
|
|
4997 | *** The result is that libtool may fail to recognize shared libraries |
|
|
4998 | *** as such. This will affect the creation of libtool libraries that |
|
|
4999 | *** depend on shared libraries, but programs linked with such libtool |
|
|
5000 | *** libraries will work regardless of this problem. Nevertheless, you |
|
|
5001 | *** may want to report the problem to your system manager and/or to |
|
|
5002 | *** bug-libtool@gnu.org |
|
|
5003 | |
|
|
5004 | EOF |
|
|
5005 | fi ;; |
|
|
5006 | esac |
|
|
5007 | fi |
|
|
5008 | break |
|
|
5009 | fi |
|
|
5010 | done |
|
|
5011 | IFS="$ac_save_ifs" |
|
|
5012 | MAGIC_CMD="$ac_save_MAGIC_CMD" |
|
|
5013 | ;; |
|
|
5014 | esac |
|
|
5015 | fi |
|
|
5016 | |
|
|
5017 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
|
5018 | if test -n "$MAGIC_CMD"; then |
|
|
5019 | echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
|
|
5020 | echo "${ECHO_T}$MAGIC_CMD" >&6 |
|
|
5021 | else |
|
|
5022 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5023 | echo "${ECHO_T}no" >&6 |
|
|
5024 | fi |
|
|
5025 | |
|
|
5026 | if test -z "$lt_cv_path_MAGIC_CMD"; then |
|
|
5027 | if test -n "$ac_tool_prefix"; then |
|
|
5028 | echo "$as_me:$LINENO: checking for file" >&5 |
|
|
5029 | echo $ECHO_N "checking for file... $ECHO_C" >&6 |
|
|
5030 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
|
|
5031 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5032 | else |
|
|
5033 | case "$MAGIC_CMD" in |
|
|
5034 | /*) |
|
|
5035 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
|
|
5036 | ;; |
|
|
5037 | ?:/*) |
|
|
5038 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. |
|
|
5039 | ;; |
|
|
5040 | *) |
|
|
5041 | ac_save_MAGIC_CMD="$MAGIC_CMD" |
|
|
5042 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
5043 | ac_dummy="/usr/bin:$PATH" |
|
|
5044 | for ac_dir in $ac_dummy; do |
|
|
5045 | test -z "$ac_dir" && ac_dir=. |
|
|
5046 | if test -f $ac_dir/file; then |
|
|
5047 | lt_cv_path_MAGIC_CMD="$ac_dir/file" |
|
|
5048 | if test -n "$file_magic_test_file"; then |
|
|
5049 | case "$deplibs_check_method" in |
|
|
5050 | "file_magic "*) |
|
|
5051 | file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" |
|
|
5052 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
|
5053 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
|
|
5054 | egrep "$file_magic_regex" > /dev/null; then |
|
|
5055 | : |
|
|
5056 | else |
|
|
5057 | cat <<EOF 1>&2 |
|
|
5058 | |
|
|
5059 | *** Warning: the command libtool uses to detect shared libraries, |
|
|
5060 | *** $file_magic_cmd, produces output that libtool cannot recognize. |
|
|
5061 | *** The result is that libtool may fail to recognize shared libraries |
|
|
5062 | *** as such. This will affect the creation of libtool libraries that |
|
|
5063 | *** depend on shared libraries, but programs linked with such libtool |
|
|
5064 | *** libraries will work regardless of this problem. Nevertheless, you |
|
|
5065 | *** may want to report the problem to your system manager and/or to |
|
|
5066 | *** bug-libtool@gnu.org |
|
|
5067 | |
|
|
5068 | EOF |
|
|
5069 | fi ;; |
|
|
5070 | esac |
|
|
5071 | fi |
|
|
5072 | break |
|
|
5073 | fi |
|
|
5074 | done |
|
|
5075 | IFS="$ac_save_ifs" |
|
|
5076 | MAGIC_CMD="$ac_save_MAGIC_CMD" |
|
|
5077 | ;; |
|
|
5078 | esac |
|
|
5079 | fi |
|
|
5080 | |
|
|
5081 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
|
|
5082 | if test -n "$MAGIC_CMD"; then |
|
|
5083 | echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
|
|
5084 | echo "${ECHO_T}$MAGIC_CMD" >&6 |
|
|
5085 | else |
|
|
5086 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5087 | echo "${ECHO_T}no" >&6 |
|
|
5088 | fi |
|
|
5089 | |
|
|
5090 | else |
|
|
5091 | MAGIC_CMD=: |
|
|
5092 | fi |
|
|
5093 | fi |
|
|
5094 | |
|
|
5095 | fi |
|
|
5096 | ;; |
|
|
5097 | esac |
|
|
5098 | |
|
|
5099 | if test -n "$ac_tool_prefix"; then |
|
|
5100 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
|
5101 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
|
|
5102 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5103 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5104 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
|
|
5105 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5106 | else |
|
|
5107 | if test -n "$RANLIB"; then |
|
|
5108 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
|
5109 | else |
|
|
5110 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5111 | for as_dir in $PATH |
|
|
5112 | do |
|
|
5113 | IFS=$as_save_IFS |
|
|
5114 | test -z "$as_dir" && as_dir=. |
|
|
5115 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5116 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5117 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
|
5118 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5119 | break 2 |
|
|
5120 | fi |
|
|
5121 | done |
|
|
5122 | done |
|
|
5123 | |
|
|
5124 | fi |
|
|
5125 | fi |
|
|
5126 | RANLIB=$ac_cv_prog_RANLIB |
|
|
5127 | if test -n "$RANLIB"; then |
|
|
5128 | echo "$as_me:$LINENO: result: $RANLIB" >&5 |
|
|
5129 | echo "${ECHO_T}$RANLIB" >&6 |
|
|
5130 | else |
|
|
5131 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5132 | echo "${ECHO_T}no" >&6 |
|
|
5133 | fi |
|
|
5134 | |
|
|
5135 | fi |
|
|
5136 | if test -z "$ac_cv_prog_RANLIB"; then |
|
|
5137 | ac_ct_RANLIB=$RANLIB |
|
|
5138 | # Extract the first word of "ranlib", so it can be a program name with args. |
|
|
5139 | set dummy ranlib; ac_word=$2 |
|
|
5140 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5141 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5142 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
|
|
5143 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5144 | else |
|
|
5145 | if test -n "$ac_ct_RANLIB"; then |
|
|
5146 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
|
5147 | else |
|
|
5148 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5149 | for as_dir in $PATH |
|
|
5150 | do |
|
|
5151 | IFS=$as_save_IFS |
|
|
5152 | test -z "$as_dir" && as_dir=. |
|
|
5153 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5154 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5155 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
|
|
5156 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5157 | break 2 |
|
|
5158 | fi |
|
|
5159 | done |
|
|
5160 | done |
|
|
5161 | |
|
|
5162 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
|
|
5163 | fi |
|
|
5164 | fi |
|
|
5165 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
|
5166 | if test -n "$ac_ct_RANLIB"; then |
|
|
5167 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
|
|
5168 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
|
|
5169 | else |
|
|
5170 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5171 | echo "${ECHO_T}no" >&6 |
|
|
5172 | fi |
|
|
5173 | |
|
|
5174 | RANLIB=$ac_ct_RANLIB |
|
|
5175 | else |
|
|
5176 | RANLIB="$ac_cv_prog_RANLIB" |
|
|
5177 | fi |
|
|
5178 | |
|
|
5179 | if test -n "$ac_tool_prefix"; then |
|
|
5180 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
|
5181 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
|
5182 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5183 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5184 | if test "${ac_cv_prog_STRIP+set}" = set; then |
|
|
5185 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5186 | else |
|
|
5187 | if test -n "$STRIP"; then |
|
|
5188 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
|
5189 | else |
|
|
5190 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5191 | for as_dir in $PATH |
|
|
5192 | do |
|
|
5193 | IFS=$as_save_IFS |
|
|
5194 | test -z "$as_dir" && as_dir=. |
|
|
5195 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5196 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5197 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
|
5198 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5199 | break 2 |
|
|
5200 | fi |
|
|
5201 | done |
|
|
5202 | done |
|
|
5203 | |
|
|
5204 | fi |
|
|
5205 | fi |
|
|
5206 | STRIP=$ac_cv_prog_STRIP |
|
|
5207 | if test -n "$STRIP"; then |
|
|
5208 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
|
|
5209 | echo "${ECHO_T}$STRIP" >&6 |
|
|
5210 | else |
|
|
5211 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5212 | echo "${ECHO_T}no" >&6 |
|
|
5213 | fi |
|
|
5214 | |
|
|
5215 | fi |
|
|
5216 | if test -z "$ac_cv_prog_STRIP"; then |
|
|
5217 | ac_ct_STRIP=$STRIP |
|
|
5218 | # Extract the first word of "strip", so it can be a program name with args. |
|
|
5219 | set dummy strip; ac_word=$2 |
|
|
5220 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
5221 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
5222 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
|
|
5223 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5224 | else |
|
|
5225 | if test -n "$ac_ct_STRIP"; then |
|
|
5226 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
|
5227 | else |
|
|
5228 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
5229 | for as_dir in $PATH |
|
|
5230 | do |
|
|
5231 | IFS=$as_save_IFS |
|
|
5232 | test -z "$as_dir" && as_dir=. |
|
|
5233 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
5234 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
5235 | ac_cv_prog_ac_ct_STRIP="strip" |
|
|
5236 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
5237 | break 2 |
|
|
5238 | fi |
|
|
5239 | done |
|
|
5240 | done |
|
|
5241 | |
|
|
5242 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
|
|
5243 | fi |
|
|
5244 | fi |
|
|
5245 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
|
5246 | if test -n "$ac_ct_STRIP"; then |
|
|
5247 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
|
|
5248 | echo "${ECHO_T}$ac_ct_STRIP" >&6 |
|
|
5249 | else |
|
|
5250 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
5251 | echo "${ECHO_T}no" >&6 |
|
|
5252 | fi |
|
|
5253 | |
|
|
5254 | STRIP=$ac_ct_STRIP |
|
|
5255 | else |
|
|
5256 | STRIP="$ac_cv_prog_STRIP" |
|
|
5257 | fi |
|
|
5258 | |
|
|
5259 | |
|
|
5260 | enable_dlopen=no |
|
|
5261 | enable_win32_dll=no |
|
|
5262 | |
|
|
5263 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
|
|
5264 | if test "${enable_libtool_lock+set}" = set; then |
|
|
5265 | enableval="$enable_libtool_lock" |
|
|
5266 | |
|
|
5267 | fi; |
|
|
5268 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
|
|
5269 | |
|
|
5270 | # Some flags need to be propagated to the compiler or linker for good |
|
|
5271 | # libtool support. |
|
|
5272 | case "$host" in |
|
|
5273 | *-*-irix6*) |
|
|
5274 | # Find out which ABI we are using. |
|
|
5275 | echo '#line 5275 "configure"' > conftest.$ac_ext |
|
|
5276 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
5277 | (eval $ac_compile) 2>&5 |
|
|
5278 | ac_status=$? |
|
|
5279 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5280 | (exit $ac_status); }; then |
|
|
5281 | case "`/usr/bin/file conftest.$ac_objext`" in |
|
|
5282 | *32-bit*) |
|
|
5283 | LD="${LD-ld} -32" |
|
|
5284 | ;; |
|
|
5285 | *N32*) |
|
|
5286 | LD="${LD-ld} -n32" |
|
|
5287 | ;; |
|
|
5288 | *64-bit*) |
|
|
5289 | LD="${LD-ld} -64" |
|
|
5290 | ;; |
|
|
5291 | esac |
|
|
5292 | fi |
|
|
5293 | rm -rf conftest* |
|
|
5294 | ;; |
|
|
5295 | |
|
|
5296 | *-*-sco3.2v5*) |
|
|
5297 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
|
|
5298 | SAVE_CFLAGS="$CFLAGS" |
|
|
5299 | CFLAGS="$CFLAGS -belf" |
|
|
5300 | echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
|
|
5301 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 |
|
|
5302 | if test "${lt_cv_cc_needs_belf+set}" = set; then |
|
|
5303 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5304 | else |
|
|
5305 | |
|
|
5306 | |
|
|
5307 | ac_ext=c |
|
|
5308 | ac_cpp='$CPP $CPPFLAGS' |
|
|
5309 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5310 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5311 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
5312 | |
|
|
5313 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5314 | /* confdefs.h. */ |
|
|
5315 | _ACEOF |
|
|
5316 | cat confdefs.h >>conftest.$ac_ext |
|
|
5317 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5318 | /* end confdefs.h. */ |
|
|
5319 | |
|
|
5320 | int |
|
|
5321 | main () |
|
|
5322 | { |
|
|
5323 | |
|
|
5324 | ; |
|
|
5325 | return 0; |
|
|
5326 | } |
|
|
5327 | _ACEOF |
|
|
5328 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5329 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
5330 | (eval $ac_link) 2>conftest.er1 |
|
|
5331 | ac_status=$? |
|
|
5332 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5333 | rm -f conftest.er1 |
|
|
5334 | cat conftest.err >&5 |
|
|
5335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5336 | (exit $ac_status); } && |
|
|
5337 | { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
|
|
5338 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5339 | (eval $ac_try) 2>&5 |
|
|
5340 | ac_status=$? |
|
|
5341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5342 | (exit $ac_status); }; } && |
|
|
5343 | { ac_try='test -s conftest$ac_exeext' |
|
|
5344 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5345 | (eval $ac_try) 2>&5 |
|
|
5346 | ac_status=$? |
|
|
5347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5348 | (exit $ac_status); }; }; then |
|
|
5349 | lt_cv_cc_needs_belf=yes |
|
|
5350 | else |
|
|
5351 | echo "$as_me: failed program was:" >&5 |
|
|
5352 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5353 | |
|
|
5354 | lt_cv_cc_needs_belf=no |
|
|
5355 | fi |
|
|
5356 | rm -f conftest.err conftest.$ac_objext \ |
|
|
5357 | conftest$ac_exeext conftest.$ac_ext |
|
|
5358 | ac_ext=cc |
|
|
5359 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
5360 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5361 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5362 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
5363 | |
|
|
5364 | fi |
|
|
5365 | echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
|
|
5366 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 |
|
|
5367 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
|
|
5368 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
|
|
5369 | CFLAGS="$SAVE_CFLAGS" |
|
|
5370 | fi |
|
|
5371 | ;; |
|
|
5372 | |
|
|
5373 | |
|
|
5374 | esac |
|
|
5375 | |
|
|
5376 | # Sed substitution that helps us do robust quoting. It backslashifies |
|
|
5377 | # metacharacters that are still active within double-quoted strings. |
|
|
5378 | Xsed='sed -e s/^X//' |
|
|
5379 | sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' |
|
|
5380 | |
|
|
5381 | # Same as above, but do not quote variable references. |
|
|
5382 | double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' |
|
|
5383 | |
|
|
5384 | # Sed substitution to delay expansion of an escaped shell variable in a |
|
|
5385 | # double_quote_subst'ed string. |
|
|
5386 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
|
5387 | |
|
|
5388 | # Constants: |
|
|
5389 | rm="rm -f" |
|
|
5390 | |
|
|
5391 | # Global variables: |
|
|
5392 | default_ofile=libtool |
|
|
5393 | can_build_shared=yes |
|
|
5394 | |
|
|
5395 | # All known linkers require a `.a' archive for static linking (except M$VC, |
|
|
5396 | # which needs '.lib'). |
|
|
5397 | libext=a |
|
|
5398 | ltmain="$ac_aux_dir/ltmain.sh" |
|
|
5399 | ofile="$default_ofile" |
|
|
5400 | with_gnu_ld="$lt_cv_prog_gnu_ld" |
|
|
5401 | need_locks="$enable_libtool_lock" |
|
|
5402 | |
|
|
5403 | old_CC="$CC" |
|
|
5404 | old_CFLAGS="$CFLAGS" |
|
|
5405 | |
|
|
5406 | # Set sane defaults for various variables |
|
|
5407 | test -z "$AR" && AR=ar |
|
|
5408 | test -z "$AR_FLAGS" && AR_FLAGS=cru |
|
|
5409 | test -z "$AS" && AS=as |
|
|
5410 | test -z "$CC" && CC=cc |
|
|
5411 | test -z "$DLLTOOL" && DLLTOOL=dlltool |
|
|
5412 | test -z "$LD" && LD=ld |
|
|
5413 | test -z "$LN_S" && LN_S="ln -s" |
|
|
5414 | test -z "$MAGIC_CMD" && MAGIC_CMD=file |
|
|
5415 | test -z "$NM" && NM=nm |
|
|
5416 | test -z "$OBJDUMP" && OBJDUMP=objdump |
|
|
5417 | test -z "$RANLIB" && RANLIB=: |
|
|
5418 | test -z "$STRIP" && STRIP=: |
|
|
5419 | test -z "$ac_objext" && ac_objext=o |
|
|
5420 | |
|
|
5421 | if test x"$host" != x"$build"; then |
|
|
5422 | ac_tool_prefix=${host_alias}- |
|
|
5423 | else |
|
|
5424 | ac_tool_prefix= |
|
|
5425 | fi |
|
|
5426 | |
|
|
5427 | # Transform linux* to *-*-linux-gnu*, to support old configure scripts. |
|
|
5428 | case "$host_os" in |
|
|
5429 | linux-gnu*) ;; |
|
|
5430 | linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
|
|
5431 | esac |
|
|
5432 | |
|
|
5433 | case "$host_os" in |
|
|
5434 | aix3*) |
|
|
5435 | # AIX sometimes has problems with the GCC collect2 program. For some |
|
|
5436 | # reason, if we set the COLLECT_NAMES environment variable, the problems |
|
|
5437 | # vanish in a puff of smoke. |
|
|
5438 | if test "X${COLLECT_NAMES+set}" != Xset; then |
|
|
5439 | COLLECT_NAMES= |
|
|
5440 | export COLLECT_NAMES |
|
|
5441 | fi |
|
|
5442 | ;; |
|
|
5443 | esac |
|
|
5444 | |
|
|
5445 | # Determine commands to create old-style static archives. |
|
|
5446 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' |
|
|
5447 | old_postinstall_cmds='chmod 644 $oldlib' |
|
|
5448 | old_postuninstall_cmds= |
|
|
5449 | |
|
|
5450 | if test -n "$RANLIB"; then |
|
|
5451 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
|
|
5452 | old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" |
|
|
5453 | fi |
|
|
5454 | |
|
|
5455 | # Allow CC to be a program name with arguments. |
|
|
5456 | set dummy $CC |
|
|
5457 | compiler="$2" |
|
|
5458 | |
|
|
5459 | ## FIXME: this should be a separate macro |
|
|
5460 | ## |
|
|
5461 | echo "$as_me:$LINENO: checking for objdir" >&5 |
|
|
5462 | echo $ECHO_N "checking for objdir... $ECHO_C" >&6 |
|
|
5463 | rm -f .libs 2>/dev/null |
|
|
5464 | mkdir .libs 2>/dev/null |
|
|
5465 | if test -d .libs; then |
|
|
5466 | objdir=.libs |
|
|
5467 | else |
|
|
5468 | # MS-DOS does not allow filenames that begin with a dot. |
|
|
5469 | objdir=_libs |
|
|
5470 | fi |
|
|
5471 | rmdir .libs 2>/dev/null |
|
|
5472 | echo "$as_me:$LINENO: result: $objdir" >&5 |
|
|
5473 | echo "${ECHO_T}$objdir" >&6 |
|
|
5474 | ## |
|
|
5475 | ## END FIXME |
|
|
5476 | |
|
|
5477 | |
|
|
5478 | ## FIXME: this should be a separate macro |
|
|
5479 | ## |
|
|
5480 | |
|
|
5481 | # Check whether --with-pic or --without-pic was given. |
|
|
5482 | if test "${with_pic+set}" = set; then |
|
|
5483 | withval="$with_pic" |
|
|
5484 | pic_mode="$withval" |
|
|
5485 | else |
|
|
5486 | pic_mode=default |
|
|
5487 | fi; |
|
|
5488 | test -z "$pic_mode" && pic_mode=default |
|
|
5489 | |
|
|
5490 | # We assume here that the value for lt_cv_prog_cc_pic will not be cached |
|
|
5491 | # in isolation, and that seeing it set (from the cache) indicates that |
|
|
5492 | # the associated values are set (in the cache) correctly too. |
|
|
5493 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
|
|
5494 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 |
|
|
5495 | if test "${lt_cv_prog_cc_pic+set}" = set; then |
|
|
5496 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5497 | else |
|
|
5498 | lt_cv_prog_cc_pic= |
|
|
5499 | lt_cv_prog_cc_shlib= |
|
|
5500 | lt_cv_prog_cc_wl= |
|
|
5501 | lt_cv_prog_cc_static= |
|
|
5502 | lt_cv_prog_cc_no_builtin= |
|
|
5503 | lt_cv_prog_cc_can_build_shared=$can_build_shared |
|
|
5504 | |
|
|
5505 | if test "$GCC" = yes; then |
|
|
5506 | lt_cv_prog_cc_wl='-Wl,' |
|
|
5507 | lt_cv_prog_cc_static='-static' |
|
|
5508 | |
|
|
5509 | case "$host_os" in |
|
|
5510 | beos* | irix5* | irix6* | osf3* | osf4* | osf5*) |
|
|
5511 | # PIC is the default for these OSes. |
|
|
5512 | ;; |
|
|
5513 | aix*) |
|
|
5514 | # Below there is a dirty hack to force normal static linking with -ldl |
|
|
5515 | # The problem is because libdl dynamically linked with both libc and |
|
|
5516 | # libC (AIX C++ library), which obviously doesn't included in libraries |
|
|
5517 | # list by gcc. This cause undefined symbols with -static flags. |
|
|
5518 | # This hack allows C programs to be linked with "-static -ldl", but |
|
|
5519 | # we not sure about C++ programs. |
|
|
5520 | lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" |
|
|
5521 | ;; |
|
|
5522 | cygwin* | mingw* | pw32* | os2*) |
|
|
5523 | # This hack is so that the source file can tell whether it is being |
|
|
5524 | # built for inclusion in a dll (and should export symbols for example). |
|
|
5525 | lt_cv_prog_cc_pic='-DDLL_EXPORT' |
|
|
5526 | ;; |
|
|
5527 | amigaos*) |
|
|
5528 | # FIXME: we need at least 68020 code to build shared libraries, but |
|
|
5529 | # adding the `-m68020' flag to GCC prevents building anything better, |
|
|
5530 | # like `-m68040'. |
|
|
5531 | lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' |
|
|
5532 | ;; |
|
|
5533 | sysv4*MP*) |
|
|
5534 | if test -d /usr/nec; then |
|
|
5535 | lt_cv_prog_cc_pic=-Kconform_pic |
|
|
5536 | fi |
|
|
5537 | ;; |
|
|
5538 | *) |
|
|
5539 | lt_cv_prog_cc_pic='-fPIC' |
|
|
5540 | ;; |
|
|
5541 | esac |
|
|
5542 | else |
|
|
5543 | # PORTME Check for PIC flags for the system compiler. |
|
|
5544 | case "$host_os" in |
|
|
5545 | aix3* | aix4*) |
|
|
5546 | # All AIX code is PIC. |
|
|
5547 | lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' |
|
|
5548 | ;; |
|
|
5549 | |
|
|
5550 | hpux9* | hpux10* | hpux11*) |
|
|
5551 | # Is there a better lt_cv_prog_cc_static that works with the bundled CC? |
|
|
5552 | lt_cv_prog_cc_wl='-Wl,' |
|
|
5553 | lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" |
|
|
5554 | lt_cv_prog_cc_pic='+Z' |
|
|
5555 | ;; |
|
|
5556 | |
|
|
5557 | irix5* | irix6*) |
|
|
5558 | lt_cv_prog_cc_wl='-Wl,' |
|
|
5559 | lt_cv_prog_cc_static='-non_shared' |
|
|
5560 | # PIC (with -KPIC) is the default. |
|
|
5561 | ;; |
|
|
5562 | |
|
|
5563 | cygwin* | mingw* | pw32* | os2*) |
|
|
5564 | # This hack is so that the source file can tell whether it is being |
|
|
5565 | # built for inclusion in a dll (and should export symbols for example). |
|
|
5566 | lt_cv_prog_cc_pic='-DDLL_EXPORT' |
|
|
5567 | ;; |
|
|
5568 | |
|
|
5569 | newsos6) |
|
|
5570 | lt_cv_prog_cc_pic='-KPIC' |
|
|
5571 | lt_cv_prog_cc_static='-Bstatic' |
|
|
5572 | ;; |
|
|
5573 | |
|
|
5574 | osf3* | osf4* | osf5*) |
|
|
5575 | # All OSF/1 code is PIC. |
|
|
5576 | lt_cv_prog_cc_wl='-Wl,' |
|
|
5577 | lt_cv_prog_cc_static='-non_shared' |
|
|
5578 | ;; |
|
|
5579 | |
|
|
5580 | sco3.2v5*) |
|
|
5581 | lt_cv_prog_cc_pic='-Kpic' |
|
|
5582 | lt_cv_prog_cc_static='-dn' |
|
|
5583 | lt_cv_prog_cc_shlib='-belf' |
|
|
5584 | ;; |
|
|
5585 | |
|
|
5586 | solaris*) |
|
|
5587 | lt_cv_prog_cc_pic='-KPIC' |
|
|
5588 | lt_cv_prog_cc_static='-Bstatic' |
|
|
5589 | lt_cv_prog_cc_wl='-Wl,' |
|
|
5590 | ;; |
|
|
5591 | |
|
|
5592 | sunos4*) |
|
|
5593 | lt_cv_prog_cc_pic='-PIC' |
|
|
5594 | lt_cv_prog_cc_static='-Bstatic' |
|
|
5595 | lt_cv_prog_cc_wl='-Qoption ld ' |
|
|
5596 | ;; |
|
|
5597 | |
|
|
5598 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
|
|
5599 | lt_cv_prog_cc_pic='-KPIC' |
|
|
5600 | lt_cv_prog_cc_static='-Bstatic' |
|
|
5601 | if test "x$host_vendor" = xsni; then |
|
|
5602 | lt_cv_prog_cc_wl='-LD' |
|
|
5603 | else |
|
|
5604 | lt_cv_prog_cc_wl='-Wl,' |
|
|
5605 | fi |
|
|
5606 | ;; |
|
|
5607 | |
|
|
5608 | uts4*) |
|
|
5609 | lt_cv_prog_cc_pic='-pic' |
|
|
5610 | lt_cv_prog_cc_static='-Bstatic' |
|
|
5611 | ;; |
|
|
5612 | |
|
|
5613 | sysv4*MP*) |
|
|
5614 | if test -d /usr/nec ;then |
|
|
5615 | lt_cv_prog_cc_pic='-Kconform_pic' |
|
|
5616 | lt_cv_prog_cc_static='-Bstatic' |
|
|
5617 | fi |
|
|
5618 | ;; |
|
|
5619 | |
|
|
5620 | *) |
|
|
5621 | lt_cv_prog_cc_can_build_shared=no |
|
|
5622 | ;; |
|
|
5623 | esac |
|
|
5624 | fi |
|
|
5625 | |
|
|
5626 | fi |
|
|
5627 | |
|
|
5628 | if test -z "$lt_cv_prog_cc_pic"; then |
|
|
5629 | echo "$as_me:$LINENO: result: none" >&5 |
|
|
5630 | echo "${ECHO_T}none" >&6 |
|
|
5631 | else |
|
|
5632 | echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 |
|
|
5633 | echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 |
|
|
5634 | |
|
|
5635 | # Check to make sure the pic_flag actually works. |
|
|
5636 | echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 |
|
|
5637 | echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 |
|
|
5638 | if test "${lt_cv_prog_cc_pic_works+set}" = set; then |
|
|
5639 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5640 | else |
|
|
5641 | save_CFLAGS="$CFLAGS" |
|
|
5642 | CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" |
|
|
5643 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5644 | /* confdefs.h. */ |
|
|
5645 | _ACEOF |
|
|
5646 | cat confdefs.h >>conftest.$ac_ext |
|
|
5647 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5648 | /* end confdefs.h. */ |
|
|
5649 | |
|
|
5650 | int |
|
|
5651 | main () |
|
|
5652 | { |
|
|
5653 | |
|
|
5654 | ; |
|
|
5655 | return 0; |
|
|
5656 | } |
|
|
5657 | _ACEOF |
|
|
5658 | rm -f conftest.$ac_objext |
|
|
5659 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
5660 | (eval $ac_compile) 2>conftest.er1 |
|
|
5661 | ac_status=$? |
|
|
5662 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5663 | rm -f conftest.er1 |
|
|
5664 | cat conftest.err >&5 |
|
|
5665 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5666 | (exit $ac_status); } && |
|
|
5667 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
5668 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5669 | (eval $ac_try) 2>&5 |
|
|
5670 | ac_status=$? |
|
|
5671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5672 | (exit $ac_status); }; } && |
|
|
5673 | { ac_try='test -s conftest.$ac_objext' |
|
|
5674 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5675 | (eval $ac_try) 2>&5 |
|
|
5676 | ac_status=$? |
|
|
5677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5678 | (exit $ac_status); }; }; then |
|
|
5679 | case "$host_os" in |
|
|
5680 | hpux9* | hpux10* | hpux11*) |
|
|
5681 | # On HP-UX, both CC and GCC only warn that PIC is supported... then |
|
|
5682 | # they create non-PIC objects. So, if there were any warnings, we |
|
|
5683 | # assume that PIC is not supported. |
|
|
5684 | if test -s conftest.err; then |
|
|
5685 | lt_cv_prog_cc_pic_works=no |
|
|
5686 | else |
|
|
5687 | lt_cv_prog_cc_pic_works=yes |
|
|
5688 | fi |
|
|
5689 | ;; |
|
|
5690 | *) |
|
|
5691 | lt_cv_prog_cc_pic_works=yes |
|
|
5692 | ;; |
|
|
5693 | esac |
|
|
5694 | |
|
|
5695 | else |
|
|
5696 | echo "$as_me: failed program was:" >&5 |
|
|
5697 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5698 | |
|
|
5699 | lt_cv_prog_cc_pic_works=no |
|
|
5700 | |
|
|
5701 | fi |
|
|
5702 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5703 | CFLAGS="$save_CFLAGS" |
|
|
5704 | |
|
|
5705 | fi |
|
|
5706 | |
|
|
5707 | |
|
|
5708 | if test "X$lt_cv_prog_cc_pic_works" = Xno; then |
|
|
5709 | lt_cv_prog_cc_pic= |
|
|
5710 | lt_cv_prog_cc_can_build_shared=no |
|
|
5711 | else |
|
|
5712 | lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" |
|
|
5713 | fi |
|
|
5714 | |
|
|
5715 | echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 |
|
|
5716 | echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 |
|
|
5717 | fi |
|
|
5718 | ## |
|
|
5719 | ## END FIXME |
|
|
5720 | |
|
|
5721 | # Check for any special shared library compilation flags. |
|
|
5722 | if test -n "$lt_cv_prog_cc_shlib"; then |
|
|
5723 | { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 |
|
|
5724 | echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} |
|
|
5725 | if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then : |
|
|
5726 | else |
|
|
5727 | { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 |
|
|
5728 | echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} |
|
|
5729 | lt_cv_prog_cc_can_build_shared=no |
|
|
5730 | fi |
|
|
5731 | fi |
|
|
5732 | |
|
|
5733 | ## FIXME: this should be a separate macro |
|
|
5734 | ## |
|
|
5735 | echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 |
|
|
5736 | echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 |
|
|
5737 | if test "${lt_cv_prog_cc_static_works+set}" = set; then |
|
|
5738 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5739 | else |
|
|
5740 | lt_cv_prog_cc_static_works=no |
|
|
5741 | save_LDFLAGS="$LDFLAGS" |
|
|
5742 | LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" |
|
|
5743 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5744 | /* confdefs.h. */ |
|
|
5745 | _ACEOF |
|
|
5746 | cat confdefs.h >>conftest.$ac_ext |
|
|
5747 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5748 | /* end confdefs.h. */ |
|
|
5749 | |
|
|
5750 | int |
|
|
5751 | main () |
|
|
5752 | { |
|
|
5753 | |
|
|
5754 | ; |
|
|
5755 | return 0; |
|
|
5756 | } |
|
|
5757 | _ACEOF |
|
|
5758 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5759 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
5760 | (eval $ac_link) 2>conftest.er1 |
|
|
5761 | ac_status=$? |
|
|
5762 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5763 | rm -f conftest.er1 |
|
|
5764 | cat conftest.err >&5 |
|
|
5765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5766 | (exit $ac_status); } && |
|
|
5767 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
5768 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5769 | (eval $ac_try) 2>&5 |
|
|
5770 | ac_status=$? |
|
|
5771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5772 | (exit $ac_status); }; } && |
|
|
5773 | { ac_try='test -s conftest$ac_exeext' |
|
|
5774 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5775 | (eval $ac_try) 2>&5 |
|
|
5776 | ac_status=$? |
|
|
5777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5778 | (exit $ac_status); }; }; then |
|
|
5779 | lt_cv_prog_cc_static_works=yes |
|
|
5780 | else |
|
|
5781 | echo "$as_me: failed program was:" >&5 |
|
|
5782 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5783 | |
|
|
5784 | fi |
|
|
5785 | rm -f conftest.err conftest.$ac_objext \ |
|
|
5786 | conftest$ac_exeext conftest.$ac_ext |
|
|
5787 | LDFLAGS="$save_LDFLAGS" |
|
|
5788 | |
|
|
5789 | fi |
|
|
5790 | |
|
|
5791 | |
|
|
5792 | # Belt *and* braces to stop my trousers falling down: |
|
|
5793 | test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= |
|
|
5794 | echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 |
|
|
5795 | echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 |
|
|
5796 | |
|
|
5797 | pic_flag="$lt_cv_prog_cc_pic" |
|
|
5798 | special_shlib_compile_flags="$lt_cv_prog_cc_shlib" |
|
|
5799 | wl="$lt_cv_prog_cc_wl" |
|
|
5800 | link_static_flag="$lt_cv_prog_cc_static" |
|
|
5801 | no_builtin_flag="$lt_cv_prog_cc_no_builtin" |
|
|
5802 | can_build_shared="$lt_cv_prog_cc_can_build_shared" |
|
|
5803 | ## |
|
|
5804 | ## END FIXME |
|
|
5805 | |
|
|
5806 | |
|
|
5807 | ## FIXME: this should be a separate macro |
|
|
5808 | ## |
|
|
5809 | # Check to see if options -o and -c are simultaneously supported by compiler |
|
|
5810 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
|
|
5811 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
|
|
5812 | $rm -r conftest 2>/dev/null |
|
|
5813 | mkdir conftest |
|
|
5814 | cd conftest |
|
|
5815 | echo "int some_variable = 0;" > conftest.$ac_ext |
|
|
5816 | mkdir out |
|
|
5817 | # According to Tom Tromey, Ian Lance Taylor reported there are C compilers |
|
|
5818 | # that will create temporary files in the current directory regardless of |
|
|
5819 | # the output directory. Thus, making CWD read-only will cause this test |
|
|
5820 | # to fail, enabling locking or at least warning the user not to do parallel |
|
|
5821 | # builds. |
|
|
5822 | chmod -w . |
|
|
5823 | save_CFLAGS="$CFLAGS" |
|
|
5824 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" |
|
|
5825 | compiler_c_o=no |
|
|
5826 | if { (eval echo configure:5826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then |
|
|
5827 | # The compiler can only warn and ignore the option if not recognized |
|
|
5828 | # So say no if there are warnings |
|
|
5829 | if test -s out/conftest.err; then |
|
|
5830 | compiler_c_o=no |
|
|
5831 | else |
|
|
5832 | compiler_c_o=yes |
|
|
5833 | fi |
|
|
5834 | else |
|
|
5835 | # Append any errors to the config.log. |
|
|
5836 | cat out/conftest.err 1>&5 |
|
|
5837 | compiler_c_o=no |
|
|
5838 | fi |
|
|
5839 | echo "$as_me:$LINENO: result: $compiler_c_o" >&5 |
|
|
5840 | echo "${ECHO_T}$compiler_c_o" >&6 |
|
|
5841 | CFLAGS="$save_CFLAGS" |
|
|
5842 | chmod u+w . |
|
|
5843 | $rm conftest* out/* |
|
|
5844 | rmdir out |
|
|
5845 | cd .. |
|
|
5846 | rmdir conftest |
|
|
5847 | $rm -r conftest 2>/dev/null |
|
|
5848 | |
|
|
5849 | if test x"$compiler_c_o" = x"yes"; then |
|
|
5850 | # Check to see if we can write to a .lo |
|
|
5851 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 |
|
|
5852 | echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 |
|
|
5853 | compiler_o_lo=no |
|
|
5854 | save_CFLAGS="$CFLAGS" |
|
|
5855 | CFLAGS="$CFLAGS -c -o conftest.lo" |
|
|
5856 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5857 | /* confdefs.h. */ |
|
|
5858 | _ACEOF |
|
|
5859 | cat confdefs.h >>conftest.$ac_ext |
|
|
5860 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5861 | /* end confdefs.h. */ |
|
|
5862 | |
|
|
5863 | int |
|
|
5864 | main () |
|
|
5865 | { |
|
|
5866 | int some_variable = 0; |
|
|
5867 | ; |
|
|
5868 | return 0; |
|
|
5869 | } |
|
|
5870 | _ACEOF |
|
|
5871 | rm -f conftest.$ac_objext |
|
|
5872 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
5873 | (eval $ac_compile) 2>conftest.er1 |
|
|
5874 | ac_status=$? |
|
|
5875 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5876 | rm -f conftest.er1 |
|
|
5877 | cat conftest.err >&5 |
|
|
5878 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5879 | (exit $ac_status); } && |
|
|
5880 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
5881 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5882 | (eval $ac_try) 2>&5 |
|
|
5883 | ac_status=$? |
|
|
5884 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5885 | (exit $ac_status); }; } && |
|
|
5886 | { ac_try='test -s conftest.$ac_objext' |
|
|
5887 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5888 | (eval $ac_try) 2>&5 |
|
|
5889 | ac_status=$? |
|
|
5890 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5891 | (exit $ac_status); }; }; then |
|
|
5892 | # The compiler can only warn and ignore the option if not recognized |
|
|
5893 | # So say no if there are warnings |
|
|
5894 | if test -s conftest.err; then |
|
|
5895 | compiler_o_lo=no |
|
|
5896 | else |
|
|
5897 | compiler_o_lo=yes |
|
|
5898 | fi |
|
|
5899 | |
|
|
5900 | else |
|
|
5901 | echo "$as_me: failed program was:" >&5 |
|
|
5902 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5903 | |
|
|
5904 | fi |
|
|
5905 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5906 | echo "$as_me:$LINENO: result: $compiler_c_o" >&5 |
|
|
5907 | echo "${ECHO_T}$compiler_c_o" >&6 |
|
|
5908 | CFLAGS="$save_CFLAGS" |
|
|
5909 | else |
|
|
5910 | compiler_o_lo=no |
|
|
5911 | fi |
|
|
5912 | ## |
|
|
5913 | ## END FIXME |
|
|
5914 | |
|
|
5915 | ## FIXME: this should be a separate macro |
|
|
5916 | ## |
|
|
5917 | # Check to see if we can do hard links to lock some files if needed |
|
|
5918 | hard_links="nottested" |
|
|
5919 | if test "$compiler_c_o" = no && test "$need_locks" != no; then |
|
|
5920 | # do not overwrite the value of need_locks provided by the user |
|
|
5921 | echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
|
|
5922 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 |
|
|
5923 | hard_links=yes |
|
|
5924 | $rm conftest* |
|
|
5925 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
|
5926 | touch conftest.a |
|
|
5927 | ln conftest.a conftest.b 2>&5 || hard_links=no |
|
|
5928 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
|
|
5929 | echo "$as_me:$LINENO: result: $hard_links" >&5 |
|
|
5930 | echo "${ECHO_T}$hard_links" >&6 |
|
|
5931 | if test "$hard_links" = no; then |
|
|
5932 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
|
|
5933 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
|
|
5934 | need_locks=warn |
|
|
5935 | fi |
|
|
5936 | else |
|
|
5937 | need_locks=no |
|
|
5938 | fi |
|
|
5939 | ## |
|
|
5940 | ## END FIXME |
|
|
5941 | |
|
|
5942 | ## FIXME: this should be a separate macro |
|
|
5943 | ## |
|
|
5944 | if test "$GCC" = yes; then |
|
|
5945 | # Check to see if options -fno-rtti -fno-exceptions are supported by compiler |
|
|
5946 | echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
|
|
5947 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 |
|
|
5948 | echo "int some_variable = 0;" > conftest.$ac_ext |
|
|
5949 | save_CFLAGS="$CFLAGS" |
|
|
5950 | CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" |
|
|
5951 | compiler_rtti_exceptions=no |
|
|
5952 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5953 | /* confdefs.h. */ |
|
|
5954 | _ACEOF |
|
|
5955 | cat confdefs.h >>conftest.$ac_ext |
|
|
5956 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5957 | /* end confdefs.h. */ |
|
|
5958 | |
|
|
5959 | int |
|
|
5960 | main () |
|
|
5961 | { |
|
|
5962 | int some_variable = 0; |
|
|
5963 | ; |
|
|
5964 | return 0; |
|
|
5965 | } |
|
|
5966 | _ACEOF |
|
|
5967 | rm -f conftest.$ac_objext |
|
|
5968 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
5969 | (eval $ac_compile) 2>conftest.er1 |
|
|
5970 | ac_status=$? |
|
|
5971 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5972 | rm -f conftest.er1 |
|
|
5973 | cat conftest.err >&5 |
|
|
5974 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5975 | (exit $ac_status); } && |
|
|
5976 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
5977 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5978 | (eval $ac_try) 2>&5 |
|
|
5979 | ac_status=$? |
|
|
5980 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5981 | (exit $ac_status); }; } && |
|
|
5982 | { ac_try='test -s conftest.$ac_objext' |
|
|
5983 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5984 | (eval $ac_try) 2>&5 |
|
|
5985 | ac_status=$? |
|
|
5986 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5987 | (exit $ac_status); }; }; then |
|
|
5988 | # The compiler can only warn and ignore the option if not recognized |
|
|
5989 | # So say no if there are warnings |
|
|
5990 | if test -s conftest.err; then |
|
|
5991 | compiler_rtti_exceptions=no |
|
|
5992 | else |
|
|
5993 | compiler_rtti_exceptions=yes |
|
|
5994 | fi |
|
|
5995 | |
|
|
5996 | else |
|
|
5997 | echo "$as_me: failed program was:" >&5 |
|
|
5998 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5999 | |
|
|
6000 | fi |
|
|
6001 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6002 | CFLAGS="$save_CFLAGS" |
|
|
6003 | echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 |
|
|
6004 | echo "${ECHO_T}$compiler_rtti_exceptions" >&6 |
|
|
6005 | |
|
|
6006 | if test "$compiler_rtti_exceptions" = "yes"; then |
|
|
6007 | no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' |
|
|
6008 | else |
|
|
6009 | no_builtin_flag=' -fno-builtin' |
|
|
6010 | fi |
|
|
6011 | fi |
|
|
6012 | ## |
|
|
6013 | ## END FIXME |
|
|
6014 | |
|
|
6015 | ## FIXME: this should be a separate macro |
|
|
6016 | ## |
|
|
6017 | # See if the linker supports building shared libraries. |
|
|
6018 | echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 |
|
|
6019 | echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 |
|
|
6020 | |
|
|
6021 | allow_undefined_flag= |
|
|
6022 | no_undefined_flag= |
|
|
6023 | need_lib_prefix=unknown |
|
|
6024 | need_version=unknown |
|
|
6025 | # when you set need_version to no, make sure it does not cause -set_version |
|
|
6026 | # flags to be left without arguments |
|
|
6027 | archive_cmds= |
|
|
6028 | archive_expsym_cmds= |
|
|
6029 | old_archive_from_new_cmds= |
|
|
6030 | old_archive_from_expsyms_cmds= |
|
|
6031 | export_dynamic_flag_spec= |
|
|
6032 | whole_archive_flag_spec= |
|
|
6033 | thread_safe_flag_spec= |
|
|
6034 | hardcode_into_libs=no |
|
|
6035 | hardcode_libdir_flag_spec= |
|
|
6036 | hardcode_libdir_separator= |
|
|
6037 | hardcode_direct=no |
|
|
6038 | hardcode_minus_L=no |
|
|
6039 | hardcode_shlibpath_var=unsupported |
|
|
6040 | runpath_var= |
|
|
6041 | link_all_deplibs=unknown |
|
|
6042 | always_export_symbols=no |
|
|
6043 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' |
|
|
6044 | # include_expsyms should be a list of space-separated symbols to be *always* |
|
|
6045 | # included in the symbol list |
|
|
6046 | include_expsyms= |
|
|
6047 | # exclude_expsyms can be an egrep regular expression of symbols to exclude |
|
|
6048 | # it will be wrapped by ` (' and `)$', so one must not match beginning or |
|
|
6049 | # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
|
|
6050 | # as well as any symbol that contains `d'. |
|
|
6051 | exclude_expsyms="_GLOBAL_OFFSET_TABLE_" |
|
|
6052 | # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
|
|
6053 | # platforms (ab)use it in PIC code, but their linkers get confused if |
|
|
6054 | # the symbol is explicitly referenced. Since portable code cannot |
|
|
6055 | # rely on this symbol name, it's probably fine to never include it in |
|
|
6056 | # preloaded symbol tables. |
|
|
6057 | extract_expsyms_cmds= |
|
|
6058 | |
|
|
6059 | case "$host_os" in |
|
|
6060 | cygwin* | mingw* | pw32* ) |
|
|
6061 | # FIXME: the MSVC++ port hasn't been tested in a loooong time |
|
|
6062 | # When not using gcc, we currently assume that we are using |
|
|
6063 | # Microsoft Visual C++. |
|
|
6064 | if test "$GCC" != yes; then |
|
|
6065 | with_gnu_ld=no |
|
|
6066 | fi |
|
|
6067 | ;; |
|
|
6068 | |
|
|
6069 | esac |
|
|
6070 | |
|
|
6071 | ld_shlibs=yes |
|
|
6072 | if test "$with_gnu_ld" = yes; then |
|
|
6073 | # If archive_cmds runs LD, not CC, wlarc should be empty |
|
|
6074 | wlarc='${wl}' |
|
|
6075 | |
|
|
6076 | # See if GNU ld supports shared libraries. |
|
|
6077 | case "$host_os" in |
|
|
6078 | aix3* | aix4*) |
|
|
6079 | # On AIX, the GNU linker is very broken |
|
|
6080 | ld_shlibs=no |
|
|
6081 | cat <<EOF 1>&2 |
|
|
6082 | |
|
|
6083 | *** Warning: the GNU linker, at least up to release 2.9.1, is reported |
|
|
6084 | *** to be unable to reliably create shared libraries on AIX. |
|
|
6085 | *** Therefore, libtool is disabling shared libraries support. If you |
|
|
6086 | *** really care for shared libraries, you may want to modify your PATH |
|
|
6087 | *** so that a non-GNU linker is found, and then restart. |
|
|
6088 | |
|
|
6089 | EOF |
|
|
6090 | ;; |
|
|
6091 | |
|
|
6092 | amigaos*) |
|
|
6093 | archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
|
|
6094 | hardcode_libdir_flag_spec='-L$libdir' |
|
|
6095 | hardcode_minus_L=yes |
|
|
6096 | |
|
|
6097 | # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports |
|
|
6098 | # that the semantics of dynamic libraries on AmigaOS, at least up |
|
|
6099 | # to version 4, is to share data among multiple programs linked |
|
|
6100 | # with the same dynamic library. Since this doesn't match the |
|
|
6101 | # behavior of shared libraries on other platforms, we can use |
|
|
6102 | # them. |
|
|
6103 | ld_shlibs=no |
|
|
6104 | ;; |
|
|
6105 | |
|
|
6106 | beos*) |
|
|
6107 | if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
|
|
6108 | allow_undefined_flag=unsupported |
|
|
6109 | # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
|
|
6110 | # support --undefined. This deserves some investigation. FIXME |
|
|
6111 | archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
6112 | else |
|
|
6113 | ld_shlibs=no |
|
|
6114 | fi |
|
|
6115 | ;; |
|
|
6116 | |
|
|
6117 | cygwin* | mingw* | pw32*) |
|
|
6118 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
|
|
6119 | # no search path for DLLs. |
|
|
6120 | hardcode_libdir_flag_spec='-L$libdir' |
|
|
6121 | allow_undefined_flag=unsupported |
|
|
6122 | always_export_symbols=yes |
|
|
6123 | |
|
|
6124 | extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ |
|
|
6125 | sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ |
|
|
6126 | test -f $output_objdir/impgen.exe || (cd $output_objdir && \ |
|
|
6127 | if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ |
|
|
6128 | else $CC -o impgen impgen.c ; fi)~ |
|
|
6129 | $output_objdir/impgen $dir/$soname > $output_objdir/$soname-def' |
|
|
6130 | |
|
|
6131 | old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' |
|
|
6132 | |
|
|
6133 | # cygwin and mingw dlls have different entry points and sets of symbols |
|
|
6134 | # to exclude. |
|
|
6135 | # FIXME: what about values for MSVC? |
|
|
6136 | dll_entry=__cygwin_dll_entry@12 |
|
|
6137 | dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ |
|
|
6138 | case "$host_os" in |
|
|
6139 | mingw*) |
|
|
6140 | # mingw values |
|
|
6141 | dll_entry=_DllMainCRTStartup@12 |
|
|
6142 | dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ |
|
|
6143 | ;; |
|
|
6144 | esac |
|
|
6145 | |
|
|
6146 | # mingw and cygwin differ, and it's simplest to just exclude the union |
|
|
6147 | # of the two symbol sets. |
|
|
6148 | dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 |
|
|
6149 | |
|
|
6150 | # recent cygwin and mingw systems supply a stub DllMain which the user |
|
|
6151 | # can override, but on older systems we have to supply one (in ltdll.c) |
|
|
6152 | if test "x$lt_cv_need_dllmain" = "xyes"; then |
|
|
6153 | ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " |
|
|
6154 | ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~ |
|
|
6155 | test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' |
|
|
6156 | else |
|
|
6157 | ltdll_obj= |
|
|
6158 | ltdll_cmds= |
|
|
6159 | fi |
|
|
6160 | |
|
|
6161 | # Extract the symbol export list from an `--export-all' def file, |
|
|
6162 | # then regenerate the def file from the symbol export list, so that |
|
|
6163 | # the compiled dll only exports the symbol export list. |
|
|
6164 | # Be careful not to strip the DATA tag left be newer dlltools. |
|
|
6165 | export_symbols_cmds="$ltdll_cmds"' |
|
|
6166 | $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ |
|
|
6167 | sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' |
|
|
6168 | |
|
|
6169 | # If DATA tags from a recent dlltool are present, honour them! |
|
|
6170 | archive_expsym_cmds='echo EXPORTS > $output_objdir/$soname-def~ |
|
|
6171 | _lt_hint=1; |
|
|
6172 | cat $export_symbols | while read symbol; do |
|
|
6173 | set dummy \$symbol; |
|
|
6174 | case \$# in |
|
|
6175 | 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; |
|
|
6176 | *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; |
|
|
6177 | esac; |
|
|
6178 | _lt_hint=`expr 1 + \$_lt_hint`; |
|
|
6179 | done~ |
|
|
6180 | '"$ltdll_cmds"' |
|
|
6181 | $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $lib '$ltdll_obj'$libobjs $deplibs $compiler_flags~ |
|
|
6182 | $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ |
|
|
6183 | $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $lib '$ltdll_obj'$libobjs $deplibs $compiler_flags~ |
|
|
6184 | $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ |
|
|
6185 | $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $lib '$ltdll_obj'$libobjs $deplibs $compiler_flags' |
|
|
6186 | ;; |
|
|
6187 | |
|
|
6188 | netbsd*) |
|
|
6189 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
|
6190 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
|
|
6191 | wlarc= |
|
|
6192 | else |
|
|
6193 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
6194 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
|
6195 | fi |
|
|
6196 | ;; |
|
|
6197 | |
|
|
6198 | solaris* | sysv5*) |
|
|
6199 | if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then |
|
|
6200 | ld_shlibs=no |
|
|
6201 | cat <<EOF 1>&2 |
|
|
6202 | |
|
|
6203 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
|
|
6204 | *** create shared libraries on Solaris systems. Therefore, libtool |
|
|
6205 | *** is disabling shared libraries support. We urge you to upgrade GNU |
|
|
6206 | *** binutils to release 2.9.1 or newer. Another option is to modify |
|
|
6207 | *** your PATH or compiler configuration so that the native linker is |
|
|
6208 | *** used, and then restart. |
|
|
6209 | |
|
|
6210 | EOF |
|
|
6211 | elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
|
|
6212 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
6213 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
|
6214 | else |
|
|
6215 | ld_shlibs=no |
|
|
6216 | fi |
|
|
6217 | ;; |
|
|
6218 | |
|
|
6219 | sunos4*) |
|
|
6220 | archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
|
6221 | wlarc= |
|
|
6222 | hardcode_direct=yes |
|
|
6223 | hardcode_shlibpath_var=no |
|
|
6224 | ;; |
|
|
6225 | |
|
|
6226 | *) |
|
|
6227 | if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then |
|
|
6228 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
|
|
6229 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
|
|
6230 | else |
|
|
6231 | ld_shlibs=no |
|
|
6232 | fi |
|
|
6233 | ;; |
|
|
6234 | esac |
|
|
6235 | |
|
|
6236 | if test "$ld_shlibs" = yes; then |
|
|
6237 | runpath_var=LD_RUN_PATH |
|
|
6238 | hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' |
|
|
6239 | export_dynamic_flag_spec='${wl}--export-dynamic' |
|
|
6240 | case $host_os in |
|
|
6241 | cygwin* | mingw* | pw32*) |
|
|
6242 | # dlltool doesn't understand --whole-archive et. al. |
|
|
6243 | whole_archive_flag_spec= |
|
|
6244 | ;; |
|
|
6245 | *) |
|
|
6246 | # ancient GNU ld didn't support --whole-archive et. al. |
|
|
6247 | if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then |
|
|
6248 | whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
|
|
6249 | else |
|
|
6250 | whole_archive_flag_spec= |
|
|
6251 | fi |
|
|
6252 | ;; |
|
|
6253 | esac |
|
|
6254 | fi |
|
|
6255 | else |
|
|
6256 | # PORTME fill in a description of your system's linker (not GNU ld) |
|
|
6257 | case "$host_os" in |
|
|
6258 | aix3*) |
|
|
6259 | allow_undefined_flag=unsupported |
|
|
6260 | always_export_symbols=yes |
|
|
6261 | archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
|
|
6262 | # Note: this linker hardcodes the directories in LIBPATH if there |
|
|
6263 | # are no directories specified by -L. |
|
|
6264 | hardcode_minus_L=yes |
|
|
6265 | if test "$GCC" = yes && test -z "$link_static_flag"; then |
|
|
6266 | # Neither direct hardcoding nor static linking is supported with a |
|
|
6267 | # broken collect2. |
|
|
6268 | hardcode_direct=unsupported |
|
|
6269 | fi |
|
|
6270 | ;; |
|
|
6271 | |
|
|
6272 | aix4*) |
|
|
6273 | hardcode_libdir_flag_spec='${wl}-b ${wl}nolibpath ${wl}-b ${wl}libpath:$libdir:/usr/lib:/lib' |
|
|
6274 | hardcode_libdir_separator=':' |
|
|
6275 | if test "$GCC" = yes; then |
|
|
6276 | collect2name=`${CC} -print-prog-name=collect2` |
|
|
6277 | if test -f "$collect2name" && \ |
|
|
6278 | strings "$collect2name" | grep resolve_lib_name >/dev/null |
|
|
6279 | then |
|
|
6280 | # We have reworked collect2 |
|
|
6281 | hardcode_direct=yes |
|
|
6282 | else |
|
|
6283 | # We have old collect2 |
|
|
6284 | hardcode_direct=unsupported |
|
|
6285 | # It fails to find uninstalled libraries when the uninstalled |
|
|
6286 | # path is not listed in the libpath. Setting hardcode_minus_L |
|
|
6287 | # to unsupported forces relinking |
|
|
6288 | hardcode_minus_L=yes |
|
|
6289 | hardcode_libdir_flag_spec='-L$libdir' |
|
|
6290 | hardcode_libdir_separator= |
|
|
6291 | fi |
|
|
6292 | shared_flag='-shared' |
|
|
6293 | else |
|
|
6294 | shared_flag='${wl}-bM:SRE' |
|
|
6295 | hardcode_direct=yes |
|
|
6296 | fi |
|
|
6297 | allow_undefined_flag=' ${wl}-berok' |
|
|
6298 | archive_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bexpall ${wl}-bnoentry${allow_undefined_flag}' |
|
|
6299 | archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}' |
|
|
6300 | case "$host_os" in aix4.[01]|aix4.[01].*) |
|
|
6301 | # According to Greg Wooledge, -bexpall is only supported from AIX 4.2 on |
|
|
6302 | always_export_symbols=yes ;; |
|
|
6303 | esac |
|
|
6304 | |
|
|
6305 | # We don't want to build shared libraries on unknown CPU types. |
|
|
6306 | case $host_cpu in |
|
|
6307 | powerpc | rs6000) ;; |
|
|
6308 | *) ld_shlibs=no ;; |
|
|
6309 | esac |
|
|
6310 | ;; |
|
|
6311 | |
|
|
6312 | amigaos*) |
|
|
6313 | archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
|
|
6314 | hardcode_libdir_flag_spec='-L$libdir' |
|
|
6315 | hardcode_minus_L=yes |
|
|
6316 | # see comment about different semantics on the GNU ld section |
|
|
6317 | ld_shlibs=no |
|
|
6318 | ;; |
|
|
6319 | |
|
|
6320 | cygwin* | mingw* | pw32*) |
|
|
6321 | # When not using gcc, we currently assume that we are using |
|
|
6322 | # Microsoft Visual C++. |
|
|
6323 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
|
|
6324 | # no search path for DLLs. |
|
|
6325 | hardcode_libdir_flag_spec=' ' |
|
|
6326 | allow_undefined_flag=unsupported |
|
|
6327 | # Tell ltmain to make .lib files, not .a files. |
|
|
6328 | libext=lib |
|
|
6329 | # FIXME: Setting linknames here is a bad hack. |
|
|
6330 | archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
|
|
6331 | # The linker will automatically build a .lib file if we build a DLL. |
|
|
6332 | old_archive_from_new_cmds='true' |
|
|
6333 | # FIXME: Should let the user specify the lib program. |
|
|
6334 | old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' |
|
|
6335 | fix_srcfile_path='`cygpath -w "$srcfile"`' |
|
|
6336 | ;; |
|
|
6337 | |
|
|
6338 | darwin* | rhapsody*) |
|
|
6339 | allow_undefined_flag='-undefined warning' |
|
|
6340 | archive_cmds='$CC `if test "$module" = "yes"; then echo -bundle; else |
|
|
6341 | echo -dynamiclib; fi` -o $lib $libobjs $deplibs $linkopts' |
|
|
6342 | archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' |
|
|
6343 | ## What we need is to hardcode the path to the library, not the search path |
|
|
6344 | #hardcode_direct=yes |
|
|
6345 | #hardcode_libdir_flag_spec='-install_name $libdir/$lib' |
|
|
6346 | hardcode_shlibpath_var=no |
|
|
6347 | whole_archive_flag_spec='-all_load' |
|
|
6348 | ;; |
|
|
6349 | |
|
|
6350 | freebsd1*) |
|
|
6351 | ld_shlibs=no |
|
|
6352 | ;; |
|
|
6353 | |
|
|
6354 | # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
|
|
6355 | # support. Future versions do this automatically, but an explicit c++rt0.o |
|
|
6356 | # does not break anything, and helps significantly (at the cost of a little |
|
|
6357 | # extra space). |
|
|
6358 | freebsd2.2*) |
|
|
6359 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
|
|
6360 | hardcode_libdir_flag_spec='-R$libdir' |
|
|
6361 | hardcode_direct=yes |
|
|
6362 | hardcode_shlibpath_var=no |
|
|
6363 | ;; |
|
|
6364 | |
|
|
6365 | # Unfortunately, older versions of FreeBSD 2 do not have this feature. |
|
|
6366 | freebsd2*) |
|
|
6367 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
|
6368 | hardcode_direct=yes |
|
|
6369 | hardcode_minus_L=yes |
|
|
6370 | hardcode_shlibpath_var=no |
|
|
6371 | ;; |
|
|
6372 | |
|
|
6373 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
|
|
6374 | freebsd*) |
|
|
6375 | archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' |
|
|
6376 | hardcode_libdir_flag_spec='-R$libdir' |
|
|
6377 | hardcode_direct=yes |
|
|
6378 | hardcode_shlibpath_var=no |
|
|
6379 | ;; |
|
|
6380 | |
|
|
6381 | hpux9* | hpux10* | hpux11*) |
|
|
6382 | case "$host_os" in |
|
|
6383 | hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;; |
|
|
6384 | *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; |
|
|
6385 | esac |
|
|
6386 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
|
|
6387 | hardcode_libdir_separator=: |
|
|
6388 | hardcode_direct=yes |
|
|
6389 | hardcode_minus_L=yes # Not in the search PATH, but as the default |
|
|
6390 | # location of the library. |
|
|
6391 | export_dynamic_flag_spec='${wl}-E' |
|
|
6392 | ;; |
|
|
6393 | |
|
|
6394 | irix5* | irix6*) |
|
|
6395 | if test "$GCC" = yes; then |
|
|
6396 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
|
6397 | else |
|
|
6398 | archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
|
6399 | fi |
|
|
6400 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
|
6401 | hardcode_libdir_separator=: |
|
|
6402 | link_all_deplibs=yes |
|
|
6403 | ;; |
|
|
6404 | |
|
|
6405 | netbsd*) |
|
|
6406 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
|
6407 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
|
|
6408 | else |
|
|
6409 | archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
|
|
6410 | fi |
|
|
6411 | hardcode_libdir_flag_spec='-R$libdir' |
|
|
6412 | hardcode_direct=yes |
|
|
6413 | hardcode_shlibpath_var=no |
|
|
6414 | ;; |
|
|
6415 | |
|
|
6416 | newsos6) |
|
|
6417 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts' |
|
|
6418 | hardcode_direct=yes |
|
|
6419 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
|
6420 | hardcode_libdir_separator=: |
|
|
6421 | hardcode_shlibpath_var=no |
|
|
6422 | ;; |
|
|
6423 | |
|
|
6424 | openbsd*) |
|
|
6425 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
|
|
6426 | hardcode_libdir_flag_spec='-R$libdir' |
|
|
6427 | hardcode_direct=yes |
|
|
6428 | hardcode_shlibpath_var=no |
|
|
6429 | ;; |
|
|
6430 | |
|
|
6431 | os2*) |
|
|
6432 | hardcode_libdir_flag_spec='-L$libdir' |
|
|
6433 | hardcode_minus_L=yes |
|
|
6434 | allow_undefined_flag=unsupported |
|
|
6435 | archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' |
|
|
6436 | old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
|
|
6437 | ;; |
|
|
6438 | |
|
|
6439 | osf3*) |
|
|
6440 | if test "$GCC" = yes; then |
|
|
6441 | allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
|
6442 | archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
|
6443 | else |
|
|
6444 | allow_undefined_flag=' -expect_unresolved \*' |
|
|
6445 | archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
|
6446 | fi |
|
|
6447 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
|
|
6448 | hardcode_libdir_separator=: |
|
|
6449 | ;; |
|
|
6450 | |
|
|
6451 | osf4* | osf5*) # as osf3* with the addition of -msym flag |
|
|
6452 | if test "$GCC" = yes; then |
|
|
6453 | allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
|
|
6454 | archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
|
|
6455 | else |
|
|
6456 | allow_undefined_flag=' -expect_unresolved \*' |
|
|
6457 | archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' |
|
|
6458 | archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ |
|
|
6459 | $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' |
|
|
6460 | fi |
|
|
6461 | #Both c and cxx compiler support -rpath directly |
|
|
6462 | hardcode_libdir_flag_spec='-rpath $libdir' |
|
|
6463 | hardcode_libdir_separator=: |
|
|
6464 | ;; |
|
|
6465 | |
|
|
6466 | sco3.2v5*) |
|
|
6467 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
6468 | hardcode_shlibpath_var=no |
|
|
6469 | runpath_var=LD_RUN_PATH |
|
|
6470 | hardcode_runpath_var=yes |
|
|
6471 | ;; |
|
|
6472 | |
|
|
6473 | solaris*) |
|
|
6474 | no_undefined_flag=' -z text' |
|
|
6475 | # $CC -shared without GNU ld will not create a library from C++ |
|
|
6476 | # object files and a static libstdc++, better avoid it by now |
|
|
6477 | archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
6478 | archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
|
6479 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
|
|
6480 | hardcode_libdir_flag_spec='-R$libdir' |
|
|
6481 | hardcode_shlibpath_var=no |
|
|
6482 | case "$host_os" in |
|
|
6483 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
|
|
6484 | *) # Supported since Solaris 2.6 (maybe 2.5.1?) |
|
|
6485 | whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; |
|
|
6486 | esac |
|
|
6487 | link_all_deplibs=yes |
|
|
6488 | ;; |
|
|
6489 | |
|
|
6490 | sunos4*) |
|
|
6491 | if test "x$host_vendor" = xsequent; then |
|
|
6492 | # Use $CC to link under sequent, because it throws in some extra .o |
|
|
6493 | # files that make .init and .fini sections work. |
|
|
6494 | archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
|
|
6495 | else |
|
|
6496 | archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
|
|
6497 | fi |
|
|
6498 | hardcode_libdir_flag_spec='-L$libdir' |
|
|
6499 | hardcode_direct=yes |
|
|
6500 | hardcode_minus_L=yes |
|
|
6501 | hardcode_shlibpath_var=no |
|
|
6502 | ;; |
|
|
6503 | |
|
|
6504 | sysv4) |
|
|
6505 | if test "x$host_vendor" = xsno; then |
|
|
6506 | archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linkopts' |
|
|
6507 | hardcode_direct=yes # is this really true??? |
|
|
6508 | else |
|
|
6509 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
6510 | hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
|
|
6511 | fi |
|
|
6512 | runpath_var='LD_RUN_PATH' |
|
|
6513 | hardcode_shlibpath_var=no |
|
|
6514 | ;; |
|
|
6515 | |
|
|
6516 | sysv4.3*) |
|
|
6517 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
6518 | hardcode_shlibpath_var=no |
|
|
6519 | export_dynamic_flag_spec='-Bexport' |
|
|
6520 | ;; |
|
|
6521 | |
|
|
6522 | sysv5*) |
|
|
6523 | no_undefined_flag=' -z text' |
|
|
6524 | # $CC -shared without GNU ld will not create a library from C++ |
|
|
6525 | # object files and a static libstdc++, better avoid it by now |
|
|
6526 | archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
6527 | archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ |
|
|
6528 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' |
|
|
6529 | hardcode_libdir_flag_spec= |
|
|
6530 | hardcode_shlibpath_var=no |
|
|
6531 | runpath_var='LD_RUN_PATH' |
|
|
6532 | ;; |
|
|
6533 | |
|
|
6534 | uts4*) |
|
|
6535 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
6536 | hardcode_libdir_flag_spec='-L$libdir' |
|
|
6537 | hardcode_shlibpath_var=no |
|
|
6538 | ;; |
|
|
6539 | |
|
|
6540 | dgux*) |
|
|
6541 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
6542 | hardcode_libdir_flag_spec='-L$libdir' |
|
|
6543 | hardcode_shlibpath_var=no |
|
|
6544 | ;; |
|
|
6545 | |
|
|
6546 | sysv4*MP*) |
|
|
6547 | if test -d /usr/nec; then |
|
|
6548 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
6549 | hardcode_shlibpath_var=no |
|
|
6550 | runpath_var=LD_RUN_PATH |
|
|
6551 | hardcode_runpath_var=yes |
|
|
6552 | ld_shlibs=yes |
|
|
6553 | fi |
|
|
6554 | ;; |
|
|
6555 | |
|
|
6556 | sysv4.2uw2*) |
|
|
6557 | archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
|
|
6558 | hardcode_direct=yes |
|
|
6559 | hardcode_minus_L=no |
|
|
6560 | hardcode_shlibpath_var=no |
|
|
6561 | hardcode_runpath_var=yes |
|
|
6562 | runpath_var=LD_RUN_PATH |
|
|
6563 | ;; |
|
|
6564 | |
|
|
6565 | unixware7*) |
|
|
6566 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
|
|
6567 | runpath_var='LD_RUN_PATH' |
|
|
6568 | hardcode_shlibpath_var=no |
|
|
6569 | ;; |
|
|
6570 | |
|
|
6571 | *) |
|
|
6572 | ld_shlibs=no |
|
|
6573 | ;; |
|
|
6574 | esac |
|
|
6575 | fi |
|
|
6576 | echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
|
|
6577 | echo "${ECHO_T}$ld_shlibs" >&6 |
|
|
6578 | test "$ld_shlibs" = no && can_build_shared=no |
|
|
6579 | ## |
|
|
6580 | ## END FIXME |
|
|
6581 | |
|
|
6582 | ## FIXME: this should be a separate macro |
|
|
6583 | ## |
|
|
6584 | # Check hardcoding attributes. |
|
|
6585 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
|
|
6586 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
|
|
6587 | hardcode_action= |
|
|
6588 | if test -n "$hardcode_libdir_flag_spec" || \ |
|
|
6589 | test -n "$runpath_var"; then |
|
|
6590 | |
|
|
6591 | # We can hardcode non-existant directories. |
|
|
6592 | if test "$hardcode_direct" != no && |
|
|
6593 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
|
|
6594 | # have to relink, otherwise we might link with an installed library |
|
|
6595 | # when we should be linking with a yet-to-be-installed one |
|
|
6596 | ## test "$hardcode_shlibpath_var" != no && |
|
|
6597 | test "$hardcode_minus_L" != no; then |
|
|
6598 | # Linking always hardcodes the temporary library directory. |
|
|
6599 | hardcode_action=relink |
|
|
6600 | else |
|
|
6601 | # We can link without hardcoding, and we can hardcode nonexisting dirs. |
|
|
6602 | hardcode_action=immediate |
|
|
6603 | fi |
|
|
6604 | else |
|
|
6605 | # We cannot hardcode anything, or else we can only hardcode existing |
|
|
6606 | # directories. |
|
|
6607 | hardcode_action=unsupported |
|
|
6608 | fi |
|
|
6609 | echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
|
|
6610 | echo "${ECHO_T}$hardcode_action" >&6 |
|
|
6611 | ## |
|
|
6612 | ## END FIXME |
|
|
6613 | |
|
|
6614 | ## FIXME: this should be a separate macro |
|
|
6615 | ## |
|
|
6616 | striplib= |
|
|
6617 | old_striplib= |
|
|
6618 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
|
|
6619 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
|
|
6620 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
|
|
6621 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
|
|
6622 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
|
|
6623 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
6624 | echo "${ECHO_T}yes" >&6 |
|
|
6625 | else |
|
|
6626 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
6627 | echo "${ECHO_T}no" >&6 |
|
|
6628 | fi |
|
|
6629 | ## |
|
|
6630 | ## END FIXME |
|
|
6631 | |
|
|
6632 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
|
|
6633 | test -z "$deplibs_check_method" && deplibs_check_method=unknown |
|
|
6634 | |
|
|
6635 | ## FIXME: this should be a separate macro |
|
|
6636 | ## |
|
|
6637 | # PORTME Fill in your ld.so characteristics |
|
|
6638 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
|
|
6639 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
|
|
6640 | library_names_spec= |
|
|
6641 | libname_spec='lib$name' |
|
|
6642 | soname_spec= |
|
|
6643 | postinstall_cmds= |
|
|
6644 | postuninstall_cmds= |
|
|
6645 | finish_cmds= |
|
|
6646 | finish_eval= |
|
|
6647 | shlibpath_var= |
|
|
6648 | shlibpath_overrides_runpath=unknown |
|
|
6649 | version_type=none |
|
|
6650 | dynamic_linker="$host_os ld.so" |
|
|
6651 | sys_lib_dlsearch_path_spec="/lib /usr/lib" |
|
|
6652 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
|
|
6653 | |
|
|
6654 | case "$host_os" in |
|
|
6655 | aix3*) |
|
|
6656 | version_type=linux |
|
|
6657 | library_names_spec='${libname}${release}.so$versuffix $libname.a' |
|
|
6658 | shlibpath_var=LIBPATH |
|
|
6659 | |
|
|
6660 | # AIX has no versioning support, so we append a major version to the name. |
|
|
6661 | soname_spec='${libname}${release}.so$major' |
|
|
6662 | ;; |
|
|
6663 | |
|
|
6664 | aix4*) |
|
|
6665 | version_type=linux |
|
|
6666 | # AIX has no versioning support, so currently we can not hardcode correct |
|
|
6667 | # soname into executable. Probably we can add versioning support to |
|
|
6668 | # collect2, so additional links can be useful in future. |
|
|
6669 | # We preserve .a as extension for shared libraries though AIX4.2 |
|
|
6670 | # and later linker supports .so |
|
|
6671 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.a' |
|
|
6672 | shlibpath_var=LIBPATH |
|
|
6673 | ;; |
|
|
6674 | |
|
|
6675 | amigaos*) |
|
|
6676 | library_names_spec='$libname.ixlibrary $libname.a' |
|
|
6677 | # Create ${libname}_ixlibrary.a entries in /sys/libs. |
|
|
6678 | finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' |
|
|
6679 | ;; |
|
|
6680 | |
|
|
6681 | beos*) |
|
|
6682 | library_names_spec='${libname}.so' |
|
|
6683 | dynamic_linker="$host_os ld.so" |
|
|
6684 | shlibpath_var=LIBRARY_PATH |
|
|
6685 | ;; |
|
|
6686 | |
|
|
6687 | bsdi4*) |
|
|
6688 | version_type=linux |
|
|
6689 | need_version=no |
|
|
6690 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' |
|
|
6691 | soname_spec='${libname}${release}.so$major' |
|
|
6692 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
|
|
6693 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6694 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
|
|
6695 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
|
|
6696 | export_dynamic_flag_spec=-rdynamic |
|
|
6697 | # the default ld.so.conf also contains /usr/contrib/lib and |
|
|
6698 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
|
|
6699 | # libtool to hard-code these into programs |
|
|
6700 | ;; |
|
|
6701 | |
|
|
6702 | cygwin* | mingw* | pw32*) |
|
|
6703 | version_type=windows |
|
|
6704 | need_version=no |
|
|
6705 | need_lib_prefix=no |
|
|
6706 | if test "$GCC" = yes; then |
|
|
6707 | library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' |
|
|
6708 | else |
|
|
6709 | library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib' |
|
|
6710 | fi |
|
|
6711 | dynamic_linker='Win32 ld.exe' |
|
|
6712 | # FIXME: first we should search . and the directory the executable is in |
|
|
6713 | shlibpath_var=PATH |
|
|
6714 | ;; |
|
|
6715 | |
|
|
6716 | darwin* | rhapsody*) |
|
|
6717 | need_lib_prefix=no |
|
|
6718 | need_version=no |
|
|
6719 | library_names_spec='${libname}.`if test "$module" = "yes"; then echo so; else echo dylib; fi`' |
|
|
6720 | shlibpath_overrides_runpath=yes |
|
|
6721 | shlibpath_var=DYLD_LIBRARY_PATH |
|
|
6722 | postinstall_cmds='chmod +x $lib' |
|
|
6723 | ;; |
|
|
6724 | |
|
|
6725 | freebsd1*) |
|
|
6726 | dynamic_linker=no |
|
|
6727 | ;; |
|
|
6728 | |
|
|
6729 | freebsd*) |
|
|
6730 | objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` |
|
|
6731 | version_type=freebsd-$objformat |
|
|
6732 | case "$version_type" in |
|
|
6733 | freebsd-elf*) |
|
|
6734 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' |
|
|
6735 | need_version=no |
|
|
6736 | need_lib_prefix=no |
|
|
6737 | ;; |
|
|
6738 | freebsd-*) |
|
|
6739 | library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' |
|
|
6740 | need_version=yes |
|
|
6741 | ;; |
|
|
6742 | esac |
|
|
6743 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6744 | case "$host_os" in |
|
|
6745 | freebsd2*) |
|
|
6746 | shlibpath_overrides_runpath=yes |
|
|
6747 | ;; |
|
|
6748 | *) |
|
|
6749 | shlibpath_overrides_runpath=no |
|
|
6750 | hardcode_into_libs=yes |
|
|
6751 | ;; |
|
|
6752 | esac |
|
|
6753 | ;; |
|
|
6754 | |
|
|
6755 | gnu*) |
|
|
6756 | version_type=linux |
|
|
6757 | need_lib_prefix=no |
|
|
6758 | need_version=no |
|
|
6759 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' |
|
|
6760 | soname_spec='${libname}${release}.so$major' |
|
|
6761 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6762 | hardcode_into_libs=yes |
|
|
6763 | ;; |
|
|
6764 | |
|
|
6765 | hpux9* | hpux10* | hpux11*) |
|
|
6766 | # Give a soname corresponding to the major version so that dld.sl refuses to |
|
|
6767 | # link against other versions. |
|
|
6768 | dynamic_linker="$host_os dld.sl" |
|
|
6769 | version_type=sunos |
|
|
6770 | need_lib_prefix=no |
|
|
6771 | need_version=no |
|
|
6772 | shlibpath_var=SHLIB_PATH |
|
|
6773 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
|
|
6774 | library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' |
|
|
6775 | soname_spec='${libname}${release}.sl$major' |
|
|
6776 | # HP-UX runs *really* slowly unless shared libraries are mode 555. |
|
|
6777 | postinstall_cmds='chmod 555 $lib' |
|
|
6778 | ;; |
|
|
6779 | |
|
|
6780 | irix5* | irix6*) |
|
|
6781 | version_type=irix |
|
|
6782 | need_lib_prefix=no |
|
|
6783 | need_version=no |
|
|
6784 | soname_spec='${libname}${release}.so$major' |
|
|
6785 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' |
|
|
6786 | case "$host_os" in |
|
|
6787 | irix5*) |
|
|
6788 | libsuff= shlibsuff= |
|
|
6789 | ;; |
|
|
6790 | *) |
|
|
6791 | case "$LD" in # libtool.m4 will add one of these switches to LD |
|
|
6792 | *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; |
|
|
6793 | *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; |
|
|
6794 | *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; |
|
|
6795 | *) libsuff= shlibsuff= libmagic=never-match;; |
|
|
6796 | esac |
|
|
6797 | ;; |
|
|
6798 | esac |
|
|
6799 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
|
|
6800 | shlibpath_overrides_runpath=no |
|
|
6801 | sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
|
|
6802 | sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
|
|
6803 | ;; |
|
|
6804 | |
|
|
6805 | # No shared lib support for Linux oldld, aout, or coff. |
|
|
6806 | linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) |
|
|
6807 | dynamic_linker=no |
|
|
6808 | ;; |
|
|
6809 | |
|
|
6810 | # This must be Linux ELF. |
|
|
6811 | linux-gnu*) |
|
|
6812 | version_type=linux |
|
|
6813 | need_lib_prefix=no |
|
|
6814 | need_version=no |
|
|
6815 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' |
|
|
6816 | soname_spec='${libname}${release}.so$major' |
|
|
6817 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
|
|
6818 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6819 | shlibpath_overrides_runpath=no |
|
|
6820 | # This implies no fast_install, which is unacceptable. |
|
|
6821 | # Some rework will be needed to allow for fast_install |
|
|
6822 | # before this can be enabled. |
|
|
6823 | hardcode_into_libs=yes |
|
|
6824 | |
|
|
6825 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
|
|
6826 | # powerpc, because MkLinux only supported shared libraries with the |
|
|
6827 | # GNU dynamic linker. Since this was broken with cross compilers, |
|
|
6828 | # most powerpc-linux boxes support dynamic linking these days and |
|
|
6829 | # people can always --disable-shared, the test was removed, and we |
|
|
6830 | # assume the GNU/Linux dynamic linker is in use. |
|
|
6831 | dynamic_linker='GNU/Linux ld.so' |
|
|
6832 | ;; |
|
|
6833 | |
|
|
6834 | netbsd*) |
|
|
6835 | version_type=sunos |
|
|
6836 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then |
|
|
6837 | library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' |
|
|
6838 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
|
6839 | dynamic_linker='NetBSD (a.out) ld.so' |
|
|
6840 | else |
|
|
6841 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' |
|
|
6842 | soname_spec='${libname}${release}.so$major' |
|
|
6843 | dynamic_linker='NetBSD ld.elf_so' |
|
|
6844 | fi |
|
|
6845 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6846 | shlibpath_overrides_runpath=yes |
|
|
6847 | hardcode_into_libs=yes |
|
|
6848 | ;; |
|
|
6849 | |
|
|
6850 | newsos6) |
|
|
6851 | version_type=linux |
|
|
6852 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' |
|
|
6853 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6854 | shlibpath_overrides_runpath=yes |
|
|
6855 | ;; |
|
|
6856 | |
|
|
6857 | openbsd*) |
|
|
6858 | version_type=sunos |
|
|
6859 | if test "$with_gnu_ld" = yes; then |
|
|
6860 | need_lib_prefix=no |
|
|
6861 | need_version=no |
|
|
6862 | fi |
|
|
6863 | library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' |
|
|
6864 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
|
|
6865 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6866 | ;; |
|
|
6867 | |
|
|
6868 | os2*) |
|
|
6869 | libname_spec='$name' |
|
|
6870 | need_lib_prefix=no |
|
|
6871 | library_names_spec='$libname.dll $libname.a' |
|
|
6872 | dynamic_linker='OS/2 ld.exe' |
|
|
6873 | shlibpath_var=LIBPATH |
|
|
6874 | ;; |
|
|
6875 | |
|
|
6876 | osf3* | osf4* | osf5*) |
|
|
6877 | version_type=osf |
|
|
6878 | need_version=no |
|
|
6879 | soname_spec='${libname}${release}.so' |
|
|
6880 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' |
|
|
6881 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6882 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
|
|
6883 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
|
|
6884 | ;; |
|
|
6885 | |
|
|
6886 | sco3.2v5*) |
|
|
6887 | version_type=osf |
|
|
6888 | soname_spec='${libname}${release}.so$major' |
|
|
6889 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' |
|
|
6890 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6891 | ;; |
|
|
6892 | |
|
|
6893 | solaris*) |
|
|
6894 | version_type=linux |
|
|
6895 | need_lib_prefix=no |
|
|
6896 | need_version=no |
|
|
6897 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' |
|
|
6898 | soname_spec='${libname}${release}.so$major' |
|
|
6899 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6900 | shlibpath_overrides_runpath=yes |
|
|
6901 | hardcode_into_libs=yes |
|
|
6902 | # ldd complains unless libraries are executable |
|
|
6903 | postinstall_cmds='chmod +x $lib' |
|
|
6904 | ;; |
|
|
6905 | |
|
|
6906 | sunos4*) |
|
|
6907 | version_type=sunos |
|
|
6908 | library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' |
|
|
6909 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
|
|
6910 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6911 | shlibpath_overrides_runpath=yes |
|
|
6912 | if test "$with_gnu_ld" = yes; then |
|
|
6913 | need_lib_prefix=no |
|
|
6914 | fi |
|
|
6915 | need_version=yes |
|
|
6916 | ;; |
|
|
6917 | |
|
|
6918 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
|
|
6919 | version_type=linux |
|
|
6920 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' |
|
|
6921 | soname_spec='${libname}${release}.so$major' |
|
|
6922 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6923 | case "$host_vendor" in |
|
|
6924 | sni) |
|
|
6925 | shlibpath_overrides_runpath=no |
|
|
6926 | ;; |
|
|
6927 | motorola) |
|
|
6928 | need_lib_prefix=no |
|
|
6929 | need_version=no |
|
|
6930 | shlibpath_overrides_runpath=no |
|
|
6931 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
|
|
6932 | ;; |
|
|
6933 | esac |
|
|
6934 | ;; |
|
|
6935 | |
|
|
6936 | uts4*) |
|
|
6937 | version_type=linux |
|
|
6938 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' |
|
|
6939 | soname_spec='${libname}${release}.so$major' |
|
|
6940 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6941 | ;; |
|
|
6942 | |
|
|
6943 | dgux*) |
|
|
6944 | version_type=linux |
|
|
6945 | need_lib_prefix=no |
|
|
6946 | need_version=no |
|
|
6947 | library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' |
|
|
6948 | soname_spec='${libname}${release}.so$major' |
|
|
6949 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6950 | ;; |
|
|
6951 | |
|
|
6952 | sysv4*MP*) |
|
|
6953 | if test -d /usr/nec ;then |
|
|
6954 | version_type=linux |
|
|
6955 | library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' |
|
|
6956 | soname_spec='$libname.so.$major' |
|
|
6957 | shlibpath_var=LD_LIBRARY_PATH |
|
|
6958 | fi |
|
|
6959 | ;; |
|
|
6960 | |
|
|
6961 | *) |
|
|
6962 | dynamic_linker=no |
|
|
6963 | ;; |
|
|
6964 | esac |
|
|
6965 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
|
|
6966 | echo "${ECHO_T}$dynamic_linker" >&6 |
|
|
6967 | test "$dynamic_linker" = no && can_build_shared=no |
|
|
6968 | ## |
|
|
6969 | ## END FIXME |
|
|
6970 | |
|
|
6971 | ## FIXME: this should be a separate macro |
|
|
6972 | ## |
|
|
6973 | # Report the final consequences. |
|
|
6974 | echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
|
|
6975 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
|
|
6976 | echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
|
|
6977 | echo "${ECHO_T}$can_build_shared" >&6 |
|
|
6978 | ## |
|
|
6979 | ## END FIXME |
|
|
6980 | |
|
|
6981 | if test "$hardcode_action" = relink; then |
|
|
6982 | # Fast installation is not supported |
|
|
6983 | enable_fast_install=no |
|
|
6984 | elif test "$shlibpath_overrides_runpath" = yes || |
|
|
6985 | test "$enable_shared" = no; then |
|
|
6986 | # Fast installation is not necessary |
|
|
6987 | enable_fast_install=needless |
|
|
6988 | fi |
|
|
6989 | |
|
|
6990 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
|
|
6991 | if test "$GCC" = yes; then |
|
|
6992 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
|
|
6993 | fi |
|
|
6994 | |
|
|
6995 | if test "x$enable_dlopen" != xyes; then |
|
|
6996 | enable_dlopen=unknown |
|
|
6997 | enable_dlopen_self=unknown |
|
|
6998 | enable_dlopen_self_static=unknown |
|
|
6999 | else |
|
|
7000 | lt_cv_dlopen=no |
|
|
7001 | lt_cv_dlopen_libs= |
|
|
7002 | |
|
|
7003 | case "$host_os" in |
|
|
7004 | beos*) |
|
|
7005 | lt_cv_dlopen="load_add_on" |
|
|
7006 | lt_cv_dlopen_libs= |
|
|
7007 | lt_cv_dlopen_self=yes |
|
|
7008 | ;; |
|
|
7009 | |
|
|
7010 | cygwin* | mingw* | pw32*) |
|
|
7011 | lt_cv_dlopen="LoadLibrary" |
|
|
7012 | lt_cv_dlopen_libs= |
|
|
7013 | ;; |
|
|
7014 | |
|
|
7015 | *) |
|
|
7016 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
|
|
7017 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
|
|
7018 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
|
|
7019 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7020 | else |
|
|
7021 | ac_check_lib_save_LIBS=$LIBS |
|
|
7022 | LIBS="-ldl $LIBS" |
|
|
7023 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7024 | /* confdefs.h. */ |
|
|
7025 | _ACEOF |
|
|
7026 | cat confdefs.h >>conftest.$ac_ext |
|
|
7027 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7028 | /* end confdefs.h. */ |
|
|
7029 | |
|
|
7030 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
7031 | #ifdef __cplusplus |
|
|
7032 | extern "C" |
|
|
7033 | #endif |
|
|
7034 | /* We use char because int might match the return type of a gcc2 |
|
|
7035 | builtin and then its argument prototype would still apply. */ |
|
|
7036 | char dlopen (); |
|
|
7037 | int |
|
|
7038 | main () |
|
|
7039 | { |
|
|
7040 | dlopen (); |
|
|
7041 | ; |
|
|
7042 | return 0; |
|
|
7043 | } |
|
|
7044 | _ACEOF |
|
|
7045 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
7046 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7047 | (eval $ac_link) 2>conftest.er1 |
|
|
7048 | ac_status=$? |
|
|
7049 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7050 | rm -f conftest.er1 |
|
|
7051 | cat conftest.err >&5 |
|
|
7052 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7053 | (exit $ac_status); } && |
|
|
7054 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7055 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7056 | (eval $ac_try) 2>&5 |
|
|
7057 | ac_status=$? |
|
|
7058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7059 | (exit $ac_status); }; } && |
|
|
7060 | { ac_try='test -s conftest$ac_exeext' |
|
|
7061 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7062 | (eval $ac_try) 2>&5 |
|
|
7063 | ac_status=$? |
|
|
7064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7065 | (exit $ac_status); }; }; then |
|
|
7066 | ac_cv_lib_dl_dlopen=yes |
|
|
7067 | else |
|
|
7068 | echo "$as_me: failed program was:" >&5 |
|
|
7069 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7070 | |
|
|
7071 | ac_cv_lib_dl_dlopen=no |
|
|
7072 | fi |
|
|
7073 | rm -f conftest.err conftest.$ac_objext \ |
|
|
7074 | conftest$ac_exeext conftest.$ac_ext |
|
|
7075 | LIBS=$ac_check_lib_save_LIBS |
|
|
7076 | fi |
|
|
7077 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
|
|
7078 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
|
|
7079 | if test $ac_cv_lib_dl_dlopen = yes; then |
|
|
7080 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
|
|
7081 | else |
|
|
7082 | echo "$as_me:$LINENO: checking for dlopen" >&5 |
|
|
7083 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
|
|
7084 | if test "${ac_cv_func_dlopen+set}" = set; then |
|
|
7085 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7086 | else |
|
|
7087 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7088 | /* confdefs.h. */ |
|
|
7089 | _ACEOF |
|
|
7090 | cat confdefs.h >>conftest.$ac_ext |
|
|
7091 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7092 | /* end confdefs.h. */ |
|
|
7093 | /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen. |
|
|
7094 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
7095 | #define dlopen innocuous_dlopen |
|
|
7096 | |
|
|
7097 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
7098 | which can conflict with char dlopen (); below. |
|
|
7099 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
7100 | <limits.h> exists even on freestanding compilers. */ |
|
|
7101 | |
|
|
7102 | #ifdef __STDC__ |
|
|
7103 | # include <limits.h> |
|
|
7104 | #else |
|
|
7105 | # include <assert.h> |
|
|
7106 | #endif |
|
|
7107 | |
|
|
7108 | #undef dlopen |
|
|
7109 | |
|
|
7110 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
7111 | #ifdef __cplusplus |
|
|
7112 | extern "C" |
|
|
7113 | { |
|
|
7114 | #endif |
|
|
7115 | /* We use char because int might match the return type of a gcc2 |
|
|
7116 | builtin and then its argument prototype would still apply. */ |
|
|
7117 | char dlopen (); |
|
|
7118 | /* The GNU C library defines this for functions which it implements |
|
|
7119 | to always fail with ENOSYS. Some functions are actually named |
|
|
7120 | something starting with __ and the normal name is an alias. */ |
|
|
7121 | #if defined (__stub_dlopen) || defined (__stub___dlopen) |
|
|
7122 | choke me |
|
|
7123 | #else |
|
|
7124 | char (*f) () = dlopen; |
|
|
7125 | #endif |
|
|
7126 | #ifdef __cplusplus |
|
|
7127 | } |
|
|
7128 | #endif |
|
|
7129 | |
|
|
7130 | int |
|
|
7131 | main () |
|
|
7132 | { |
|
|
7133 | return f != dlopen; |
|
|
7134 | ; |
|
|
7135 | return 0; |
|
|
7136 | } |
|
|
7137 | _ACEOF |
|
|
7138 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
7139 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7140 | (eval $ac_link) 2>conftest.er1 |
|
|
7141 | ac_status=$? |
|
|
7142 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7143 | rm -f conftest.er1 |
|
|
7144 | cat conftest.err >&5 |
|
|
7145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7146 | (exit $ac_status); } && |
|
|
7147 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7148 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7149 | (eval $ac_try) 2>&5 |
|
|
7150 | ac_status=$? |
|
|
7151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7152 | (exit $ac_status); }; } && |
|
|
7153 | { ac_try='test -s conftest$ac_exeext' |
|
|
7154 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7155 | (eval $ac_try) 2>&5 |
|
|
7156 | ac_status=$? |
|
|
7157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7158 | (exit $ac_status); }; }; then |
|
|
7159 | ac_cv_func_dlopen=yes |
|
|
7160 | else |
|
|
7161 | echo "$as_me: failed program was:" >&5 |
|
|
7162 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7163 | |
|
|
7164 | ac_cv_func_dlopen=no |
|
|
7165 | fi |
|
|
7166 | rm -f conftest.err conftest.$ac_objext \ |
|
|
7167 | conftest$ac_exeext conftest.$ac_ext |
|
|
7168 | fi |
|
|
7169 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
|
|
7170 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
|
|
7171 | if test $ac_cv_func_dlopen = yes; then |
|
|
7172 | lt_cv_dlopen="dlopen" |
|
|
7173 | else |
|
|
7174 | echo "$as_me:$LINENO: checking for shl_load" >&5 |
|
|
7175 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 |
|
|
7176 | if test "${ac_cv_func_shl_load+set}" = set; then |
|
|
7177 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7178 | else |
|
|
7179 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7180 | /* confdefs.h. */ |
|
|
7181 | _ACEOF |
|
|
7182 | cat confdefs.h >>conftest.$ac_ext |
|
|
7183 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7184 | /* end confdefs.h. */ |
|
|
7185 | /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load. |
|
|
7186 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
7187 | #define shl_load innocuous_shl_load |
|
|
7188 | |
|
|
7189 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
7190 | which can conflict with char shl_load (); below. |
|
|
7191 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
7192 | <limits.h> exists even on freestanding compilers. */ |
|
|
7193 | |
|
|
7194 | #ifdef __STDC__ |
|
|
7195 | # include <limits.h> |
|
|
7196 | #else |
|
|
7197 | # include <assert.h> |
|
|
7198 | #endif |
|
|
7199 | |
|
|
7200 | #undef shl_load |
|
|
7201 | |
|
|
7202 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
7203 | #ifdef __cplusplus |
|
|
7204 | extern "C" |
|
|
7205 | { |
|
|
7206 | #endif |
|
|
7207 | /* We use char because int might match the return type of a gcc2 |
|
|
7208 | builtin and then its argument prototype would still apply. */ |
|
|
7209 | char shl_load (); |
|
|
7210 | /* The GNU C library defines this for functions which it implements |
|
|
7211 | to always fail with ENOSYS. Some functions are actually named |
|
|
7212 | something starting with __ and the normal name is an alias. */ |
|
|
7213 | #if defined (__stub_shl_load) || defined (__stub___shl_load) |
|
|
7214 | choke me |
|
|
7215 | #else |
|
|
7216 | char (*f) () = shl_load; |
|
|
7217 | #endif |
|
|
7218 | #ifdef __cplusplus |
|
|
7219 | } |
|
|
7220 | #endif |
|
|
7221 | |
|
|
7222 | int |
|
|
7223 | main () |
|
|
7224 | { |
|
|
7225 | return f != shl_load; |
|
|
7226 | ; |
|
|
7227 | return 0; |
|
|
7228 | } |
|
|
7229 | _ACEOF |
|
|
7230 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
7231 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7232 | (eval $ac_link) 2>conftest.er1 |
|
|
7233 | ac_status=$? |
|
|
7234 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7235 | rm -f conftest.er1 |
|
|
7236 | cat conftest.err >&5 |
|
|
7237 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7238 | (exit $ac_status); } && |
|
|
7239 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7240 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7241 | (eval $ac_try) 2>&5 |
|
|
7242 | ac_status=$? |
|
|
7243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7244 | (exit $ac_status); }; } && |
|
|
7245 | { ac_try='test -s conftest$ac_exeext' |
|
|
7246 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7247 | (eval $ac_try) 2>&5 |
|
|
7248 | ac_status=$? |
|
|
7249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7250 | (exit $ac_status); }; }; then |
|
|
7251 | ac_cv_func_shl_load=yes |
|
|
7252 | else |
|
|
7253 | echo "$as_me: failed program was:" >&5 |
|
|
7254 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7255 | |
|
|
7256 | ac_cv_func_shl_load=no |
|
|
7257 | fi |
|
|
7258 | rm -f conftest.err conftest.$ac_objext \ |
|
|
7259 | conftest$ac_exeext conftest.$ac_ext |
|
|
7260 | fi |
|
|
7261 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
|
|
7262 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
|
|
7263 | if test $ac_cv_func_shl_load = yes; then |
|
|
7264 | lt_cv_dlopen="shl_load" |
|
|
7265 | else |
|
|
7266 | echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
|
|
7267 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 |
|
|
7268 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
|
|
7269 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7270 | else |
|
|
7271 | ac_check_lib_save_LIBS=$LIBS |
|
|
7272 | LIBS="-lsvld $LIBS" |
|
|
7273 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7274 | /* confdefs.h. */ |
|
|
7275 | _ACEOF |
|
|
7276 | cat confdefs.h >>conftest.$ac_ext |
|
|
7277 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7278 | /* end confdefs.h. */ |
|
|
7279 | |
|
|
7280 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
7281 | #ifdef __cplusplus |
|
|
7282 | extern "C" |
|
|
7283 | #endif |
|
|
7284 | /* We use char because int might match the return type of a gcc2 |
|
|
7285 | builtin and then its argument prototype would still apply. */ |
|
|
7286 | char dlopen (); |
|
|
7287 | int |
|
|
7288 | main () |
|
|
7289 | { |
|
|
7290 | dlopen (); |
|
|
7291 | ; |
|
|
7292 | return 0; |
|
|
7293 | } |
|
|
7294 | _ACEOF |
|
|
7295 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
7296 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7297 | (eval $ac_link) 2>conftest.er1 |
|
|
7298 | ac_status=$? |
|
|
7299 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7300 | rm -f conftest.er1 |
|
|
7301 | cat conftest.err >&5 |
|
|
7302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7303 | (exit $ac_status); } && |
|
|
7304 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7305 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7306 | (eval $ac_try) 2>&5 |
|
|
7307 | ac_status=$? |
|
|
7308 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7309 | (exit $ac_status); }; } && |
|
|
7310 | { ac_try='test -s conftest$ac_exeext' |
|
|
7311 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7312 | (eval $ac_try) 2>&5 |
|
|
7313 | ac_status=$? |
|
|
7314 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7315 | (exit $ac_status); }; }; then |
|
|
7316 | ac_cv_lib_svld_dlopen=yes |
|
|
7317 | else |
|
|
7318 | echo "$as_me: failed program was:" >&5 |
|
|
7319 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7320 | |
|
|
7321 | ac_cv_lib_svld_dlopen=no |
|
|
7322 | fi |
|
|
7323 | rm -f conftest.err conftest.$ac_objext \ |
|
|
7324 | conftest$ac_exeext conftest.$ac_ext |
|
|
7325 | LIBS=$ac_check_lib_save_LIBS |
|
|
7326 | fi |
|
|
7327 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
|
|
7328 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 |
|
|
7329 | if test $ac_cv_lib_svld_dlopen = yes; then |
|
|
7330 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
|
|
7331 | else |
|
|
7332 | echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
|
|
7333 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 |
|
|
7334 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
|
|
7335 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7336 | else |
|
|
7337 | ac_check_lib_save_LIBS=$LIBS |
|
|
7338 | LIBS="-ldld $LIBS" |
|
|
7339 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7340 | /* confdefs.h. */ |
|
|
7341 | _ACEOF |
|
|
7342 | cat confdefs.h >>conftest.$ac_ext |
|
|
7343 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7344 | /* end confdefs.h. */ |
|
|
7345 | |
|
|
7346 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
7347 | #ifdef __cplusplus |
|
|
7348 | extern "C" |
|
|
7349 | #endif |
|
|
7350 | /* We use char because int might match the return type of a gcc2 |
|
|
7351 | builtin and then its argument prototype would still apply. */ |
|
|
7352 | char shl_load (); |
|
|
7353 | int |
|
|
7354 | main () |
|
|
7355 | { |
|
|
7356 | shl_load (); |
|
|
7357 | ; |
|
|
7358 | return 0; |
|
|
7359 | } |
|
|
7360 | _ACEOF |
|
|
7361 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
7362 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7363 | (eval $ac_link) 2>conftest.er1 |
|
|
7364 | ac_status=$? |
|
|
7365 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7366 | rm -f conftest.er1 |
|
|
7367 | cat conftest.err >&5 |
|
|
7368 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7369 | (exit $ac_status); } && |
|
|
7370 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
7371 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7372 | (eval $ac_try) 2>&5 |
|
|
7373 | ac_status=$? |
|
|
7374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7375 | (exit $ac_status); }; } && |
|
|
7376 | { ac_try='test -s conftest$ac_exeext' |
|
|
7377 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7378 | (eval $ac_try) 2>&5 |
|
|
7379 | ac_status=$? |
|
|
7380 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7381 | (exit $ac_status); }; }; then |
|
|
7382 | ac_cv_lib_dld_shl_load=yes |
|
|
7383 | else |
|
|
7384 | echo "$as_me: failed program was:" >&5 |
|
|
7385 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7386 | |
|
|
7387 | ac_cv_lib_dld_shl_load=no |
|
|
7388 | fi |
|
|
7389 | rm -f conftest.err conftest.$ac_objext \ |
|
|
7390 | conftest$ac_exeext conftest.$ac_ext |
|
|
7391 | LIBS=$ac_check_lib_save_LIBS |
|
|
7392 | fi |
|
|
7393 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
|
|
7394 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 |
|
|
7395 | if test $ac_cv_lib_dld_shl_load = yes; then |
|
|
7396 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
|
|
7397 | fi |
|
|
7398 | |
|
|
7399 | |
|
|
7400 | fi |
|
|
7401 | |
|
|
7402 | |
|
|
7403 | fi |
|
|
7404 | |
|
|
7405 | |
|
|
7406 | fi |
|
|
7407 | |
|
|
7408 | |
|
|
7409 | fi |
|
|
7410 | |
|
|
7411 | ;; |
|
|
7412 | esac |
|
|
7413 | |
|
|
7414 | if test "x$lt_cv_dlopen" != xno; then |
|
|
7415 | enable_dlopen=yes |
|
|
7416 | else |
|
|
7417 | enable_dlopen=no |
|
|
7418 | fi |
|
|
7419 | |
|
|
7420 | case "$lt_cv_dlopen" in |
|
|
7421 | dlopen) |
|
|
7422 | save_CPPFLAGS="$CPP_FLAGS" |
|
|
7423 | test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
|
|
7424 | |
|
|
7425 | save_LDFLAGS="$LDFLAGS" |
|
|
7426 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
|
|
7427 | |
|
|
7428 | save_LIBS="$LIBS" |
|
|
7429 | LIBS="$lt_cv_dlopen_libs $LIBS" |
|
|
7430 | |
|
|
7431 | echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
|
|
7432 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 |
|
|
7433 | if test "${lt_cv_dlopen_self+set}" = set; then |
|
|
7434 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7435 | else |
|
|
7436 | if test "$cross_compiling" = yes; then : |
|
|
7437 | lt_cv_dlopen_self=cross |
|
|
7438 | else |
|
|
7439 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
|
7440 | lt_status=$lt_dlunknown |
|
|
7441 | cat > conftest.$ac_ext <<EOF |
|
|
7442 | #line 7442 "configure" |
|
|
7443 | #include "confdefs.h" |
|
|
7444 | |
|
|
7445 | #if HAVE_DLFCN_H |
|
|
7446 | #include <dlfcn.h> |
|
|
7447 | #endif |
|
|
7448 | |
|
|
7449 | #include <stdio.h> |
|
|
7450 | |
|
|
7451 | #ifdef RTLD_GLOBAL |
|
|
7452 | # define LT_DLGLOBAL RTLD_GLOBAL |
|
|
7453 | #else |
|
|
7454 | # ifdef DL_GLOBAL |
|
|
7455 | # define LT_DLGLOBAL DL_GLOBAL |
|
|
7456 | # else |
|
|
7457 | # define LT_DLGLOBAL 0 |
|
|
7458 | # endif |
|
|
7459 | #endif |
|
|
7460 | |
|
|
7461 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
|
7462 | find out it does not work in some platform. */ |
|
|
7463 | #ifndef LT_DLLAZY_OR_NOW |
|
|
7464 | # ifdef RTLD_LAZY |
|
|
7465 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
|
7466 | # else |
|
|
7467 | # ifdef DL_LAZY |
|
|
7468 | # define LT_DLLAZY_OR_NOW DL_LAZY |
|
|
7469 | # else |
|
|
7470 | # ifdef RTLD_NOW |
|
|
7471 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
|
|
7472 | # else |
|
|
7473 | # ifdef DL_NOW |
|
|
7474 | # define LT_DLLAZY_OR_NOW DL_NOW |
|
|
7475 | # else |
|
|
7476 | # define LT_DLLAZY_OR_NOW 0 |
|
|
7477 | # endif |
|
|
7478 | # endif |
|
|
7479 | # endif |
|
|
7480 | # endif |
|
|
7481 | #endif |
|
|
7482 | |
|
|
7483 | #ifdef __cplusplus |
|
|
7484 | extern "C" void exit (int); |
|
|
7485 | #endif |
|
|
7486 | |
|
|
7487 | fnord() { int i=42;} |
|
|
7488 | main () |
|
|
7489 | { |
|
|
7490 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
|
7491 | int status = $lt_dlunknown; |
|
|
7492 | |
|
|
7493 | if (self) |
|
|
7494 | { |
|
|
7495 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
|
7496 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
|
7497 | /* dlclose (self); */ |
|
|
7498 | } |
|
|
7499 | |
|
|
7500 | exit (status); |
|
|
7501 | } |
|
|
7502 | EOF |
|
|
7503 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7504 | (eval $ac_link) 2>&5 |
|
|
7505 | ac_status=$? |
|
|
7506 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7507 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
|
7508 | (./conftest; exit; ) 2>/dev/null |
|
|
7509 | lt_status=$? |
|
|
7510 | case x$lt_status in |
|
|
7511 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
|
|
7512 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
|
|
7513 | x$lt_unknown|x*) lt_cv_dlopen_self=no ;; |
|
|
7514 | esac |
|
|
7515 | else : |
|
|
7516 | # compilation failed |
|
|
7517 | lt_cv_dlopen_self=no |
|
|
7518 | fi |
|
|
7519 | fi |
|
|
7520 | rm -fr conftest* |
|
|
7521 | |
|
|
7522 | |
|
|
7523 | fi |
|
|
7524 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
|
|
7525 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
|
|
7526 | |
|
|
7527 | if test "x$lt_cv_dlopen_self" = xyes; then |
|
|
7528 | LDFLAGS="$LDFLAGS $link_static_flag" |
|
|
7529 | echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
|
|
7530 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 |
|
|
7531 | if test "${lt_cv_dlopen_self_static+set}" = set; then |
|
|
7532 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7533 | else |
|
|
7534 | if test "$cross_compiling" = yes; then : |
|
|
7535 | lt_cv_dlopen_self_static=cross |
|
|
7536 | else |
|
|
7537 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
|
|
7538 | lt_status=$lt_dlunknown |
|
|
7539 | cat > conftest.$ac_ext <<EOF |
|
|
7540 | #line 7540 "configure" |
|
|
7541 | #include "confdefs.h" |
|
|
7542 | |
|
|
7543 | #if HAVE_DLFCN_H |
|
|
7544 | #include <dlfcn.h> |
|
|
7545 | #endif |
|
|
7546 | |
|
|
7547 | #include <stdio.h> |
|
|
7548 | |
|
|
7549 | #ifdef RTLD_GLOBAL |
|
|
7550 | # define LT_DLGLOBAL RTLD_GLOBAL |
|
|
7551 | #else |
|
|
7552 | # ifdef DL_GLOBAL |
|
|
7553 | # define LT_DLGLOBAL DL_GLOBAL |
|
|
7554 | # else |
|
|
7555 | # define LT_DLGLOBAL 0 |
|
|
7556 | # endif |
|
|
7557 | #endif |
|
|
7558 | |
|
|
7559 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
|
|
7560 | find out it does not work in some platform. */ |
|
|
7561 | #ifndef LT_DLLAZY_OR_NOW |
|
|
7562 | # ifdef RTLD_LAZY |
|
|
7563 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
|
|
7564 | # else |
|
|
7565 | # ifdef DL_LAZY |
|
|
7566 | # define LT_DLLAZY_OR_NOW DL_LAZY |
|
|
7567 | # else |
|
|
7568 | # ifdef RTLD_NOW |
|
|
7569 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
|
|
7570 | # else |
|
|
7571 | # ifdef DL_NOW |
|
|
7572 | # define LT_DLLAZY_OR_NOW DL_NOW |
|
|
7573 | # else |
|
|
7574 | # define LT_DLLAZY_OR_NOW 0 |
|
|
7575 | # endif |
|
|
7576 | # endif |
|
|
7577 | # endif |
|
|
7578 | # endif |
|
|
7579 | #endif |
|
|
7580 | |
|
|
7581 | #ifdef __cplusplus |
|
|
7582 | extern "C" void exit (int); |
|
|
7583 | #endif |
|
|
7584 | |
|
|
7585 | fnord() { int i=42;} |
|
|
7586 | main () |
|
|
7587 | { |
|
|
7588 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
|
|
7589 | int status = $lt_dlunknown; |
|
|
7590 | |
|
|
7591 | if (self) |
|
|
7592 | { |
|
|
7593 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
|
|
7594 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
|
|
7595 | /* dlclose (self); */ |
|
|
7596 | } |
|
|
7597 | |
|
|
7598 | exit (status); |
|
|
7599 | } |
|
|
7600 | EOF |
|
|
7601 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
7602 | (eval $ac_link) 2>&5 |
|
|
7603 | ac_status=$? |
|
|
7604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7605 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then |
|
|
7606 | (./conftest; exit; ) 2>/dev/null |
|
|
7607 | lt_status=$? |
|
|
7608 | case x$lt_status in |
|
|
7609 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
|
|
7610 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
|
|
7611 | x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; |
|
|
7612 | esac |
|
|
7613 | else : |
|
|
7614 | # compilation failed |
|
|
7615 | lt_cv_dlopen_self_static=no |
|
|
7616 | fi |
|
|
7617 | fi |
|
|
7618 | rm -fr conftest* |
|
|
7619 | |
|
|
7620 | |
|
|
7621 | fi |
|
|
7622 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
|
|
7623 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 |
|
|
7624 | fi |
|
|
7625 | |
|
|
7626 | CPPFLAGS="$save_CPPFLAGS" |
|
|
7627 | LDFLAGS="$save_LDFLAGS" |
|
|
7628 | LIBS="$save_LIBS" |
|
|
7629 | ;; |
|
|
7630 | esac |
|
|
7631 | |
|
|
7632 | case "$lt_cv_dlopen_self" in |
|
|
7633 | yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
|
|
7634 | *) enable_dlopen_self=unknown ;; |
|
|
7635 | esac |
|
|
7636 | |
|
|
7637 | case "$lt_cv_dlopen_self_static" in |
|
|
7638 | yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
|
|
7639 | *) enable_dlopen_self_static=unknown ;; |
|
|
7640 | esac |
|
|
7641 | fi |
|
|
7642 | |
|
|
7643 | |
|
|
7644 | ## FIXME: this should be a separate macro |
|
|
7645 | ## |
|
|
7646 | if test "$enable_shared" = yes && test "$GCC" = yes; then |
|
|
7647 | case "$archive_cmds" in |
|
|
7648 | *'~'*) |
|
|
7649 | # FIXME: we may have to deal with multi-command sequences. |
|
|
7650 | ;; |
|
|
7651 | '$CC '*) |
|
|
7652 | # Test whether the compiler implicitly links with -lc since on some |
|
|
7653 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
|
|
7654 | # to ld, don't add -lc before -lgcc. |
|
|
7655 | echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
|
|
7656 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 |
|
|
7657 | if test "${lt_cv_archive_cmds_need_lc+set}" = set; then |
|
|
7658 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7659 | else |
|
|
7660 | $rm conftest* |
|
|
7661 | echo 'static int dummy;' > conftest.$ac_ext |
|
|
7662 | |
|
|
7663 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7664 | (eval $ac_compile) 2>&5 |
|
|
7665 | ac_status=$? |
|
|
7666 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7667 | (exit $ac_status); }; then |
|
|
7668 | soname=conftest |
|
|
7669 | lib=conftest |
|
|
7670 | libobjs=conftest.$ac_objext |
|
|
7671 | deplibs= |
|
|
7672 | wl=$lt_cv_prog_cc_wl |
|
|
7673 | compiler_flags=-v |
|
|
7674 | linker_flags=-v |
|
|
7675 | verstring= |
|
|
7676 | output_objdir=. |
|
|
7677 | libname=conftest |
|
|
7678 | save_allow_undefined_flag=$allow_undefined_flag |
|
|
7679 | allow_undefined_flag= |
|
|
7680 | if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 |
|
|
7681 | (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
|
|
7682 | ac_status=$? |
|
|
7683 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7684 | (exit $ac_status); } |
|
|
7685 | then |
|
|
7686 | lt_cv_archive_cmds_need_lc=no |
|
|
7687 | else |
|
|
7688 | lt_cv_archive_cmds_need_lc=yes |
|
|
7689 | fi |
|
|
7690 | allow_undefined_flag=$save_allow_undefined_flag |
|
|
7691 | else |
|
|
7692 | cat conftest.err 1>&5 |
|
|
7693 | fi |
|
|
7694 | fi |
|
|
7695 | |
|
|
7696 | echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 |
|
|
7697 | echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 |
|
|
7698 | ;; |
|
|
7699 | esac |
|
|
7700 | fi |
|
|
7701 | need_lc=${lt_cv_archive_cmds_need_lc-yes} |
|
|
7702 | ## |
|
|
7703 | ## END FIXME |
|
|
7704 | |
|
|
7705 | ## FIXME: this should be a separate macro |
|
|
7706 | ## |
|
|
7707 | # The second clause should only fire when bootstrapping the |
|
|
7708 | # libtool distribution, otherwise you forgot to ship ltmain.sh |
|
|
7709 | # with your package, and you will get complaints that there are |
|
|
7710 | # no rules to generate ltmain.sh. |
|
|
7711 | if test -f "$ltmain"; then |
|
|
7712 | : |
|
|
7713 | else |
|
|
7714 | # If there is no Makefile yet, we rely on a make rule to execute |
|
|
7715 | # `config.status --recheck' to rerun these tests and create the |
|
|
7716 | # libtool script then. |
|
|
7717 | test -f Makefile && make "$ltmain" |
|
|
7718 | fi |
|
|
7719 | |
|
|
7720 | if test -f "$ltmain"; then |
|
|
7721 | trap "$rm \"${ofile}T\"; exit 1" 1 2 15 |
|
|
7722 | $rm -f "${ofile}T" |
|
|
7723 | |
|
|
7724 | echo creating $ofile |
|
|
7725 | |
|
|
7726 | # Now quote all the things that may contain metacharacters while being |
|
|
7727 | # careful not to overquote the AC_SUBSTed values. We take copies of the |
|
|
7728 | # variables and quote the copies for generation of the libtool script. |
|
|
7729 | for var in echo old_CC old_CFLAGS \ |
|
|
7730 | AR AR_FLAGS CC LD LN_S NM SHELL \ |
|
|
7731 | reload_flag reload_cmds wl \ |
|
|
7732 | pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ |
|
|
7733 | thread_safe_flag_spec whole_archive_flag_spec libname_spec \ |
|
|
7734 | library_names_spec soname_spec \ |
|
|
7735 | RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ |
|
|
7736 | old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ |
|
|
7737 | postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ |
|
|
7738 | old_striplib striplib file_magic_cmd export_symbols_cmds \ |
|
|
7739 | deplibs_check_method allow_undefined_flag no_undefined_flag \ |
|
|
7740 | finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ |
|
|
7741 | hardcode_libdir_flag_spec hardcode_libdir_separator \ |
|
|
7742 | sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ |
|
|
7743 | compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do |
|
|
7744 | |
|
|
7745 | case "$var" in |
|
|
7746 | reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ |
|
|
7747 | old_postinstall_cmds | old_postuninstall_cmds | \ |
|
|
7748 | export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ |
|
|
7749 | extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ |
|
|
7750 | postinstall_cmds | postuninstall_cmds | \ |
|
|
7751 | finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) |
|
|
7752 | # Double-quote double-evaled strings. |
|
|
7753 | eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" |
|
|
7754 | ;; |
|
|
7755 | *) |
|
|
7756 | eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" |
|
|
7757 | ;; |
|
|
7758 | esac |
|
|
7759 | done |
|
|
7760 | |
|
|
7761 | cat <<__EOF__ > "${ofile}T" |
|
|
7762 | #! $SHELL |
|
|
7763 | |
|
|
7764 | # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
|
|
7765 | # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) |
|
|
7766 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
|
|
7767 | # |
|
|
7768 | # Copyright (C) 1996-2000 Free Software Foundation, Inc. |
|
|
7769 | # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
|
|
7770 | # |
|
|
7771 | # This program is free software; you can redistribute it and/or modify |
|
|
7772 | # it under the terms of the GNU General Public License as published by |
|
|
7773 | # the Free Software Foundation; either version 2 of the License, or |
|
|
7774 | # (at your option) any later version. |
|
|
7775 | # |
|
|
7776 | # This program is distributed in the hope that it will be useful, but |
|
|
7777 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
7778 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
|
7779 | # General Public License for more details. |
|
|
7780 | # |
|
|
7781 | # You should have received a copy of the GNU General Public License |
|
|
7782 | # along with this program; if not, write to the Free Software |
|
|
7783 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
|
7784 | # |
|
|
7785 | # As a special exception to the GNU General Public License, if you |
|
|
7786 | # distribute this file as part of a program that contains a |
|
|
7787 | # configuration script generated by Autoconf, you may include it under |
|
|
7788 | # the same distribution terms that you use for the rest of that program. |
|
|
7789 | |
|
|
7790 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. |
|
|
7791 | Xsed="sed -e s/^X//" |
|
|
7792 | |
|
|
7793 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
|
|
7794 | # if CDPATH is set. |
|
|
7795 | if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
|
|
7796 | |
|
|
7797 | # ### BEGIN LIBTOOL CONFIG |
|
|
7798 | |
|
|
7799 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
|
|
7800 | |
|
|
7801 | # Shell to use when invoking shell scripts. |
|
|
7802 | SHELL=$lt_SHELL |
|
|
7803 | |
|
|
7804 | # Whether or not to build shared libraries. |
|
|
7805 | build_libtool_libs=$enable_shared |
|
|
7806 | |
|
|
7807 | # Whether or not to add -lc for building shared libraries. |
|
|
7808 | build_libtool_need_lc=$need_lc |
|
|
7809 | |
|
|
7810 | # Whether or not to build static libraries. |
|
|
7811 | build_old_libs=$enable_static |
|
|
7812 | |
|
|
7813 | # Whether or not to optimize for fast installation. |
|
|
7814 | fast_install=$enable_fast_install |
|
|
7815 | |
|
|
7816 | # The host system. |
|
|
7817 | host_alias=$host_alias |
|
|
7818 | host=$host |
|
|
7819 | |
|
|
7820 | # An echo program that does not interpret backslashes. |
|
|
7821 | echo=$lt_echo |
|
|
7822 | |
|
|
7823 | # The archiver. |
|
|
7824 | AR=$lt_AR |
|
|
7825 | AR_FLAGS=$lt_AR_FLAGS |
|
|
7826 | |
|
|
7827 | # The default C compiler. |
|
|
7828 | CC=$lt_CC |
|
|
7829 | |
|
|
7830 | # Is the compiler the GNU C compiler? |
|
|
7831 | with_gcc=$GCC |
|
|
7832 | |
|
|
7833 | # The linker used to build libraries. |
|
|
7834 | LD=$lt_LD |
|
|
7835 | |
|
|
7836 | # Whether we need hard or soft links. |
|
|
7837 | LN_S=$lt_LN_S |
|
|
7838 | |
|
|
7839 | # A BSD-compatible nm program. |
|
|
7840 | NM=$lt_NM |
|
|
7841 | |
|
|
7842 | # A symbol stripping program |
|
|
7843 | STRIP=$STRIP |
|
|
7844 | |
|
|
7845 | # Used to examine libraries when file_magic_cmd begins "file" |
|
|
7846 | MAGIC_CMD=$MAGIC_CMD |
|
|
7847 | |
|
|
7848 | # Used on cygwin: DLL creation program. |
|
|
7849 | DLLTOOL="$DLLTOOL" |
|
|
7850 | |
|
|
7851 | # Used on cygwin: object dumper. |
|
|
7852 | OBJDUMP="$OBJDUMP" |
|
|
7853 | |
|
|
7854 | # Used on cygwin: assembler. |
|
|
7855 | AS="$AS" |
|
|
7856 | |
|
|
7857 | # The name of the directory that contains temporary libtool files. |
|
|
7858 | objdir=$objdir |
|
|
7859 | |
|
|
7860 | # How to create reloadable object files. |
|
|
7861 | reload_flag=$lt_reload_flag |
|
|
7862 | reload_cmds=$lt_reload_cmds |
|
|
7863 | |
|
|
7864 | # How to pass a linker flag through the compiler. |
|
|
7865 | wl=$lt_wl |
|
|
7866 | |
|
|
7867 | # Object file suffix (normally "o"). |
|
|
7868 | objext="$ac_objext" |
|
|
7869 | |
|
|
7870 | # Old archive suffix (normally "a"). |
|
|
7871 | libext="$libext" |
|
|
7872 | |
|
|
7873 | # Executable file suffix (normally ""). |
|
|
7874 | exeext="$exeext" |
|
|
7875 | |
|
|
7876 | # Additional compiler flags for building library objects. |
|
|
7877 | pic_flag=$lt_pic_flag |
|
|
7878 | pic_mode=$pic_mode |
|
|
7879 | |
|
|
7880 | # Does compiler simultaneously support -c and -o options? |
|
|
7881 | compiler_c_o=$lt_compiler_c_o |
|
|
7882 | |
|
|
7883 | # Can we write directly to a .lo ? |
|
|
7884 | compiler_o_lo=$lt_compiler_o_lo |
|
|
7885 | |
|
|
7886 | # Must we lock files when doing compilation ? |
|
|
7887 | need_locks=$lt_need_locks |
|
|
7888 | |
|
|
7889 | # Do we need the lib prefix for modules? |
|
|
7890 | need_lib_prefix=$need_lib_prefix |
|
|
7891 | |
|
|
7892 | # Do we need a version for libraries? |
|
|
7893 | need_version=$need_version |
|
|
7894 | |
|
|
7895 | # Whether dlopen is supported. |
|
|
7896 | dlopen_support=$enable_dlopen |
|
|
7897 | |
|
|
7898 | # Whether dlopen of programs is supported. |
|
|
7899 | dlopen_self=$enable_dlopen_self |
|
|
7900 | |
|
|
7901 | # Whether dlopen of statically linked programs is supported. |
|
|
7902 | dlopen_self_static=$enable_dlopen_self_static |
|
|
7903 | |
|
|
7904 | # Compiler flag to prevent dynamic linking. |
|
|
7905 | link_static_flag=$lt_link_static_flag |
|
|
7906 | |
|
|
7907 | # Compiler flag to turn off builtin functions. |
|
|
7908 | no_builtin_flag=$lt_no_builtin_flag |
|
|
7909 | |
|
|
7910 | # Compiler flag to allow reflexive dlopens. |
|
|
7911 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
|
|
7912 | |
|
|
7913 | # Compiler flag to generate shared objects directly from archives. |
|
|
7914 | whole_archive_flag_spec=$lt_whole_archive_flag_spec |
|
|
7915 | |
|
|
7916 | # Compiler flag to generate thread-safe objects. |
|
|
7917 | thread_safe_flag_spec=$lt_thread_safe_flag_spec |
|
|
7918 | |
|
|
7919 | # Library versioning type. |
|
|
7920 | version_type=$version_type |
|
|
7921 | |
|
|
7922 | # Format of library name prefix. |
|
|
7923 | libname_spec=$lt_libname_spec |
|
|
7924 | |
|
|
7925 | # List of archive names. First name is the real one, the rest are links. |
|
|
7926 | # The last name is the one that the linker finds with -lNAME. |
|
|
7927 | library_names_spec=$lt_library_names_spec |
|
|
7928 | |
|
|
7929 | # The coded name of the library, if different from the real name. |
|
|
7930 | soname_spec=$lt_soname_spec |
|
|
7931 | |
|
|
7932 | # Commands used to build and install an old-style archive. |
|
|
7933 | RANLIB=$lt_RANLIB |
|
|
7934 | old_archive_cmds=$lt_old_archive_cmds |
|
|
7935 | old_postinstall_cmds=$lt_old_postinstall_cmds |
|
|
7936 | old_postuninstall_cmds=$lt_old_postuninstall_cmds |
|
|
7937 | |
|
|
7938 | # Create an old-style archive from a shared archive. |
|
|
7939 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
|
|
7940 | |
|
|
7941 | # Create a temporary old-style archive to link instead of a shared archive. |
|
|
7942 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
|
|
7943 | |
|
|
7944 | # Commands used to build and install a shared archive. |
|
|
7945 | archive_cmds=$lt_archive_cmds |
|
|
7946 | archive_expsym_cmds=$lt_archive_expsym_cmds |
|
|
7947 | postinstall_cmds=$lt_postinstall_cmds |
|
|
7948 | postuninstall_cmds=$lt_postuninstall_cmds |
|
|
7949 | |
|
|
7950 | # Commands to strip libraries. |
|
|
7951 | old_striplib=$lt_old_striplib |
|
|
7952 | striplib=$lt_striplib |
|
|
7953 | |
|
|
7954 | # Method to check whether dependent libraries are shared objects. |
|
|
7955 | deplibs_check_method=$lt_deplibs_check_method |
|
|
7956 | |
|
|
7957 | # Command to use when deplibs_check_method == file_magic. |
|
|
7958 | file_magic_cmd=$lt_file_magic_cmd |
|
|
7959 | |
|
|
7960 | # Flag that allows shared libraries with undefined symbols to be built. |
|
|
7961 | allow_undefined_flag=$lt_allow_undefined_flag |
|
|
7962 | |
|
|
7963 | # Flag that forces no undefined symbols. |
|
|
7964 | no_undefined_flag=$lt_no_undefined_flag |
|
|
7965 | |
|
|
7966 | # Commands used to finish a libtool library installation in a directory. |
|
|
7967 | finish_cmds=$lt_finish_cmds |
|
|
7968 | |
|
|
7969 | # Same as above, but a single script fragment to be evaled but not shown. |
|
|
7970 | finish_eval=$lt_finish_eval |
|
|
7971 | |
|
|
7972 | # Take the output of nm and produce a listing of raw symbols and C names. |
|
|
7973 | global_symbol_pipe=$lt_global_symbol_pipe |
|
|
7974 | |
|
|
7975 | # Transform the output of nm in a proper C declaration |
|
|
7976 | global_symbol_to_cdecl=$lt_global_symbol_to_cdecl |
|
|
7977 | |
|
|
7978 | # This is the shared library runtime path variable. |
|
|
7979 | runpath_var=$runpath_var |
|
|
7980 | |
|
|
7981 | # This is the shared library path variable. |
|
|
7982 | shlibpath_var=$shlibpath_var |
|
|
7983 | |
|
|
7984 | # Is shlibpath searched before the hard-coded library search path? |
|
|
7985 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
|
|
7986 | |
|
|
7987 | # How to hardcode a shared library path into an executable. |
|
|
7988 | hardcode_action=$hardcode_action |
|
|
7989 | |
|
|
7990 | # Whether we should hardcode library paths into libraries. |
|
|
7991 | hardcode_into_libs=$hardcode_into_libs |
|
|
7992 | |
|
|
7993 | # Flag to hardcode \$libdir into a binary during linking. |
|
|
7994 | # This must work even if \$libdir does not exist. |
|
|
7995 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
|
7996 | |
|
|
7997 | # Whether we need a single -rpath flag with a separated argument. |
|
|
7998 | hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
|
7999 | |
|
|
8000 | # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the |
|
|
8001 | # resulting binary. |
|
|
8002 | hardcode_direct=$hardcode_direct |
|
|
8003 | |
|
|
8004 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the |
|
|
8005 | # resulting binary. |
|
|
8006 | hardcode_minus_L=$hardcode_minus_L |
|
|
8007 | |
|
|
8008 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into |
|
|
8009 | # the resulting binary. |
|
|
8010 | hardcode_shlibpath_var=$hardcode_shlibpath_var |
|
|
8011 | |
|
|
8012 | # Variables whose values should be saved in libtool wrapper scripts and |
|
|
8013 | # restored at relink time. |
|
|
8014 | variables_saved_for_relink="$variables_saved_for_relink" |
|
|
8015 | |
|
|
8016 | # Whether libtool must link a program against all its dependency libraries. |
|
|
8017 | link_all_deplibs=$link_all_deplibs |
|
|
8018 | |
|
|
8019 | # Compile-time system search path for libraries |
|
|
8020 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
|
|
8021 | |
|
|
8022 | # Run-time system search path for libraries |
|
|
8023 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
|
|
8024 | |
|
|
8025 | # Fix the shell variable \$srcfile for the compiler. |
|
|
8026 | fix_srcfile_path="$fix_srcfile_path" |
|
|
8027 | |
|
|
8028 | # Set to yes if exported symbols are required. |
|
|
8029 | always_export_symbols=$always_export_symbols |
|
|
8030 | |
|
|
8031 | # The commands to list exported symbols. |
|
|
8032 | export_symbols_cmds=$lt_export_symbols_cmds |
|
|
8033 | |
|
|
8034 | # The commands to extract the exported symbol list from a shared archive. |
|
|
8035 | extract_expsyms_cmds=$lt_extract_expsyms_cmds |
|
|
8036 | |
|
|
8037 | # Symbols that should not be listed in the preloaded symbols. |
|
|
8038 | exclude_expsyms=$lt_exclude_expsyms |
|
|
8039 | |
|
|
8040 | # Symbols that must always be exported. |
|
|
8041 | include_expsyms=$lt_include_expsyms |
|
|
8042 | |
|
|
8043 | # ### END LIBTOOL CONFIG |
|
|
8044 | |
|
|
8045 | __EOF__ |
|
|
8046 | |
|
|
8047 | case "$host_os" in |
|
|
8048 | aix3*) |
|
|
8049 | cat <<\EOF >> "${ofile}T" |
|
|
8050 | |
|
|
8051 | # AIX sometimes has problems with the GCC collect2 program. For some |
|
|
8052 | # reason, if we set the COLLECT_NAMES environment variable, the problems |
|
|
8053 | # vanish in a puff of smoke. |
|
|
8054 | if test "X${COLLECT_NAMES+set}" != Xset; then |
|
|
8055 | COLLECT_NAMES= |
|
|
8056 | export COLLECT_NAMES |
|
|
8057 | fi |
|
|
8058 | EOF |
|
|
8059 | ;; |
|
|
8060 | esac |
|
|
8061 | |
|
|
8062 | case "$host_os" in |
|
|
8063 | cygwin* | mingw* | pw32* | os2*) |
|
|
8064 | cat <<'EOF' >> "${ofile}T" |
|
|
8065 | # This is a source program that is used to create dlls on Windows |
|
|
8066 | # Don't remove nor modify the starting and closing comments |
|
|
8067 | # /* ltdll.c starts here */ |
|
|
8068 | # #define WIN32_LEAN_AND_MEAN |
|
|
8069 | # #include <windows.h> |
|
|
8070 | # #undef WIN32_LEAN_AND_MEAN |
|
|
8071 | # #include <stdio.h> |
|
|
8072 | # |
|
|
8073 | # #ifndef __CYGWIN__ |
|
|
8074 | # # ifdef __CYGWIN32__ |
|
|
8075 | # # define __CYGWIN__ __CYGWIN32__ |
|
|
8076 | # # endif |
|
|
8077 | # #endif |
|
|
8078 | # |
|
|
8079 | # #ifdef __cplusplus |
|
|
8080 | # extern "C" { |
|
|
8081 | # #endif |
|
|
8082 | # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); |
|
|
8083 | # #ifdef __cplusplus |
|
|
8084 | # } |
|
|
8085 | # #endif |
|
|
8086 | # |
|
|
8087 | # #ifdef __CYGWIN__ |
|
|
8088 | # #include <cygwin/cygwin_dll.h> |
|
|
8089 | # DECLARE_CYGWIN_DLL( DllMain ); |
|
|
8090 | # #endif |
|
|
8091 | # HINSTANCE __hDllInstance_base; |
|
|
8092 | # |
|
|
8093 | # BOOL APIENTRY |
|
|
8094 | # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) |
|
|
8095 | # { |
|
|
8096 | # __hDllInstance_base = hInst; |
|
|
8097 | # return TRUE; |
|
|
8098 | # } |
|
|
8099 | # /* ltdll.c ends here */ |
|
|
8100 | # This is a source program that is used to create import libraries |
|
|
8101 | # on Windows for dlls which lack them. Don't remove nor modify the |
|
|
8102 | # starting and closing comments |
|
|
8103 | # /* impgen.c starts here */ |
|
|
8104 | # /* Copyright (C) 1999-2000 Free Software Foundation, Inc. |
|
|
8105 | # |
|
|
8106 | # This file is part of GNU libtool. |
|
|
8107 | # |
|
|
8108 | # This program is free software; you can redistribute it and/or modify |
|
|
8109 | # it under the terms of the GNU General Public License as published by |
|
|
8110 | # the Free Software Foundation; either version 2 of the License, or |
|
|
8111 | # (at your option) any later version. |
|
|
8112 | # |
|
|
8113 | # This program is distributed in the hope that it will be useful, |
|
|
8114 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
8115 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
8116 | # GNU General Public License for more details. |
|
|
8117 | # |
|
|
8118 | # You should have received a copy of the GNU General Public License |
|
|
8119 | # along with this program; if not, write to the Free Software |
|
|
8120 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
|
8121 | # */ |
|
|
8122 | # |
|
|
8123 | # #include <stdio.h> /* for printf() */ |
|
|
8124 | # #include <unistd.h> /* for open(), lseek(), read() */ |
|
|
8125 | # #include <fcntl.h> /* for O_RDONLY, O_BINARY */ |
|
|
8126 | # #include <string.h> /* for strdup() */ |
|
|
8127 | # |
|
|
8128 | # /* O_BINARY isn't required (or even defined sometimes) under Unix */ |
|
|
8129 | # #ifndef O_BINARY |
|
|
8130 | # #define O_BINARY 0 |
|
|
8131 | # #endif |
|
|
8132 | # |
|
|
8133 | # static unsigned int |
|
|
8134 | # pe_get16 (fd, offset) |
|
|
8135 | # int fd; |
|
|
8136 | # int offset; |
|
|
8137 | # { |
|
|
8138 | # unsigned char b[2]; |
|
|
8139 | # lseek (fd, offset, SEEK_SET); |
|
|
8140 | # read (fd, b, 2); |
|
|
8141 | # return b[0] + (b[1]<<8); |
|
|
8142 | # } |
|
|
8143 | # |
|
|
8144 | # static unsigned int |
|
|
8145 | # pe_get32 (fd, offset) |
|
|
8146 | # int fd; |
|
|
8147 | # int offset; |
|
|
8148 | # { |
|
|
8149 | # unsigned char b[4]; |
|
|
8150 | # lseek (fd, offset, SEEK_SET); |
|
|
8151 | # read (fd, b, 4); |
|
|
8152 | # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); |
|
|
8153 | # } |
|
|
8154 | # |
|
|
8155 | # static unsigned int |
|
|
8156 | # pe_as32 (ptr) |
|
|
8157 | # void *ptr; |
|
|
8158 | # { |
|
|
8159 | # unsigned char *b = ptr; |
|
|
8160 | # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); |
|
|
8161 | # } |
|
|
8162 | # |
|
|
8163 | # int |
|
|
8164 | # main (argc, argv) |
|
|
8165 | # int argc; |
|
|
8166 | # char *argv[]; |
|
|
8167 | # { |
|
|
8168 | # int dll; |
|
|
8169 | # unsigned long pe_header_offset, opthdr_ofs, num_entries, i; |
|
|
8170 | # unsigned long export_rva, export_size, nsections, secptr, expptr; |
|
|
8171 | # unsigned long name_rvas, nexp; |
|
|
8172 | # unsigned char *expdata, *erva; |
|
|
8173 | # char *filename, *dll_name; |
|
|
8174 | # |
|
|
8175 | # filename = argv[1]; |
|
|
8176 | # |
|
|
8177 | # dll = open(filename, O_RDONLY|O_BINARY); |
|
|
8178 | # if (!dll) |
|
|
8179 | # return 1; |
|
|
8180 | # |
|
|
8181 | # dll_name = filename; |
|
|
8182 | # |
|
|
8183 | # for (i=0; filename[i]; i++) |
|
|
8184 | # if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':') |
|
|
8185 | # dll_name = filename + i +1; |
|
|
8186 | # |
|
|
8187 | # pe_header_offset = pe_get32 (dll, 0x3c); |
|
|
8188 | # opthdr_ofs = pe_header_offset + 4 + 20; |
|
|
8189 | # num_entries = pe_get32 (dll, opthdr_ofs + 92); |
|
|
8190 | # |
|
|
8191 | # if (num_entries < 1) /* no exports */ |
|
|
8192 | # return 1; |
|
|
8193 | # |
|
|
8194 | # export_rva = pe_get32 (dll, opthdr_ofs + 96); |
|
|
8195 | # export_size = pe_get32 (dll, opthdr_ofs + 100); |
|
|
8196 | # nsections = pe_get16 (dll, pe_header_offset + 4 +2); |
|
|
8197 | # secptr = (pe_header_offset + 4 + 20 + |
|
|
8198 | # pe_get16 (dll, pe_header_offset + 4 + 16)); |
|
|
8199 | # |
|
|
8200 | # expptr = 0; |
|
|
8201 | # for (i = 0; i < nsections; i++) |
|
|
8202 | # { |
|
|
8203 | # char sname[8]; |
|
|
8204 | # unsigned long secptr1 = secptr + 40 * i; |
|
|
8205 | # unsigned long vaddr = pe_get32 (dll, secptr1 + 12); |
|
|
8206 | # unsigned long vsize = pe_get32 (dll, secptr1 + 16); |
|
|
8207 | # unsigned long fptr = pe_get32 (dll, secptr1 + 20); |
|
|
8208 | # lseek(dll, secptr1, SEEK_SET); |
|
|
8209 | # read(dll, sname, 8); |
|
|
8210 | # if (vaddr <= export_rva && vaddr+vsize > export_rva) |
|
|
8211 | # { |
|
|
8212 | # expptr = fptr + (export_rva - vaddr); |
|
|
8213 | # if (export_rva + export_size > vaddr + vsize) |
|
|
8214 | # export_size = vsize - (export_rva - vaddr); |
|
|
8215 | # break; |
|
|
8216 | # } |
|
|
8217 | # } |
|
|
8218 | # |
|
|
8219 | # expdata = (unsigned char*)malloc(export_size); |
|
|
8220 | # lseek (dll, expptr, SEEK_SET); |
|
|
8221 | # read (dll, expdata, export_size); |
|
|
8222 | # erva = expdata - export_rva; |
|
|
8223 | # |
|
|
8224 | # nexp = pe_as32 (expdata+24); |
|
|
8225 | # name_rvas = pe_as32 (expdata+32); |
|
|
8226 | # |
|
|
8227 | # printf ("EXPORTS\n"); |
|
|
8228 | # for (i = 0; i<nexp; i++) |
|
|
8229 | # { |
|
|
8230 | # unsigned long name_rva = pe_as32 (erva+name_rvas+i*4); |
|
|
8231 | # printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i); |
|
|
8232 | # } |
|
|
8233 | # |
|
|
8234 | # return 0; |
|
|
8235 | # } |
|
|
8236 | # /* impgen.c ends here */ |
|
|
8237 | |
|
|
8238 | EOF |
|
|
8239 | ;; |
|
|
8240 | esac |
|
|
8241 | |
|
|
8242 | # We use sed instead of cat because bash on DJGPP gets confused if |
|
|
8243 | # if finds mixed CR/LF and LF-only lines. Since sed operates in |
|
|
8244 | # text mode, it properly converts lines to CR/LF. This bash problem |
|
|
8245 | # is reportedly fixed, but why not run on old versions too? |
|
|
8246 | sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1) |
|
|
8247 | |
|
|
8248 | mv -f "${ofile}T" "$ofile" || \ |
|
|
8249 | (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") |
|
|
8250 | chmod +x "$ofile" |
|
|
8251 | fi |
|
|
8252 | ## |
|
|
8253 | ## END FIXME |
|
|
8254 | |
|
|
8255 | |
|
|
8256 | |
|
|
8257 | |
|
|
8258 | |
|
|
8259 | # This can be used to rebuild libtool when needed |
|
|
8260 | LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" |
|
|
8261 | |
|
|
8262 | # Always use our own libtool. |
|
|
8263 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
|
|
8264 | |
|
|
8265 | # Prevent multiple expansion |
|
|
8266 | |
|
|
8267 | |
|
|
8268 | MALLOC_TYPE=S |
|
|
8269 | support_addstrings=no |
|
|
8270 | support_frills=no |
3887 | support_frills=yes |
8271 | support_inheritpixmap=no |
3888 | support_inheritpixmap=yes |
8272 | support_tinting=no |
3889 | support_tinting=yes |
8273 | support_fading=no |
3890 | support_fading=yes |
8274 | support_keepscrolling=no |
3891 | support_keepscrolling=yes |
8275 | support_selectionscrolling=no |
3892 | support_selectionscrolling=yes |
8276 | support_menubar=no |
|
|
8277 | support_mousewheel=no |
3893 | support_mousewheel=yes |
8278 | support_mouseslipwheel=no |
3894 | support_mouseslipwheel=yes |
8279 | support_utmp=no |
|
|
8280 | support_wtmp=no |
|
|
8281 | support_lastlog=no |
|
|
8282 | support_cursor_blink=no |
|
|
8283 | support_text_blink=no |
3895 | support_text_blink=yes |
8284 | support_pointer_blank=no |
3896 | support_pointer_blank=yes |
8285 | support_scroll_rxvt=no |
3897 | support_scroll_rxvt=yes |
8286 | support_scroll_next=no |
3898 | support_scroll_next=yes |
8287 | support_scroll_xterm=no |
3899 | support_scroll_xterm=yes |
8288 | support_scroll_plain=no |
3900 | support_scroll_plain=yes |
8289 | support_xim=no |
3901 | support_xim=yes |
8290 | support_xpm=no |
3902 | support_xpm=yes |
|
|
3903 | support_afterimage=yes |
|
|
3904 | support_afterstep=yes |
8291 | support_xft=no |
3905 | support_xft=yes |
8292 | support_unicode3=no |
3906 | support_unicode3=no |
8293 | support_combining=no |
3907 | support_combining=yes |
8294 | support_8bitctrls=no |
3908 | support_8bitctrls=no |
8295 | support_iso14755=no |
3909 | support_iso14755=yes |
8296 | support_styles=no |
3910 | support_styles=yes |
|
|
3911 | support_perl=yes |
8297 | codesets= |
3912 | codesets=all |
8298 | |
3913 | |
8299 | |
3914 | |
8300 | if test "x$enable_shared" = xyes; then |
3915 | if test "x$enable_shared" = xyes; then |
8301 | |
3916 | |
8302 | cat >>confdefs.h <<\_ACEOF |
3917 | cat >>confdefs.h <<\_ACEOF |
… | |
… | |
8308 | |
3923 | |
8309 | |
3924 | |
8310 | # Check whether --enable-everything or --disable-everything was given. |
3925 | # Check whether --enable-everything or --disable-everything was given. |
8311 | if test "${enable_everything+set}" = set; then |
3926 | if test "${enable_everything+set}" = set; then |
8312 | enableval="$enable_everything" |
3927 | enableval="$enable_everything" |
|
|
3928 | |
|
|
3929 | if test x$enableval = xno; then |
|
|
3930 | support_frills=no |
|
|
3931 | support_inheritpixmap=no |
|
|
3932 | support_tinting=no |
|
|
3933 | support_fading=no |
|
|
3934 | support_keepscrolling=no |
|
|
3935 | support_selectionscrolling=no |
|
|
3936 | support_lastlog=no |
|
|
3937 | support_mousewheel=no |
|
|
3938 | support_mouseslipwheel=no |
|
|
3939 | support_text_blink=no |
|
|
3940 | support_pointer_blank=no |
|
|
3941 | support_scroll_rxvt=no |
|
|
3942 | support_scroll_next=no |
|
|
3943 | support_scroll_xterm=no |
|
|
3944 | support_scroll_plain=no |
|
|
3945 | support_utmp=no |
|
|
3946 | support_wtmp=no |
|
|
3947 | support_xim=no |
|
|
3948 | support_xpm=no |
|
|
3949 | support_afterimage=no |
|
|
3950 | support_afterstep=no |
|
|
3951 | support_xft=no |
|
|
3952 | support_unicode3=no |
|
|
3953 | support_combining=no |
|
|
3954 | support_8bitctrls=no |
|
|
3955 | support_iso14755=no |
|
|
3956 | support_styles=no |
|
|
3957 | support_perl=no |
|
|
3958 | codesets= |
|
|
3959 | fi |
8313 | if test x$enableval = xyes; then |
3960 | if test x$enableval = xyes; then |
8314 | support_24bit=yes |
|
|
8315 | support_frills=yes |
3961 | support_frills=yes |
8316 | support_inheritpixmap=yes |
3962 | support_inheritpixmap=yes |
8317 | support_tinting=yes |
3963 | support_tinting=yes |
8318 | support_fading=yes |
3964 | support_fading=yes |
8319 | support_keepscrolling=yes |
3965 | support_keepscrolling=yes |
8320 | support_selectionscrolling=yes |
3966 | support_selectionscrolling=yes |
8321 | support_lastlog=yes |
3967 | support_lastlog=yes |
8322 | support_menubar=yes |
|
|
8323 | support_mousewheel=yes |
3968 | support_mousewheel=yes |
8324 | support_mouseslipwheel=yes |
3969 | support_mouseslipwheel=yes |
8325 | support_cursor_blink=yes |
|
|
8326 | support_text_blink=yes |
3970 | support_text_blink=yes |
8327 | support_pointer_blank=yes |
3971 | support_pointer_blank=yes |
8328 | support_scroll_rxvt=yes |
3972 | support_scroll_rxvt=yes |
8329 | support_scroll_next=yes |
3973 | support_scroll_next=yes |
8330 | support_scroll_xterm=yes |
3974 | support_scroll_xterm=yes |
8331 | support_scroll_plain=yes |
3975 | support_scroll_plain=yes |
8332 | support_utmp=yes |
3976 | support_utmp=yes |
8333 | support_wtmp=yes |
3977 | support_wtmp=yes |
8334 | support_xim=yes |
3978 | support_xim=yes |
8335 | support_xpm=yes |
3979 | support_xpm=yes |
|
|
3980 | support_afterimage=yes |
|
|
3981 | support_afterstep=yes |
8336 | support_xft=yes |
3982 | support_xft=yes |
8337 | support_unicode3=yes |
3983 | support_unicode3=yes |
8338 | support_combining=yes |
3984 | support_combining=yes |
8339 | #support_8bitctrls=yes |
3985 | #support_8bitctrls=yes |
8340 | support_iso14755=yes |
3986 | support_iso14755=yes |
8341 | support_styles=yes |
3987 | support_styles=yes |
|
|
3988 | support_perl=yes |
8342 | codesets=all |
3989 | codesets=all |
8343 | fi |
3990 | fi |
|
|
3991 | |
8344 | fi; |
3992 | fi; |
8345 | |
3993 | |
8346 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
3994 | # Check whether --enable-unicode3 or --disable-unicode3 was given. |
8347 | if test "${enable_unicode3+set}" = set; then |
3995 | if test "${enable_unicode3+set}" = set; then |
8348 | enableval="$enable_unicode3" |
3996 | enableval="$enable_unicode3" |
… | |
… | |
8373 | if test x$enableval = xyes -o x$enableval = xno; then |
4021 | if test x$enableval = xyes -o x$enableval = xno; then |
8374 | support_styles=$enableval |
4022 | support_styles=$enableval |
8375 | fi |
4023 | fi |
8376 | fi; |
4024 | fi; |
8377 | |
4025 | |
8378 | # Check whether --enable-utmp or --disable-utmp was given. |
|
|
8379 | if test "${enable_utmp+set}" = set; then |
|
|
8380 | enableval="$enable_utmp" |
|
|
8381 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8382 | support_utmp=$enableval |
|
|
8383 | fi |
|
|
8384 | fi; |
|
|
8385 | |
|
|
8386 | # Check whether --enable-wtmp or --disable-wtmp was given. |
|
|
8387 | if test "${enable_wtmp+set}" = set; then |
|
|
8388 | enableval="$enable_wtmp" |
|
|
8389 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8390 | support_wtmp=$enableval |
|
|
8391 | fi |
|
|
8392 | fi; |
|
|
8393 | |
|
|
8394 | # Check whether --enable-lastlog or --disable-lastlog was given. |
|
|
8395 | if test "${enable_lastlog+set}" = set; then |
|
|
8396 | enableval="$enable_lastlog" |
|
|
8397 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8398 | support_lastlog=$enableval |
|
|
8399 | fi |
|
|
8400 | fi; |
|
|
8401 | |
|
|
8402 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
4026 | # Check whether --enable-xpm-background or --disable-xpm-background was given. |
8403 | if test "${enable_xpm_background+set}" = set; then |
4027 | if test "${enable_xpm_background+set}" = set; then |
8404 | enableval="$enable_xpm_background" |
4028 | enableval="$enable_xpm_background" |
8405 | if test x$enableval = xyes -o x$enableval = xno; then |
4029 | if test x$enableval = xyes -o x$enableval = xno; then |
8406 | support_xpm=$enableval |
4030 | support_xpm=$enableval |
8407 | fi |
4031 | fi |
8408 | fi; |
4032 | fi; |
8409 | |
4033 | |
|
|
4034 | # Check whether --enable-afterimage or --disable-afterimage was given. |
|
|
4035 | if test "${enable_afterimage+set}" = set; then |
|
|
4036 | enableval="$enable_afterimage" |
|
|
4037 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4038 | support_afterimage=$enableval |
|
|
4039 | fi |
|
|
4040 | fi; |
|
|
4041 | |
|
|
4042 | |
|
|
4043 | # Check whether --with-afterimage_config or --without-afterimage_config was given. |
|
|
4044 | if test "${with_afterimage_config+set}" = set; then |
|
|
4045 | withval="$with_afterimage_config" |
|
|
4046 | if test "x$withval" != x; then |
|
|
4047 | afterimage_config=$withval/afterimage-config |
|
|
4048 | fi |
|
|
4049 | fi; |
|
|
4050 | |
|
|
4051 | # Check whether --enable-afterstep or --disable-afterstep was given. |
|
|
4052 | if test "${enable_afterstep+set}" = set; then |
|
|
4053 | enableval="$enable_afterstep" |
|
|
4054 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4055 | support_afterstep=$enableval |
|
|
4056 | fi |
|
|
4057 | fi; |
|
|
4058 | |
8410 | # Check whether --enable-transparency or --disable-transparency was given. |
4059 | # Check whether --enable-transparency or --disable-transparency was given. |
8411 | if test "${enable_transparency+set}" = set; then |
4060 | if test "${enable_transparency+set}" = set; then |
8412 | enableval="$enable_transparency" |
4061 | enableval="$enable_transparency" |
8413 | if test x$enableval = xyes -o x$enableval = xno; then |
4062 | if test x$enableval = xyes -o x$enableval = xno; then |
8414 | support_inheritpixmap=$enableval |
4063 | support_inheritpixmap=$enableval |
… | |
… | |
8429 | if test x$enableval = xyes -o x$enableval = xno; then |
4078 | if test x$enableval = xyes -o x$enableval = xno; then |
8430 | support_fading=$enableval |
4079 | support_fading=$enableval |
8431 | fi |
4080 | fi |
8432 | fi; |
4081 | fi; |
8433 | |
4082 | |
8434 | # Check whether --enable-menubar or --disable-menubar was given. |
|
|
8435 | if test "${enable_menubar+set}" = set; then |
|
|
8436 | enableval="$enable_menubar" |
|
|
8437 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8438 | support_menubar=$enableval |
|
|
8439 | fi |
|
|
8440 | fi; |
|
|
8441 | |
|
|
8442 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
4083 | # Check whether --enable-rxvt-scroll or --disable-rxvt-scroll was given. |
8443 | if test "${enable_rxvt_scroll+set}" = set; then |
4084 | if test "${enable_rxvt_scroll+set}" = set; then |
8444 | enableval="$enable_rxvt_scroll" |
4085 | enableval="$enable_rxvt_scroll" |
8445 | if test x$enableval = xyes -o x$enableval = xno; then |
4086 | if test x$enableval = xyes -o x$enableval = xno; then |
8446 | support_scroll_rxvt=$enableval |
4087 | support_scroll_rxvt=$enableval |
… | |
… | |
8461 | if test x$enableval = xyes -o x$enableval = xno; then |
4102 | if test x$enableval = xyes -o x$enableval = xno; then |
8462 | support_scroll_xterm=$enableval |
4103 | support_scroll_xterm=$enableval |
8463 | fi |
4104 | fi |
8464 | fi; |
4105 | fi; |
8465 | |
4106 | |
|
|
4107 | # Check whether --enable-perl or --disable-perl was given. |
|
|
4108 | if test "${enable_perl+set}" = set; then |
|
|
4109 | enableval="$enable_perl" |
|
|
4110 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4111 | support_perl=$enableval |
|
|
4112 | fi |
|
|
4113 | fi; |
|
|
4114 | |
8466 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
4115 | # Check whether --enable-plain-scroll or --disable-plain-scroll was given. |
8467 | if test "${enable_plain_scroll+set}" = set; then |
4116 | if test "${enable_plain_scroll+set}" = set; then |
8468 | enableval="$enable_plain_scroll" |
4117 | enableval="$enable_plain_scroll" |
8469 | if test x$enableval = xyes -o x$enableval = xno; then |
4118 | if test x$enableval = xyes -o x$enableval = xno; then |
8470 | support_scroll_plain=$enableval |
4119 | support_scroll_plain=$enableval |
8471 | fi |
4120 | fi |
8472 | fi; |
4121 | fi; |
8473 | |
4122 | |
8474 | # Check whether --enable-half-shadow or --disable-half-shadow was given. |
|
|
8475 | if test "${enable_half_shadow+set}" = set; then |
|
|
8476 | enableval="$enable_half_shadow" |
|
|
8477 | if test x$enableval = xyes; then |
|
|
8478 | |
|
|
8479 | cat >>confdefs.h <<\_ACEOF |
|
|
8480 | #define HALFSHADOW 1 |
|
|
8481 | _ACEOF |
|
|
8482 | |
|
|
8483 | fi |
|
|
8484 | fi; |
|
|
8485 | |
|
|
8486 | |
4123 | |
8487 | # Check whether --with-codesets or --without-codesets was given. |
4124 | # Check whether --with-codesets or --without-codesets was given. |
8488 | if test "${with_codesets+set}" = set; then |
4125 | if test "${with_codesets+set}" = set; then |
8489 | withval="$with_codesets" |
4126 | withval="$with_codesets" |
8490 | codesets="$withval" |
4127 | codesets="$withval" |
… | |
… | |
8496 | if test x$enableval = xyes -o x$enableval = xno; then |
4133 | if test x$enableval = xyes -o x$enableval = xno; then |
8497 | support_xim=$enableval |
4134 | support_xim=$enableval |
8498 | fi |
4135 | fi |
8499 | fi; |
4136 | fi; |
8500 | |
4137 | |
8501 | # Check whether --enable-ttygid or --disable-ttygid was given. |
|
|
8502 | if test "${enable_ttygid+set}" = set; then |
|
|
8503 | enableval="$enable_ttygid" |
|
|
8504 | if test x$enableval = xyes; then |
|
|
8505 | |
|
|
8506 | cat >>confdefs.h <<\_ACEOF |
|
|
8507 | #define TTY_GID_SUPPORT 1 |
|
|
8508 | _ACEOF |
|
|
8509 | |
|
|
8510 | fi |
|
|
8511 | fi; |
|
|
8512 | |
|
|
8513 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
4138 | # Check whether --enable-backspace-key or --disable-backspace-key was given. |
8514 | if test "${enable_backspace_key+set}" = set; then |
4139 | if test "${enable_backspace_key+set}" = set; then |
8515 | enableval="$enable_backspace_key" |
4140 | enableval="$enable_backspace_key" |
8516 | if test x$enableval = xno; then |
4141 | if test x$enableval = xno; then |
8517 | |
4142 | |
… | |
… | |
8539 | enableval="$enable_resources" |
4164 | enableval="$enable_resources" |
8540 | if test x$enableval = xno; then |
4165 | if test x$enableval = xno; then |
8541 | |
4166 | |
8542 | cat >>confdefs.h <<\_ACEOF |
4167 | cat >>confdefs.h <<\_ACEOF |
8543 | #define NO_RESOURCES 1 |
4168 | #define NO_RESOURCES 1 |
8544 | _ACEOF |
|
|
8545 | |
|
|
8546 | fi |
|
|
8547 | fi; |
|
|
8548 | |
|
|
8549 | # Check whether --enable-xgetdefault or --disable-xgetdefault was given. |
|
|
8550 | if test "${enable_xgetdefault+set}" = set; then |
|
|
8551 | enableval="$enable_xgetdefault" |
|
|
8552 | if test x$enableval = xyes; then |
|
|
8553 | |
|
|
8554 | cat >>confdefs.h <<\_ACEOF |
|
|
8555 | #define USE_XGETDEFAULT 1 |
|
|
8556 | _ACEOF |
4169 | _ACEOF |
8557 | |
4170 | |
8558 | fi |
4171 | fi |
8559 | fi; |
4172 | fi; |
8560 | |
4173 | |
… | |
… | |
8625 | |
4238 | |
8626 | |
4239 | |
8627 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
4240 | RXVTNAME=`echo "$RXVTNAME"|sed "$program_transform_name"` |
8628 | |
4241 | |
8629 | |
4242 | |
8630 | # Check whether --enable-strings or --disable-strings was given. |
|
|
8631 | if test "${enable_strings+set}" = set; then |
|
|
8632 | enableval="$enable_strings" |
|
|
8633 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8634 | support_addstrings=$enableval |
|
|
8635 | fi |
|
|
8636 | fi; |
|
|
8637 | |
|
|
8638 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
4243 | # Check whether --enable-swapscreen or --disable-swapscreen was given. |
8639 | if test "${enable_swapscreen+set}" = set; then |
4244 | if test "${enable_swapscreen+set}" = set; then |
8640 | enableval="$enable_swapscreen" |
4245 | enableval="$enable_swapscreen" |
8641 | if test x$enableval = xno; then |
4246 | if test x$enableval = xno; then |
8642 | |
4247 | |
… | |
… | |
8661 | if test x$enableval = xyes -o x$enableval = xno; then |
4266 | if test x$enableval = xyes -o x$enableval = xno; then |
8662 | support_frills=$enableval |
4267 | support_frills=$enableval |
8663 | fi |
4268 | fi |
8664 | fi; |
4269 | fi; |
8665 | |
4270 | |
8666 | # Check whether --enable-24bit or --disable-24bit was given. |
|
|
8667 | if test "${enable_24bit+set}" = set; then |
|
|
8668 | enableval="$enable_24bit" |
|
|
8669 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8670 | support_24bit=$enableval |
|
|
8671 | fi |
|
|
8672 | fi; |
|
|
8673 | |
|
|
8674 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
4271 | # Check whether --enable-keepscrolling or --disable-keepscrolling was given. |
8675 | if test "${enable_keepscrolling+set}" = set; then |
4272 | if test "${enable_keepscrolling+set}" = set; then |
8676 | enableval="$enable_keepscrolling" |
4273 | enableval="$enable_keepscrolling" |
8677 | if test x$enableval = xyes -o x$enableval = xno; then |
4274 | if test x$enableval = xyes -o x$enableval = xno; then |
8678 | support_keepscrolling=$enableval |
4275 | support_keepscrolling=$enableval |
… | |
… | |
8701 | if test x$enableval = xyes -o x$enableval = xno; then |
4298 | if test x$enableval = xyes -o x$enableval = xno; then |
8702 | support_mouseslipwheel=$enableval |
4299 | support_mouseslipwheel=$enableval |
8703 | fi |
4300 | fi |
8704 | fi; |
4301 | fi; |
8705 | |
4302 | |
8706 | # Check whether --enable-dmalloc or --disable-dmalloc was given. |
|
|
8707 | if test "${enable_dmalloc+set}" = set; then |
|
|
8708 | enableval="$enable_dmalloc" |
|
|
8709 | if test x$enableval = xyes; then |
|
|
8710 | MALLOC_TYPE=G |
|
|
8711 | DEBUG=-DDEBUG_MALLOC |
|
|
8712 | DLIB="-L/usr/local/lib -ldmalloc" |
|
|
8713 | DINCLUDE=-I/usr/local/include |
|
|
8714 | fi |
|
|
8715 | fi; |
|
|
8716 | |
|
|
8717 | # Check whether --enable-dlmalloc or --disable-dlmalloc was given. |
|
|
8718 | if test "${enable_dlmalloc+set}" = set; then |
|
|
8719 | enableval="$enable_dlmalloc" |
|
|
8720 | if test x$enableval = xyes; then |
|
|
8721 | MALLOC_TYPE=D |
|
|
8722 | DEBUG= |
|
|
8723 | DLIB="-L/usr/local/lib -ldlmalloc" |
|
|
8724 | DINCLUDE= |
|
|
8725 | fi |
|
|
8726 | fi; |
|
|
8727 | |
|
|
8728 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
4303 | # Check whether --enable-smart-resize or --disable-smart-resize was given. |
8729 | if test "${enable_smart_resize+set}" = set; then |
4304 | if test "${enable_smart_resize+set}" = set; then |
8730 | enableval="$enable_smart_resize" |
4305 | enableval="$enable_smart_resize" |
8731 | if test x$enableval = xyes; then |
4306 | if test x$enableval = xyes; then |
8732 | |
4307 | |
8733 | cat >>confdefs.h <<\_ACEOF |
4308 | cat >>confdefs.h <<\_ACEOF |
8734 | #define SMART_RESIZE 1 |
4309 | #define SMART_RESIZE 1 |
8735 | _ACEOF |
4310 | _ACEOF |
8736 | |
4311 | |
8737 | fi |
|
|
8738 | fi; |
|
|
8739 | |
|
|
8740 | # Check whether --enable-cursor-blink or --disable-cursor-blink was given. |
|
|
8741 | if test "${enable_cursor_blink+set}" = set; then |
|
|
8742 | enableval="$enable_cursor_blink" |
|
|
8743 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
8744 | support_cursor_blink=$enableval |
|
|
8745 | fi |
4312 | fi |
8746 | fi; |
4313 | fi; |
8747 | |
4314 | |
8748 | # Check whether --enable-text-blink or --disable-text-blink was given. |
4315 | # Check whether --enable-text-blink or --disable-text-blink was given. |
8749 | if test "${enable_text_blink+set}" = set; then |
4316 | if test "${enable_text_blink+set}" = set; then |
… | |
… | |
8785 | _ACEOF |
4352 | _ACEOF |
8786 | terminfo="$withval" |
4353 | terminfo="$withval" |
8787 | fi |
4354 | fi |
8788 | fi; |
4355 | fi; |
8789 | |
4356 | |
8790 | |
|
|
8791 | |
|
|
8792 | cat >>confdefs.h <<\_ACEOF |
|
|
8793 | #define PROTOTYPES 1 |
|
|
8794 | _ACEOF |
|
|
8795 | |
|
|
8796 | |
|
|
8797 | # Extract the first word of "mv", so it can be a program name with args. |
|
|
8798 | set dummy mv; ac_word=$2 |
|
|
8799 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
8800 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
8801 | if test "${ac_cv_path_MV+set}" = set; then |
|
|
8802 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8803 | else |
|
|
8804 | case $MV in |
|
|
8805 | [\\/]* | ?:[\\/]*) |
|
|
8806 | ac_cv_path_MV="$MV" # Let the user override the test with a path. |
|
|
8807 | ;; |
|
|
8808 | *) |
|
|
8809 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8810 | for as_dir in $PATH |
|
|
8811 | do |
|
|
8812 | IFS=$as_save_IFS |
|
|
8813 | test -z "$as_dir" && as_dir=. |
|
|
8814 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8815 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
8816 | ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" |
|
|
8817 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8818 | break 2 |
|
|
8819 | fi |
|
|
8820 | done |
|
|
8821 | done |
|
|
8822 | |
|
|
8823 | test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv" |
|
|
8824 | ;; |
|
|
8825 | esac |
|
|
8826 | fi |
|
|
8827 | MV=$ac_cv_path_MV |
|
|
8828 | |
|
|
8829 | if test -n "$MV"; then |
|
|
8830 | echo "$as_me:$LINENO: result: $MV" >&5 |
|
|
8831 | echo "${ECHO_T}$MV" >&6 |
|
|
8832 | else |
|
|
8833 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
8834 | echo "${ECHO_T}no" >&6 |
|
|
8835 | fi |
|
|
8836 | |
|
|
8837 | # Extract the first word of "rm", so it can be a program name with args. |
|
|
8838 | set dummy rm; ac_word=$2 |
|
|
8839 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
8840 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
8841 | if test "${ac_cv_path_RM+set}" = set; then |
|
|
8842 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8843 | else |
|
|
8844 | case $RM in |
|
|
8845 | [\\/]* | ?:[\\/]*) |
|
|
8846 | ac_cv_path_RM="$RM" # Let the user override the test with a path. |
|
|
8847 | ;; |
|
|
8848 | *) |
|
|
8849 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8850 | for as_dir in $PATH |
|
|
8851 | do |
|
|
8852 | IFS=$as_save_IFS |
|
|
8853 | test -z "$as_dir" && as_dir=. |
|
|
8854 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8855 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
8856 | ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" |
|
|
8857 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8858 | break 2 |
|
|
8859 | fi |
|
|
8860 | done |
|
|
8861 | done |
|
|
8862 | |
|
|
8863 | test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm" |
|
|
8864 | ;; |
|
|
8865 | esac |
|
|
8866 | fi |
|
|
8867 | RM=$ac_cv_path_RM |
|
|
8868 | |
|
|
8869 | if test -n "$RM"; then |
|
|
8870 | echo "$as_me:$LINENO: result: $RM" >&5 |
|
|
8871 | echo "${ECHO_T}$RM" >&6 |
|
|
8872 | else |
|
|
8873 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
8874 | echo "${ECHO_T}no" >&6 |
|
|
8875 | fi |
|
|
8876 | |
|
|
8877 | # Extract the first word of "cp", so it can be a program name with args. |
|
|
8878 | set dummy cp; ac_word=$2 |
|
|
8879 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
8880 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
8881 | if test "${ac_cv_path_CP+set}" = set; then |
|
|
8882 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8883 | else |
|
|
8884 | case $CP in |
|
|
8885 | [\\/]* | ?:[\\/]*) |
|
|
8886 | ac_cv_path_CP="$CP" # Let the user override the test with a path. |
|
|
8887 | ;; |
|
|
8888 | *) |
|
|
8889 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8890 | for as_dir in $PATH |
|
|
8891 | do |
|
|
8892 | IFS=$as_save_IFS |
|
|
8893 | test -z "$as_dir" && as_dir=. |
|
|
8894 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8895 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
8896 | ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" |
|
|
8897 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8898 | break 2 |
|
|
8899 | fi |
|
|
8900 | done |
|
|
8901 | done |
|
|
8902 | |
|
|
8903 | test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp" |
|
|
8904 | ;; |
|
|
8905 | esac |
|
|
8906 | fi |
|
|
8907 | CP=$ac_cv_path_CP |
|
|
8908 | |
|
|
8909 | if test -n "$CP"; then |
|
|
8910 | echo "$as_me:$LINENO: result: $CP" >&5 |
|
|
8911 | echo "${ECHO_T}$CP" >&6 |
|
|
8912 | else |
|
|
8913 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
8914 | echo "${ECHO_T}no" >&6 |
|
|
8915 | fi |
|
|
8916 | |
|
|
8917 | # Extract the first word of "ln", so it can be a program name with args. |
|
|
8918 | set dummy ln; ac_word=$2 |
|
|
8919 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
8920 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
8921 | if test "${ac_cv_path_LN+set}" = set; then |
|
|
8922 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8923 | else |
|
|
8924 | case $LN in |
|
|
8925 | [\\/]* | ?:[\\/]*) |
|
|
8926 | ac_cv_path_LN="$LN" # Let the user override the test with a path. |
|
|
8927 | ;; |
|
|
8928 | *) |
|
|
8929 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8930 | for as_dir in $PATH |
|
|
8931 | do |
|
|
8932 | IFS=$as_save_IFS |
|
|
8933 | test -z "$as_dir" && as_dir=. |
|
|
8934 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8935 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
8936 | ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext" |
|
|
8937 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8938 | break 2 |
|
|
8939 | fi |
|
|
8940 | done |
|
|
8941 | done |
|
|
8942 | |
|
|
8943 | test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln" |
|
|
8944 | ;; |
|
|
8945 | esac |
|
|
8946 | fi |
|
|
8947 | LN=$ac_cv_path_LN |
|
|
8948 | |
|
|
8949 | if test -n "$LN"; then |
|
|
8950 | echo "$as_me:$LINENO: result: $LN" >&5 |
|
|
8951 | echo "${ECHO_T}$LN" >&6 |
|
|
8952 | else |
|
|
8953 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
8954 | echo "${ECHO_T}no" >&6 |
|
|
8955 | fi |
|
|
8956 | |
|
|
8957 | # Extract the first word of "sed", so it can be a program name with args. |
|
|
8958 | set dummy sed; ac_word=$2 |
|
|
8959 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
8960 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
8961 | if test "${ac_cv_path_SED+set}" = set; then |
|
|
8962 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8963 | else |
|
|
8964 | case $SED in |
|
|
8965 | [\\/]* | ?:[\\/]*) |
|
|
8966 | ac_cv_path_SED="$SED" # Let the user override the test with a path. |
|
|
8967 | ;; |
|
|
8968 | *) |
|
|
8969 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
8970 | for as_dir in $PATH |
|
|
8971 | do |
|
|
8972 | IFS=$as_save_IFS |
|
|
8973 | test -z "$as_dir" && as_dir=. |
|
|
8974 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
8975 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
8976 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" |
|
|
8977 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
8978 | break 2 |
|
|
8979 | fi |
|
|
8980 | done |
|
|
8981 | done |
|
|
8982 | |
|
|
8983 | test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed" |
|
|
8984 | ;; |
|
|
8985 | esac |
|
|
8986 | fi |
|
|
8987 | SED=$ac_cv_path_SED |
|
|
8988 | |
|
|
8989 | if test -n "$SED"; then |
|
|
8990 | echo "$as_me:$LINENO: result: $SED" >&5 |
|
|
8991 | echo "${ECHO_T}$SED" >&6 |
|
|
8992 | else |
|
|
8993 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
8994 | echo "${ECHO_T}no" >&6 |
|
|
8995 | fi |
|
|
8996 | |
|
|
8997 | # Extract the first word of "echo", so it can be a program name with args. |
|
|
8998 | set dummy echo; ac_word=$2 |
|
|
8999 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
9000 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
9001 | if test "${ac_cv_path_ECHO+set}" = set; then |
|
|
9002 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9003 | else |
|
|
9004 | case $ECHO in |
|
|
9005 | [\\/]* | ?:[\\/]*) |
|
|
9006 | ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. |
|
|
9007 | ;; |
|
|
9008 | *) |
|
|
9009 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
9010 | for as_dir in $PATH |
|
|
9011 | do |
|
|
9012 | IFS=$as_save_IFS |
|
|
9013 | test -z "$as_dir" && as_dir=. |
|
|
9014 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
9015 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
9016 | ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" |
|
|
9017 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
9018 | break 2 |
|
|
9019 | fi |
|
|
9020 | done |
|
|
9021 | done |
|
|
9022 | |
|
|
9023 | test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo" |
|
|
9024 | ;; |
|
|
9025 | esac |
|
|
9026 | fi |
|
|
9027 | ECHO=$ac_cv_path_ECHO |
|
|
9028 | |
|
|
9029 | if test -n "$ECHO"; then |
|
|
9030 | echo "$as_me:$LINENO: result: $ECHO" >&5 |
|
|
9031 | echo "${ECHO_T}$ECHO" >&6 |
|
|
9032 | else |
|
|
9033 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
9034 | echo "${ECHO_T}no" >&6 |
|
|
9035 | fi |
|
|
9036 | |
|
|
9037 | # Extract the first word of "cmp", so it can be a program name with args. |
|
|
9038 | set dummy cmp; ac_word=$2 |
|
|
9039 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
9040 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
9041 | if test "${ac_cv_path_CMP+set}" = set; then |
|
|
9042 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9043 | else |
|
|
9044 | case $CMP in |
|
|
9045 | [\\/]* | ?:[\\/]*) |
|
|
9046 | ac_cv_path_CMP="$CMP" # Let the user override the test with a path. |
|
|
9047 | ;; |
|
|
9048 | *) |
|
|
9049 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
9050 | for as_dir in $PATH |
|
|
9051 | do |
|
|
9052 | IFS=$as_save_IFS |
|
|
9053 | test -z "$as_dir" && as_dir=. |
|
|
9054 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
9055 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
9056 | ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext" |
|
|
9057 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
9058 | break 2 |
|
|
9059 | fi |
|
|
9060 | done |
|
|
9061 | done |
|
|
9062 | |
|
|
9063 | test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp" |
|
|
9064 | ;; |
|
|
9065 | esac |
|
|
9066 | fi |
|
|
9067 | CMP=$ac_cv_path_CMP |
|
|
9068 | |
|
|
9069 | if test -n "$CMP"; then |
|
|
9070 | echo "$as_me:$LINENO: result: $CMP" >&5 |
|
|
9071 | echo "${ECHO_T}$CMP" >&6 |
|
|
9072 | else |
|
|
9073 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
9074 | echo "${ECHO_T}no" >&6 |
|
|
9075 | fi |
|
|
9076 | |
|
|
9077 | # Extract the first word of "tbl", so it can be a program name with args. |
|
|
9078 | set dummy tbl; ac_word=$2 |
|
|
9079 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
9080 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
9081 | if test "${ac_cv_path_TBL+set}" = set; then |
|
|
9082 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9083 | else |
|
|
9084 | case $TBL in |
|
|
9085 | [\\/]* | ?:[\\/]*) |
|
|
9086 | ac_cv_path_TBL="$TBL" # Let the user override the test with a path. |
|
|
9087 | ;; |
|
|
9088 | *) |
|
|
9089 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
9090 | for as_dir in $PATH |
|
|
9091 | do |
|
|
9092 | IFS=$as_save_IFS |
|
|
9093 | test -z "$as_dir" && as_dir=. |
|
|
9094 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
9095 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
9096 | ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext" |
|
|
9097 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
9098 | break 2 |
|
|
9099 | fi |
|
|
9100 | done |
|
|
9101 | done |
|
|
9102 | |
|
|
9103 | ;; |
|
|
9104 | esac |
|
|
9105 | fi |
|
|
9106 | TBL=$ac_cv_path_TBL |
|
|
9107 | |
|
|
9108 | if test -n "$TBL"; then |
|
|
9109 | echo "$as_me:$LINENO: result: $TBL" >&5 |
|
|
9110 | echo "${ECHO_T}$TBL" >&6 |
|
|
9111 | else |
|
|
9112 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
9113 | echo "${ECHO_T}no" >&6 |
|
|
9114 | fi |
|
|
9115 | |
4357 | |
9116 | # Extract the first word of "tic", so it can be a program name with args. |
4358 | # Extract the first word of "tic", so it can be a program name with args. |
9117 | set dummy tic; ac_word=$2 |
4359 | set dummy tic; ac_word=$2 |
9118 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4360 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9119 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
4361 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
… | |
… | |
9153 | fi |
4395 | fi |
9154 | |
4396 | |
9155 | |
4397 | |
9156 | |
4398 | |
9157 | |
4399 | |
|
|
4400 | ac_ext=cc |
|
|
4401 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4402 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4403 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4404 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4405 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4406 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
|
|
4407 | if test -z "$CXXCPP"; then |
|
|
4408 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4409 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4410 | else |
|
|
4411 | # Double quotes because CXXCPP needs to be expanded |
|
|
4412 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4413 | do |
|
|
4414 | ac_preproc_ok=false |
|
|
4415 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4416 | do |
|
|
4417 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4418 | # with a fresh cross-compiler works. |
|
|
4419 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4420 | # <limits.h> exists even on freestanding compilers. |
|
|
4421 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4422 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4423 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4424 | /* confdefs.h. */ |
|
|
4425 | _ACEOF |
|
|
4426 | cat confdefs.h >>conftest.$ac_ext |
|
|
4427 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4428 | /* end confdefs.h. */ |
|
|
4429 | #ifdef __STDC__ |
|
|
4430 | # include <limits.h> |
|
|
4431 | #else |
|
|
4432 | # include <assert.h> |
|
|
4433 | #endif |
|
|
4434 | Syntax error |
|
|
4435 | _ACEOF |
|
|
4436 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4437 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4438 | ac_status=$? |
|
|
4439 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4440 | rm -f conftest.er1 |
|
|
4441 | cat conftest.err >&5 |
|
|
4442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4443 | (exit $ac_status); } >/dev/null; then |
|
|
4444 | if test -s conftest.err; then |
|
|
4445 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4446 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4447 | else |
|
|
4448 | ac_cpp_err= |
|
|
4449 | fi |
|
|
4450 | else |
|
|
4451 | ac_cpp_err=yes |
|
|
4452 | fi |
|
|
4453 | if test -z "$ac_cpp_err"; then |
|
|
4454 | : |
|
|
4455 | else |
|
|
4456 | echo "$as_me: failed program was:" >&5 |
|
|
4457 | sed 's/^/| /' conftest.$ac_ext >&5 |
9158 | |
4458 | |
9159 | if test "x$ac_path_x_has_been_run" != xyes; then |
4459 | # Broken: fails on valid input. |
|
|
4460 | continue |
|
|
4461 | fi |
|
|
4462 | rm -f conftest.err conftest.$ac_ext |
|
|
4463 | |
|
|
4464 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
4465 | # can be detected and how. |
|
|
4466 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4467 | /* confdefs.h. */ |
|
|
4468 | _ACEOF |
|
|
4469 | cat confdefs.h >>conftest.$ac_ext |
|
|
4470 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4471 | /* end confdefs.h. */ |
|
|
4472 | #include <ac_nonexistent.h> |
|
|
4473 | _ACEOF |
|
|
4474 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4475 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4476 | ac_status=$? |
|
|
4477 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4478 | rm -f conftest.er1 |
|
|
4479 | cat conftest.err >&5 |
|
|
4480 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4481 | (exit $ac_status); } >/dev/null; then |
|
|
4482 | if test -s conftest.err; then |
|
|
4483 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4484 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4485 | else |
|
|
4486 | ac_cpp_err= |
|
|
4487 | fi |
|
|
4488 | else |
|
|
4489 | ac_cpp_err=yes |
|
|
4490 | fi |
|
|
4491 | if test -z "$ac_cpp_err"; then |
|
|
4492 | # Broken: success on invalid input. |
|
|
4493 | continue |
|
|
4494 | else |
|
|
4495 | echo "$as_me: failed program was:" >&5 |
|
|
4496 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4497 | |
|
|
4498 | # Passes both tests. |
|
|
4499 | ac_preproc_ok=: |
|
|
4500 | break |
|
|
4501 | fi |
|
|
4502 | rm -f conftest.err conftest.$ac_ext |
|
|
4503 | |
|
|
4504 | done |
|
|
4505 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4506 | rm -f conftest.err conftest.$ac_ext |
|
|
4507 | if $ac_preproc_ok; then |
|
|
4508 | break |
|
|
4509 | fi |
|
|
4510 | |
|
|
4511 | done |
|
|
4512 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4513 | |
|
|
4514 | fi |
|
|
4515 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
4516 | else |
|
|
4517 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4518 | fi |
|
|
4519 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
4520 | echo "${ECHO_T}$CXXCPP" >&6 |
|
|
4521 | ac_preproc_ok=false |
|
|
4522 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4523 | do |
|
|
4524 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4525 | # with a fresh cross-compiler works. |
|
|
4526 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4527 | # <limits.h> exists even on freestanding compilers. |
|
|
4528 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4529 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4530 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4531 | /* confdefs.h. */ |
|
|
4532 | _ACEOF |
|
|
4533 | cat confdefs.h >>conftest.$ac_ext |
|
|
4534 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4535 | /* end confdefs.h. */ |
|
|
4536 | #ifdef __STDC__ |
|
|
4537 | # include <limits.h> |
|
|
4538 | #else |
|
|
4539 | # include <assert.h> |
|
|
4540 | #endif |
|
|
4541 | Syntax error |
|
|
4542 | _ACEOF |
|
|
4543 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4544 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4545 | ac_status=$? |
|
|
4546 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4547 | rm -f conftest.er1 |
|
|
4548 | cat conftest.err >&5 |
|
|
4549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4550 | (exit $ac_status); } >/dev/null; then |
|
|
4551 | if test -s conftest.err; then |
|
|
4552 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4553 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4554 | else |
|
|
4555 | ac_cpp_err= |
|
|
4556 | fi |
|
|
4557 | else |
|
|
4558 | ac_cpp_err=yes |
|
|
4559 | fi |
|
|
4560 | if test -z "$ac_cpp_err"; then |
|
|
4561 | : |
|
|
4562 | else |
|
|
4563 | echo "$as_me: failed program was:" >&5 |
|
|
4564 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4565 | |
|
|
4566 | # Broken: fails on valid input. |
|
|
4567 | continue |
|
|
4568 | fi |
|
|
4569 | rm -f conftest.err conftest.$ac_ext |
|
|
4570 | |
|
|
4571 | # OK, works on sane cases. Now check whether non-existent headers |
|
|
4572 | # can be detected and how. |
|
|
4573 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4574 | /* confdefs.h. */ |
|
|
4575 | _ACEOF |
|
|
4576 | cat confdefs.h >>conftest.$ac_ext |
|
|
4577 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4578 | /* end confdefs.h. */ |
|
|
4579 | #include <ac_nonexistent.h> |
|
|
4580 | _ACEOF |
|
|
4581 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
4582 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
4583 | ac_status=$? |
|
|
4584 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4585 | rm -f conftest.er1 |
|
|
4586 | cat conftest.err >&5 |
|
|
4587 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4588 | (exit $ac_status); } >/dev/null; then |
|
|
4589 | if test -s conftest.err; then |
|
|
4590 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
4591 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
4592 | else |
|
|
4593 | ac_cpp_err= |
|
|
4594 | fi |
|
|
4595 | else |
|
|
4596 | ac_cpp_err=yes |
|
|
4597 | fi |
|
|
4598 | if test -z "$ac_cpp_err"; then |
|
|
4599 | # Broken: success on invalid input. |
|
|
4600 | continue |
|
|
4601 | else |
|
|
4602 | echo "$as_me: failed program was:" >&5 |
|
|
4603 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4604 | |
|
|
4605 | # Passes both tests. |
|
|
4606 | ac_preproc_ok=: |
|
|
4607 | break |
|
|
4608 | fi |
|
|
4609 | rm -f conftest.err conftest.$ac_ext |
|
|
4610 | |
|
|
4611 | done |
|
|
4612 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4613 | rm -f conftest.err conftest.$ac_ext |
|
|
4614 | if $ac_preproc_ok; then |
|
|
4615 | : |
|
|
4616 | else |
|
|
4617 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
4618 | See \`config.log' for more details." >&5 |
|
|
4619 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
4620 | See \`config.log' for more details." >&2;} |
|
|
4621 | { (exit 1); exit 1; }; } |
|
|
4622 | fi |
|
|
4623 | |
|
|
4624 | ac_ext=cc |
|
|
4625 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4626 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4627 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4628 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4629 | |
|
|
4630 | |
9160 | echo "$as_me:$LINENO: checking for X" >&5 |
4631 | echo "$as_me:$LINENO: checking for X" >&5 |
9161 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
4632 | echo $ECHO_N "checking for X... $ECHO_C" >&6 |
9162 | |
4633 | |
9163 | ac_path_x_has_been_run=yes |
|
|
9164 | |
4634 | |
9165 | # Check whether --with-x or --without-x was given. |
4635 | # Check whether --with-x or --without-x was given. |
9166 | if test "${with_x+set}" = set; then |
4636 | if test "${with_x+set}" = set; then |
9167 | withval="$with_x" |
4637 | withval="$with_x" |
9168 | |
4638 | |
… | |
… | |
9251 | |
4721 | |
9252 | /usr/openwin/include |
4722 | /usr/openwin/include |
9253 | /usr/openwin/share/include' |
4723 | /usr/openwin/share/include' |
9254 | |
4724 | |
9255 | if test "$ac_x_includes" = no; then |
4725 | if test "$ac_x_includes" = no; then |
9256 | # Guess where to find include files, by looking for a specified header file. |
4726 | # Guess where to find include files, by looking for Intrinsic.h. |
9257 | # First, try using that file with no special directory specified. |
4727 | # First, try using that file with no special directory specified. |
9258 | cat >conftest.$ac_ext <<_ACEOF |
4728 | cat >conftest.$ac_ext <<_ACEOF |
9259 | /* confdefs.h. */ |
4729 | /* confdefs.h. */ |
9260 | _ACEOF |
4730 | _ACEOF |
9261 | cat confdefs.h >>conftest.$ac_ext |
4731 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
9325 | grep -v '^ *+' conftest.er1 >conftest.err |
4795 | grep -v '^ *+' conftest.er1 >conftest.err |
9326 | rm -f conftest.er1 |
4796 | rm -f conftest.er1 |
9327 | cat conftest.err >&5 |
4797 | cat conftest.err >&5 |
9328 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9329 | (exit $ac_status); } && |
4799 | (exit $ac_status); } && |
9330 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4800 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4801 | || test ! -s conftest.err' |
9331 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4802 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9332 | (eval $ac_try) 2>&5 |
4803 | (eval $ac_try) 2>&5 |
9333 | ac_status=$? |
4804 | ac_status=$? |
9334 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4805 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9335 | (exit $ac_status); }; } && |
4806 | (exit $ac_status); }; } && |
… | |
… | |
9385 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
4856 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
9386 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
4857 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
9387 | # Update the cache value to reflect the command line values. |
4858 | # Update the cache value to reflect the command line values. |
9388 | ac_cv_have_x="have_x=yes \ |
4859 | ac_cv_have_x="have_x=yes \ |
9389 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
4860 | ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
9390 | # It might be that x_includes is empty (headers are found in the |
|
|
9391 | # standard search path. Then output the corresponding message |
|
|
9392 | ac_out_x_includes=$x_includes |
|
|
9393 | test "x$x_includes" = x && ac_out_x_includes="in standard search path" |
|
|
9394 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5 |
4861 | echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
9395 | echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6 |
4862 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
9396 | fi |
4863 | fi |
9397 | |
4864 | |
9398 | fi |
|
|
9399 | if test "$no_x" = yes; then |
4865 | if test "$no_x" = yes; then |
9400 | # Not all programs may use this symbol, but it does not hurt to define it. |
4866 | # Not all programs may use this symbol, but it does not hurt to define it. |
9401 | |
4867 | |
9402 | cat >>confdefs.h <<\_ACEOF |
4868 | cat >>confdefs.h <<\_ACEOF |
9403 | #define X_DISPLAY_MISSING 1 |
4869 | #define X_DISPLAY_MISSING 1 |
… | |
… | |
9441 | grep -v '^ *+' conftest.er1 >conftest.err |
4907 | grep -v '^ *+' conftest.er1 >conftest.err |
9442 | rm -f conftest.er1 |
4908 | rm -f conftest.er1 |
9443 | cat conftest.err >&5 |
4909 | cat conftest.err >&5 |
9444 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9445 | (exit $ac_status); } && |
4911 | (exit $ac_status); } && |
9446 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4912 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4913 | || test ! -s conftest.err' |
9447 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4914 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9448 | (eval $ac_try) 2>&5 |
4915 | (eval $ac_try) 2>&5 |
9449 | ac_status=$? |
4916 | ac_status=$? |
9450 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9451 | (exit $ac_status); }; } && |
4918 | (exit $ac_status); }; } && |
… | |
… | |
9492 | grep -v '^ *+' conftest.er1 >conftest.err |
4959 | grep -v '^ *+' conftest.er1 >conftest.err |
9493 | rm -f conftest.er1 |
4960 | rm -f conftest.er1 |
9494 | cat conftest.err >&5 |
4961 | cat conftest.err >&5 |
9495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9496 | (exit $ac_status); } && |
4963 | (exit $ac_status); } && |
9497 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
4964 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4965 | || test ! -s conftest.err' |
9498 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4966 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9499 | (eval $ac_try) 2>&5 |
4967 | (eval $ac_try) 2>&5 |
9500 | ac_status=$? |
4968 | ac_status=$? |
9501 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9502 | (exit $ac_status); }; } && |
4970 | (exit $ac_status); }; } && |
… | |
… | |
9568 | grep -v '^ *+' conftest.er1 >conftest.err |
5036 | grep -v '^ *+' conftest.er1 >conftest.err |
9569 | rm -f conftest.er1 |
5037 | rm -f conftest.er1 |
9570 | cat conftest.err >&5 |
5038 | cat conftest.err >&5 |
9571 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5039 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9572 | (exit $ac_status); } && |
5040 | (exit $ac_status); } && |
9573 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5041 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5042 | || test ! -s conftest.err' |
9574 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5043 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9575 | (eval $ac_try) 2>&5 |
5044 | (eval $ac_try) 2>&5 |
9576 | ac_status=$? |
5045 | ac_status=$? |
9577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5046 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9578 | (exit $ac_status); }; } && |
5047 | (exit $ac_status); }; } && |
… | |
… | |
9623 | grep -v '^ *+' conftest.er1 >conftest.err |
5092 | grep -v '^ *+' conftest.er1 >conftest.err |
9624 | rm -f conftest.er1 |
5093 | rm -f conftest.er1 |
9625 | cat conftest.err >&5 |
5094 | cat conftest.err >&5 |
9626 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9627 | (exit $ac_status); } && |
5096 | (exit $ac_status); } && |
9628 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5097 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5098 | || test ! -s conftest.err' |
9629 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5099 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9630 | (eval $ac_try) 2>&5 |
5100 | (eval $ac_try) 2>&5 |
9631 | ac_status=$? |
5101 | ac_status=$? |
9632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9633 | (exit $ac_status); }; } && |
5103 | (exit $ac_status); }; } && |
… | |
… | |
9691 | grep -v '^ *+' conftest.er1 >conftest.err |
5161 | grep -v '^ *+' conftest.er1 >conftest.err |
9692 | rm -f conftest.er1 |
5162 | rm -f conftest.er1 |
9693 | cat conftest.err >&5 |
5163 | cat conftest.err >&5 |
9694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9695 | (exit $ac_status); } && |
5165 | (exit $ac_status); } && |
9696 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5166 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5167 | || test ! -s conftest.err' |
9697 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5168 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9698 | (eval $ac_try) 2>&5 |
5169 | (eval $ac_try) 2>&5 |
9699 | ac_status=$? |
5170 | ac_status=$? |
9700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5171 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9701 | (exit $ac_status); }; } && |
5172 | (exit $ac_status); }; } && |
… | |
… | |
9799 | grep -v '^ *+' conftest.er1 >conftest.err |
5270 | grep -v '^ *+' conftest.er1 >conftest.err |
9800 | rm -f conftest.er1 |
5271 | rm -f conftest.er1 |
9801 | cat conftest.err >&5 |
5272 | cat conftest.err >&5 |
9802 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9803 | (exit $ac_status); } && |
5274 | (exit $ac_status); } && |
9804 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5275 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5276 | || test ! -s conftest.err' |
9805 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5277 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9806 | (eval $ac_try) 2>&5 |
5278 | (eval $ac_try) 2>&5 |
9807 | ac_status=$? |
5279 | ac_status=$? |
9808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9809 | (exit $ac_status); }; } && |
5281 | (exit $ac_status); }; } && |
… | |
… | |
9863 | grep -v '^ *+' conftest.er1 >conftest.err |
5335 | grep -v '^ *+' conftest.er1 >conftest.err |
9864 | rm -f conftest.er1 |
5336 | rm -f conftest.er1 |
9865 | cat conftest.err >&5 |
5337 | cat conftest.err >&5 |
9866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9867 | (exit $ac_status); } && |
5339 | (exit $ac_status); } && |
9868 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5340 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5341 | || test ! -s conftest.err' |
9869 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5342 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9870 | (eval $ac_try) 2>&5 |
5343 | (eval $ac_try) 2>&5 |
9871 | ac_status=$? |
5344 | ac_status=$? |
9872 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5345 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9873 | (exit $ac_status); }; } && |
5346 | (exit $ac_status); }; } && |
… | |
… | |
9931 | grep -v '^ *+' conftest.er1 >conftest.err |
5404 | grep -v '^ *+' conftest.er1 >conftest.err |
9932 | rm -f conftest.er1 |
5405 | rm -f conftest.er1 |
9933 | cat conftest.err >&5 |
5406 | cat conftest.err >&5 |
9934 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5407 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9935 | (exit $ac_status); } && |
5408 | (exit $ac_status); } && |
9936 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5409 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5410 | || test ! -s conftest.err' |
9937 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5411 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9938 | (eval $ac_try) 2>&5 |
5412 | (eval $ac_try) 2>&5 |
9939 | ac_status=$? |
5413 | ac_status=$? |
9940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5414 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9941 | (exit $ac_status); }; } && |
5415 | (exit $ac_status); }; } && |
… | |
… | |
10035 | grep -v '^ *+' conftest.er1 >conftest.err |
5509 | grep -v '^ *+' conftest.er1 >conftest.err |
10036 | rm -f conftest.er1 |
5510 | rm -f conftest.er1 |
10037 | cat conftest.err >&5 |
5511 | cat conftest.err >&5 |
10038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10039 | (exit $ac_status); } && |
5513 | (exit $ac_status); } && |
10040 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5514 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5515 | || test ! -s conftest.err' |
10041 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5516 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10042 | (eval $ac_try) 2>&5 |
5517 | (eval $ac_try) 2>&5 |
10043 | ac_status=$? |
5518 | ac_status=$? |
10044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10045 | (exit $ac_status); }; } && |
5520 | (exit $ac_status); }; } && |
… | |
… | |
10099 | grep -v '^ *+' conftest.er1 >conftest.err |
5574 | grep -v '^ *+' conftest.er1 >conftest.err |
10100 | rm -f conftest.er1 |
5575 | rm -f conftest.er1 |
10101 | cat conftest.err >&5 |
5576 | cat conftest.err >&5 |
10102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10103 | (exit $ac_status); } && |
5578 | (exit $ac_status); } && |
10104 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5579 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5580 | || test ! -s conftest.err' |
10105 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5581 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10106 | (eval $ac_try) 2>&5 |
5582 | (eval $ac_try) 2>&5 |
10107 | ac_status=$? |
5583 | ac_status=$? |
10108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10109 | (exit $ac_status); }; } && |
5585 | (exit $ac_status); }; } && |
… | |
… | |
10196 | grep -v '^ *+' conftest.er1 >conftest.err |
5672 | grep -v '^ *+' conftest.er1 >conftest.err |
10197 | rm -f conftest.er1 |
5673 | rm -f conftest.er1 |
10198 | cat conftest.err >&5 |
5674 | cat conftest.err >&5 |
10199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10200 | (exit $ac_status); } && |
5676 | (exit $ac_status); } && |
10201 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5677 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5678 | || test ! -s conftest.err' |
10202 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5679 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10203 | (eval $ac_try) 2>&5 |
5680 | (eval $ac_try) 2>&5 |
10204 | ac_status=$? |
5681 | ac_status=$? |
10205 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5682 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10206 | (exit $ac_status); }; } && |
5683 | (exit $ac_status); }; } && |
… | |
… | |
10260 | grep -v '^ *+' conftest.er1 >conftest.err |
5737 | grep -v '^ *+' conftest.er1 >conftest.err |
10261 | rm -f conftest.er1 |
5738 | rm -f conftest.er1 |
10262 | cat conftest.err >&5 |
5739 | cat conftest.err >&5 |
10263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10264 | (exit $ac_status); } && |
5741 | (exit $ac_status); } && |
10265 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5742 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5743 | || test ! -s conftest.err' |
10266 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5744 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10267 | (eval $ac_try) 2>&5 |
5745 | (eval $ac_try) 2>&5 |
10268 | ac_status=$? |
5746 | ac_status=$? |
10269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5747 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10270 | (exit $ac_status); }; } && |
5748 | (exit $ac_status); }; } && |
… | |
… | |
10357 | grep -v '^ *+' conftest.er1 >conftest.err |
5835 | grep -v '^ *+' conftest.er1 >conftest.err |
10358 | rm -f conftest.er1 |
5836 | rm -f conftest.er1 |
10359 | cat conftest.err >&5 |
5837 | cat conftest.err >&5 |
10360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10361 | (exit $ac_status); } && |
5839 | (exit $ac_status); } && |
10362 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5840 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5841 | || test ! -s conftest.err' |
10363 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5842 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10364 | (eval $ac_try) 2>&5 |
5843 | (eval $ac_try) 2>&5 |
10365 | ac_status=$? |
5844 | ac_status=$? |
10366 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5845 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10367 | (exit $ac_status); }; } && |
5846 | (exit $ac_status); }; } && |
… | |
… | |
10421 | grep -v '^ *+' conftest.er1 >conftest.err |
5900 | grep -v '^ *+' conftest.er1 >conftest.err |
10422 | rm -f conftest.er1 |
5901 | rm -f conftest.er1 |
10423 | cat conftest.err >&5 |
5902 | cat conftest.err >&5 |
10424 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10425 | (exit $ac_status); } && |
5904 | (exit $ac_status); } && |
10426 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5905 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5906 | || test ! -s conftest.err' |
10427 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5907 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10428 | (eval $ac_try) 2>&5 |
5908 | (eval $ac_try) 2>&5 |
10429 | ac_status=$? |
5909 | ac_status=$? |
10430 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10431 | (exit $ac_status); }; } && |
5911 | (exit $ac_status); }; } && |
… | |
… | |
10500 | grep -v '^ *+' conftest.er1 >conftest.err |
5980 | grep -v '^ *+' conftest.er1 >conftest.err |
10501 | rm -f conftest.er1 |
5981 | rm -f conftest.er1 |
10502 | cat conftest.err >&5 |
5982 | cat conftest.err >&5 |
10503 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10504 | (exit $ac_status); } && |
5984 | (exit $ac_status); } && |
10505 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
5985 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
5986 | || test ! -s conftest.err' |
10506 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5987 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10507 | (eval $ac_try) 2>&5 |
5988 | (eval $ac_try) 2>&5 |
10508 | ac_status=$? |
5989 | ac_status=$? |
10509 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5990 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10510 | (exit $ac_status); }; } && |
5991 | (exit $ac_status); }; } && |
… | |
… | |
10535 | |
6016 | |
10536 | fi |
6017 | fi |
10537 | |
6018 | |
10538 | |
6019 | |
10539 | |
6020 | |
|
|
6021 | LIBAFTERIMAGE_CFLAGS= |
|
|
6022 | AFTERIMAGE_LIBS= |
|
|
6023 | have_afterimage= |
|
|
6024 | |
10540 | if test x$support_xpm = xyes; then |
6025 | if test x$support_afterimage = xyes; then |
|
|
6026 | support_afterimage=no |
|
|
6027 | |
|
|
6028 | if test "x$afterimage_config" = "x" ; then |
|
|
6029 | # Extract the first word of "afterimage-config", so it can be a program name with args. |
|
|
6030 | set dummy afterimage-config; ac_word=$2 |
|
|
6031 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
6032 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
6033 | if test "${ac_cv_path_afterimage_config+set}" = set; then |
|
|
6034 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6035 | else |
|
|
6036 | case $afterimage_config in |
|
|
6037 | [\\/]* | ?:[\\/]*) |
|
|
6038 | ac_cv_path_afterimage_config="$afterimage_config" # Let the user override the test with a path. |
|
|
6039 | ;; |
|
|
6040 | *) |
|
|
6041 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
6042 | for as_dir in $PATH |
|
|
6043 | do |
|
|
6044 | IFS=$as_save_IFS |
|
|
6045 | test -z "$as_dir" && as_dir=. |
|
|
6046 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
6047 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
6048 | ac_cv_path_afterimage_config="$as_dir/$ac_word$ac_exec_ext" |
|
|
6049 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
6050 | break 2 |
|
|
6051 | fi |
|
|
6052 | done |
|
|
6053 | done |
|
|
6054 | |
|
|
6055 | test -z "$ac_cv_path_afterimage_config" && ac_cv_path_afterimage_config="no" |
|
|
6056 | ;; |
|
|
6057 | esac |
|
|
6058 | fi |
|
|
6059 | afterimage_config=$ac_cv_path_afterimage_config |
|
|
6060 | |
|
|
6061 | if test -n "$afterimage_config"; then |
|
|
6062 | echo "$as_me:$LINENO: result: $afterimage_config" >&5 |
|
|
6063 | echo "${ECHO_T}$afterimage_config" >&6 |
|
|
6064 | else |
|
|
6065 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
6066 | echo "${ECHO_T}no" >&6 |
|
|
6067 | fi |
|
|
6068 | |
|
|
6069 | fi |
|
|
6070 | |
|
|
6071 | echo "$as_me:$LINENO: checking for libAfterImage" >&5 |
|
|
6072 | echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6 |
|
|
6073 | if $afterimage_config --version >/dev/null 2>&1 ; then |
|
|
6074 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
|
|
6075 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
|
|
6076 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
|
|
6077 | support_afterimage=yes |
|
|
6078 | fi |
|
|
6079 | fi |
|
|
6080 | |
|
|
6081 | if test "x$support_afterimage" = "xyes"; then |
|
|
6082 | echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6083 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6 |
|
|
6084 | else |
|
|
6085 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
6086 | echo "${ECHO_T}no" >&6 |
|
|
6087 | fi |
|
|
6088 | fi |
|
|
6089 | |
|
|
6090 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
10541 | |
6091 | |
10542 | |
6092 | |
10543 | |
6093 | |
10544 | # Initialize some more variables set by options. |
6094 | # Initialize some more variables set by options. |
10545 | # The variables have the same names as the options, with |
6095 | # The variables have the same names as the options, with |
… | |
… | |
10716 | grep -v '^ *+' conftest.er1 >conftest.err |
6266 | grep -v '^ *+' conftest.er1 >conftest.err |
10717 | rm -f conftest.er1 |
6267 | rm -f conftest.er1 |
10718 | cat conftest.err >&5 |
6268 | cat conftest.err >&5 |
10719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10720 | (exit $ac_status); } && |
6270 | (exit $ac_status); } && |
10721 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6271 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6272 | || test ! -s conftest.err' |
10722 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6273 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10723 | (eval $ac_try) 2>&5 |
6274 | (eval $ac_try) 2>&5 |
10724 | ac_status=$? |
6275 | ac_status=$? |
10725 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10726 | (exit $ac_status); }; } && |
6277 | (exit $ac_status); }; } && |
… | |
… | |
10930 | grep -v '^ *+' conftest.er1 >conftest.err |
6481 | grep -v '^ *+' conftest.er1 >conftest.err |
10931 | rm -f conftest.er1 |
6482 | rm -f conftest.er1 |
10932 | cat conftest.err >&5 |
6483 | cat conftest.err >&5 |
10933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10934 | (exit $ac_status); } && |
6485 | (exit $ac_status); } && |
10935 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6486 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6487 | || test ! -s conftest.err' |
10936 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6488 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10937 | (eval $ac_try) 2>&5 |
6489 | (eval $ac_try) 2>&5 |
10938 | ac_status=$? |
6490 | ac_status=$? |
10939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6491 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10940 | (exit $ac_status); }; } && |
6492 | (exit $ac_status); }; } && |
… | |
… | |
10961 | #define HAVE_SYS_WAIT_H 1 |
6513 | #define HAVE_SYS_WAIT_H 1 |
10962 | _ACEOF |
6514 | _ACEOF |
10963 | |
6515 | |
10964 | fi |
6516 | fi |
10965 | |
6517 | |
|
|
6518 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
6519 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
|
|
6520 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
6521 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6522 | else |
|
|
6523 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6524 | /* confdefs.h. */ |
|
|
6525 | _ACEOF |
|
|
6526 | cat confdefs.h >>conftest.$ac_ext |
|
|
6527 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6528 | /* end confdefs.h. */ |
|
|
6529 | #include <stdlib.h> |
|
|
6530 | #include <stdarg.h> |
|
|
6531 | #include <string.h> |
|
|
6532 | #include <float.h> |
10966 | |
6533 | |
|
|
6534 | int |
|
|
6535 | main () |
|
|
6536 | { |
10967 | |
6537 | |
|
|
6538 | ; |
|
|
6539 | return 0; |
|
|
6540 | } |
|
|
6541 | _ACEOF |
|
|
6542 | rm -f conftest.$ac_objext |
|
|
6543 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
6544 | (eval $ac_compile) 2>conftest.er1 |
|
|
6545 | ac_status=$? |
|
|
6546 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6547 | rm -f conftest.er1 |
|
|
6548 | cat conftest.err >&5 |
|
|
6549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6550 | (exit $ac_status); } && |
|
|
6551 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6552 | || test ! -s conftest.err' |
|
|
6553 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6554 | (eval $ac_try) 2>&5 |
|
|
6555 | ac_status=$? |
|
|
6556 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6557 | (exit $ac_status); }; } && |
|
|
6558 | { ac_try='test -s conftest.$ac_objext' |
|
|
6559 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6560 | (eval $ac_try) 2>&5 |
|
|
6561 | ac_status=$? |
|
|
6562 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6563 | (exit $ac_status); }; }; then |
|
|
6564 | ac_cv_header_stdc=yes |
|
|
6565 | else |
|
|
6566 | echo "$as_me: failed program was:" >&5 |
|
|
6567 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6568 | |
|
|
6569 | ac_cv_header_stdc=no |
|
|
6570 | fi |
|
|
6571 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6572 | |
|
|
6573 | if test $ac_cv_header_stdc = yes; then |
|
|
6574 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
6575 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6576 | /* confdefs.h. */ |
|
|
6577 | _ACEOF |
|
|
6578 | cat confdefs.h >>conftest.$ac_ext |
|
|
6579 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6580 | /* end confdefs.h. */ |
|
|
6581 | #include <string.h> |
|
|
6582 | |
|
|
6583 | _ACEOF |
|
|
6584 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
6585 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
6586 | : |
|
|
6587 | else |
|
|
6588 | ac_cv_header_stdc=no |
|
|
6589 | fi |
|
|
6590 | rm -f conftest* |
|
|
6591 | |
|
|
6592 | fi |
|
|
6593 | |
|
|
6594 | if test $ac_cv_header_stdc = yes; then |
|
|
6595 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
6596 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6597 | /* confdefs.h. */ |
|
|
6598 | _ACEOF |
|
|
6599 | cat confdefs.h >>conftest.$ac_ext |
|
|
6600 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6601 | /* end confdefs.h. */ |
|
|
6602 | #include <stdlib.h> |
|
|
6603 | |
|
|
6604 | _ACEOF |
|
|
6605 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
6606 | $EGREP "free" >/dev/null 2>&1; then |
|
|
6607 | : |
|
|
6608 | else |
|
|
6609 | ac_cv_header_stdc=no |
|
|
6610 | fi |
|
|
6611 | rm -f conftest* |
|
|
6612 | |
|
|
6613 | fi |
|
|
6614 | |
|
|
6615 | if test $ac_cv_header_stdc = yes; then |
|
|
6616 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
6617 | if test "$cross_compiling" = yes; then |
|
|
6618 | : |
|
|
6619 | else |
|
|
6620 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6621 | /* confdefs.h. */ |
|
|
6622 | _ACEOF |
|
|
6623 | cat confdefs.h >>conftest.$ac_ext |
|
|
6624 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6625 | /* end confdefs.h. */ |
|
|
6626 | #include <ctype.h> |
|
|
6627 | #if ((' ' & 0x0FF) == 0x020) |
|
|
6628 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
6629 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
6630 | #else |
|
|
6631 | # define ISLOWER(c) \ |
|
|
6632 | (('a' <= (c) && (c) <= 'i') \ |
|
|
6633 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
6634 | || ('s' <= (c) && (c) <= 'z')) |
|
|
6635 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
6636 | #endif |
|
|
6637 | |
|
|
6638 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
6639 | int |
|
|
6640 | main () |
|
|
6641 | { |
|
|
6642 | int i; |
|
|
6643 | for (i = 0; i < 256; i++) |
|
|
6644 | if (XOR (islower (i), ISLOWER (i)) |
|
|
6645 | || toupper (i) != TOUPPER (i)) |
|
|
6646 | exit(2); |
|
|
6647 | exit (0); |
|
|
6648 | } |
|
|
6649 | _ACEOF |
|
|
6650 | rm -f conftest$ac_exeext |
|
|
6651 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
6652 | (eval $ac_link) 2>&5 |
|
|
6653 | ac_status=$? |
|
|
6654 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6655 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
6656 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6657 | (eval $ac_try) 2>&5 |
|
|
6658 | ac_status=$? |
|
|
6659 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6660 | (exit $ac_status); }; }; then |
|
|
6661 | : |
|
|
6662 | else |
|
|
6663 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
6664 | echo "$as_me: failed program was:" >&5 |
|
|
6665 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6666 | |
|
|
6667 | ( exit $ac_status ) |
|
|
6668 | ac_cv_header_stdc=no |
|
|
6669 | fi |
|
|
6670 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
6671 | fi |
|
|
6672 | fi |
|
|
6673 | fi |
|
|
6674 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
6675 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
|
|
6676 | if test $ac_cv_header_stdc = yes; then |
|
|
6677 | |
|
|
6678 | cat >>confdefs.h <<\_ACEOF |
|
|
6679 | #define STDC_HEADERS 1 |
|
|
6680 | _ACEOF |
|
|
6681 | |
|
|
6682 | fi |
|
|
6683 | |
|
|
6684 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
6685 | |
|
|
6686 | |
|
|
6687 | |
|
|
6688 | |
|
|
6689 | |
|
|
6690 | |
|
|
6691 | |
|
|
6692 | |
|
|
6693 | |
|
|
6694 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
6695 | inttypes.h stdint.h unistd.h |
|
|
6696 | do |
|
|
6697 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
6698 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
6699 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
6700 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
6701 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6702 | else |
|
|
6703 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6704 | /* confdefs.h. */ |
|
|
6705 | _ACEOF |
|
|
6706 | cat confdefs.h >>conftest.$ac_ext |
|
|
6707 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6708 | /* end confdefs.h. */ |
|
|
6709 | $ac_includes_default |
|
|
6710 | |
|
|
6711 | #include <$ac_header> |
|
|
6712 | _ACEOF |
|
|
6713 | rm -f conftest.$ac_objext |
|
|
6714 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
6715 | (eval $ac_compile) 2>conftest.er1 |
|
|
6716 | ac_status=$? |
|
|
6717 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6718 | rm -f conftest.er1 |
|
|
6719 | cat conftest.err >&5 |
|
|
6720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6721 | (exit $ac_status); } && |
|
|
6722 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6723 | || test ! -s conftest.err' |
|
|
6724 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6725 | (eval $ac_try) 2>&5 |
|
|
6726 | ac_status=$? |
|
|
6727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6728 | (exit $ac_status); }; } && |
|
|
6729 | { ac_try='test -s conftest.$ac_objext' |
|
|
6730 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
6731 | (eval $ac_try) 2>&5 |
|
|
6732 | ac_status=$? |
|
|
6733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6734 | (exit $ac_status); }; }; then |
|
|
6735 | eval "$as_ac_Header=yes" |
|
|
6736 | else |
|
|
6737 | echo "$as_me: failed program was:" >&5 |
|
|
6738 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6739 | |
|
|
6740 | eval "$as_ac_Header=no" |
|
|
6741 | fi |
|
|
6742 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6743 | fi |
|
|
6744 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
6745 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
6746 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
6747 | cat >>confdefs.h <<_ACEOF |
|
|
6748 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
6749 | _ACEOF |
|
|
6750 | |
|
|
6751 | fi |
|
|
6752 | |
|
|
6753 | done |
10968 | |
6754 | |
10969 | |
6755 | |
10970 | |
6756 | |
10971 | |
6757 | |
10972 | |
6758 | |
… | |
… | |
10985 | |
6771 | |
10986 | |
6772 | |
10987 | for ac_header in \ |
6773 | for ac_header in \ |
10988 | assert.h \ |
6774 | assert.h \ |
10989 | fcntl.h \ |
6775 | fcntl.h \ |
10990 | grp.h \ |
|
|
10991 | libc.h \ |
|
|
10992 | lastlog.h \ |
|
|
10993 | stdarg.h \ |
6776 | stdarg.h \ |
10994 | stdlib.h \ |
6777 | stdlib.h \ |
10995 | string.h \ |
6778 | string.h \ |
10996 | termios.h \ |
6779 | termios.h \ |
10997 | unistd.h \ |
6780 | unistd.h \ |
10998 | sys/byteorder.h \ |
6781 | sys/byteorder.h \ |
10999 | sys/ioctl.h \ |
6782 | sys/ioctl.h \ |
11000 | sys/select.h \ |
6783 | sys/select.h \ |
11001 | sys/sockio.h \ |
6784 | sys/sockio.h \ |
11002 | sys/strredir.h \ |
6785 | sys/strredir.h \ |
11003 | sys/stropts.h \ |
|
|
11004 | sys/time.h \ |
6786 | sys/time.h \ |
11005 | utmp.h \ |
6787 | stdint.h \ |
11006 | utmpx.h \ |
6788 | wchar.h \ |
11007 | stdint.h \ |
6789 | cwchar \ |
11008 | pty.h \ |
6790 | clocale \ |
11009 | |
6791 | |
11010 | do |
6792 | do |
11011 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6793 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11012 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6794 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11013 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6795 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
11037 | grep -v '^ *+' conftest.er1 >conftest.err |
6819 | grep -v '^ *+' conftest.er1 >conftest.err |
11038 | rm -f conftest.er1 |
6820 | rm -f conftest.er1 |
11039 | cat conftest.err >&5 |
6821 | cat conftest.err >&5 |
11040 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6822 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11041 | (exit $ac_status); } && |
6823 | (exit $ac_status); } && |
11042 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6824 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6825 | || test ! -s conftest.err' |
11043 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6826 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11044 | (eval $ac_try) 2>&5 |
6827 | (eval $ac_try) 2>&5 |
11045 | ac_status=$? |
6828 | ac_status=$? |
11046 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6829 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11047 | (exit $ac_status); }; } && |
6830 | (exit $ac_status); }; } && |
… | |
… | |
11186 | grep -v '^ *+' conftest.er1 >conftest.err |
6969 | grep -v '^ *+' conftest.er1 >conftest.err |
11187 | rm -f conftest.er1 |
6970 | rm -f conftest.er1 |
11188 | cat conftest.err >&5 |
6971 | cat conftest.err >&5 |
11189 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6972 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11190 | (exit $ac_status); } && |
6973 | (exit $ac_status); } && |
11191 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
6974 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
6975 | || test ! -s conftest.err' |
11192 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6976 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11193 | (eval $ac_try) 2>&5 |
6977 | (eval $ac_try) 2>&5 |
11194 | ac_status=$? |
6978 | ac_status=$? |
11195 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6979 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11196 | (exit $ac_status); }; } && |
6980 | (exit $ac_status); }; } && |
… | |
… | |
11251 | grep -v '^ *+' conftest.er1 >conftest.err |
7035 | grep -v '^ *+' conftest.er1 >conftest.err |
11252 | rm -f conftest.er1 |
7036 | rm -f conftest.er1 |
11253 | cat conftest.err >&5 |
7037 | cat conftest.err >&5 |
11254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11255 | (exit $ac_status); } && |
7039 | (exit $ac_status); } && |
11256 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7040 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7041 | || test ! -s conftest.err' |
11257 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7042 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11258 | (eval $ac_try) 2>&5 |
7043 | (eval $ac_try) 2>&5 |
11259 | ac_status=$? |
7044 | ac_status=$? |
11260 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11261 | (exit $ac_status); }; } && |
7046 | (exit $ac_status); }; } && |
… | |
… | |
11301 | /* confdefs.h. */ |
7086 | /* confdefs.h. */ |
11302 | _ACEOF |
7087 | _ACEOF |
11303 | cat confdefs.h >>conftest.$ac_ext |
7088 | cat confdefs.h >>conftest.$ac_ext |
11304 | cat >>conftest.$ac_ext <<_ACEOF |
7089 | cat >>conftest.$ac_ext <<_ACEOF |
11305 | /* end confdefs.h. */ |
7090 | /* end confdefs.h. */ |
11306 | |
7091 | #include <X11/Xlib.h> |
|
|
7092 | #include <stdlib.h> |
11307 | main() |
7093 | main() |
11308 | { |
7094 | { |
11309 | exit(0); |
7095 | exit(0); |
11310 | (void) XOpenDisplay("foobar"); |
7096 | (void) XOpenDisplay("foobar"); |
11311 | } |
7097 | } |
… | |
… | |
11350 | /* confdefs.h. */ |
7136 | /* confdefs.h. */ |
11351 | _ACEOF |
7137 | _ACEOF |
11352 | cat confdefs.h >>conftest.$ac_ext |
7138 | cat confdefs.h >>conftest.$ac_ext |
11353 | cat >>conftest.$ac_ext <<_ACEOF |
7139 | cat >>conftest.$ac_ext <<_ACEOF |
11354 | /* end confdefs.h. */ |
7140 | /* end confdefs.h. */ |
11355 | |
7141 | #include <X11/Xlib.h> |
|
|
7142 | #include <stdlib.h> |
11356 | main() |
7143 | main() |
11357 | { |
7144 | { |
11358 | exit(0); |
7145 | exit(0); |
11359 | (void) XOpenDisplay("foobar"); |
7146 | (void) XOpenDisplay("foobar"); |
11360 | } |
7147 | } |
… | |
… | |
11416 | grep -v '^ *+' conftest.er1 >conftest.err |
7203 | grep -v '^ *+' conftest.er1 >conftest.err |
11417 | rm -f conftest.er1 |
7204 | rm -f conftest.er1 |
11418 | cat conftest.err >&5 |
7205 | cat conftest.err >&5 |
11419 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7206 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11420 | (exit $ac_status); } && |
7207 | (exit $ac_status); } && |
11421 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7208 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7209 | || test ! -s conftest.err' |
11422 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7210 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11423 | (eval $ac_try) 2>&5 |
7211 | (eval $ac_try) 2>&5 |
11424 | ac_status=$? |
7212 | ac_status=$? |
11425 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7213 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11426 | (exit $ac_status); }; } && |
7214 | (exit $ac_status); }; } && |
… | |
… | |
11449 | |
7237 | |
11450 | fi |
7238 | fi |
11451 | LIBS=$ac_save_LIBS |
7239 | LIBS=$ac_save_LIBS |
11452 | CFLAGS=$ac_save_CFLAGS |
7240 | CFLAGS=$ac_save_CFLAGS |
11453 | |
7241 | |
|
|
7242 | echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
|
|
7243 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6 |
|
|
7244 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
|
|
7245 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7246 | else |
|
|
7247 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7248 | /* confdefs.h. */ |
|
|
7249 | _ACEOF |
|
|
7250 | cat confdefs.h >>conftest.$ac_ext |
|
|
7251 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7252 | /* end confdefs.h. */ |
|
|
7253 | |
|
|
7254 | #define XLIB_ILLEGAL_ACCESS |
|
|
7255 | #include <X11/Xlib.h> |
|
|
7256 | |
|
|
7257 | int |
|
|
7258 | main () |
|
|
7259 | { |
|
|
7260 | |
|
|
7261 | Display *dpy; |
|
|
7262 | dpy->xdefaults = (char *)0; |
|
|
7263 | |
|
|
7264 | ; |
|
|
7265 | return 0; |
|
|
7266 | } |
|
|
7267 | _ACEOF |
|
|
7268 | rm -f conftest.$ac_objext |
|
|
7269 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
7270 | (eval $ac_compile) 2>conftest.er1 |
|
|
7271 | ac_status=$? |
|
|
7272 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7273 | rm -f conftest.er1 |
|
|
7274 | cat conftest.err >&5 |
|
|
7275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7276 | (exit $ac_status); } && |
|
|
7277 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7278 | || test ! -s conftest.err' |
|
|
7279 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7280 | (eval $ac_try) 2>&5 |
|
|
7281 | ac_status=$? |
|
|
7282 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7283 | (exit $ac_status); }; } && |
|
|
7284 | { ac_try='test -s conftest.$ac_objext' |
|
|
7285 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7286 | (eval $ac_try) 2>&5 |
|
|
7287 | ac_status=$? |
|
|
7288 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7289 | (exit $ac_status); }; }; then |
|
|
7290 | rxvt_xlib_illegal_access=yes |
|
|
7291 | else |
|
|
7292 | echo "$as_me: failed program was:" >&5 |
|
|
7293 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7294 | |
|
|
7295 | rxvt_xlib_illegal_access=no |
|
|
7296 | |
|
|
7297 | fi |
|
|
7298 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7299 | fi |
|
|
7300 | echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5 |
|
|
7301 | echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6 |
|
|
7302 | if test x$rxvt_xlib_illegal_access = xyes; then |
|
|
7303 | |
|
|
7304 | cat >>confdefs.h <<\_ACEOF |
|
|
7305 | #define XLIB_ILLEGAL_ACCESS 1 |
|
|
7306 | _ACEOF |
|
|
7307 | |
|
|
7308 | fi |
11454 | |
7309 | |
11455 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
7310 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
11456 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
7311 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
11457 | if test "${ac_cv_c_const+set}" = set; then |
7312 | if test "${ac_cv_c_const+set}" = set; then |
11458 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7313 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
11525 | grep -v '^ *+' conftest.er1 >conftest.err |
7380 | grep -v '^ *+' conftest.er1 >conftest.err |
11526 | rm -f conftest.er1 |
7381 | rm -f conftest.er1 |
11527 | cat conftest.err >&5 |
7382 | cat conftest.err >&5 |
11528 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11529 | (exit $ac_status); } && |
7384 | (exit $ac_status); } && |
11530 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7385 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7386 | || test ! -s conftest.err' |
11531 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7387 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11532 | (eval $ac_try) 2>&5 |
7388 | (eval $ac_try) 2>&5 |
11533 | ac_status=$? |
7389 | ac_status=$? |
11534 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11535 | (exit $ac_status); }; } && |
7391 | (exit $ac_status); }; } && |
… | |
… | |
11585 | grep -v '^ *+' conftest.er1 >conftest.err |
7441 | grep -v '^ *+' conftest.er1 >conftest.err |
11586 | rm -f conftest.er1 |
7442 | rm -f conftest.er1 |
11587 | cat conftest.err >&5 |
7443 | cat conftest.err >&5 |
11588 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7444 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11589 | (exit $ac_status); } && |
7445 | (exit $ac_status); } && |
11590 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7446 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7447 | || test ! -s conftest.err' |
11591 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7448 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11592 | (eval $ac_try) 2>&5 |
7449 | (eval $ac_try) 2>&5 |
11593 | ac_status=$? |
7450 | ac_status=$? |
11594 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7451 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11595 | (exit $ac_status); }; } && |
7452 | (exit $ac_status); }; } && |
… | |
… | |
11660 | grep -v '^ *+' conftest.er1 >conftest.err |
7517 | grep -v '^ *+' conftest.er1 >conftest.err |
11661 | rm -f conftest.er1 |
7518 | rm -f conftest.er1 |
11662 | cat conftest.err >&5 |
7519 | cat conftest.err >&5 |
11663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7520 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11664 | (exit $ac_status); } && |
7521 | (exit $ac_status); } && |
11665 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7522 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7523 | || test ! -s conftest.err' |
11666 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7524 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11667 | (eval $ac_try) 2>&5 |
7525 | (eval $ac_try) 2>&5 |
11668 | ac_status=$? |
7526 | ac_status=$? |
11669 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11670 | (exit $ac_status); }; } && |
7528 | (exit $ac_status); }; } && |
… | |
… | |
11725 | grep -v '^ *+' conftest.er1 >conftest.err |
7583 | grep -v '^ *+' conftest.er1 >conftest.err |
11726 | rm -f conftest.er1 |
7584 | rm -f conftest.er1 |
11727 | cat conftest.err >&5 |
7585 | cat conftest.err >&5 |
11728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11729 | (exit $ac_status); } && |
7587 | (exit $ac_status); } && |
11730 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7588 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7589 | || test ! -s conftest.err' |
11731 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7590 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11732 | (eval $ac_try) 2>&5 |
7591 | (eval $ac_try) 2>&5 |
11733 | ac_status=$? |
7592 | ac_status=$? |
11734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11735 | (exit $ac_status); }; } && |
7594 | (exit $ac_status); }; } && |
… | |
… | |
11829 | grep -v '^ *+' conftest.er1 >conftest.err |
7688 | grep -v '^ *+' conftest.er1 >conftest.err |
11830 | rm -f conftest.er1 |
7689 | rm -f conftest.er1 |
11831 | cat conftest.err >&5 |
7690 | cat conftest.err >&5 |
11832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7691 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11833 | (exit $ac_status); } && |
7692 | (exit $ac_status); } && |
11834 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7693 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7694 | || test ! -s conftest.err' |
11835 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7695 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11836 | (eval $ac_try) 2>&5 |
7696 | (eval $ac_try) 2>&5 |
11837 | ac_status=$? |
7697 | ac_status=$? |
11838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7698 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11839 | (exit $ac_status); }; } && |
7699 | (exit $ac_status); }; } && |
… | |
… | |
11891 | grep -v '^ *+' conftest.er1 >conftest.err |
7751 | grep -v '^ *+' conftest.er1 >conftest.err |
11892 | rm -f conftest.er1 |
7752 | rm -f conftest.er1 |
11893 | cat conftest.err >&5 |
7753 | cat conftest.err >&5 |
11894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11895 | (exit $ac_status); } && |
7755 | (exit $ac_status); } && |
11896 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7756 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7757 | || test ! -s conftest.err' |
11897 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7758 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11898 | (eval $ac_try) 2>&5 |
7759 | (eval $ac_try) 2>&5 |
11899 | ac_status=$? |
7760 | ac_status=$? |
11900 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11901 | (exit $ac_status); }; } && |
7762 | (exit $ac_status); }; } && |
… | |
… | |
11931 | grep -v '^ *+' conftest.er1 >conftest.err |
7792 | grep -v '^ *+' conftest.er1 >conftest.err |
11932 | rm -f conftest.er1 |
7793 | rm -f conftest.er1 |
11933 | cat conftest.err >&5 |
7794 | cat conftest.err >&5 |
11934 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11935 | (exit $ac_status); } && |
7796 | (exit $ac_status); } && |
11936 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7797 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7798 | || test ! -s conftest.err' |
11937 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7799 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11938 | (eval $ac_try) 2>&5 |
7800 | (eval $ac_try) 2>&5 |
11939 | ac_status=$? |
7801 | ac_status=$? |
11940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7802 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11941 | (exit $ac_status); }; } && |
7803 | (exit $ac_status); }; } && |
… | |
… | |
11987 | grep -v '^ *+' conftest.er1 >conftest.err |
7849 | grep -v '^ *+' conftest.er1 >conftest.err |
11988 | rm -f conftest.er1 |
7850 | rm -f conftest.er1 |
11989 | cat conftest.err >&5 |
7851 | cat conftest.err >&5 |
11990 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11991 | (exit $ac_status); } && |
7853 | (exit $ac_status); } && |
11992 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7854 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7855 | || test ! -s conftest.err' |
11993 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7856 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11994 | (eval $ac_try) 2>&5 |
7857 | (eval $ac_try) 2>&5 |
11995 | ac_status=$? |
7858 | ac_status=$? |
11996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7859 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11997 | (exit $ac_status); }; } && |
7860 | (exit $ac_status); }; } && |
… | |
… | |
12027 | grep -v '^ *+' conftest.er1 >conftest.err |
7890 | grep -v '^ *+' conftest.er1 >conftest.err |
12028 | rm -f conftest.er1 |
7891 | rm -f conftest.er1 |
12029 | cat conftest.err >&5 |
7892 | cat conftest.err >&5 |
12030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12031 | (exit $ac_status); } && |
7894 | (exit $ac_status); } && |
12032 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7895 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7896 | || test ! -s conftest.err' |
12033 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7897 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12034 | (eval $ac_try) 2>&5 |
7898 | (eval $ac_try) 2>&5 |
12035 | ac_status=$? |
7899 | ac_status=$? |
12036 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7900 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12037 | (exit $ac_status); }; } && |
7901 | (exit $ac_status); }; } && |
… | |
… | |
12091 | grep -v '^ *+' conftest.er1 >conftest.err |
7955 | grep -v '^ *+' conftest.er1 >conftest.err |
12092 | rm -f conftest.er1 |
7956 | rm -f conftest.er1 |
12093 | cat conftest.err >&5 |
7957 | cat conftest.err >&5 |
12094 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12095 | (exit $ac_status); } && |
7959 | (exit $ac_status); } && |
12096 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
7960 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
7961 | || test ! -s conftest.err' |
12097 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12098 | (eval $ac_try) 2>&5 |
7963 | (eval $ac_try) 2>&5 |
12099 | ac_status=$? |
7964 | ac_status=$? |
12100 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12101 | (exit $ac_status); }; } && |
7966 | (exit $ac_status); }; } && |
… | |
… | |
12122 | See \`config.log' for more details." >&2;} |
7987 | See \`config.log' for more details." >&2;} |
12123 | { (exit 1); exit 1; }; } ;; |
7988 | { (exit 1); exit 1; }; } ;; |
12124 | esac |
7989 | esac |
12125 | else |
7990 | else |
12126 | if test "$cross_compiling" = yes; then |
7991 | if test "$cross_compiling" = yes; then |
12127 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
7992 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
12128 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
7993 | See \`config.log' for more details." >&5 |
|
|
7994 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
7995 | See \`config.log' for more details." >&2;} |
12129 | { (exit 1); exit 1; }; } |
7996 | { (exit 1); exit 1; }; } |
12130 | else |
7997 | else |
12131 | cat >conftest.$ac_ext <<_ACEOF |
7998 | cat >conftest.$ac_ext <<_ACEOF |
12132 | /* confdefs.h. */ |
7999 | /* confdefs.h. */ |
12133 | _ACEOF |
8000 | _ACEOF |
… | |
… | |
12235 | grep -v '^ *+' conftest.er1 >conftest.err |
8102 | grep -v '^ *+' conftest.er1 >conftest.err |
12236 | rm -f conftest.er1 |
8103 | rm -f conftest.er1 |
12237 | cat conftest.err >&5 |
8104 | cat conftest.err >&5 |
12238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8105 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12239 | (exit $ac_status); } && |
8106 | (exit $ac_status); } && |
12240 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8107 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8108 | || test ! -s conftest.err' |
12241 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8109 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12242 | (eval $ac_try) 2>&5 |
8110 | (eval $ac_try) 2>&5 |
12243 | ac_status=$? |
8111 | ac_status=$? |
12244 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12245 | (exit $ac_status); }; } && |
8113 | (exit $ac_status); }; } && |
… | |
… | |
12297 | grep -v '^ *+' conftest.er1 >conftest.err |
8165 | grep -v '^ *+' conftest.er1 >conftest.err |
12298 | rm -f conftest.er1 |
8166 | rm -f conftest.er1 |
12299 | cat conftest.err >&5 |
8167 | cat conftest.err >&5 |
12300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12301 | (exit $ac_status); } && |
8169 | (exit $ac_status); } && |
12302 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8170 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8171 | || test ! -s conftest.err' |
12303 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8172 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12304 | (eval $ac_try) 2>&5 |
8173 | (eval $ac_try) 2>&5 |
12305 | ac_status=$? |
8174 | ac_status=$? |
12306 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8175 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12307 | (exit $ac_status); }; } && |
8176 | (exit $ac_status); }; } && |
… | |
… | |
12337 | grep -v '^ *+' conftest.er1 >conftest.err |
8206 | grep -v '^ *+' conftest.er1 >conftest.err |
12338 | rm -f conftest.er1 |
8207 | rm -f conftest.er1 |
12339 | cat conftest.err >&5 |
8208 | cat conftest.err >&5 |
12340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12341 | (exit $ac_status); } && |
8210 | (exit $ac_status); } && |
12342 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8211 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8212 | || test ! -s conftest.err' |
12343 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8213 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12344 | (eval $ac_try) 2>&5 |
8214 | (eval $ac_try) 2>&5 |
12345 | ac_status=$? |
8215 | ac_status=$? |
12346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12347 | (exit $ac_status); }; } && |
8217 | (exit $ac_status); }; } && |
… | |
… | |
12393 | grep -v '^ *+' conftest.er1 >conftest.err |
8263 | grep -v '^ *+' conftest.er1 >conftest.err |
12394 | rm -f conftest.er1 |
8264 | rm -f conftest.er1 |
12395 | cat conftest.err >&5 |
8265 | cat conftest.err >&5 |
12396 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12397 | (exit $ac_status); } && |
8267 | (exit $ac_status); } && |
12398 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8268 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8269 | || test ! -s conftest.err' |
12399 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8270 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12400 | (eval $ac_try) 2>&5 |
8271 | (eval $ac_try) 2>&5 |
12401 | ac_status=$? |
8272 | ac_status=$? |
12402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12403 | (exit $ac_status); }; } && |
8274 | (exit $ac_status); }; } && |
… | |
… | |
12433 | grep -v '^ *+' conftest.er1 >conftest.err |
8304 | grep -v '^ *+' conftest.er1 >conftest.err |
12434 | rm -f conftest.er1 |
8305 | rm -f conftest.er1 |
12435 | cat conftest.err >&5 |
8306 | cat conftest.err >&5 |
12436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12437 | (exit $ac_status); } && |
8308 | (exit $ac_status); } && |
12438 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8309 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8310 | || test ! -s conftest.err' |
12439 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8311 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12440 | (eval $ac_try) 2>&5 |
8312 | (eval $ac_try) 2>&5 |
12441 | ac_status=$? |
8313 | ac_status=$? |
12442 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8314 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12443 | (exit $ac_status); }; } && |
8315 | (exit $ac_status); }; } && |
… | |
… | |
12497 | grep -v '^ *+' conftest.er1 >conftest.err |
8369 | grep -v '^ *+' conftest.er1 >conftest.err |
12498 | rm -f conftest.er1 |
8370 | rm -f conftest.er1 |
12499 | cat conftest.err >&5 |
8371 | cat conftest.err >&5 |
12500 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12501 | (exit $ac_status); } && |
8373 | (exit $ac_status); } && |
12502 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8374 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8375 | || test ! -s conftest.err' |
12503 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8376 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12504 | (eval $ac_try) 2>&5 |
8377 | (eval $ac_try) 2>&5 |
12505 | ac_status=$? |
8378 | ac_status=$? |
12506 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12507 | (exit $ac_status); }; } && |
8380 | (exit $ac_status); }; } && |
… | |
… | |
12528 | See \`config.log' for more details." >&2;} |
8401 | See \`config.log' for more details." >&2;} |
12529 | { (exit 1); exit 1; }; } ;; |
8402 | { (exit 1); exit 1; }; } ;; |
12530 | esac |
8403 | esac |
12531 | else |
8404 | else |
12532 | if test "$cross_compiling" = yes; then |
8405 | if test "$cross_compiling" = yes; then |
12533 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
8406 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
12534 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
8407 | See \`config.log' for more details." >&5 |
|
|
8408 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
8409 | See \`config.log' for more details." >&2;} |
12535 | { (exit 1); exit 1; }; } |
8410 | { (exit 1); exit 1; }; } |
12536 | else |
8411 | else |
12537 | cat >conftest.$ac_ext <<_ACEOF |
8412 | cat >conftest.$ac_ext <<_ACEOF |
12538 | /* confdefs.h. */ |
8413 | /* confdefs.h. */ |
12539 | _ACEOF |
8414 | _ACEOF |
… | |
… | |
12641 | grep -v '^ *+' conftest.er1 >conftest.err |
8516 | grep -v '^ *+' conftest.er1 >conftest.err |
12642 | rm -f conftest.er1 |
8517 | rm -f conftest.er1 |
12643 | cat conftest.err >&5 |
8518 | cat conftest.err >&5 |
12644 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12645 | (exit $ac_status); } && |
8520 | (exit $ac_status); } && |
12646 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8521 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8522 | || test ! -s conftest.err' |
12647 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8523 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12648 | (eval $ac_try) 2>&5 |
8524 | (eval $ac_try) 2>&5 |
12649 | ac_status=$? |
8525 | ac_status=$? |
12650 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8526 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12651 | (exit $ac_status); }; } && |
8527 | (exit $ac_status); }; } && |
… | |
… | |
12703 | grep -v '^ *+' conftest.er1 >conftest.err |
8579 | grep -v '^ *+' conftest.er1 >conftest.err |
12704 | rm -f conftest.er1 |
8580 | rm -f conftest.er1 |
12705 | cat conftest.err >&5 |
8581 | cat conftest.err >&5 |
12706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8582 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12707 | (exit $ac_status); } && |
8583 | (exit $ac_status); } && |
12708 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8584 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8585 | || test ! -s conftest.err' |
12709 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8586 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12710 | (eval $ac_try) 2>&5 |
8587 | (eval $ac_try) 2>&5 |
12711 | ac_status=$? |
8588 | ac_status=$? |
12712 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8589 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12713 | (exit $ac_status); }; } && |
8590 | (exit $ac_status); }; } && |
… | |
… | |
12743 | grep -v '^ *+' conftest.er1 >conftest.err |
8620 | grep -v '^ *+' conftest.er1 >conftest.err |
12744 | rm -f conftest.er1 |
8621 | rm -f conftest.er1 |
12745 | cat conftest.err >&5 |
8622 | cat conftest.err >&5 |
12746 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12747 | (exit $ac_status); } && |
8624 | (exit $ac_status); } && |
12748 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8625 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8626 | || test ! -s conftest.err' |
12749 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8627 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12750 | (eval $ac_try) 2>&5 |
8628 | (eval $ac_try) 2>&5 |
12751 | ac_status=$? |
8629 | ac_status=$? |
12752 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12753 | (exit $ac_status); }; } && |
8631 | (exit $ac_status); }; } && |
… | |
… | |
12799 | grep -v '^ *+' conftest.er1 >conftest.err |
8677 | grep -v '^ *+' conftest.er1 >conftest.err |
12800 | rm -f conftest.er1 |
8678 | rm -f conftest.er1 |
12801 | cat conftest.err >&5 |
8679 | cat conftest.err >&5 |
12802 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12803 | (exit $ac_status); } && |
8681 | (exit $ac_status); } && |
12804 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8682 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8683 | || test ! -s conftest.err' |
12805 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8684 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12806 | (eval $ac_try) 2>&5 |
8685 | (eval $ac_try) 2>&5 |
12807 | ac_status=$? |
8686 | ac_status=$? |
12808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8687 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12809 | (exit $ac_status); }; } && |
8688 | (exit $ac_status); }; } && |
… | |
… | |
12839 | grep -v '^ *+' conftest.er1 >conftest.err |
8718 | grep -v '^ *+' conftest.er1 >conftest.err |
12840 | rm -f conftest.er1 |
8719 | rm -f conftest.er1 |
12841 | cat conftest.err >&5 |
8720 | cat conftest.err >&5 |
12842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12843 | (exit $ac_status); } && |
8722 | (exit $ac_status); } && |
12844 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8723 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8724 | || test ! -s conftest.err' |
12845 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8725 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12846 | (eval $ac_try) 2>&5 |
8726 | (eval $ac_try) 2>&5 |
12847 | ac_status=$? |
8727 | ac_status=$? |
12848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12849 | (exit $ac_status); }; } && |
8729 | (exit $ac_status); }; } && |
… | |
… | |
12903 | grep -v '^ *+' conftest.er1 >conftest.err |
8783 | grep -v '^ *+' conftest.er1 >conftest.err |
12904 | rm -f conftest.er1 |
8784 | rm -f conftest.er1 |
12905 | cat conftest.err >&5 |
8785 | cat conftest.err >&5 |
12906 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12907 | (exit $ac_status); } && |
8787 | (exit $ac_status); } && |
12908 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8788 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8789 | || test ! -s conftest.err' |
12909 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12910 | (eval $ac_try) 2>&5 |
8791 | (eval $ac_try) 2>&5 |
12911 | ac_status=$? |
8792 | ac_status=$? |
12912 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12913 | (exit $ac_status); }; } && |
8794 | (exit $ac_status); }; } && |
… | |
… | |
12934 | See \`config.log' for more details." >&2;} |
8815 | See \`config.log' for more details." >&2;} |
12935 | { (exit 1); exit 1; }; } ;; |
8816 | { (exit 1); exit 1; }; } ;; |
12936 | esac |
8817 | esac |
12937 | else |
8818 | else |
12938 | if test "$cross_compiling" = yes; then |
8819 | if test "$cross_compiling" = yes; then |
12939 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
8820 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
12940 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
8821 | See \`config.log' for more details." >&5 |
|
|
8822 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
8823 | See \`config.log' for more details." >&2;} |
12941 | { (exit 1); exit 1; }; } |
8824 | { (exit 1); exit 1; }; } |
12942 | else |
8825 | else |
12943 | cat >conftest.$ac_ext <<_ACEOF |
8826 | cat >conftest.$ac_ext <<_ACEOF |
12944 | /* confdefs.h. */ |
8827 | /* confdefs.h. */ |
12945 | _ACEOF |
8828 | _ACEOF |
… | |
… | |
13047 | grep -v '^ *+' conftest.er1 >conftest.err |
8930 | grep -v '^ *+' conftest.er1 >conftest.err |
13048 | rm -f conftest.er1 |
8931 | rm -f conftest.er1 |
13049 | cat conftest.err >&5 |
8932 | cat conftest.err >&5 |
13050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13051 | (exit $ac_status); } && |
8934 | (exit $ac_status); } && |
13052 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8935 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8936 | || test ! -s conftest.err' |
13053 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8937 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13054 | (eval $ac_try) 2>&5 |
8938 | (eval $ac_try) 2>&5 |
13055 | ac_status=$? |
8939 | ac_status=$? |
13056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13057 | (exit $ac_status); }; } && |
8941 | (exit $ac_status); }; } && |
… | |
… | |
13109 | grep -v '^ *+' conftest.er1 >conftest.err |
8993 | grep -v '^ *+' conftest.er1 >conftest.err |
13110 | rm -f conftest.er1 |
8994 | rm -f conftest.er1 |
13111 | cat conftest.err >&5 |
8995 | cat conftest.err >&5 |
13112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13113 | (exit $ac_status); } && |
8997 | (exit $ac_status); } && |
13114 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
8998 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
8999 | || test ! -s conftest.err' |
13115 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9000 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13116 | (eval $ac_try) 2>&5 |
9001 | (eval $ac_try) 2>&5 |
13117 | ac_status=$? |
9002 | ac_status=$? |
13118 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9003 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13119 | (exit $ac_status); }; } && |
9004 | (exit $ac_status); }; } && |
… | |
… | |
13149 | grep -v '^ *+' conftest.er1 >conftest.err |
9034 | grep -v '^ *+' conftest.er1 >conftest.err |
13150 | rm -f conftest.er1 |
9035 | rm -f conftest.er1 |
13151 | cat conftest.err >&5 |
9036 | cat conftest.err >&5 |
13152 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13153 | (exit $ac_status); } && |
9038 | (exit $ac_status); } && |
13154 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9039 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9040 | || test ! -s conftest.err' |
13155 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9041 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13156 | (eval $ac_try) 2>&5 |
9042 | (eval $ac_try) 2>&5 |
13157 | ac_status=$? |
9043 | ac_status=$? |
13158 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13159 | (exit $ac_status); }; } && |
9045 | (exit $ac_status); }; } && |
… | |
… | |
13205 | grep -v '^ *+' conftest.er1 >conftest.err |
9091 | grep -v '^ *+' conftest.er1 >conftest.err |
13206 | rm -f conftest.er1 |
9092 | rm -f conftest.er1 |
13207 | cat conftest.err >&5 |
9093 | cat conftest.err >&5 |
13208 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9094 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13209 | (exit $ac_status); } && |
9095 | (exit $ac_status); } && |
13210 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9096 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9097 | || test ! -s conftest.err' |
13211 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9098 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13212 | (eval $ac_try) 2>&5 |
9099 | (eval $ac_try) 2>&5 |
13213 | ac_status=$? |
9100 | ac_status=$? |
13214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13215 | (exit $ac_status); }; } && |
9102 | (exit $ac_status); }; } && |
… | |
… | |
13245 | grep -v '^ *+' conftest.er1 >conftest.err |
9132 | grep -v '^ *+' conftest.er1 >conftest.err |
13246 | rm -f conftest.er1 |
9133 | rm -f conftest.er1 |
13247 | cat conftest.err >&5 |
9134 | cat conftest.err >&5 |
13248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9135 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13249 | (exit $ac_status); } && |
9136 | (exit $ac_status); } && |
13250 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9137 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9138 | || test ! -s conftest.err' |
13251 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9139 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13252 | (eval $ac_try) 2>&5 |
9140 | (eval $ac_try) 2>&5 |
13253 | ac_status=$? |
9141 | ac_status=$? |
13254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13255 | (exit $ac_status); }; } && |
9143 | (exit $ac_status); }; } && |
… | |
… | |
13309 | grep -v '^ *+' conftest.er1 >conftest.err |
9197 | grep -v '^ *+' conftest.er1 >conftest.err |
13310 | rm -f conftest.er1 |
9198 | rm -f conftest.er1 |
13311 | cat conftest.err >&5 |
9199 | cat conftest.err >&5 |
13312 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9200 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13313 | (exit $ac_status); } && |
9201 | (exit $ac_status); } && |
13314 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9202 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9203 | || test ! -s conftest.err' |
13315 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9204 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13316 | (eval $ac_try) 2>&5 |
9205 | (eval $ac_try) 2>&5 |
13317 | ac_status=$? |
9206 | ac_status=$? |
13318 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9207 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13319 | (exit $ac_status); }; } && |
9208 | (exit $ac_status); }; } && |
… | |
… | |
13340 | See \`config.log' for more details." >&2;} |
9229 | See \`config.log' for more details." >&2;} |
13341 | { (exit 1); exit 1; }; } ;; |
9230 | { (exit 1); exit 1; }; } ;; |
13342 | esac |
9231 | esac |
13343 | else |
9232 | else |
13344 | if test "$cross_compiling" = yes; then |
9233 | if test "$cross_compiling" = yes; then |
13345 | { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 |
9234 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling |
13346 | echo "$as_me: error: internal error: not reached in cross-compile" >&2;} |
9235 | See \`config.log' for more details." >&5 |
|
|
9236 | echo "$as_me: error: cannot run test program while cross compiling |
|
|
9237 | See \`config.log' for more details." >&2;} |
13347 | { (exit 1); exit 1; }; } |
9238 | { (exit 1); exit 1; }; } |
13348 | else |
9239 | else |
13349 | cat >conftest.$ac_ext <<_ACEOF |
9240 | cat >conftest.$ac_ext <<_ACEOF |
13350 | /* confdefs.h. */ |
9241 | /* confdefs.h. */ |
13351 | _ACEOF |
9242 | _ACEOF |
… | |
… | |
13452 | grep -v '^ *+' conftest.er1 >conftest.err |
9343 | grep -v '^ *+' conftest.er1 >conftest.err |
13453 | rm -f conftest.er1 |
9344 | rm -f conftest.er1 |
13454 | cat conftest.err >&5 |
9345 | cat conftest.err >&5 |
13455 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13456 | (exit $ac_status); } && |
9347 | (exit $ac_status); } && |
13457 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9348 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9349 | || test ! -s conftest.err' |
13458 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9350 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13459 | (eval $ac_try) 2>&5 |
9351 | (eval $ac_try) 2>&5 |
13460 | ac_status=$? |
9352 | ac_status=$? |
13461 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9353 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13462 | (exit $ac_status); }; } && |
9354 | (exit $ac_status); }; } && |
… | |
… | |
13469 | rxvt_cv_int16_t=yes |
9361 | rxvt_cv_int16_t=yes |
13470 | else |
9362 | else |
13471 | echo "$as_me: failed program was:" >&5 |
9363 | echo "$as_me: failed program was:" >&5 |
13472 | sed 's/^/| /' conftest.$ac_ext >&5 |
9364 | sed 's/^/| /' conftest.$ac_ext >&5 |
13473 | |
9365 | |
13474 | if test $ac_cv_sizeof_char -ge 2; then |
9366 | if test "$ac_cv_sizeof_char" -ge 2; then |
13475 | rxvt_cv_int16_t=" char" |
9367 | rxvt_cv_int16_t=" char" |
13476 | else |
9368 | else |
13477 | if test $ac_cv_sizeof_short -ge 2; then |
9369 | if test "$ac_cv_sizeof_short" -ge 2; then |
13478 | rxvt_cv_int16_t=" short" |
9370 | rxvt_cv_int16_t=" short" |
13479 | else |
9371 | else |
13480 | if test $ac_cv_sizeof_int -ge 2; then |
9372 | if test "$ac_cv_sizeof_int" -ge 2; then |
13481 | rxvt_cv_int16_t=" int" |
9373 | rxvt_cv_int16_t=" int" |
13482 | else |
9374 | else |
13483 | if test $ac_cv_sizeof_long -ge 2; then |
9375 | if test "$ac_cv_sizeof_long" -ge 2; then |
13484 | rxvt_cv_int16_t=" long" |
9376 | rxvt_cv_int16_t=" long" |
13485 | else |
9377 | else |
13486 | if test $ac_cv_sizeof_long_long -ge 2; then |
9378 | if test "$ac_cv_sizeof_long_long" -ge 2; then |
13487 | rxvt_cv_int16_t=" long long" |
9379 | rxvt_cv_int16_t=" long long" |
13488 | else |
9380 | else |
13489 | rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default |
9381 | rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default |
13490 | fi |
9382 | fi |
13491 | fi |
9383 | fi |
… | |
… | |
13534 | grep -v '^ *+' conftest.er1 >conftest.err |
9426 | grep -v '^ *+' conftest.er1 >conftest.err |
13535 | rm -f conftest.er1 |
9427 | rm -f conftest.er1 |
13536 | cat conftest.err >&5 |
9428 | cat conftest.err >&5 |
13537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9429 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13538 | (exit $ac_status); } && |
9430 | (exit $ac_status); } && |
13539 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9431 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9432 | || test ! -s conftest.err' |
13540 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9433 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13541 | (eval $ac_try) 2>&5 |
9434 | (eval $ac_try) 2>&5 |
13542 | ac_status=$? |
9435 | ac_status=$? |
13543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13544 | (exit $ac_status); }; } && |
9437 | (exit $ac_status); }; } && |
… | |
… | |
13551 | rxvt_cv_uint16_t=yes |
9444 | rxvt_cv_uint16_t=yes |
13552 | else |
9445 | else |
13553 | echo "$as_me: failed program was:" >&5 |
9446 | echo "$as_me: failed program was:" >&5 |
13554 | sed 's/^/| /' conftest.$ac_ext >&5 |
9447 | sed 's/^/| /' conftest.$ac_ext >&5 |
13555 | |
9448 | |
13556 | if test $ac_cv_sizeof_char -ge 2; then |
9449 | if test "$ac_cv_sizeof_char" -ge 2; then |
13557 | rxvt_cv_uint16_t="unsigned char" |
9450 | rxvt_cv_uint16_t="unsigned char" |
13558 | else |
9451 | else |
13559 | if test $ac_cv_sizeof_short -ge 2; then |
9452 | if test "$ac_cv_sizeof_short" -ge 2; then |
13560 | rxvt_cv_uint16_t="unsigned short" |
9453 | rxvt_cv_uint16_t="unsigned short" |
13561 | else |
9454 | else |
13562 | if test $ac_cv_sizeof_int -ge 2; then |
9455 | if test "$ac_cv_sizeof_int" -ge 2; then |
13563 | rxvt_cv_uint16_t="unsigned int" |
9456 | rxvt_cv_uint16_t="unsigned int" |
13564 | else |
9457 | else |
13565 | if test $ac_cv_sizeof_long -ge 2; then |
9458 | if test "$ac_cv_sizeof_long" -ge 2; then |
13566 | rxvt_cv_uint16_t="unsigned long" |
9459 | rxvt_cv_uint16_t="unsigned long" |
13567 | else |
9460 | else |
13568 | if test $ac_cv_sizeof_long_long -ge 2; then |
9461 | if test "$ac_cv_sizeof_long_long" -ge 2; then |
13569 | rxvt_cv_uint16_t="unsigned long long" |
9462 | rxvt_cv_uint16_t="unsigned long long" |
13570 | else |
9463 | else |
13571 | rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default |
9464 | rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default |
13572 | fi |
9465 | fi |
13573 | fi |
9466 | fi |
… | |
… | |
13616 | grep -v '^ *+' conftest.er1 >conftest.err |
9509 | grep -v '^ *+' conftest.er1 >conftest.err |
13617 | rm -f conftest.er1 |
9510 | rm -f conftest.er1 |
13618 | cat conftest.err >&5 |
9511 | cat conftest.err >&5 |
13619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13620 | (exit $ac_status); } && |
9513 | (exit $ac_status); } && |
13621 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9514 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9515 | || test ! -s conftest.err' |
13622 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9516 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13623 | (eval $ac_try) 2>&5 |
9517 | (eval $ac_try) 2>&5 |
13624 | ac_status=$? |
9518 | ac_status=$? |
13625 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13626 | (exit $ac_status); }; } && |
9520 | (exit $ac_status); }; } && |
… | |
… | |
13633 | rxvt_cv_int32_t=yes |
9527 | rxvt_cv_int32_t=yes |
13634 | else |
9528 | else |
13635 | echo "$as_me: failed program was:" >&5 |
9529 | echo "$as_me: failed program was:" >&5 |
13636 | sed 's/^/| /' conftest.$ac_ext >&5 |
9530 | sed 's/^/| /' conftest.$ac_ext >&5 |
13637 | |
9531 | |
13638 | if test $ac_cv_sizeof_char -ge 4; then |
9532 | if test "$ac_cv_sizeof_char" -ge 4; then |
13639 | rxvt_cv_int32_t=" char" |
9533 | rxvt_cv_int32_t=" char" |
13640 | else |
9534 | else |
13641 | if test $ac_cv_sizeof_short -ge 4; then |
9535 | if test "$ac_cv_sizeof_short" -ge 4; then |
13642 | rxvt_cv_int32_t=" short" |
9536 | rxvt_cv_int32_t=" short" |
13643 | else |
9537 | else |
13644 | if test $ac_cv_sizeof_int -ge 4; then |
9538 | if test "$ac_cv_sizeof_int" -ge 4; then |
13645 | rxvt_cv_int32_t=" int" |
9539 | rxvt_cv_int32_t=" int" |
13646 | else |
9540 | else |
13647 | if test $ac_cv_sizeof_long -ge 4; then |
9541 | if test "$ac_cv_sizeof_long" -ge 4; then |
13648 | rxvt_cv_int32_t=" long" |
9542 | rxvt_cv_int32_t=" long" |
13649 | else |
9543 | else |
13650 | if test $ac_cv_sizeof_long_long -ge 4; then |
9544 | if test "$ac_cv_sizeof_long_long" -ge 4; then |
13651 | rxvt_cv_int32_t=" long long" |
9545 | rxvt_cv_int32_t=" long long" |
13652 | else |
9546 | else |
13653 | rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default |
9547 | rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default |
13654 | fi |
9548 | fi |
13655 | fi |
9549 | fi |
… | |
… | |
13698 | grep -v '^ *+' conftest.er1 >conftest.err |
9592 | grep -v '^ *+' conftest.er1 >conftest.err |
13699 | rm -f conftest.er1 |
9593 | rm -f conftest.er1 |
13700 | cat conftest.err >&5 |
9594 | cat conftest.err >&5 |
13701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9595 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13702 | (exit $ac_status); } && |
9596 | (exit $ac_status); } && |
13703 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9597 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9598 | || test ! -s conftest.err' |
13704 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9599 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13705 | (eval $ac_try) 2>&5 |
9600 | (eval $ac_try) 2>&5 |
13706 | ac_status=$? |
9601 | ac_status=$? |
13707 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13708 | (exit $ac_status); }; } && |
9603 | (exit $ac_status); }; } && |
… | |
… | |
13715 | rxvt_cv_uint32_t=yes |
9610 | rxvt_cv_uint32_t=yes |
13716 | else |
9611 | else |
13717 | echo "$as_me: failed program was:" >&5 |
9612 | echo "$as_me: failed program was:" >&5 |
13718 | sed 's/^/| /' conftest.$ac_ext >&5 |
9613 | sed 's/^/| /' conftest.$ac_ext >&5 |
13719 | |
9614 | |
13720 | if test $ac_cv_sizeof_char -ge 4; then |
9615 | if test "$ac_cv_sizeof_char" -ge 4; then |
13721 | rxvt_cv_uint32_t="unsigned char" |
9616 | rxvt_cv_uint32_t="unsigned char" |
13722 | else |
9617 | else |
13723 | if test $ac_cv_sizeof_short -ge 4; then |
9618 | if test "$ac_cv_sizeof_short" -ge 4; then |
13724 | rxvt_cv_uint32_t="unsigned short" |
9619 | rxvt_cv_uint32_t="unsigned short" |
13725 | else |
9620 | else |
13726 | if test $ac_cv_sizeof_int -ge 4; then |
9621 | if test "$ac_cv_sizeof_int" -ge 4; then |
13727 | rxvt_cv_uint32_t="unsigned int" |
9622 | rxvt_cv_uint32_t="unsigned int" |
13728 | else |
9623 | else |
13729 | if test $ac_cv_sizeof_long -ge 4; then |
9624 | if test "$ac_cv_sizeof_long" -ge 4; then |
13730 | rxvt_cv_uint32_t="unsigned long" |
9625 | rxvt_cv_uint32_t="unsigned long" |
13731 | else |
9626 | else |
13732 | if test $ac_cv_sizeof_long_long -ge 4; then |
9627 | if test "$ac_cv_sizeof_long_long" -ge 4; then |
13733 | rxvt_cv_uint32_t="unsigned long long" |
9628 | rxvt_cv_uint32_t="unsigned long long" |
13734 | else |
9629 | else |
13735 | rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default |
9630 | rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default |
13736 | fi |
9631 | fi |
13737 | fi |
9632 | fi |
… | |
… | |
13751 | else |
9646 | else |
13752 | rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */" |
9647 | rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */" |
13753 | fi |
9648 | fi |
13754 | fi |
9649 | fi |
13755 | |
9650 | |
13756 | if test $ac_cv_sizeof_int_p -eq 8; then |
9651 | if test "$ac_cv_sizeof_int_p" -eq 8; then |
13757 | rxvt_intp_define="#define intp_t int64_t" |
9652 | rxvt_intp_define="#define intp_t int64_t" |
13758 | rxvt_u_intp_define="#define u_intp_t u_int64_t" |
9653 | rxvt_u_intp_define="#define u_intp_t u_int64_t" |
13759 | else |
9654 | else |
13760 | if test $ac_cv_sizeof_int_p -eq 4; then |
9655 | if test "$ac_cv_sizeof_int_p" -eq 4; then |
13761 | rxvt_intp_define="#define intp_t int32_t" |
9656 | rxvt_intp_define="#define intp_t int32_t" |
13762 | rxvt_u_intp_define="#define u_intp_t u_int32_t" |
9657 | rxvt_u_intp_define="#define u_intp_t u_int32_t" |
13763 | else |
9658 | else |
13764 | if test $ac_cv_sizeof_int_p -eq 2; then |
9659 | if test "$ac_cv_sizeof_int_p" -eq 2; then |
13765 | rxvt_intp_define="#define intp_t int16_t" |
9660 | rxvt_intp_define="#define intp_t int16_t" |
13766 | rxvt_u_intp_define="#define u_intp_t u_int16_t" |
9661 | rxvt_u_intp_define="#define u_intp_t u_int16_t" |
13767 | else |
9662 | else |
13768 | rxvt_intp_define="#error set intp_t" |
9663 | rxvt_intp_define="#error set intp_t" |
13769 | rxvt_u_intp_define="#error set u_intp_t" |
9664 | rxvt_u_intp_define="#error set u_intp_t" |
… | |
… | |
13810 | grep -v '^ *+' conftest.er1 >conftest.err |
9705 | grep -v '^ *+' conftest.er1 >conftest.err |
13811 | rm -f conftest.er1 |
9706 | rm -f conftest.er1 |
13812 | cat conftest.err >&5 |
9707 | cat conftest.err >&5 |
13813 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13814 | (exit $ac_status); } && |
9709 | (exit $ac_status); } && |
13815 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9710 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9711 | || test ! -s conftest.err' |
13816 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9712 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13817 | (eval $ac_try) 2>&5 |
9713 | (eval $ac_try) 2>&5 |
13818 | ac_status=$? |
9714 | ac_status=$? |
13819 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13820 | (exit $ac_status); }; } && |
9716 | (exit $ac_status); }; } && |
… | |
… | |
13840 | #define RETSIGTYPE $ac_cv_type_signal |
9736 | #define RETSIGTYPE $ac_cv_type_signal |
13841 | _ACEOF |
9737 | _ACEOF |
13842 | |
9738 | |
13843 | |
9739 | |
13844 | |
9740 | |
13845 | case "$host_alias" in |
|
|
13846 | *ultrix) ac_cv_func_setsid='no' ;; |
|
|
13847 | *) break;; |
|
|
13848 | esac |
|
|
13849 | |
|
|
13850 | |
|
|
13851 | |
|
|
13852 | |
|
|
13853 | |
|
|
13854 | |
|
|
13855 | |
|
|
13856 | |
|
|
13857 | |
|
|
13858 | |
|
|
13859 | |
|
|
13860 | |
|
|
13861 | |
|
|
13862 | |
|
|
13863 | |
|
|
13864 | |
|
|
13865 | |
9741 | |
13866 | |
9742 | |
13867 | |
9743 | |
13868 | for ac_func in \ |
9744 | for ac_func in \ |
13869 | atexit \ |
|
|
13870 | revoke \ |
|
|
13871 | unsetenv \ |
9745 | unsetenv \ |
13872 | setutent \ |
9746 | setutent \ |
13873 | seteuid \ |
|
|
13874 | setreuid \ |
|
|
13875 | setsid \ |
|
|
13876 | setpgrp \ |
|
|
13877 | setpgid \ |
|
|
13878 | openpty \ |
|
|
13879 | _getpty \ |
|
|
13880 | grantpt \ |
|
|
13881 | unlockpt \ |
|
|
13882 | isastream \ |
|
|
13883 | on_exit \ |
9747 | on_exit \ |
13884 | nanosleep \ |
|
|
13885 | updwtmp \ |
|
|
13886 | ttyslot \ |
|
|
13887 | |
9748 | |
13888 | do |
9749 | do |
13889 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9750 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13890 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9751 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
13891 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9752 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
… | |
… | |
13950 | grep -v '^ *+' conftest.er1 >conftest.err |
9811 | grep -v '^ *+' conftest.er1 >conftest.err |
13951 | rm -f conftest.er1 |
9812 | rm -f conftest.er1 |
13952 | cat conftest.err >&5 |
9813 | cat conftest.err >&5 |
13953 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9814 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13954 | (exit $ac_status); } && |
9815 | (exit $ac_status); } && |
13955 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
9816 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9817 | || test ! -s conftest.err' |
13956 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9818 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13957 | (eval $ac_try) 2>&5 |
9819 | (eval $ac_try) 2>&5 |
13958 | ac_status=$? |
9820 | ac_status=$? |
13959 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13960 | (exit $ac_status); }; } && |
9822 | (exit $ac_status); }; } && |
… | |
… | |
13984 | fi |
9846 | fi |
13985 | done |
9847 | done |
13986 | |
9848 | |
13987 | |
9849 | |
13988 | |
9850 | |
|
|
9851 | support_utmp=yes |
|
|
9852 | support_wtmp=yes |
|
|
9853 | support_lastlog=yes |
|
|
9854 | |
|
|
9855 | # Check whether --enable-utmp or --disable-utmp was given. |
|
|
9856 | if test "${enable_utmp+set}" = set; then |
|
|
9857 | enableval="$enable_utmp" |
|
|
9858 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9859 | support_utmp=$enableval |
|
|
9860 | fi |
|
|
9861 | fi; |
|
|
9862 | |
|
|
9863 | # Check whether --enable-wtmp or --disable-wtmp was given. |
|
|
9864 | if test "${enable_wtmp+set}" = set; then |
|
|
9865 | enableval="$enable_wtmp" |
|
|
9866 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9867 | support_wtmp=$enableval |
|
|
9868 | fi |
|
|
9869 | fi; |
|
|
9870 | |
|
|
9871 | # Check whether --enable-lastlog or --disable-lastlog was given. |
|
|
9872 | if test "${enable_lastlog+set}" = set; then |
|
|
9873 | enableval="$enable_lastlog" |
|
|
9874 | if test x$enableval = xyes -o x$enableval = xno; then |
|
|
9875 | support_lastlog=$enableval |
|
|
9876 | fi |
|
|
9877 | fi; |
|
|
9878 | |
|
|
9879 | if test x$support_utmp = xyes; then |
|
|
9880 | |
|
|
9881 | cat >>confdefs.h <<\_ACEOF |
|
|
9882 | #define UTMP_SUPPORT 1 |
|
|
9883 | _ACEOF |
|
|
9884 | |
|
|
9885 | fi |
|
|
9886 | if test x$support_wtmp = xyes; then |
|
|
9887 | |
|
|
9888 | cat >>confdefs.h <<\_ACEOF |
|
|
9889 | #define WTMP_SUPPORT 1 |
|
|
9890 | _ACEOF |
|
|
9891 | |
|
|
9892 | fi |
|
|
9893 | if test x$support_lastlog = xyes; then |
|
|
9894 | |
|
|
9895 | cat >>confdefs.h <<\_ACEOF |
|
|
9896 | #define LASTLOG_SUPPORT 1 |
|
|
9897 | _ACEOF |
|
|
9898 | |
|
|
9899 | fi |
|
|
9900 | |
|
|
9901 | |
|
|
9902 | |
|
|
9903 | |
|
|
9904 | for ac_func in \ |
|
|
9905 | ttyslot \ |
|
|
9906 | updwtmp \ |
|
|
9907 | updwtmpx \ |
|
|
9908 | |
|
|
9909 | do |
|
|
9910 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
9911 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
9912 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
9913 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
9914 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9915 | else |
|
|
9916 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9917 | /* confdefs.h. */ |
|
|
9918 | _ACEOF |
|
|
9919 | cat confdefs.h >>conftest.$ac_ext |
|
|
9920 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9921 | /* end confdefs.h. */ |
|
|
9922 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
9923 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
9924 | #define $ac_func innocuous_$ac_func |
|
|
9925 | |
|
|
9926 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
9927 | which can conflict with char $ac_func (); below. |
|
|
9928 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
9929 | <limits.h> exists even on freestanding compilers. */ |
|
|
9930 | |
|
|
9931 | #ifdef __STDC__ |
|
|
9932 | # include <limits.h> |
|
|
9933 | #else |
|
|
9934 | # include <assert.h> |
|
|
9935 | #endif |
|
|
9936 | |
|
|
9937 | #undef $ac_func |
|
|
9938 | |
|
|
9939 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
9940 | #ifdef __cplusplus |
|
|
9941 | extern "C" |
|
|
9942 | { |
|
|
9943 | #endif |
|
|
9944 | /* We use char because int might match the return type of a gcc2 |
|
|
9945 | builtin and then its argument prototype would still apply. */ |
|
|
9946 | char $ac_func (); |
|
|
9947 | /* The GNU C library defines this for functions which it implements |
|
|
9948 | to always fail with ENOSYS. Some functions are actually named |
|
|
9949 | something starting with __ and the normal name is an alias. */ |
|
|
9950 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
9951 | choke me |
|
|
9952 | #else |
|
|
9953 | char (*f) () = $ac_func; |
|
|
9954 | #endif |
|
|
9955 | #ifdef __cplusplus |
|
|
9956 | } |
|
|
9957 | #endif |
|
|
9958 | |
|
|
9959 | int |
|
|
9960 | main () |
|
|
9961 | { |
|
|
9962 | return f != $ac_func; |
|
|
9963 | ; |
|
|
9964 | return 0; |
|
|
9965 | } |
|
|
9966 | _ACEOF |
|
|
9967 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9968 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
9969 | (eval $ac_link) 2>conftest.er1 |
|
|
9970 | ac_status=$? |
|
|
9971 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9972 | rm -f conftest.er1 |
|
|
9973 | cat conftest.err >&5 |
|
|
9974 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9975 | (exit $ac_status); } && |
|
|
9976 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
9977 | || test ! -s conftest.err' |
|
|
9978 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9979 | (eval $ac_try) 2>&5 |
|
|
9980 | ac_status=$? |
|
|
9981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9982 | (exit $ac_status); }; } && |
|
|
9983 | { ac_try='test -s conftest$ac_exeext' |
|
|
9984 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
9985 | (eval $ac_try) 2>&5 |
|
|
9986 | ac_status=$? |
|
|
9987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9988 | (exit $ac_status); }; }; then |
|
|
9989 | eval "$as_ac_var=yes" |
|
|
9990 | else |
|
|
9991 | echo "$as_me: failed program was:" >&5 |
|
|
9992 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9993 | |
|
|
9994 | eval "$as_ac_var=no" |
|
|
9995 | fi |
|
|
9996 | rm -f conftest.err conftest.$ac_objext \ |
|
|
9997 | conftest$ac_exeext conftest.$ac_ext |
|
|
9998 | fi |
|
|
9999 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
10000 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
10001 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
10002 | cat >>confdefs.h <<_ACEOF |
|
|
10003 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
10004 | _ACEOF |
|
|
10005 | |
|
|
10006 | fi |
|
|
10007 | done |
|
|
10008 | |
|
|
10009 | |
|
|
10010 | |
|
|
10011 | |
|
|
10012 | |
|
|
10013 | for ac_header in \ |
|
|
10014 | utmp.h \ |
|
|
10015 | utmpx.h \ |
|
|
10016 | lastlog.h \ |
|
|
10017 | |
|
|
10018 | do |
|
|
10019 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
10020 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
10021 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
10022 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
10023 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
10024 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10025 | fi |
|
|
10026 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
10027 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
10028 | else |
|
|
10029 | # Is the header compilable? |
|
|
10030 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
10031 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
10032 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10033 | /* confdefs.h. */ |
|
|
10034 | _ACEOF |
|
|
10035 | cat confdefs.h >>conftest.$ac_ext |
|
|
10036 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10037 | /* end confdefs.h. */ |
|
|
10038 | $ac_includes_default |
|
|
10039 | #include <$ac_header> |
|
|
10040 | _ACEOF |
|
|
10041 | rm -f conftest.$ac_objext |
|
|
10042 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10043 | (eval $ac_compile) 2>conftest.er1 |
|
|
10044 | ac_status=$? |
|
|
10045 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10046 | rm -f conftest.er1 |
|
|
10047 | cat conftest.err >&5 |
|
|
10048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10049 | (exit $ac_status); } && |
|
|
10050 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10051 | || test ! -s conftest.err' |
|
|
10052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10053 | (eval $ac_try) 2>&5 |
|
|
10054 | ac_status=$? |
|
|
10055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10056 | (exit $ac_status); }; } && |
|
|
10057 | { ac_try='test -s conftest.$ac_objext' |
|
|
10058 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10059 | (eval $ac_try) 2>&5 |
|
|
10060 | ac_status=$? |
|
|
10061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10062 | (exit $ac_status); }; }; then |
|
|
10063 | ac_header_compiler=yes |
|
|
10064 | else |
|
|
10065 | echo "$as_me: failed program was:" >&5 |
|
|
10066 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10067 | |
|
|
10068 | ac_header_compiler=no |
|
|
10069 | fi |
|
|
10070 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10071 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
10072 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
10073 | |
|
|
10074 | # Is the header present? |
|
|
10075 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
10076 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
10077 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10078 | /* confdefs.h. */ |
|
|
10079 | _ACEOF |
|
|
10080 | cat confdefs.h >>conftest.$ac_ext |
|
|
10081 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10082 | /* end confdefs.h. */ |
|
|
10083 | #include <$ac_header> |
|
|
10084 | _ACEOF |
|
|
10085 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
10086 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
10087 | ac_status=$? |
|
|
10088 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10089 | rm -f conftest.er1 |
|
|
10090 | cat conftest.err >&5 |
|
|
10091 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10092 | (exit $ac_status); } >/dev/null; then |
|
|
10093 | if test -s conftest.err; then |
|
|
10094 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
10095 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
10096 | else |
|
|
10097 | ac_cpp_err= |
|
|
10098 | fi |
|
|
10099 | else |
|
|
10100 | ac_cpp_err=yes |
|
|
10101 | fi |
|
|
10102 | if test -z "$ac_cpp_err"; then |
|
|
10103 | ac_header_preproc=yes |
|
|
10104 | else |
|
|
10105 | echo "$as_me: failed program was:" >&5 |
|
|
10106 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10107 | |
|
|
10108 | ac_header_preproc=no |
|
|
10109 | fi |
|
|
10110 | rm -f conftest.err conftest.$ac_ext |
|
|
10111 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
10112 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
10113 | |
|
|
10114 | # So? What about this header? |
|
|
10115 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
10116 | yes:no: ) |
|
|
10117 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
10118 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
10119 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
10120 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
10121 | ac_header_preproc=yes |
|
|
10122 | ;; |
|
|
10123 | no:yes:* ) |
|
|
10124 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
10125 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
10126 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
10127 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
10128 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
10129 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
10130 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
10131 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
10132 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
10133 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
10134 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
10135 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
10136 | ( |
|
|
10137 | cat <<\_ASBOX |
|
|
10138 | ## ------------------------------------------ ## |
|
|
10139 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
10140 | ## ------------------------------------------ ## |
|
|
10141 | _ASBOX |
|
|
10142 | ) | |
|
|
10143 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
10144 | ;; |
|
|
10145 | esac |
|
|
10146 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
10147 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
10148 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
10149 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10150 | else |
|
|
10151 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
10152 | fi |
|
|
10153 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
10154 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
10155 | |
|
|
10156 | fi |
|
|
10157 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
10158 | cat >>confdefs.h <<_ACEOF |
|
|
10159 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
10160 | _ACEOF |
|
|
10161 | |
|
|
10162 | fi |
|
|
10163 | |
|
|
10164 | done |
|
|
10165 | |
|
|
10166 | |
|
|
10167 | |
13989 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10168 | if test "${ac_cv_header_utmp_h+set}" = set; then |
13990 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10169 | echo "$as_me:$LINENO: checking for utmp.h" >&5 |
13991 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
10170 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6 |
13992 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10171 | if test "${ac_cv_header_utmp_h+set}" = set; then |
13993 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10172 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
14014 | grep -v '^ *+' conftest.er1 >conftest.err |
10193 | grep -v '^ *+' conftest.er1 >conftest.err |
14015 | rm -f conftest.er1 |
10194 | rm -f conftest.er1 |
14016 | cat conftest.err >&5 |
10195 | cat conftest.err >&5 |
14017 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10196 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14018 | (exit $ac_status); } && |
10197 | (exit $ac_status); } && |
14019 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10198 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10199 | || test ! -s conftest.err' |
14020 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10200 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14021 | (eval $ac_try) 2>&5 |
10201 | (eval $ac_try) 2>&5 |
14022 | ac_status=$? |
10202 | ac_status=$? |
14023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14024 | (exit $ac_status); }; } && |
10204 | (exit $ac_status); }; } && |
… | |
… | |
14123 | |
10303 | |
14124 | fi |
10304 | fi |
14125 | if test $ac_cv_header_utmp_h = yes; then |
10305 | if test $ac_cv_header_utmp_h = yes; then |
14126 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10306 | echo "$as_me:$LINENO: checking for struct utmp" >&5 |
14127 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
10307 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6 |
14128 | if test "${rxvt_cv_struct_utmp+set}" = set; then |
10308 | if test "${struct_utmp+set}" = set; then |
14129 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10309 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14130 | else |
10310 | else |
14131 | cat >conftest.$ac_ext <<_ACEOF |
10311 | cat >conftest.$ac_ext <<_ACEOF |
14132 | /* confdefs.h. */ |
10312 | /* confdefs.h. */ |
14133 | _ACEOF |
10313 | _ACEOF |
14134 | cat confdefs.h >>conftest.$ac_ext |
10314 | cat confdefs.h >>conftest.$ac_ext |
14135 | cat >>conftest.$ac_ext <<_ACEOF |
10315 | cat >>conftest.$ac_ext <<_ACEOF |
14136 | /* end confdefs.h. */ |
10316 | /* end confdefs.h. */ |
14137 | #include <sys/types.h> |
10317 | #include <sys/types.h> |
14138 | #include <stdint.h> |
|
|
14139 | #include <utmp.h> |
10318 | #include <utmp.h> |
14140 | int |
10319 | int |
14141 | main () |
10320 | main () |
14142 | { |
10321 | { |
14143 | struct utmp ut; |
10322 | struct utmp ut; |
… | |
… | |
14152 | grep -v '^ *+' conftest.er1 >conftest.err |
10331 | grep -v '^ *+' conftest.er1 >conftest.err |
14153 | rm -f conftest.er1 |
10332 | rm -f conftest.er1 |
14154 | cat conftest.err >&5 |
10333 | cat conftest.err >&5 |
14155 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10334 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14156 | (exit $ac_status); } && |
10335 | (exit $ac_status); } && |
14157 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10336 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10337 | || test ! -s conftest.err' |
14158 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10338 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14159 | (eval $ac_try) 2>&5 |
10339 | (eval $ac_try) 2>&5 |
14160 | ac_status=$? |
10340 | ac_status=$? |
14161 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14162 | (exit $ac_status); }; } && |
10342 | (exit $ac_status); }; } && |
… | |
… | |
14164 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10344 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14165 | (eval $ac_try) 2>&5 |
10345 | (eval $ac_try) 2>&5 |
14166 | ac_status=$? |
10346 | ac_status=$? |
14167 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14168 | (exit $ac_status); }; }; then |
10348 | (exit $ac_status); }; }; then |
14169 | rxvt_cv_struct_utmp=yes |
10349 | struct_utmp=yes |
14170 | else |
10350 | else |
14171 | echo "$as_me: failed program was:" >&5 |
10351 | echo "$as_me: failed program was:" >&5 |
14172 | sed 's/^/| /' conftest.$ac_ext >&5 |
10352 | sed 's/^/| /' conftest.$ac_ext >&5 |
14173 | |
10353 | |
14174 | rxvt_cv_struct_utmp=no |
10354 | struct_utmp=no |
14175 | fi |
10355 | fi |
14176 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10356 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
14177 | fi |
10357 | fi |
14178 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp" >&5 |
10358 | echo "$as_me:$LINENO: result: $struct_utmp" >&5 |
14179 | echo "${ECHO_T}$rxvt_cv_struct_utmp" >&6 |
10359 | echo "${ECHO_T}$struct_utmp" >&6 |
14180 | if test x$rxvt_cv_struct_utmp = xyes; then |
10360 | if test x$struct_utmp = xyes; then |
14181 | |
10361 | |
14182 | cat >>confdefs.h <<\_ACEOF |
10362 | cat >>confdefs.h <<\_ACEOF |
14183 | #define HAVE_STRUCT_UTMP 1 |
10363 | #define HAVE_STRUCT_UTMP 1 |
14184 | _ACEOF |
10364 | _ACEOF |
14185 | |
10365 | |
14186 | fi |
10366 | fi |
14187 | |
10367 | |
14188 | |
10368 | |
14189 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
10369 | echo "$as_me:$LINENO: checking for ut_host in utmp struct" >&5 |
14190 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
10370 | echo $ECHO_N "checking for ut_host in utmp struct... $ECHO_C" >&6 |
14191 | if test "${rxvt_cv_struct_utmp_host+set}" = set; then |
10371 | if test "${struct_utmp_host+set}" = set; then |
14192 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10372 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14193 | else |
10373 | else |
14194 | cat >conftest.$ac_ext <<_ACEOF |
10374 | cat >conftest.$ac_ext <<_ACEOF |
14195 | /* confdefs.h. */ |
10375 | /* confdefs.h. */ |
14196 | _ACEOF |
10376 | _ACEOF |
… | |
… | |
14214 | grep -v '^ *+' conftest.er1 >conftest.err |
10394 | grep -v '^ *+' conftest.er1 >conftest.err |
14215 | rm -f conftest.er1 |
10395 | rm -f conftest.er1 |
14216 | cat conftest.err >&5 |
10396 | cat conftest.err >&5 |
14217 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10397 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14218 | (exit $ac_status); } && |
10398 | (exit $ac_status); } && |
14219 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10399 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10400 | || test ! -s conftest.err' |
14220 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10401 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14221 | (eval $ac_try) 2>&5 |
10402 | (eval $ac_try) 2>&5 |
14222 | ac_status=$? |
10403 | ac_status=$? |
14223 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10404 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14224 | (exit $ac_status); }; } && |
10405 | (exit $ac_status); }; } && |
… | |
… | |
14226 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10407 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14227 | (eval $ac_try) 2>&5 |
10408 | (eval $ac_try) 2>&5 |
14228 | ac_status=$? |
10409 | ac_status=$? |
14229 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14230 | (exit $ac_status); }; }; then |
10411 | (exit $ac_status); }; }; then |
14231 | rxvt_cv_struct_utmp_host=yes |
10412 | struct_utmp_host=yes |
14232 | else |
10413 | else |
14233 | echo "$as_me: failed program was:" >&5 |
10414 | echo "$as_me: failed program was:" >&5 |
14234 | sed 's/^/| /' conftest.$ac_ext >&5 |
10415 | sed 's/^/| /' conftest.$ac_ext >&5 |
14235 | |
10416 | |
14236 | rxvt_cv_struct_utmp_host=no |
10417 | struct_utmp_host=no |
14237 | fi |
10418 | fi |
14238 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10419 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
14239 | fi |
10420 | fi |
14240 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_host" >&5 |
10421 | echo "$as_me:$LINENO: result: $struct_utmp_host" >&5 |
14241 | echo "${ECHO_T}$rxvt_cv_struct_utmp_host" >&6 |
10422 | echo "${ECHO_T}$struct_utmp_host" >&6 |
14242 | if test x$rxvt_cv_struct_utmp_host = xyes; then |
10423 | if test x$struct_utmp_host = xyes; then |
14243 | |
10424 | |
14244 | cat >>confdefs.h <<\_ACEOF |
10425 | cat >>confdefs.h <<\_ACEOF |
14245 | #define HAVE_UTMP_HOST 1 |
10426 | #define HAVE_UTMP_HOST 1 |
14246 | _ACEOF |
10427 | _ACEOF |
14247 | |
10428 | |
14248 | fi |
10429 | fi |
14249 | |
10430 | |
14250 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
10431 | echo "$as_me:$LINENO: checking for ut_pid in utmp struct" >&5 |
14251 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
10432 | echo $ECHO_N "checking for ut_pid in utmp struct... $ECHO_C" >&6 |
14252 | if test "${rxvt_cv_struct_utmp_pid+set}" = set; then |
10433 | if test "${struct_utmp_pid+set}" = set; then |
14253 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10434 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14254 | else |
10435 | else |
14255 | cat >conftest.$ac_ext <<_ACEOF |
10436 | cat >conftest.$ac_ext <<_ACEOF |
14256 | /* confdefs.h. */ |
10437 | /* confdefs.h. */ |
14257 | _ACEOF |
10438 | _ACEOF |
… | |
… | |
14275 | grep -v '^ *+' conftest.er1 >conftest.err |
10456 | grep -v '^ *+' conftest.er1 >conftest.err |
14276 | rm -f conftest.er1 |
10457 | rm -f conftest.er1 |
14277 | cat conftest.err >&5 |
10458 | cat conftest.err >&5 |
14278 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14279 | (exit $ac_status); } && |
10460 | (exit $ac_status); } && |
14280 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10461 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10462 | || test ! -s conftest.err' |
14281 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10463 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14282 | (eval $ac_try) 2>&5 |
10464 | (eval $ac_try) 2>&5 |
14283 | ac_status=$? |
10465 | ac_status=$? |
14284 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14285 | (exit $ac_status); }; } && |
10467 | (exit $ac_status); }; } && |
… | |
… | |
14287 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10469 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14288 | (eval $ac_try) 2>&5 |
10470 | (eval $ac_try) 2>&5 |
14289 | ac_status=$? |
10471 | ac_status=$? |
14290 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14291 | (exit $ac_status); }; }; then |
10473 | (exit $ac_status); }; }; then |
14292 | rxvt_cv_struct_utmp_pid=yes |
10474 | struct_utmp_pid=yes |
14293 | else |
10475 | else |
14294 | echo "$as_me: failed program was:" >&5 |
10476 | echo "$as_me: failed program was:" >&5 |
14295 | sed 's/^/| /' conftest.$ac_ext >&5 |
10477 | sed 's/^/| /' conftest.$ac_ext >&5 |
14296 | |
10478 | |
14297 | rxvt_cv_struct_utmp_pid=no |
10479 | struct_utmp_pid=no |
14298 | fi |
10480 | fi |
14299 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10481 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
14300 | fi |
10482 | fi |
14301 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmp_pid" >&5 |
10483 | echo "$as_me:$LINENO: result: $struct_utmp_pid" >&5 |
14302 | echo "${ECHO_T}$rxvt_cv_struct_utmp_pid" >&6 |
10484 | echo "${ECHO_T}$struct_utmp_pid" >&6 |
14303 | if test x$rxvt_cv_struct_utmp_pid = xyes; then |
10485 | if test x$struct_utmp_pid = xyes; then |
14304 | |
10486 | |
14305 | cat >>confdefs.h <<\_ACEOF |
10487 | cat >>confdefs.h <<\_ACEOF |
14306 | #define HAVE_UTMP_PID 1 |
10488 | #define HAVE_UTMP_PID 1 |
14307 | _ACEOF |
10489 | _ACEOF |
14308 | |
10490 | |
… | |
… | |
14340 | grep -v '^ *+' conftest.er1 >conftest.err |
10522 | grep -v '^ *+' conftest.er1 >conftest.err |
14341 | rm -f conftest.er1 |
10523 | rm -f conftest.er1 |
14342 | cat conftest.err >&5 |
10524 | cat conftest.err >&5 |
14343 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10525 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14344 | (exit $ac_status); } && |
10526 | (exit $ac_status); } && |
14345 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10527 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10528 | || test ! -s conftest.err' |
14346 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10529 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14347 | (eval $ac_try) 2>&5 |
10530 | (eval $ac_try) 2>&5 |
14348 | ac_status=$? |
10531 | ac_status=$? |
14349 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14350 | (exit $ac_status); }; } && |
10533 | (exit $ac_status); }; } && |
… | |
… | |
14449 | |
10632 | |
14450 | fi |
10633 | fi |
14451 | if test $ac_cv_header_utmpx_h = yes; then |
10634 | if test $ac_cv_header_utmpx_h = yes; then |
14452 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10635 | echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
14453 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
10636 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6 |
14454 | if test "${rxvt_cv_struct_utmpx+set}" = set; then |
10637 | if test "${struct_utmpx+set}" = set; then |
14455 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10638 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14456 | else |
10639 | else |
14457 | cat >conftest.$ac_ext <<_ACEOF |
10640 | cat >conftest.$ac_ext <<_ACEOF |
14458 | /* confdefs.h. */ |
10641 | /* confdefs.h. */ |
14459 | _ACEOF |
10642 | _ACEOF |
… | |
… | |
14477 | grep -v '^ *+' conftest.er1 >conftest.err |
10660 | grep -v '^ *+' conftest.er1 >conftest.err |
14478 | rm -f conftest.er1 |
10661 | rm -f conftest.er1 |
14479 | cat conftest.err >&5 |
10662 | cat conftest.err >&5 |
14480 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14481 | (exit $ac_status); } && |
10664 | (exit $ac_status); } && |
14482 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10665 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10666 | || test ! -s conftest.err' |
14483 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10667 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14484 | (eval $ac_try) 2>&5 |
10668 | (eval $ac_try) 2>&5 |
14485 | ac_status=$? |
10669 | ac_status=$? |
14486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10670 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14487 | (exit $ac_status); }; } && |
10671 | (exit $ac_status); }; } && |
… | |
… | |
14489 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10673 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14490 | (eval $ac_try) 2>&5 |
10674 | (eval $ac_try) 2>&5 |
14491 | ac_status=$? |
10675 | ac_status=$? |
14492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14493 | (exit $ac_status); }; }; then |
10677 | (exit $ac_status); }; }; then |
14494 | rxvt_cv_struct_utmpx=yes |
10678 | struct_utmpx=yes |
14495 | else |
10679 | else |
14496 | echo "$as_me: failed program was:" >&5 |
10680 | echo "$as_me: failed program was:" >&5 |
14497 | sed 's/^/| /' conftest.$ac_ext >&5 |
10681 | sed 's/^/| /' conftest.$ac_ext >&5 |
14498 | |
10682 | |
14499 | rxvt_cv_struct_utmpx=no |
10683 | struct_utmpx=no |
14500 | fi |
10684 | fi |
14501 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10685 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
14502 | fi |
10686 | fi |
14503 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx" >&5 |
10687 | echo "$as_me:$LINENO: result: $struct_utmpx" >&5 |
14504 | echo "${ECHO_T}$rxvt_cv_struct_utmpx" >&6 |
10688 | echo "${ECHO_T}$struct_utmpx" >&6 |
14505 | if test x$rxvt_cv_struct_utmpx = xyes; then |
10689 | if test x$struct_utmpx = xyes; then |
14506 | |
10690 | |
14507 | cat >>confdefs.h <<\_ACEOF |
10691 | cat >>confdefs.h <<\_ACEOF |
14508 | #define HAVE_STRUCT_UTMPX 1 |
10692 | #define HAVE_STRUCT_UTMPX 1 |
14509 | _ACEOF |
10693 | _ACEOF |
14510 | |
10694 | |
14511 | fi |
10695 | fi |
14512 | |
10696 | |
14513 | |
10697 | |
14514 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
10698 | echo "$as_me:$LINENO: checking for host in utmpx struct" >&5 |
14515 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
10699 | echo $ECHO_N "checking for host in utmpx struct... $ECHO_C" >&6 |
14516 | if test "${rxvt_cv_struct_utmpx_host+set}" = set; then |
10700 | if test "${struct_utmpx_host+set}" = set; then |
14517 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10701 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14518 | else |
10702 | else |
14519 | cat >conftest.$ac_ext <<_ACEOF |
10703 | cat >conftest.$ac_ext <<_ACEOF |
14520 | /* confdefs.h. */ |
10704 | /* confdefs.h. */ |
14521 | _ACEOF |
10705 | _ACEOF |
… | |
… | |
14539 | grep -v '^ *+' conftest.er1 >conftest.err |
10723 | grep -v '^ *+' conftest.er1 >conftest.err |
14540 | rm -f conftest.er1 |
10724 | rm -f conftest.er1 |
14541 | cat conftest.err >&5 |
10725 | cat conftest.err >&5 |
14542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10726 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14543 | (exit $ac_status); } && |
10727 | (exit $ac_status); } && |
14544 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10728 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10729 | || test ! -s conftest.err' |
14545 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10730 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14546 | (eval $ac_try) 2>&5 |
10731 | (eval $ac_try) 2>&5 |
14547 | ac_status=$? |
10732 | ac_status=$? |
14548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14549 | (exit $ac_status); }; } && |
10734 | (exit $ac_status); }; } && |
… | |
… | |
14551 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10736 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14552 | (eval $ac_try) 2>&5 |
10737 | (eval $ac_try) 2>&5 |
14553 | ac_status=$? |
10738 | ac_status=$? |
14554 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10739 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14555 | (exit $ac_status); }; }; then |
10740 | (exit $ac_status); }; }; then |
14556 | rxvt_cv_struct_utmpx_host=yes |
10741 | struct_utmpx_host=yes |
14557 | else |
10742 | else |
14558 | echo "$as_me: failed program was:" >&5 |
10743 | echo "$as_me: failed program was:" >&5 |
14559 | sed 's/^/| /' conftest.$ac_ext >&5 |
10744 | sed 's/^/| /' conftest.$ac_ext >&5 |
14560 | |
10745 | |
14561 | rxvt_cv_struct_utmpx_host=no |
10746 | struct_utmpx_host=no |
14562 | fi |
10747 | fi |
14563 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10748 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
14564 | fi |
10749 | fi |
14565 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_host" >&5 |
10750 | echo "$as_me:$LINENO: result: $struct_utmpx_host" >&5 |
14566 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_host" >&6 |
10751 | echo "${ECHO_T}$struct_utmpx_host" >&6 |
14567 | if test x$rxvt_cv_struct_utmpx_host = xyes; then |
10752 | if test x$struct_utmpx_host = xyes; then |
14568 | |
10753 | |
14569 | cat >>confdefs.h <<\_ACEOF |
10754 | cat >>confdefs.h <<\_ACEOF |
14570 | #define HAVE_UTMPX_HOST 1 |
10755 | #define HAVE_UTMPX_HOST 1 |
14571 | _ACEOF |
10756 | _ACEOF |
14572 | |
10757 | |
14573 | fi |
10758 | fi |
14574 | |
10759 | |
14575 | fi |
10760 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
|
|
10761 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
|
|
10762 | if test "${struct_utmpx_session+set}" = set; then |
|
|
10763 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10764 | else |
|
|
10765 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10766 | /* confdefs.h. */ |
|
|
10767 | _ACEOF |
|
|
10768 | cat confdefs.h >>conftest.$ac_ext |
|
|
10769 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10770 | /* end confdefs.h. */ |
|
|
10771 | #include <sys/types.h> |
|
|
10772 | #include <utmpx.h> |
|
|
10773 | int |
|
|
10774 | main () |
|
|
10775 | { |
|
|
10776 | struct utmpx utx; utx.ut_session; |
|
|
10777 | ; |
|
|
10778 | return 0; |
|
|
10779 | } |
|
|
10780 | _ACEOF |
|
|
10781 | rm -f conftest.$ac_objext |
|
|
10782 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
10783 | (eval $ac_compile) 2>conftest.er1 |
|
|
10784 | ac_status=$? |
|
|
10785 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10786 | rm -f conftest.er1 |
|
|
10787 | cat conftest.err >&5 |
|
|
10788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10789 | (exit $ac_status); } && |
|
|
10790 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10791 | || test ! -s conftest.err' |
|
|
10792 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10793 | (eval $ac_try) 2>&5 |
|
|
10794 | ac_status=$? |
|
|
10795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10796 | (exit $ac_status); }; } && |
|
|
10797 | { ac_try='test -s conftest.$ac_objext' |
|
|
10798 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10799 | (eval $ac_try) 2>&5 |
|
|
10800 | ac_status=$? |
|
|
10801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10802 | (exit $ac_status); }; }; then |
|
|
10803 | struct_utmpx_session=yes |
|
|
10804 | else |
|
|
10805 | echo "$as_me: failed program was:" >&5 |
|
|
10806 | sed 's/^/| /' conftest.$ac_ext >&5 |
14576 | |
10807 | |
|
|
10808 | struct_utmpx_session=no |
|
|
10809 | fi |
|
|
10810 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10811 | fi |
|
|
10812 | echo "$as_me:$LINENO: result: $struct_utmpx_session" >&5 |
|
|
10813 | echo "${ECHO_T}$struct_utmpx_session" >&6 |
|
|
10814 | if test x$struct_utmpx_session = xyes; then |
|
|
10815 | |
|
|
10816 | cat >>confdefs.h <<\_ACEOF |
|
|
10817 | #define HAVE_UTMPX_SESSION 1 |
|
|
10818 | _ACEOF |
|
|
10819 | |
|
|
10820 | fi |
|
|
10821 | |
|
|
10822 | fi |
14577 | |
10823 | |
14578 | |
10824 | |
14579 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10825 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
14580 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10826 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
14581 | if test "${rxvt_cv_struct_lastlog+set}" = set; then |
10827 | if test "${struct_lastlog+set}" = set; then |
14582 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10828 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14583 | else |
10829 | else |
14584 | cat >conftest.$ac_ext <<_ACEOF |
10830 | cat >conftest.$ac_ext <<_ACEOF |
14585 | /* confdefs.h. */ |
10831 | /* confdefs.h. */ |
14586 | _ACEOF |
10832 | _ACEOF |
… | |
… | |
14608 | grep -v '^ *+' conftest.er1 >conftest.err |
10854 | grep -v '^ *+' conftest.er1 >conftest.err |
14609 | rm -f conftest.er1 |
10855 | rm -f conftest.er1 |
14610 | cat conftest.err >&5 |
10856 | cat conftest.err >&5 |
14611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14612 | (exit $ac_status); } && |
10858 | (exit $ac_status); } && |
14613 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10859 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10860 | || test ! -s conftest.err' |
14614 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10861 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14615 | (eval $ac_try) 2>&5 |
10862 | (eval $ac_try) 2>&5 |
14616 | ac_status=$? |
10863 | ac_status=$? |
14617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10864 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14618 | (exit $ac_status); }; } && |
10865 | (exit $ac_status); }; } && |
… | |
… | |
14620 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10867 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14621 | (eval $ac_try) 2>&5 |
10868 | (eval $ac_try) 2>&5 |
14622 | ac_status=$? |
10869 | ac_status=$? |
14623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14624 | (exit $ac_status); }; }; then |
10871 | (exit $ac_status); }; }; then |
14625 | rxvt_cv_struct_lastlog=yes |
10872 | struct_lastlog=yes |
14626 | else |
10873 | else |
14627 | echo "$as_me: failed program was:" >&5 |
10874 | echo "$as_me: failed program was:" >&5 |
14628 | sed 's/^/| /' conftest.$ac_ext >&5 |
10875 | sed 's/^/| /' conftest.$ac_ext >&5 |
14629 | |
10876 | |
14630 | rxvt_cv_struct_lastlog=no |
10877 | struct_lastlog=no |
14631 | fi |
10878 | fi |
14632 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10879 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
14633 | fi |
10880 | fi |
14634 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlog" >&5 |
10881 | echo "$as_me:$LINENO: result: $struct_lastlog" >&5 |
14635 | echo "${ECHO_T}$rxvt_cv_struct_lastlog" >&6 |
10882 | echo "${ECHO_T}$struct_lastlog" >&6 |
14636 | if test x$rxvt_cv_struct_lastlog = xyes; then |
10883 | if test x$struct_lastlog = xyes; then |
14637 | |
10884 | |
14638 | cat >>confdefs.h <<\_ACEOF |
10885 | cat >>confdefs.h <<\_ACEOF |
14639 | #define HAVE_STRUCT_LASTLOG 1 |
10886 | #define HAVE_STRUCT_LASTLOG 1 |
14640 | _ACEOF |
10887 | _ACEOF |
14641 | |
10888 | |
14642 | fi |
10889 | fi |
14643 | |
10890 | |
14644 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
10891 | echo "$as_me:$LINENO: checking for struct lastlogx" >&5 |
14645 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
10892 | echo $ECHO_N "checking for struct lastlogx... $ECHO_C" >&6 |
14646 | if test "${rxvt_cv_struct_lastlogx+set}" = set; then |
10893 | if test "${struct_lastlogx+set}" = set; then |
14647 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10894 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14648 | else |
10895 | else |
14649 | cat >conftest.$ac_ext <<_ACEOF |
10896 | cat >conftest.$ac_ext <<_ACEOF |
14650 | /* confdefs.h. */ |
10897 | /* confdefs.h. */ |
14651 | _ACEOF |
10898 | _ACEOF |
… | |
… | |
14673 | grep -v '^ *+' conftest.er1 >conftest.err |
10920 | grep -v '^ *+' conftest.er1 >conftest.err |
14674 | rm -f conftest.er1 |
10921 | rm -f conftest.er1 |
14675 | cat conftest.err >&5 |
10922 | cat conftest.err >&5 |
14676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10923 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14677 | (exit $ac_status); } && |
10924 | (exit $ac_status); } && |
14678 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
10925 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
10926 | || test ! -s conftest.err' |
14679 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10927 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14680 | (eval $ac_try) 2>&5 |
10928 | (eval $ac_try) 2>&5 |
14681 | ac_status=$? |
10929 | ac_status=$? |
14682 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14683 | (exit $ac_status); }; } && |
10931 | (exit $ac_status); }; } && |
… | |
… | |
14685 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10933 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14686 | (eval $ac_try) 2>&5 |
10934 | (eval $ac_try) 2>&5 |
14687 | ac_status=$? |
10935 | ac_status=$? |
14688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10936 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14689 | (exit $ac_status); }; }; then |
10937 | (exit $ac_status); }; }; then |
14690 | rxvt_cv_struct_lastlogx=yes |
10938 | struct_lastlogx=yes |
14691 | else |
10939 | else |
14692 | echo "$as_me: failed program was:" >&5 |
10940 | echo "$as_me: failed program was:" >&5 |
14693 | sed 's/^/| /' conftest.$ac_ext >&5 |
10941 | sed 's/^/| /' conftest.$ac_ext >&5 |
14694 | |
10942 | |
14695 | rxvt_cv_struct_lastlogx=no |
10943 | struct_lastlogx=no |
14696 | fi |
10944 | fi |
14697 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
10945 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
14698 | fi |
10946 | fi |
14699 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_lastlogx" >&5 |
10947 | echo "$as_me:$LINENO: result: $struct_lastlogx" >&5 |
14700 | echo "${ECHO_T}$rxvt_cv_struct_lastlogx" >&6 |
10948 | echo "${ECHO_T}$struct_lastlogx" >&6 |
14701 | if test x$rxvt_cv_struct_lastlogx = xyes; then |
10949 | if test x$struct_lastlogx = xyes; then |
14702 | |
10950 | |
14703 | cat >>confdefs.h <<\_ACEOF |
10951 | cat >>confdefs.h <<\_ACEOF |
14704 | #define HAVE_STRUCT_LASTLOGX 1 |
10952 | #define HAVE_STRUCT_LASTLOGX 1 |
14705 | _ACEOF |
10953 | _ACEOF |
14706 | |
10954 | |
14707 | fi |
10955 | fi |
14708 | |
10956 | |
14709 | |
10957 | |
14710 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
10958 | echo "$as_me:$LINENO: checking where utmp is located" >&5 |
14711 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
10959 | echo $ECHO_N "checking where utmp is located... $ECHO_C" >&6 |
14712 | if test "${rxvt_cv_path_utmp+set}" = set; then |
10960 | if test "${path_utmp+set}" = set; then |
14713 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10961 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14714 | else |
10962 | else |
14715 | if test "$cross_compiling" = yes; then |
10963 | if test "$cross_compiling" = yes; then |
14716 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&5 |
10964 | { echo "$as_me:$LINENO: WARNING: Define UTMP_FILE in config.h manually" >&5 |
14717 | echo "$as_me: WARNING: Define RXVT_UTMP_FILE in config.h manually" >&2;} |
10965 | echo "$as_me: WARNING: Define UTMP_FILE in config.h manually" >&2;} |
14718 | else |
10966 | else |
14719 | cat >conftest.$ac_ext <<_ACEOF |
10967 | cat >conftest.$ac_ext <<_ACEOF |
14720 | /* confdefs.h. */ |
10968 | /* confdefs.h. */ |
14721 | _ACEOF |
10969 | _ACEOF |
14722 | cat confdefs.h >>conftest.$ac_ext |
10970 | cat confdefs.h >>conftest.$ac_ext |
14723 | cat >>conftest.$ac_ext <<_ACEOF |
10971 | cat >>conftest.$ac_ext <<_ACEOF |
14724 | /* end confdefs.h. */ |
10972 | /* end confdefs.h. */ |
14725 | #include <stdio.h> |
10973 | #include <stdio.h> |
|
|
10974 | #include <stdlib.h> |
14726 | #include <sys/types.h> |
10975 | #include <sys/types.h> |
14727 | #include <utmp.h> |
10976 | #include <utmp.h> |
14728 | #include <errno.h> |
10977 | #include <errno.h> |
14729 | main() |
10978 | main() |
14730 | { |
10979 | { |
… | |
… | |
14758 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11007 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14759 | (eval $ac_try) 2>&5 |
11008 | (eval $ac_try) 2>&5 |
14760 | ac_status=$? |
11009 | ac_status=$? |
14761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14762 | (exit $ac_status); }; }; then |
11011 | (exit $ac_status); }; }; then |
14763 | rxvt_cv_path_utmp=`cat conftestval` |
11012 | path_utmp=`cat conftestval` |
14764 | else |
11013 | else |
14765 | echo "$as_me: program exited with status $ac_status" >&5 |
11014 | echo "$as_me: program exited with status $ac_status" >&5 |
14766 | echo "$as_me: failed program was:" >&5 |
11015 | echo "$as_me: failed program was:" >&5 |
14767 | sed 's/^/| /' conftest.$ac_ext >&5 |
11016 | sed 's/^/| /' conftest.$ac_ext >&5 |
14768 | |
11017 | |
14769 | ( exit $ac_status ) |
11018 | ( exit $ac_status ) |
14770 | rxvt_cv_path_utmp= |
11019 | path_utmp= |
14771 | fi |
11020 | fi |
14772 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11021 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
14773 | fi |
11022 | fi |
14774 | fi |
11023 | fi |
14775 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmp" >&5 |
11024 | echo "$as_me:$LINENO: result: $path_utmp" >&5 |
14776 | echo "${ECHO_T}$rxvt_cv_path_utmp" >&6 |
11025 | echo "${ECHO_T}$path_utmp" >&6 |
14777 | if test x$rxvt_cv_path_utmp != x; then |
11026 | if test x$path_utmp != x; then |
14778 | |
11027 | |
14779 | cat >>confdefs.h <<_ACEOF |
11028 | cat >>confdefs.h <<_ACEOF |
14780 | #define RXVT_UTMP_FILE "$rxvt_cv_path_utmp" |
11029 | #define UTMP_FILE "$path_utmp" |
14781 | _ACEOF |
11030 | _ACEOF |
14782 | |
11031 | |
14783 | fi |
11032 | fi |
14784 | |
11033 | |
14785 | |
11034 | |
14786 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
11035 | echo "$as_me:$LINENO: checking where utmpx is located" >&5 |
14787 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
11036 | echo $ECHO_N "checking where utmpx is located... $ECHO_C" >&6 |
14788 | if test "${rxvt_cv_path_utmpx+set}" = set; then |
11037 | if test "${path_utmpx+set}" = set; then |
14789 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11038 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14790 | else |
11039 | else |
14791 | if test "$cross_compiling" = yes; then |
11040 | if test "$cross_compiling" = yes; then |
14792 | { echo "$as_me:$LINENO: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&5 |
11041 | { echo "$as_me:$LINENO: WARNING: Define UTMPX_FILE in config.h manually" >&5 |
14793 | echo "$as_me: WARNING: Define RXVT_UTMPX_FILE in config.h manually" >&2;} |
11042 | echo "$as_me: WARNING: Define UTMPX_FILE in config.h manually" >&2;} |
14794 | else |
11043 | else |
14795 | cat >conftest.$ac_ext <<_ACEOF |
11044 | cat >conftest.$ac_ext <<_ACEOF |
14796 | /* confdefs.h. */ |
11045 | /* confdefs.h. */ |
14797 | _ACEOF |
11046 | _ACEOF |
14798 | cat confdefs.h >>conftest.$ac_ext |
11047 | cat confdefs.h >>conftest.$ac_ext |
14799 | cat >>conftest.$ac_ext <<_ACEOF |
11048 | cat >>conftest.$ac_ext <<_ACEOF |
14800 | /* end confdefs.h. */ |
11049 | /* end confdefs.h. */ |
14801 | #include <stdio.h> |
11050 | #include <stdio.h> |
|
|
11051 | #include <stdlib.h> |
14802 | #include <sys/types.h> |
11052 | #include <sys/types.h> |
14803 | #include <utmpx.h> |
11053 | #include <utmpx.h> |
14804 | #include <errno.h> |
11054 | #include <errno.h> |
14805 | #include <sys/stat.h> |
11055 | #include <sys/stat.h> |
14806 | #ifdef HAVE_STRING_H |
11056 | #ifdef HAVE_STRING_H |
… | |
… | |
14844 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11094 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14845 | (eval $ac_try) 2>&5 |
11095 | (eval $ac_try) 2>&5 |
14846 | ac_status=$? |
11096 | ac_status=$? |
14847 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14848 | (exit $ac_status); }; }; then |
11098 | (exit $ac_status); }; }; then |
14849 | rxvt_cv_path_utmpx=`cat conftestval` |
11099 | path_utmpx=`cat conftestval` |
14850 | else |
11100 | else |
14851 | echo "$as_me: program exited with status $ac_status" >&5 |
11101 | echo "$as_me: program exited with status $ac_status" >&5 |
14852 | echo "$as_me: failed program was:" >&5 |
11102 | echo "$as_me: failed program was:" >&5 |
14853 | sed 's/^/| /' conftest.$ac_ext >&5 |
11103 | sed 's/^/| /' conftest.$ac_ext >&5 |
14854 | |
11104 | |
14855 | ( exit $ac_status ) |
11105 | ( exit $ac_status ) |
14856 | rxvt_cv_path_utmpx= |
11106 | path_utmpx= |
14857 | fi |
11107 | fi |
14858 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11108 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
14859 | fi |
11109 | fi |
14860 | fi |
11110 | fi |
14861 | echo "$as_me:$LINENO: result: $rxvt_cv_path_utmpx" >&5 |
11111 | echo "$as_me:$LINENO: result: $path_utmpx" >&5 |
14862 | echo "${ECHO_T}$rxvt_cv_path_utmpx" >&6 |
11112 | echo "${ECHO_T}$path_utmpx" >&6 |
14863 | if test x$rxvt_cv_path_utmpx != x; then |
11113 | if test x$path_utmpx != x; then |
14864 | |
11114 | |
14865 | cat >>confdefs.h <<_ACEOF |
11115 | cat >>confdefs.h <<_ACEOF |
14866 | #define RXVT_UTMPX_FILE "$rxvt_cv_path_utmpx" |
11116 | #define UTMPX_FILE "$path_utmpx" |
14867 | _ACEOF |
11117 | _ACEOF |
14868 | |
11118 | |
14869 | fi |
11119 | fi |
14870 | |
11120 | |
14871 | |
11121 | |
14872 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
11122 | echo "$as_me:$LINENO: checking where wtmp is located" >&5 |
14873 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
11123 | echo $ECHO_N "checking where wtmp is located... $ECHO_C" >&6 |
14874 | if test "${rxvt_cv_path_wtmp+set}" = set; then |
11124 | if test "${path_wtmp+set}" = set; then |
14875 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11125 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14876 | else |
11126 | else |
14877 | if test "$cross_compiling" = yes; then |
11127 | if test "$cross_compiling" = yes; then |
14878 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&5 |
11128 | { echo "$as_me:$LINENO: WARNING: Define WTMP_FILE in config.h manually" >&5 |
14879 | echo "$as_me: WARNING: Define RXVT_WTMP_FILE in config.h manually" >&2;} |
11129 | echo "$as_me: WARNING: Define WTMP_FILE in config.h manually" >&2;} |
14880 | else |
11130 | else |
14881 | cat >conftest.$ac_ext <<_ACEOF |
11131 | cat >conftest.$ac_ext <<_ACEOF |
14882 | /* confdefs.h. */ |
11132 | /* confdefs.h. */ |
14883 | _ACEOF |
11133 | _ACEOF |
14884 | cat confdefs.h >>conftest.$ac_ext |
11134 | cat confdefs.h >>conftest.$ac_ext |
14885 | cat >>conftest.$ac_ext <<_ACEOF |
11135 | cat >>conftest.$ac_ext <<_ACEOF |
14886 | /* end confdefs.h. */ |
11136 | /* end confdefs.h. */ |
14887 | #include <stdio.h> |
11137 | #include <stdio.h> |
|
|
11138 | #include <stdlib.h> |
14888 | #include <sys/types.h> |
11139 | #include <sys/types.h> |
14889 | #ifdef HAVE_UTMP_H |
11140 | #ifdef HAVE_UTMP_H |
14890 | #include <utmp.h> |
11141 | #include <utmp.h> |
14891 | #endif |
11142 | #endif |
14892 | #include <errno.h> |
11143 | #include <errno.h> |
… | |
… | |
14922 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11173 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14923 | (eval $ac_try) 2>&5 |
11174 | (eval $ac_try) 2>&5 |
14924 | ac_status=$? |
11175 | ac_status=$? |
14925 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11176 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14926 | (exit $ac_status); }; }; then |
11177 | (exit $ac_status); }; }; then |
14927 | rxvt_cv_path_wtmp=`cat conftestval` |
11178 | path_wtmp=`cat conftestval` |
14928 | else |
11179 | else |
14929 | echo "$as_me: program exited with status $ac_status" >&5 |
11180 | echo "$as_me: program exited with status $ac_status" >&5 |
14930 | echo "$as_me: failed program was:" >&5 |
11181 | echo "$as_me: failed program was:" >&5 |
14931 | sed 's/^/| /' conftest.$ac_ext >&5 |
11182 | sed 's/^/| /' conftest.$ac_ext >&5 |
14932 | |
11183 | |
14933 | ( exit $ac_status ) |
11184 | ( exit $ac_status ) |
14934 | rxvt_cv_path_wtmp= |
11185 | path_wtmp= |
14935 | fi |
11186 | fi |
14936 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11187 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
14937 | fi |
11188 | fi |
14938 | fi |
11189 | fi |
14939 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmp" >&5 |
11190 | echo "$as_me:$LINENO: result: $path_wtmp" >&5 |
14940 | echo "${ECHO_T}$rxvt_cv_path_wtmp" >&6 |
11191 | echo "${ECHO_T}$path_wtmp" >&6 |
14941 | if test x$rxvt_cv_path_wtmp != x; then |
11192 | if test x$path_wtmp != x; then |
14942 | |
11193 | |
14943 | cat >>confdefs.h <<_ACEOF |
11194 | cat >>confdefs.h <<_ACEOF |
14944 | #define RXVT_WTMP_FILE "$rxvt_cv_path_wtmp" |
11195 | #define WTMP_FILE "$path_wtmp" |
14945 | _ACEOF |
11196 | _ACEOF |
14946 | |
11197 | |
14947 | fi |
11198 | fi |
14948 | |
11199 | |
14949 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
11200 | echo "$as_me:$LINENO: checking where wtmpx is located" >&5 |
14950 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
11201 | echo $ECHO_N "checking where wtmpx is located... $ECHO_C" >&6 |
14951 | if test "${rxvt_cv_path_wtmpx+set}" = set; then |
11202 | if test "${path_wtmpx+set}" = set; then |
14952 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11203 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14953 | else |
11204 | else |
14954 | if test "$cross_compiling" = yes; then |
11205 | if test "$cross_compiling" = yes; then |
14955 | { echo "$as_me:$LINENO: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&5 |
11206 | { echo "$as_me:$LINENO: WARNING: Define WTMPX_FILE in config.h manually" >&5 |
14956 | echo "$as_me: WARNING: Define RXVT_WTMPX_FILE in config.h manually" >&2;} |
11207 | echo "$as_me: WARNING: Define WTMPX_FILE in config.h manually" >&2;} |
14957 | else |
11208 | else |
14958 | cat >conftest.$ac_ext <<_ACEOF |
11209 | cat >conftest.$ac_ext <<_ACEOF |
14959 | /* confdefs.h. */ |
11210 | /* confdefs.h. */ |
14960 | _ACEOF |
11211 | _ACEOF |
14961 | cat confdefs.h >>conftest.$ac_ext |
11212 | cat confdefs.h >>conftest.$ac_ext |
14962 | cat >>conftest.$ac_ext <<_ACEOF |
11213 | cat >>conftest.$ac_ext <<_ACEOF |
14963 | /* end confdefs.h. */ |
11214 | /* end confdefs.h. */ |
14964 | #include <stdio.h> |
11215 | #include <stdio.h> |
|
|
11216 | #include <stdlib.h> |
14965 | #ifdef HAVE_UTMPX_H |
11217 | #ifdef HAVE_UTMPX_H |
14966 | #include <utmpx.h> |
11218 | #include <utmpx.h> |
14967 | #endif |
11219 | #endif |
14968 | #include <errno.h> |
11220 | #include <errno.h> |
14969 | main() |
11221 | main() |
… | |
… | |
14998 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11250 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14999 | (eval $ac_try) 2>&5 |
11251 | (eval $ac_try) 2>&5 |
15000 | ac_status=$? |
11252 | ac_status=$? |
15001 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11253 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15002 | (exit $ac_status); }; }; then |
11254 | (exit $ac_status); }; }; then |
15003 | rxvt_cv_path_wtmpx=`cat conftestval` |
11255 | path_wtmpx=`cat conftestval` |
15004 | else |
11256 | else |
15005 | echo "$as_me: program exited with status $ac_status" >&5 |
11257 | echo "$as_me: program exited with status $ac_status" >&5 |
15006 | echo "$as_me: failed program was:" >&5 |
11258 | echo "$as_me: failed program was:" >&5 |
15007 | sed 's/^/| /' conftest.$ac_ext >&5 |
11259 | sed 's/^/| /' conftest.$ac_ext >&5 |
15008 | |
11260 | |
15009 | ( exit $ac_status ) |
11261 | ( exit $ac_status ) |
15010 | rxvt_cv_path_wtmpx= |
11262 | path_wtmpx= |
15011 | fi |
11263 | fi |
15012 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11264 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15013 | fi |
11265 | fi |
15014 | fi |
11266 | fi |
15015 | echo "$as_me:$LINENO: result: $rxvt_cv_path_wtmpx" >&5 |
11267 | echo "$as_me:$LINENO: result: $path_wtmpx" >&5 |
15016 | echo "${ECHO_T}$rxvt_cv_path_wtmpx" >&6 |
11268 | echo "${ECHO_T}$path_wtmpx" >&6 |
15017 | if test x$rxvt_cv_path_wtmpx != x; then |
11269 | if test x$path_wtmpx != x; then |
15018 | |
11270 | |
15019 | cat >>confdefs.h <<_ACEOF |
11271 | cat >>confdefs.h <<_ACEOF |
15020 | #define RXVT_WTMPX_FILE "$rxvt_cv_path_wtmpx" |
11272 | #define WTMPX_FILE "$path_wtmpx" |
15021 | _ACEOF |
11273 | _ACEOF |
15022 | |
11274 | |
15023 | fi |
11275 | fi |
15024 | |
11276 | |
15025 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
11277 | echo "$as_me:$LINENO: checking where lastlog is located" >&5 |
15026 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
11278 | echo $ECHO_N "checking where lastlog is located... $ECHO_C" >&6 |
15027 | if test "${rxvt_cv_path_lastlog+set}" = set; then |
11279 | if test "${path_lastlog+set}" = set; then |
15028 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11280 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15029 | else |
11281 | else |
15030 | if test "$cross_compiling" = yes; then |
11282 | if test "$cross_compiling" = yes; then |
15031 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&5 |
11283 | { echo "$as_me:$LINENO: WARNING: Define LASTLOG_FILE in config.h manually" >&5 |
15032 | echo "$as_me: WARNING: Define RXVT_LASTLOG_FILE in config.h manually" >&2;} |
11284 | echo "$as_me: WARNING: Define LASTLOG_FILE in config.h manually" >&2;} |
15033 | else |
11285 | else |
15034 | cat >conftest.$ac_ext <<_ACEOF |
11286 | cat >conftest.$ac_ext <<_ACEOF |
15035 | /* confdefs.h. */ |
11287 | /* confdefs.h. */ |
15036 | _ACEOF |
11288 | _ACEOF |
15037 | cat confdefs.h >>conftest.$ac_ext |
11289 | cat confdefs.h >>conftest.$ac_ext |
15038 | cat >>conftest.$ac_ext <<_ACEOF |
11290 | cat >>conftest.$ac_ext <<_ACEOF |
15039 | /* end confdefs.h. */ |
11291 | /* end confdefs.h. */ |
15040 | #include <stdio.h> |
11292 | #include <stdio.h> |
|
|
11293 | #include <stdlib.h> |
15041 | #include <sys/types.h> |
11294 | #include <sys/types.h> |
15042 | #ifdef HAVE_UTMPX_H |
11295 | #ifdef HAVE_UTMPX_H |
15043 | #include <utmpx.h> |
11296 | #include <utmpx.h> |
15044 | #elif defined(HAVE_UTMP_H) |
11297 | #elif defined(HAVE_UTMP_H) |
15045 | #include <utmp.h> |
11298 | #include <utmp.h> |
… | |
… | |
15079 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11332 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15080 | (eval $ac_try) 2>&5 |
11333 | (eval $ac_try) 2>&5 |
15081 | ac_status=$? |
11334 | ac_status=$? |
15082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15083 | (exit $ac_status); }; }; then |
11336 | (exit $ac_status); }; }; then |
15084 | rxvt_cv_path_lastlog=`cat conftestval` |
11337 | path_lastlog=`cat conftestval` |
15085 | else |
11338 | else |
15086 | echo "$as_me: program exited with status $ac_status" >&5 |
11339 | echo "$as_me: program exited with status $ac_status" >&5 |
15087 | echo "$as_me: failed program was:" >&5 |
11340 | echo "$as_me: failed program was:" >&5 |
15088 | sed 's/^/| /' conftest.$ac_ext >&5 |
11341 | sed 's/^/| /' conftest.$ac_ext >&5 |
15089 | |
11342 | |
15090 | ( exit $ac_status ) |
11343 | ( exit $ac_status ) |
15091 | rxvt_cv_path_lastlog= |
11344 | path_lastlog= |
15092 | fi |
11345 | fi |
15093 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11346 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15094 | fi |
11347 | fi |
15095 | fi |
11348 | fi |
15096 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlog" >&5 |
11349 | echo "$as_me:$LINENO: result: $path_lastlog" >&5 |
15097 | echo "${ECHO_T}$rxvt_cv_path_lastlog" >&6 |
11350 | echo "${ECHO_T}$path_lastlog" >&6 |
15098 | if test x$rxvt_cv_path_lastlog != x; then |
11351 | if test x$path_lastlog != x; then |
15099 | |
11352 | |
15100 | cat >>confdefs.h <<_ACEOF |
11353 | cat >>confdefs.h <<_ACEOF |
15101 | #define RXVT_LASTLOG_FILE "$rxvt_cv_path_lastlog" |
11354 | #define LASTLOG_FILE "$path_lastlog" |
15102 | _ACEOF |
11355 | _ACEOF |
15103 | |
11356 | |
15104 | if test -d "$rxvt_cv_path_lastlog"; then |
11357 | if test -d "$path_lastlog"; then |
15105 | |
11358 | |
15106 | cat >>confdefs.h <<\_ACEOF |
11359 | cat >>confdefs.h <<\_ACEOF |
15107 | #define LASTLOG_IS_DIR 1 |
11360 | #define LASTLOG_IS_DIR 1 |
15108 | _ACEOF |
11361 | _ACEOF |
15109 | |
11362 | |
15110 | fi |
11363 | fi |
15111 | fi |
11364 | fi |
15112 | |
11365 | |
15113 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11366 | echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
15114 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
11367 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6 |
15115 | if test "${rxvt_cv_path_lastlogx+set}" = set; then |
11368 | if test "${path_lastlogx+set}" = set; then |
15116 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11369 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15117 | else |
11370 | else |
15118 | if test "$cross_compiling" = yes; then |
11371 | if test "$cross_compiling" = yes; then |
15119 | { echo "$as_me:$LINENO: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&5 |
11372 | { echo "$as_me:$LINENO: WARNING: Define LASTLOGX_FILE in config.h manually" >&5 |
15120 | echo "$as_me: WARNING: Define RXVT_LASTLOGX_FILE in config.h manually" >&2;} |
11373 | echo "$as_me: WARNING: Define LASTLOGX_FILE in config.h manually" >&2;} |
15121 | else |
11374 | else |
15122 | cat >conftest.$ac_ext <<_ACEOF |
11375 | cat >conftest.$ac_ext <<_ACEOF |
15123 | /* confdefs.h. */ |
11376 | /* confdefs.h. */ |
15124 | _ACEOF |
11377 | _ACEOF |
15125 | cat confdefs.h >>conftest.$ac_ext |
11378 | cat confdefs.h >>conftest.$ac_ext |
15126 | cat >>conftest.$ac_ext <<_ACEOF |
11379 | cat >>conftest.$ac_ext <<_ACEOF |
15127 | /* end confdefs.h. */ |
11380 | /* end confdefs.h. */ |
15128 | #include <stdio.h> |
11381 | #include <stdio.h> |
|
|
11382 | #include <stdlib.h> |
15129 | #ifdef HAVE_UTMPX_H |
11383 | #ifdef HAVE_UTMPX_H |
15130 | #include <utmpx.h> |
11384 | #include <utmpx.h> |
15131 | #endif |
11385 | #endif |
15132 | #include <errno.h> |
11386 | #include <errno.h> |
15133 | main() |
11387 | main() |
… | |
… | |
15161 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11415 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15162 | (eval $ac_try) 2>&5 |
11416 | (eval $ac_try) 2>&5 |
15163 | ac_status=$? |
11417 | ac_status=$? |
15164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11418 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15165 | (exit $ac_status); }; }; then |
11419 | (exit $ac_status); }; }; then |
15166 | rxvt_cv_path_lastlogx=`cat conftestval` |
11420 | path_lastlogx=`cat conftestval` |
15167 | else |
11421 | else |
15168 | echo "$as_me: program exited with status $ac_status" >&5 |
11422 | echo "$as_me: program exited with status $ac_status" >&5 |
15169 | echo "$as_me: failed program was:" >&5 |
11423 | echo "$as_me: failed program was:" >&5 |
15170 | sed 's/^/| /' conftest.$ac_ext >&5 |
11424 | sed 's/^/| /' conftest.$ac_ext >&5 |
15171 | |
11425 | |
15172 | ( exit $ac_status ) |
11426 | ( exit $ac_status ) |
15173 | rxvt_cv_path_lastlogx= |
11427 | path_lastlogx= |
15174 | fi |
11428 | fi |
15175 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11429 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15176 | fi |
11430 | fi |
15177 | fi |
11431 | fi |
15178 | echo "$as_me:$LINENO: result: $rxvt_cv_path_lastlogx" >&5 |
11432 | echo "$as_me:$LINENO: result: $path_lastlogx" >&5 |
15179 | echo "${ECHO_T}$rxvt_cv_path_lastlogx" >&6 |
11433 | echo "${ECHO_T}$path_lastlogx" >&6 |
15180 | if test x$rxvt_cv_path_lastlogx != x; then |
11434 | if test x$path_lastlogx != x; then |
15181 | |
11435 | |
15182 | cat >>confdefs.h <<_ACEOF |
11436 | cat >>confdefs.h <<_ACEOF |
15183 | #define RXVT_LASTLOGX_FILE "$rxvt_cv_path_lastlogx" |
11437 | #define LASTLOGX_FILE "$path_lastlogx" |
15184 | _ACEOF |
11438 | _ACEOF |
15185 | |
11439 | |
15186 | fi |
11440 | fi |
|
|
11441 | |
15187 | |
11442 | |
15188 | |
11443 | |
15189 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
11444 | echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
15190 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
11445 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 |
15191 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
11446 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
… | |
… | |
15232 | _ACEOF |
11487 | _ACEOF |
15233 | cat confdefs.h >>conftest.$ac_ext |
11488 | cat confdefs.h >>conftest.$ac_ext |
15234 | cat >>conftest.$ac_ext <<_ACEOF |
11489 | cat >>conftest.$ac_ext <<_ACEOF |
15235 | /* end confdefs.h. */ |
11490 | /* end confdefs.h. */ |
15236 | #include <X11/Xlib.h> |
11491 | #include <X11/Xlib.h> |
|
|
11492 | #include <stdlib.h> |
15237 | main() { |
11493 | main() { |
15238 | char *p; |
11494 | char *p; |
15239 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11495 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
15240 | exit (XSupportsLocale() ? 0 : 1); |
11496 | exit (XSupportsLocale() ? 0 : 1); |
15241 | else |
11497 | else |
… | |
… | |
15302 | grep -v '^ *+' conftest.er1 >conftest.err |
11558 | grep -v '^ *+' conftest.er1 >conftest.err |
15303 | rm -f conftest.er1 |
11559 | rm -f conftest.er1 |
15304 | cat conftest.err >&5 |
11560 | cat conftest.err >&5 |
15305 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15306 | (exit $ac_status); } && |
11562 | (exit $ac_status); } && |
15307 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11563 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11564 | || test ! -s conftest.err' |
15308 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11565 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15309 | (eval $ac_try) 2>&5 |
11566 | (eval $ac_try) 2>&5 |
15310 | ac_status=$? |
11567 | ac_status=$? |
15311 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15312 | (exit $ac_status); }; } && |
11569 | (exit $ac_status); }; } && |
… | |
… | |
15365 | grep -v '^ *+' conftest.er1 >conftest.err |
11622 | grep -v '^ *+' conftest.er1 >conftest.err |
15366 | rm -f conftest.er1 |
11623 | rm -f conftest.er1 |
15367 | cat conftest.err >&5 |
11624 | cat conftest.err >&5 |
15368 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11625 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15369 | (exit $ac_status); } && |
11626 | (exit $ac_status); } && |
15370 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11627 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11628 | || test ! -s conftest.err' |
15371 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11629 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15372 | (eval $ac_try) 2>&5 |
11630 | (eval $ac_try) 2>&5 |
15373 | ac_status=$? |
11631 | ac_status=$? |
15374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15375 | (exit $ac_status); }; } && |
11633 | (exit $ac_status); }; } && |
… | |
… | |
15426 | grep -v '^ *+' conftest.er1 >conftest.err |
11684 | grep -v '^ *+' conftest.er1 >conftest.err |
15427 | rm -f conftest.er1 |
11685 | rm -f conftest.er1 |
15428 | cat conftest.err >&5 |
11686 | cat conftest.err >&5 |
15429 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11687 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15430 | (exit $ac_status); } && |
11688 | (exit $ac_status); } && |
15431 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11689 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11690 | || test ! -s conftest.err' |
15432 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11691 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15433 | (eval $ac_try) 2>&5 |
11692 | (eval $ac_try) 2>&5 |
15434 | ac_status=$? |
11693 | ac_status=$? |
15435 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15436 | (exit $ac_status); }; } && |
11695 | (exit $ac_status); }; } && |
… | |
… | |
15457 | cat >>confdefs.h <<\_ACEOF |
11716 | cat >>confdefs.h <<\_ACEOF |
15458 | #define HAVE_NL_LANGINFO 1 |
11717 | #define HAVE_NL_LANGINFO 1 |
15459 | _ACEOF |
11718 | _ACEOF |
15460 | |
11719 | |
15461 | fi |
11720 | fi |
|
|
11721 | |
|
|
11722 | |
|
|
11723 | echo "$as_me:$LINENO: checking for unix-compliant filehandle passing ability" >&5 |
|
|
11724 | echo $ECHO_N "checking for unix-compliant filehandle passing ability... $ECHO_C" >&6 |
|
|
11725 | if test "${can_pass_fds+set}" = set; then |
|
|
11726 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11727 | else |
|
|
11728 | cat >conftest.$ac_ext <<_ACEOF |
|
|
11729 | /* confdefs.h. */ |
|
|
11730 | _ACEOF |
|
|
11731 | cat confdefs.h >>conftest.$ac_ext |
|
|
11732 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
11733 | /* end confdefs.h. */ |
|
|
11734 | |
|
|
11735 | #include <cstddef> // broken bsds (is that redundant?) need this |
|
|
11736 | #include <sys/types.h> |
|
|
11737 | #include <sys/socket.h> |
|
|
11738 | #include <sys/uio.h> |
|
|
11739 | |
|
|
11740 | int |
|
|
11741 | main () |
|
|
11742 | { |
|
|
11743 | |
|
|
11744 | { |
|
|
11745 | msghdr msg; |
|
|
11746 | iovec iov; |
|
|
11747 | char buf [100]; |
|
|
11748 | char data = 0; |
|
|
11749 | |
|
|
11750 | iov.iov_base = &data; |
|
|
11751 | iov.iov_len = 1; |
|
|
11752 | |
|
|
11753 | msg.msg_iov = &iov; |
|
|
11754 | msg.msg_iovlen = 1; |
|
|
11755 | msg.msg_control = buf; |
|
|
11756 | msg.msg_controllen = sizeof buf; |
|
|
11757 | |
|
|
11758 | cmsghdr *cmsg = CMSG_FIRSTHDR (&msg); |
|
|
11759 | cmsg->cmsg_level = SOL_SOCKET; |
|
|
11760 | cmsg->cmsg_type = SCM_RIGHTS; |
|
|
11761 | cmsg->cmsg_len = 100; |
|
|
11762 | |
|
|
11763 | *(int *)CMSG_DATA (cmsg) = 5; |
|
|
11764 | |
|
|
11765 | return sendmsg (3, &msg, 0); |
|
|
11766 | } |
|
|
11767 | |
|
|
11768 | ; |
|
|
11769 | return 0; |
|
|
11770 | } |
|
|
11771 | _ACEOF |
|
|
11772 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
11773 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11774 | (eval $ac_link) 2>conftest.er1 |
|
|
11775 | ac_status=$? |
|
|
11776 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
11777 | rm -f conftest.er1 |
|
|
11778 | cat conftest.err >&5 |
|
|
11779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11780 | (exit $ac_status); } && |
|
|
11781 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11782 | || test ! -s conftest.err' |
|
|
11783 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11784 | (eval $ac_try) 2>&5 |
|
|
11785 | ac_status=$? |
|
|
11786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11787 | (exit $ac_status); }; } && |
|
|
11788 | { ac_try='test -s conftest$ac_exeext' |
|
|
11789 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
11790 | (eval $ac_try) 2>&5 |
|
|
11791 | ac_status=$? |
|
|
11792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11793 | (exit $ac_status); }; }; then |
|
|
11794 | can_pass_fds=yes |
|
|
11795 | else |
|
|
11796 | echo "$as_me: failed program was:" >&5 |
|
|
11797 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
11798 | |
|
|
11799 | can_pass_fds=no |
|
|
11800 | fi |
|
|
11801 | rm -f conftest.err conftest.$ac_objext \ |
|
|
11802 | conftest$ac_exeext conftest.$ac_ext |
|
|
11803 | fi |
|
|
11804 | echo "$as_me:$LINENO: result: $can_pass_fds" >&5 |
|
|
11805 | echo "${ECHO_T}$can_pass_fds" >&6 |
|
|
11806 | if test x$can_pass_fds = xyes; then |
|
|
11807 | |
|
|
11808 | cat >>confdefs.h <<\_ACEOF |
|
|
11809 | #define HAVE_UNIX_FDPASS 1 |
|
|
11810 | _ACEOF |
|
|
11811 | |
|
|
11812 | else |
|
|
11813 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
|
|
11814 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
|
|
11815 | { (exit 1); exit 1; }; } |
|
|
11816 | fi |
|
|
11817 | |
15462 | |
11818 | |
15463 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
11819 | echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
15464 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
11820 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6 |
15465 | if test "${rxvt_broken_ximcb+set}" = set; then |
11821 | if test "${rxvt_broken_ximcb+set}" = set; then |
15466 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11822 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
15484 | grep -v '^ *+' conftest.er1 >conftest.err |
11840 | grep -v '^ *+' conftest.er1 >conftest.err |
15485 | rm -f conftest.er1 |
11841 | rm -f conftest.er1 |
15486 | cat conftest.err >&5 |
11842 | cat conftest.err >&5 |
15487 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15488 | (exit $ac_status); } && |
11844 | (exit $ac_status); } && |
15489 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11845 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11846 | || test ! -s conftest.err' |
15490 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11847 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15491 | (eval $ac_try) 2>&5 |
11848 | (eval $ac_try) 2>&5 |
15492 | ac_status=$? |
11849 | ac_status=$? |
15493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11850 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15494 | (exit $ac_status); }; } && |
11851 | (exit $ac_status); }; } && |
… | |
… | |
15516 | #define XIMCB_PROTO_BROKEN 1 |
11873 | #define XIMCB_PROTO_BROKEN 1 |
15517 | _ACEOF |
11874 | _ACEOF |
15518 | |
11875 | |
15519 | fi |
11876 | fi |
15520 | |
11877 | |
15521 | echo "$as_me:$LINENO: checking for getpt" >&5 |
|
|
15522 | echo $ECHO_N "checking for getpt... $ECHO_C" >&6 |
|
|
15523 | if test "${rxvt_cv_func_getpt+set}" = set; then |
|
|
15524 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
15525 | else |
|
|
15526 | cat >conftest.$ac_ext <<_ACEOF |
|
|
15527 | /* confdefs.h. */ |
|
|
15528 | _ACEOF |
|
|
15529 | cat confdefs.h >>conftest.$ac_ext |
|
|
15530 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
15531 | /* end confdefs.h. */ |
|
|
15532 | #define _GNU_SOURCE |
|
|
15533 | #ifdef HAVE_STDLIB_H |
|
|
15534 | # include <cstdlib> |
|
|
15535 | #endif |
|
|
15536 | int |
|
|
15537 | main () |
|
|
15538 | { |
|
|
15539 | (void)getpt(); |
|
|
15540 | ; |
|
|
15541 | return 0; |
|
|
15542 | } |
|
|
15543 | _ACEOF |
|
|
15544 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
15545 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15546 | (eval $ac_link) 2>conftest.er1 |
|
|
15547 | ac_status=$? |
|
|
15548 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
15549 | rm -f conftest.er1 |
|
|
15550 | cat conftest.err >&5 |
|
|
15551 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15552 | (exit $ac_status); } && |
|
|
15553 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
|
|
15554 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15555 | (eval $ac_try) 2>&5 |
|
|
15556 | ac_status=$? |
|
|
15557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15558 | (exit $ac_status); }; } && |
|
|
15559 | { ac_try='test -s conftest$ac_exeext' |
|
|
15560 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
15561 | (eval $ac_try) 2>&5 |
|
|
15562 | ac_status=$? |
|
|
15563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
15564 | (exit $ac_status); }; }; then |
|
|
15565 | rxvt_cv_func_getpt=yes |
|
|
15566 | else |
|
|
15567 | echo "$as_me: failed program was:" >&5 |
|
|
15568 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
15569 | |
11878 | |
15570 | rxvt_cv_func_getpt=no |
|
|
15571 | fi |
|
|
15572 | rm -f conftest.err conftest.$ac_objext \ |
|
|
15573 | conftest$ac_exeext conftest.$ac_ext |
|
|
15574 | fi |
|
|
15575 | echo "$as_me:$LINENO: result: $rxvt_cv_func_getpt" >&5 |
|
|
15576 | echo "${ECHO_T}$rxvt_cv_func_getpt" >&6 |
|
|
15577 | if test x$rxvt_cv_func_getpt = xyes; then |
|
|
15578 | |
11879 | |
15579 | cat >>confdefs.h <<\_ACEOF |
|
|
15580 | #define HAVE_GETPT 1 |
|
|
15581 | _ACEOF |
|
|
15582 | |
11880 | |
15583 | fi |
|
|
15584 | |
11881 | |
15585 | echo "$as_me:$LINENO: checking for pty/tty type" >&5 |
|
|
15586 | echo $ECHO_N "checking for pty/tty type... $ECHO_C" >&6 |
|
|
15587 | if test "${rxvt_cv_ptys+set}" = set; then |
|
|
15588 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
15589 | else |
|
|
15590 | if test x$ac_cv_func_openpty = xyes; then |
|
|
15591 | rxvt_cv_ptys=OPENPTY |
|
|
15592 | else if test x$ac_cv_func__getpty = xyes; then |
|
|
15593 | rxvt_cv_ptys=SGI4 |
|
|
15594 | else if test -c /dev/ttyp20; then |
|
|
15595 | rxvt_cv_ptys=SCO |
|
|
15596 | else if test -c /dev/ptym/clone; then |
|
|
15597 | rxvt_cv_ptys=HPUX |
|
|
15598 | else if test x$rxvt_cv_func_getpt = xyes; then |
|
|
15599 | rxvt_cv_ptys=GLIBC |
|
|
15600 | else if test -c /dev/ptc -a -c /dev/pts; then |
|
|
15601 | rxvt_cv_ptys=PTC |
|
|
15602 | else if test -c /dev/ptc -a -d /dev/pts; then |
|
|
15603 | rxvt_cv_ptys=PTC |
|
|
15604 | else if test -c /dev/ptmx -a -c /dev/pts/0; then |
|
|
15605 | rxvt_cv_ptys=STREAMS |
|
|
15606 | else if test x$ac_cv_func_grantpt = xyes && test x$ac_cv_func_unlockpt = xyes; then |
|
|
15607 | rxvt_cv_ptys=STREAMS |
|
|
15608 | else |
|
|
15609 | rxvt_cv_ptys=BSD |
|
|
15610 | fi |
|
|
15611 | fi |
|
|
15612 | fi |
|
|
15613 | fi |
|
|
15614 | fi |
|
|
15615 | fi |
|
|
15616 | fi |
|
|
15617 | fi |
|
|
15618 | fi |
|
|
15619 | |
11882 | |
15620 | fi |
|
|
15621 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
|
|
15622 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
|
|
15623 | |
11883 | |
15624 | if test x$rxvt_cv_ptys = xOPENPTY; then |
11884 | for ac_header in \ |
|
|
11885 | pty.h \ |
|
|
11886 | util.h \ |
|
|
11887 | libutil.h \ |
|
|
11888 | sys/ioctl.h \ |
|
|
11889 | sys/stropts.h \ |
15625 | |
11890 | |
15626 | cat >>confdefs.h <<\_ACEOF |
|
|
15627 | #define PTYS_ARE_OPENPTY 1 |
|
|
15628 | _ACEOF |
|
|
15629 | |
|
|
15630 | fi |
|
|
15631 | if test x$rxvt_cv_ptys = xSCO; then |
|
|
15632 | |
|
|
15633 | cat >>confdefs.h <<\_ACEOF |
|
|
15634 | #define PTYS_ARE_NUMERIC 1 |
|
|
15635 | _ACEOF |
|
|
15636 | |
|
|
15637 | fi |
|
|
15638 | if test x$rxvt_cv_ptys = xSTREAMS; then |
|
|
15639 | |
|
|
15640 | cat >>confdefs.h <<\_ACEOF |
|
|
15641 | #define PTYS_ARE_PTMX 1 |
|
|
15642 | _ACEOF |
|
|
15643 | |
|
|
15644 | fi |
|
|
15645 | if test x$rxvt_cv_ptys = xPTC; then |
|
|
15646 | |
|
|
15647 | cat >>confdefs.h <<\_ACEOF |
|
|
15648 | #define PTYS_ARE_PTC 1 |
|
|
15649 | _ACEOF |
|
|
15650 | |
|
|
15651 | fi |
|
|
15652 | if test x$rxvt_cv_ptys = xSGI4; then |
|
|
15653 | |
|
|
15654 | cat >>confdefs.h <<\_ACEOF |
|
|
15655 | #define PTYS_ARE__GETPTY 1 |
|
|
15656 | _ACEOF |
|
|
15657 | |
|
|
15658 | fi |
|
|
15659 | if test x$rxvt_cv_ptys = xCONVEX; then |
|
|
15660 | |
|
|
15661 | cat >>confdefs.h <<\_ACEOF |
|
|
15662 | #define PTYS_ARE_GETPTY 1 |
|
|
15663 | _ACEOF |
|
|
15664 | |
|
|
15665 | fi |
|
|
15666 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
15667 | |
|
|
15668 | cat >>confdefs.h <<\_ACEOF |
|
|
15669 | #define PTYS_ARE_GETPT 1 |
|
|
15670 | _ACEOF |
|
|
15671 | |
|
|
15672 | fi |
|
|
15673 | if test x$rxvt_cv_ptys = xHPUX; then |
|
|
15674 | |
|
|
15675 | cat >>confdefs.h <<\_ACEOF |
|
|
15676 | #define PTYS_ARE_CLONE 1 |
|
|
15677 | _ACEOF |
|
|
15678 | |
|
|
15679 | fi |
|
|
15680 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
|
|
15681 | |
|
|
15682 | cat >>confdefs.h <<\_ACEOF |
|
|
15683 | #define PTYS_ARE_SEARCHED 1 |
|
|
15684 | _ACEOF |
|
|
15685 | |
|
|
15686 | fi |
|
|
15687 | |
|
|
15688 | |
|
|
15689 | { echo "$as_me:$LINENO: checking for pty ranges..." >&5 |
|
|
15690 | echo "$as_me: checking for pty ranges..." >&6;} |
|
|
15691 | ptys=`echo /dev/pty??` |
|
|
15692 | pch1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'` |
|
|
15693 | pch2=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'` |
|
|
15694 | if test x$pch1 != x; then |
|
|
15695 | |
|
|
15696 | cat >>confdefs.h <<_ACEOF |
|
|
15697 | #define PTYCHAR1 "$pch1" |
|
|
15698 | _ACEOF |
|
|
15699 | |
|
|
15700 | fi |
|
|
15701 | if test x$pch2 != x; then |
|
|
15702 | |
|
|
15703 | cat >>confdefs.h <<_ACEOF |
|
|
15704 | #define PTYCHAR2 "$pch2" |
|
|
15705 | _ACEOF |
|
|
15706 | |
|
|
15707 | fi |
|
|
15708 | |
|
|
15709 | if test x$support_xft = xyes; then |
|
|
15710 | LIBS="$LIBS `pkg-config xft --libs`" |
|
|
15711 | CFLAGS="$CFLAGS `pkg-config xft --cflags`" |
|
|
15712 | CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`" |
|
|
15713 | |
|
|
15714 | |
|
|
15715 | for ac_header in X11/Xft/Xft.h |
|
|
15716 | do |
11891 | do |
15717 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11892 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
15718 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
11893 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
15719 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11894 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
15720 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
11895 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
… | |
… | |
15743 | grep -v '^ *+' conftest.er1 >conftest.err |
11918 | grep -v '^ *+' conftest.er1 >conftest.err |
15744 | rm -f conftest.er1 |
11919 | rm -f conftest.er1 |
15745 | cat conftest.err >&5 |
11920 | cat conftest.err >&5 |
15746 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15747 | (exit $ac_status); } && |
11922 | (exit $ac_status); } && |
15748 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
11923 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
11924 | || test ! -s conftest.err' |
15749 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11925 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15750 | (eval $ac_try) 2>&5 |
11926 | (eval $ac_try) 2>&5 |
15751 | ac_status=$? |
11927 | ac_status=$? |
15752 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15753 | (exit $ac_status); }; } && |
11929 | (exit $ac_status); }; } && |
… | |
… | |
15854 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12030 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
15855 | cat >>confdefs.h <<_ACEOF |
12031 | cat >>confdefs.h <<_ACEOF |
15856 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12032 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
15857 | _ACEOF |
12033 | _ACEOF |
15858 | |
12034 | |
|
|
12035 | fi |
|
|
12036 | |
|
|
12037 | done |
|
|
12038 | |
|
|
12039 | |
|
|
12040 | |
|
|
12041 | |
|
|
12042 | |
|
|
12043 | |
|
|
12044 | |
|
|
12045 | |
|
|
12046 | |
|
|
12047 | |
|
|
12048 | |
|
|
12049 | for ac_func in \ |
|
|
12050 | revoke \ |
|
|
12051 | _getpty \ |
|
|
12052 | getpt \ |
|
|
12053 | posix_openpt \ |
|
|
12054 | isastream \ |
|
|
12055 | setuid \ |
|
|
12056 | seteuid \ |
|
|
12057 | setreuid \ |
|
|
12058 | setresuid \ |
|
|
12059 | |
|
|
12060 | do |
|
|
12061 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
12062 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
12063 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
12064 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
12065 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12066 | else |
|
|
12067 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12068 | /* confdefs.h. */ |
|
|
12069 | _ACEOF |
|
|
12070 | cat confdefs.h >>conftest.$ac_ext |
|
|
12071 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12072 | /* end confdefs.h. */ |
|
|
12073 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
12074 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
12075 | #define $ac_func innocuous_$ac_func |
|
|
12076 | |
|
|
12077 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
12078 | which can conflict with char $ac_func (); below. |
|
|
12079 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
12080 | <limits.h> exists even on freestanding compilers. */ |
|
|
12081 | |
|
|
12082 | #ifdef __STDC__ |
|
|
12083 | # include <limits.h> |
|
|
12084 | #else |
|
|
12085 | # include <assert.h> |
|
|
12086 | #endif |
|
|
12087 | |
|
|
12088 | #undef $ac_func |
|
|
12089 | |
|
|
12090 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12091 | #ifdef __cplusplus |
|
|
12092 | extern "C" |
|
|
12093 | { |
|
|
12094 | #endif |
|
|
12095 | /* We use char because int might match the return type of a gcc2 |
|
|
12096 | builtin and then its argument prototype would still apply. */ |
|
|
12097 | char $ac_func (); |
|
|
12098 | /* The GNU C library defines this for functions which it implements |
|
|
12099 | to always fail with ENOSYS. Some functions are actually named |
|
|
12100 | something starting with __ and the normal name is an alias. */ |
|
|
12101 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
12102 | choke me |
|
|
12103 | #else |
|
|
12104 | char (*f) () = $ac_func; |
|
|
12105 | #endif |
|
|
12106 | #ifdef __cplusplus |
|
|
12107 | } |
|
|
12108 | #endif |
|
|
12109 | |
|
|
12110 | int |
|
|
12111 | main () |
|
|
12112 | { |
|
|
12113 | return f != $ac_func; |
|
|
12114 | ; |
|
|
12115 | return 0; |
|
|
12116 | } |
|
|
12117 | _ACEOF |
|
|
12118 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12119 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12120 | (eval $ac_link) 2>conftest.er1 |
|
|
12121 | ac_status=$? |
|
|
12122 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12123 | rm -f conftest.er1 |
|
|
12124 | cat conftest.err >&5 |
|
|
12125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12126 | (exit $ac_status); } && |
|
|
12127 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12128 | || test ! -s conftest.err' |
|
|
12129 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12130 | (eval $ac_try) 2>&5 |
|
|
12131 | ac_status=$? |
|
|
12132 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12133 | (exit $ac_status); }; } && |
|
|
12134 | { ac_try='test -s conftest$ac_exeext' |
|
|
12135 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12136 | (eval $ac_try) 2>&5 |
|
|
12137 | ac_status=$? |
|
|
12138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12139 | (exit $ac_status); }; }; then |
|
|
12140 | eval "$as_ac_var=yes" |
|
|
12141 | else |
|
|
12142 | echo "$as_me: failed program was:" >&5 |
|
|
12143 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12144 | |
|
|
12145 | eval "$as_ac_var=no" |
|
|
12146 | fi |
|
|
12147 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12148 | conftest$ac_exeext conftest.$ac_ext |
|
|
12149 | fi |
|
|
12150 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
12151 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
12152 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
12153 | cat >>confdefs.h <<_ACEOF |
|
|
12154 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
12155 | _ACEOF |
|
|
12156 | |
|
|
12157 | fi |
|
|
12158 | done |
|
|
12159 | |
|
|
12160 | |
|
|
12161 | have_clone=no |
|
|
12162 | |
|
|
12163 | echo "$as_me:$LINENO: checking for /dev/ptym/clone" >&5 |
|
|
12164 | echo $ECHO_N "checking for /dev/ptym/clone... $ECHO_C" >&6 |
|
|
12165 | if test -e /dev/ptym/clone; then |
|
|
12166 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12167 | echo "${ECHO_T}yes" >&6 |
|
|
12168 | |
|
|
12169 | cat >>confdefs.h <<\_ACEOF |
|
|
12170 | #define HAVE_DEV_CLONE 1 |
|
|
12171 | _ACEOF |
|
|
12172 | |
|
|
12173 | |
|
|
12174 | cat >>confdefs.h <<\_ACEOF |
|
|
12175 | #define CLONE_DEVICE "/dev/ptym/clone" |
|
|
12176 | _ACEOF |
|
|
12177 | |
|
|
12178 | have_clone=yes |
|
|
12179 | else |
|
|
12180 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12181 | echo "${ECHO_T}no" >&6 |
|
|
12182 | fi |
|
|
12183 | |
|
|
12184 | echo "$as_me:$LINENO: checking for /dev/ptc" >&5 |
|
|
12185 | echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6 |
|
|
12186 | if test -e /dev/ptc; then |
|
|
12187 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12188 | echo "${ECHO_T}yes" >&6 |
|
|
12189 | |
|
|
12190 | cat >>confdefs.h <<\_ACEOF |
|
|
12191 | #define HAVE_DEV_PTC 1 |
|
|
12192 | _ACEOF |
|
|
12193 | |
|
|
12194 | |
|
|
12195 | cat >>confdefs.h <<\_ACEOF |
|
|
12196 | #define CLONE_DEVICE "/dev/ptc" |
|
|
12197 | _ACEOF |
|
|
12198 | |
|
|
12199 | have_clone=yes |
|
|
12200 | else |
|
|
12201 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12202 | echo "${ECHO_T}no" >&6 |
|
|
12203 | fi |
|
|
12204 | |
|
|
12205 | case $host in |
|
|
12206 | *-*-cygwin*) |
|
|
12207 | have_clone=yes |
|
|
12208 | |
|
|
12209 | cat >>confdefs.h <<\_ACEOF |
|
|
12210 | #define CLONE_DEVICE "/dev/ptmx" |
|
|
12211 | _ACEOF |
|
|
12212 | |
|
|
12213 | ;; |
|
|
12214 | *) |
|
|
12215 | echo "$as_me:$LINENO: checking for /dev/ptmx" >&5 |
|
|
12216 | echo $ECHO_N "checking for /dev/ptmx... $ECHO_C" >&6 |
|
|
12217 | if test -e /dev/ptmx; then |
|
|
12218 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12219 | echo "${ECHO_T}yes" >&6 |
|
|
12220 | |
|
|
12221 | cat >>confdefs.h <<\_ACEOF |
|
|
12222 | #define HAVE_DEV_PTMX 1 |
|
|
12223 | _ACEOF |
|
|
12224 | |
|
|
12225 | |
|
|
12226 | cat >>confdefs.h <<\_ACEOF |
|
|
12227 | #define CLONE_DEVICE "/dev/ptmx" |
|
|
12228 | _ACEOF |
|
|
12229 | |
|
|
12230 | have_clone=yes |
|
|
12231 | else |
|
|
12232 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12233 | echo "${ECHO_T}no" >&6 |
|
|
12234 | fi |
|
|
12235 | ;; |
|
|
12236 | esac |
|
|
12237 | |
|
|
12238 | if test x$ac_cv_func_getpt = xyes -o x$ac_cv_func_posix_openpt = xyes -o x$have_clone = xyes; then |
|
|
12239 | echo "$as_me:$LINENO: checking for UNIX98 ptys" >&5 |
|
|
12240 | echo $ECHO_N "checking for UNIX98 ptys... $ECHO_C" >&6 |
|
|
12241 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12242 | /* confdefs.h. */ |
|
|
12243 | _ACEOF |
|
|
12244 | cat confdefs.h >>conftest.$ac_ext |
|
|
12245 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12246 | /* end confdefs.h. */ |
|
|
12247 | #include <stdlib.h> |
|
|
12248 | int |
|
|
12249 | main () |
|
|
12250 | { |
|
|
12251 | grantpt(0);unlockpt(0);ptsname(0); |
|
|
12252 | ; |
|
|
12253 | return 0; |
|
|
12254 | } |
|
|
12255 | _ACEOF |
|
|
12256 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12257 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12258 | (eval $ac_link) 2>conftest.er1 |
|
|
12259 | ac_status=$? |
|
|
12260 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12261 | rm -f conftest.er1 |
|
|
12262 | cat conftest.err >&5 |
|
|
12263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12264 | (exit $ac_status); } && |
|
|
12265 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12266 | || test ! -s conftest.err' |
|
|
12267 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12268 | (eval $ac_try) 2>&5 |
|
|
12269 | ac_status=$? |
|
|
12270 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12271 | (exit $ac_status); }; } && |
|
|
12272 | { ac_try='test -s conftest$ac_exeext' |
|
|
12273 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12274 | (eval $ac_try) 2>&5 |
|
|
12275 | ac_status=$? |
|
|
12276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12277 | (exit $ac_status); }; }; then |
|
|
12278 | unix98_pty=yes |
|
|
12279 | |
|
|
12280 | cat >>confdefs.h <<\_ACEOF |
|
|
12281 | #define UNIX98_PTY 1 |
|
|
12282 | _ACEOF |
|
|
12283 | |
|
|
12284 | echo "$as_me:$LINENO: result: yes" >&5 |
|
|
12285 | echo "${ECHO_T}yes" >&6 |
|
|
12286 | else |
|
|
12287 | echo "$as_me: failed program was:" >&5 |
|
|
12288 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12289 | |
|
|
12290 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12291 | echo "${ECHO_T}no" >&6 |
|
|
12292 | fi |
|
|
12293 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12294 | conftest$ac_exeext conftest.$ac_ext |
|
|
12295 | fi |
|
|
12296 | |
|
|
12297 | if test -z "$unix98_pty"; then |
|
|
12298 | |
|
|
12299 | for ac_func in openpty |
|
|
12300 | do |
|
|
12301 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
12302 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
12303 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
|
|
12304 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
12305 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12306 | else |
|
|
12307 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12308 | /* confdefs.h. */ |
|
|
12309 | _ACEOF |
|
|
12310 | cat confdefs.h >>conftest.$ac_ext |
|
|
12311 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12312 | /* end confdefs.h. */ |
|
|
12313 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
12314 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
12315 | #define $ac_func innocuous_$ac_func |
|
|
12316 | |
|
|
12317 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
12318 | which can conflict with char $ac_func (); below. |
|
|
12319 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
12320 | <limits.h> exists even on freestanding compilers. */ |
|
|
12321 | |
|
|
12322 | #ifdef __STDC__ |
|
|
12323 | # include <limits.h> |
|
|
12324 | #else |
|
|
12325 | # include <assert.h> |
|
|
12326 | #endif |
|
|
12327 | |
|
|
12328 | #undef $ac_func |
|
|
12329 | |
|
|
12330 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12331 | #ifdef __cplusplus |
|
|
12332 | extern "C" |
|
|
12333 | { |
|
|
12334 | #endif |
|
|
12335 | /* We use char because int might match the return type of a gcc2 |
|
|
12336 | builtin and then its argument prototype would still apply. */ |
|
|
12337 | char $ac_func (); |
|
|
12338 | /* The GNU C library defines this for functions which it implements |
|
|
12339 | to always fail with ENOSYS. Some functions are actually named |
|
|
12340 | something starting with __ and the normal name is an alias. */ |
|
|
12341 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
|
|
12342 | choke me |
|
|
12343 | #else |
|
|
12344 | char (*f) () = $ac_func; |
|
|
12345 | #endif |
|
|
12346 | #ifdef __cplusplus |
|
|
12347 | } |
|
|
12348 | #endif |
|
|
12349 | |
|
|
12350 | int |
|
|
12351 | main () |
|
|
12352 | { |
|
|
12353 | return f != $ac_func; |
|
|
12354 | ; |
|
|
12355 | return 0; |
|
|
12356 | } |
|
|
12357 | _ACEOF |
|
|
12358 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12359 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12360 | (eval $ac_link) 2>conftest.er1 |
|
|
12361 | ac_status=$? |
|
|
12362 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12363 | rm -f conftest.er1 |
|
|
12364 | cat conftest.err >&5 |
|
|
12365 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12366 | (exit $ac_status); } && |
|
|
12367 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12368 | || test ! -s conftest.err' |
|
|
12369 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12370 | (eval $ac_try) 2>&5 |
|
|
12371 | ac_status=$? |
|
|
12372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12373 | (exit $ac_status); }; } && |
|
|
12374 | { ac_try='test -s conftest$ac_exeext' |
|
|
12375 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12376 | (eval $ac_try) 2>&5 |
|
|
12377 | ac_status=$? |
|
|
12378 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12379 | (exit $ac_status); }; }; then |
|
|
12380 | eval "$as_ac_var=yes" |
|
|
12381 | else |
|
|
12382 | echo "$as_me: failed program was:" >&5 |
|
|
12383 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12384 | |
|
|
12385 | eval "$as_ac_var=no" |
|
|
12386 | fi |
|
|
12387 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12388 | conftest$ac_exeext conftest.$ac_ext |
|
|
12389 | fi |
|
|
12390 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
|
12391 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
|
12392 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
12393 | cat >>confdefs.h <<_ACEOF |
|
|
12394 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
12395 | _ACEOF |
|
|
12396 | |
|
|
12397 | else |
|
|
12398 | echo "$as_me:$LINENO: checking for openpty in -lutil" >&5 |
|
|
12399 | echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6 |
|
|
12400 | if test "${ac_cv_lib_util_openpty+set}" = set; then |
|
|
12401 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12402 | else |
|
|
12403 | ac_check_lib_save_LIBS=$LIBS |
|
|
12404 | LIBS="-lutil $LIBS" |
|
|
12405 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12406 | /* confdefs.h. */ |
|
|
12407 | _ACEOF |
|
|
12408 | cat confdefs.h >>conftest.$ac_ext |
|
|
12409 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12410 | /* end confdefs.h. */ |
|
|
12411 | |
|
|
12412 | /* Override any gcc2 internal prototype to avoid an error. */ |
|
|
12413 | #ifdef __cplusplus |
|
|
12414 | extern "C" |
|
|
12415 | #endif |
|
|
12416 | /* We use char because int might match the return type of a gcc2 |
|
|
12417 | builtin and then its argument prototype would still apply. */ |
|
|
12418 | char openpty (); |
|
|
12419 | int |
|
|
12420 | main () |
|
|
12421 | { |
|
|
12422 | openpty (); |
|
|
12423 | ; |
|
|
12424 | return 0; |
|
|
12425 | } |
|
|
12426 | _ACEOF |
|
|
12427 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12428 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12429 | (eval $ac_link) 2>conftest.er1 |
|
|
12430 | ac_status=$? |
|
|
12431 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12432 | rm -f conftest.er1 |
|
|
12433 | cat conftest.err >&5 |
|
|
12434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12435 | (exit $ac_status); } && |
|
|
12436 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12437 | || test ! -s conftest.err' |
|
|
12438 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12439 | (eval $ac_try) 2>&5 |
|
|
12440 | ac_status=$? |
|
|
12441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12442 | (exit $ac_status); }; } && |
|
|
12443 | { ac_try='test -s conftest$ac_exeext' |
|
|
12444 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12445 | (eval $ac_try) 2>&5 |
|
|
12446 | ac_status=$? |
|
|
12447 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12448 | (exit $ac_status); }; }; then |
|
|
12449 | ac_cv_lib_util_openpty=yes |
|
|
12450 | else |
|
|
12451 | echo "$as_me: failed program was:" >&5 |
|
|
12452 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12453 | |
|
|
12454 | ac_cv_lib_util_openpty=no |
|
|
12455 | fi |
|
|
12456 | rm -f conftest.err conftest.$ac_objext \ |
|
|
12457 | conftest$ac_exeext conftest.$ac_ext |
|
|
12458 | LIBS=$ac_check_lib_save_LIBS |
|
|
12459 | fi |
|
|
12460 | echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5 |
|
|
12461 | echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6 |
|
|
12462 | if test $ac_cv_lib_util_openpty = yes; then |
|
|
12463 | cat >>confdefs.h <<\_ACEOF |
|
|
12464 | #define HAVE_OPENPTY 1 |
|
|
12465 | _ACEOF |
|
|
12466 | LIBS="$LIBS -lutil" |
|
|
12467 | fi |
|
|
12468 | |
|
|
12469 | fi |
|
|
12470 | done |
|
|
12471 | |
|
|
12472 | fi |
|
|
12473 | |
|
|
12474 | |
|
|
12475 | |
|
|
12476 | echo "$as_me:$LINENO: checking for tty group" >&5 |
|
|
12477 | echo $ECHO_N "checking for tty group... $ECHO_C" >&6 |
|
|
12478 | if test "${tty_group+set}" = set; then |
|
|
12479 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12480 | else |
|
|
12481 | if test "$cross_compiling" = yes; then |
|
|
12482 | tty_group=no |
|
|
12483 | else |
|
|
12484 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12485 | /* confdefs.h. */ |
|
|
12486 | _ACEOF |
|
|
12487 | cat confdefs.h >>conftest.$ac_ext |
|
|
12488 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12489 | /* end confdefs.h. */ |
|
|
12490 | |
|
|
12491 | #include <sys/types.h> |
|
|
12492 | #include <sys/stat.h> |
|
|
12493 | #include <unistd.h> |
|
|
12494 | #include <grp.h> |
|
|
12495 | |
|
|
12496 | main() |
|
|
12497 | { |
|
|
12498 | struct stat st; |
|
|
12499 | struct group *gr; |
|
|
12500 | char *tty; |
|
|
12501 | gr = getgrnam("tty"); |
|
|
12502 | tty = ttyname(0); |
|
|
12503 | if (gr != 0 |
|
|
12504 | && tty != 0 |
|
|
12505 | && (stat(tty, &st)) == 0 |
|
|
12506 | && st.st_gid == gr->gr_gid) |
|
|
12507 | return 0; |
|
|
12508 | else |
|
|
12509 | return 1; |
|
|
12510 | } |
|
|
12511 | _ACEOF |
|
|
12512 | rm -f conftest$ac_exeext |
|
|
12513 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12514 | (eval $ac_link) 2>&5 |
|
|
12515 | ac_status=$? |
|
|
12516 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12517 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
12518 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12519 | (eval $ac_try) 2>&5 |
|
|
12520 | ac_status=$? |
|
|
12521 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12522 | (exit $ac_status); }; }; then |
|
|
12523 | tty_group=yes |
|
|
12524 | else |
|
|
12525 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
12526 | echo "$as_me: failed program was:" >&5 |
|
|
12527 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12528 | |
|
|
12529 | ( exit $ac_status ) |
|
|
12530 | tty_group=no |
|
|
12531 | fi |
|
|
12532 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
12533 | fi |
|
|
12534 | fi |
|
|
12535 | echo "$as_me:$LINENO: result: $tty_group" >&5 |
|
|
12536 | echo "${ECHO_T}$tty_group" >&6 |
|
|
12537 | if test x$tty_group = xyes; then |
|
|
12538 | |
|
|
12539 | cat >>confdefs.h <<\_ACEOF |
|
|
12540 | #define TTY_GID_SUPPORT 1 |
|
|
12541 | _ACEOF |
|
|
12542 | |
|
|
12543 | fi |
|
|
12544 | |
|
|
12545 | if test x$support_xft = xyes; then |
|
|
12546 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
12547 | set dummy pkg-config; ac_word=$2 |
|
|
12548 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12549 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12550 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
|
|
12551 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12552 | else |
|
|
12553 | case $PKG_CONFIG in |
|
|
12554 | [\\/]* | ?:[\\/]*) |
|
|
12555 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
12556 | ;; |
|
|
12557 | *) |
|
|
12558 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12559 | for as_dir in $PATH |
|
|
12560 | do |
|
|
12561 | IFS=$as_save_IFS |
|
|
12562 | test -z "$as_dir" && as_dir=. |
|
|
12563 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12564 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12565 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12566 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12567 | break 2 |
|
|
12568 | fi |
|
|
12569 | done |
|
|
12570 | done |
|
|
12571 | |
|
|
12572 | test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
|
|
12573 | ;; |
|
|
12574 | esac |
|
|
12575 | fi |
|
|
12576 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
|
12577 | |
|
|
12578 | if test -n "$PKG_CONFIG"; then |
|
|
12579 | echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
|
|
12580 | echo "${ECHO_T}$PKG_CONFIG" >&6 |
|
|
12581 | else |
|
|
12582 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12583 | echo "${ECHO_T}no" >&6 |
|
|
12584 | fi |
|
|
12585 | |
|
|
12586 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
|
|
12587 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
|
|
12588 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
|
|
12589 | else |
|
|
12590 | # Extract the first word of "xft-config", so it can be a program name with args. |
|
|
12591 | set dummy xft-config; ac_word=$2 |
|
|
12592 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
12593 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
12594 | if test "${ac_cv_path_XFT_CONFIG+set}" = set; then |
|
|
12595 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12596 | else |
|
|
12597 | case $XFT_CONFIG in |
|
|
12598 | [\\/]* | ?:[\\/]*) |
|
|
12599 | ac_cv_path_XFT_CONFIG="$XFT_CONFIG" # Let the user override the test with a path. |
|
|
12600 | ;; |
|
|
12601 | *) |
|
|
12602 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
12603 | for as_dir in $PATH |
|
|
12604 | do |
|
|
12605 | IFS=$as_save_IFS |
|
|
12606 | test -z "$as_dir" && as_dir=. |
|
|
12607 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
12608 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
12609 | ac_cv_path_XFT_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
|
12610 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
12611 | break 2 |
|
|
12612 | fi |
|
|
12613 | done |
|
|
12614 | done |
|
|
12615 | |
|
|
12616 | test -z "$ac_cv_path_XFT_CONFIG" && ac_cv_path_XFT_CONFIG="no" |
|
|
12617 | ;; |
|
|
12618 | esac |
|
|
12619 | fi |
|
|
12620 | XFT_CONFIG=$ac_cv_path_XFT_CONFIG |
|
|
12621 | |
|
|
12622 | if test -n "$XFT_CONFIG"; then |
|
|
12623 | echo "$as_me:$LINENO: result: $XFT_CONFIG" >&5 |
|
|
12624 | echo "${ECHO_T}$XFT_CONFIG" >&6 |
|
|
12625 | else |
|
|
12626 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
12627 | echo "${ECHO_T}no" >&6 |
|
|
12628 | fi |
|
|
12629 | |
|
|
12630 | if test $XFT_CONFIG != no; then |
|
|
12631 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
|
|
12632 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
|
|
12633 | fi |
|
|
12634 | fi |
|
|
12635 | |
|
|
12636 | |
|
|
12637 | for ac_header in X11/Xft/Xft.h |
|
|
12638 | do |
|
|
12639 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
12640 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12641 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
12642 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
12643 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12644 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12645 | fi |
|
|
12646 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
12647 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
12648 | else |
|
|
12649 | # Is the header compilable? |
|
|
12650 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
12651 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
12652 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12653 | /* confdefs.h. */ |
|
|
12654 | _ACEOF |
|
|
12655 | cat confdefs.h >>conftest.$ac_ext |
|
|
12656 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12657 | /* end confdefs.h. */ |
|
|
12658 | $ac_includes_default |
|
|
12659 | #include <$ac_header> |
|
|
12660 | _ACEOF |
|
|
12661 | rm -f conftest.$ac_objext |
|
|
12662 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
12663 | (eval $ac_compile) 2>conftest.er1 |
|
|
12664 | ac_status=$? |
|
|
12665 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12666 | rm -f conftest.er1 |
|
|
12667 | cat conftest.err >&5 |
|
|
12668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12669 | (exit $ac_status); } && |
|
|
12670 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12671 | || test ! -s conftest.err' |
|
|
12672 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12673 | (eval $ac_try) 2>&5 |
|
|
12674 | ac_status=$? |
|
|
12675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12676 | (exit $ac_status); }; } && |
|
|
12677 | { ac_try='test -s conftest.$ac_objext' |
|
|
12678 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12679 | (eval $ac_try) 2>&5 |
|
|
12680 | ac_status=$? |
|
|
12681 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12682 | (exit $ac_status); }; }; then |
|
|
12683 | ac_header_compiler=yes |
|
|
12684 | else |
|
|
12685 | echo "$as_me: failed program was:" >&5 |
|
|
12686 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12687 | |
|
|
12688 | ac_header_compiler=no |
|
|
12689 | fi |
|
|
12690 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12691 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
12692 | echo "${ECHO_T}$ac_header_compiler" >&6 |
|
|
12693 | |
|
|
12694 | # Is the header present? |
|
|
12695 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
12696 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
|
12697 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12698 | /* confdefs.h. */ |
|
|
12699 | _ACEOF |
|
|
12700 | cat confdefs.h >>conftest.$ac_ext |
|
|
12701 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
12702 | /* end confdefs.h. */ |
|
|
12703 | #include <$ac_header> |
|
|
12704 | _ACEOF |
|
|
12705 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
12706 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
|
12707 | ac_status=$? |
|
|
12708 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12709 | rm -f conftest.er1 |
|
|
12710 | cat conftest.err >&5 |
|
|
12711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12712 | (exit $ac_status); } >/dev/null; then |
|
|
12713 | if test -s conftest.err; then |
|
|
12714 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
|
|
12715 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
12716 | else |
|
|
12717 | ac_cpp_err= |
|
|
12718 | fi |
|
|
12719 | else |
|
|
12720 | ac_cpp_err=yes |
|
|
12721 | fi |
|
|
12722 | if test -z "$ac_cpp_err"; then |
|
|
12723 | ac_header_preproc=yes |
|
|
12724 | else |
|
|
12725 | echo "$as_me: failed program was:" >&5 |
|
|
12726 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12727 | |
|
|
12728 | ac_header_preproc=no |
|
|
12729 | fi |
|
|
12730 | rm -f conftest.err conftest.$ac_ext |
|
|
12731 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
12732 | echo "${ECHO_T}$ac_header_preproc" >&6 |
|
|
12733 | |
|
|
12734 | # So? What about this header? |
|
|
12735 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
12736 | yes:no: ) |
|
|
12737 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
12738 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
12739 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
12740 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
12741 | ac_header_preproc=yes |
|
|
12742 | ;; |
|
|
12743 | no:yes:* ) |
|
|
12744 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
12745 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
12746 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
12747 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
12748 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
12749 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
12750 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
12751 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
12752 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
12753 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
12754 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
12755 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
12756 | ( |
|
|
12757 | cat <<\_ASBOX |
|
|
12758 | ## ------------------------------------------ ## |
|
|
12759 | ## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
12760 | ## ------------------------------------------ ## |
|
|
12761 | _ASBOX |
|
|
12762 | ) | |
|
|
12763 | sed "s/^/$as_me: WARNING: /" >&2 |
|
|
12764 | ;; |
|
|
12765 | esac |
|
|
12766 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
12767 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
12768 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
12769 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12770 | else |
|
|
12771 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
12772 | fi |
|
|
12773 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
12774 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
12775 | |
|
|
12776 | fi |
|
|
12777 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
12778 | cat >>confdefs.h <<_ACEOF |
|
|
12779 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
12780 | _ACEOF |
|
|
12781 | |
15859 | else |
12782 | else |
15860 | support_xft=no |
12783 | support_xft=no |
15861 | fi |
12784 | fi |
15862 | |
12785 | |
15863 | done |
12786 | done |
… | |
… | |
15899 | grep -v '^ *+' conftest.er1 >conftest.err |
12822 | grep -v '^ *+' conftest.er1 >conftest.err |
15900 | rm -f conftest.er1 |
12823 | rm -f conftest.er1 |
15901 | cat conftest.err >&5 |
12824 | cat conftest.err >&5 |
15902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12825 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15903 | (exit $ac_status); } && |
12826 | (exit $ac_status); } && |
15904 | { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' |
12827 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
12828 | || test ! -s conftest.err' |
15905 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12829 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15906 | (eval $ac_try) 2>&5 |
12830 | (eval $ac_try) 2>&5 |
15907 | ac_status=$? |
12831 | ac_status=$? |
15908 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15909 | (exit $ac_status); }; } && |
12833 | (exit $ac_status); }; } && |
… | |
… | |
16000 | cat >>confdefs.h <<\_ACEOF |
12924 | cat >>confdefs.h <<\_ACEOF |
16001 | #define SELECTION_SCROLLING 1 |
12925 | #define SELECTION_SCROLLING 1 |
16002 | _ACEOF |
12926 | _ACEOF |
16003 | |
12927 | |
16004 | fi |
12928 | fi |
16005 | if test x$support_menubar = xyes; then |
|
|
16006 | |
|
|
16007 | cat >>confdefs.h <<\_ACEOF |
|
|
16008 | #define MENUBAR 1 |
|
|
16009 | _ACEOF |
|
|
16010 | |
|
|
16011 | fi |
|
|
16012 | if test x$support_frills = xyes; then |
12929 | if test x$support_frills = xyes; then |
16013 | |
12930 | |
16014 | cat >>confdefs.h <<\_ACEOF |
12931 | cat >>confdefs.h <<\_ACEOF |
16015 | #define ENABLE_FRILLS 1 |
12932 | #define ENABLE_FRILLS 1 |
16016 | _ACEOF |
12933 | _ACEOF |
16017 | |
12934 | |
16018 | fi |
12935 | fi |
16019 | if test x$support_24bit = xyes; then |
|
|
16020 | |
|
|
16021 | cat >>confdefs.h <<\_ACEOF |
|
|
16022 | #define PREFER_24BIT 1 |
|
|
16023 | _ACEOF |
|
|
16024 | |
|
|
16025 | fi |
|
|
16026 | if test x$support_mousewheel = xyes; then |
12936 | if test x$support_mousewheel = xyes; then |
16027 | |
12937 | |
16028 | cat >>confdefs.h <<\_ACEOF |
12938 | cat >>confdefs.h <<\_ACEOF |
16029 | #define MOUSE_WHEEL 1 |
12939 | #define MOUSE_WHEEL 1 |
16030 | _ACEOF |
12940 | _ACEOF |
… | |
… | |
16035 | cat >>confdefs.h <<\_ACEOF |
12945 | cat >>confdefs.h <<\_ACEOF |
16036 | #define MOUSE_SLIP_WHEELING 1 |
12946 | #define MOUSE_SLIP_WHEELING 1 |
16037 | _ACEOF |
12947 | _ACEOF |
16038 | |
12948 | |
16039 | fi |
12949 | fi |
16040 | if test x$support_utmp = xyes; then |
|
|
16041 | |
|
|
16042 | cat >>confdefs.h <<\_ACEOF |
|
|
16043 | #define UTMP_SUPPORT 1 |
|
|
16044 | _ACEOF |
|
|
16045 | |
|
|
16046 | fi |
|
|
16047 | if test x$support_wtmp = xyes; then |
|
|
16048 | |
|
|
16049 | cat >>confdefs.h <<\_ACEOF |
|
|
16050 | #define WTMP_SUPPORT 1 |
|
|
16051 | _ACEOF |
|
|
16052 | |
|
|
16053 | fi |
|
|
16054 | if test x$support_lastlog = xyes; then |
|
|
16055 | |
|
|
16056 | cat >>confdefs.h <<\_ACEOF |
|
|
16057 | #define LASTLOG_SUPPORT 1 |
|
|
16058 | _ACEOF |
|
|
16059 | |
|
|
16060 | fi |
|
|
16061 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
12950 | if test x$support_xim = xyes -o x$multichar_set = xyes; then |
16062 | if test x$rxvt_cv_func_xlocale = xyes; then |
12951 | if test x$rxvt_cv_func_xlocale = xyes; then |
16063 | |
12952 | |
16064 | cat >>confdefs.h <<\_ACEOF |
12953 | cat >>confdefs.h <<\_ACEOF |
16065 | #define USE_XIM 1 |
12954 | #define USE_XIM 1 |
16066 | _ACEOF |
12955 | _ACEOF |
16067 | |
12956 | |
16068 | fi |
12957 | fi |
16069 | fi |
12958 | fi |
16070 | if test x$support_xpm = xyes; then |
12959 | if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then |
16071 | |
12960 | |
16072 | cat >>confdefs.h <<\_ACEOF |
12961 | cat >>confdefs.h <<\_ACEOF |
16073 | #define XPM_BACKGROUND 1 |
12962 | #define XPM_BACKGROUND 1 |
16074 | _ACEOF |
12963 | _ACEOF |
16075 | |
12964 | |
16076 | fi |
12965 | fi |
|
|
12966 | |
|
|
12967 | if test x$support_afterimage = xyes; then |
|
|
12968 | |
|
|
12969 | cat >>confdefs.h <<\_ACEOF |
|
|
12970 | #define HAVE_AFTERIMAGE 1 |
|
|
12971 | _ACEOF |
|
|
12972 | |
|
|
12973 | fi |
|
|
12974 | |
|
|
12975 | if test x$support_afterstep = xyes; then |
|
|
12976 | |
|
|
12977 | cat >>confdefs.h <<\_ACEOF |
|
|
12978 | #define AFTERSTEP_INTEGRATION 1 |
|
|
12979 | _ACEOF |
|
|
12980 | |
|
|
12981 | fi |
|
|
12982 | |
16077 | if test x$support_scroll_rxvt = xyes; then |
12983 | if test x$support_scroll_rxvt = xyes; then |
16078 | |
12984 | |
16079 | cat >>confdefs.h <<\_ACEOF |
12985 | cat >>confdefs.h <<\_ACEOF |
16080 | #define RXVT_SCROLLBAR 1 |
12986 | #define RXVT_SCROLLBAR 1 |
16081 | _ACEOF |
12987 | _ACEOF |
… | |
… | |
16108 | fi |
13014 | fi |
16109 | if test x$support_pointer_blank = xyes; then |
13015 | if test x$support_pointer_blank = xyes; then |
16110 | |
13016 | |
16111 | cat >>confdefs.h <<\_ACEOF |
13017 | cat >>confdefs.h <<\_ACEOF |
16112 | #define POINTER_BLANK 1 |
13018 | #define POINTER_BLANK 1 |
16113 | _ACEOF |
|
|
16114 | |
|
|
16115 | fi |
|
|
16116 | if test x$support_cursor_blink = xyes; then |
|
|
16117 | |
|
|
16118 | cat >>confdefs.h <<\_ACEOF |
|
|
16119 | #define CURSOR_BLINK 1 |
|
|
16120 | _ACEOF |
13019 | _ACEOF |
16121 | |
13020 | |
16122 | fi |
13021 | fi |
16123 | if test x$support_text_blink = xyes; then |
13022 | if test x$support_text_blink = xyes; then |
16124 | |
13023 | |
… | |
… | |
16182 | _ACEOF |
13081 | _ACEOF |
16183 | ;; |
13082 | ;; |
16184 | esac |
13083 | esac |
16185 | done |
13084 | done |
16186 | |
13085 | |
|
|
13086 | IF_PERL=\# |
|
|
13087 | if test x$support_perl = xyes; then |
|
|
13088 | # Extract the first word of "perl5", so it can be a program name with args. |
|
|
13089 | set dummy perl5; ac_word=$2 |
|
|
13090 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
13091 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
13092 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
13093 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
13094 | else |
|
|
13095 | case $PERL in |
|
|
13096 | [\\/]* | ?:[\\/]*) |
|
|
13097 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
13098 | ;; |
|
|
13099 | *) |
|
|
13100 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
13101 | for as_dir in $PATH |
|
|
13102 | do |
|
|
13103 | IFS=$as_save_IFS |
|
|
13104 | test -z "$as_dir" && as_dir=. |
|
|
13105 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
13106 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
13107 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
13108 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
13109 | break 2 |
|
|
13110 | fi |
|
|
13111 | done |
|
|
13112 | done |
16187 | |
13113 | |
16188 | CFLAGS=${CFLAGS--O} |
13114 | ;; |
16189 | LDFLAGS=${LDFLAGS--O} |
13115 | esac |
|
|
13116 | fi |
|
|
13117 | PERL=$ac_cv_path_PERL |
16190 | |
13118 | |
16191 | CPPFLAGS="$CPPFLAGS" |
13119 | if test -n "$PERL"; then |
|
|
13120 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
13121 | echo "${ECHO_T}$PERL" >&6 |
|
|
13122 | else |
|
|
13123 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
13124 | echo "${ECHO_T}no" >&6 |
|
|
13125 | fi |
16192 | |
13126 | |
|
|
13127 | # Extract the first word of "perl", so it can be a program name with args. |
|
|
13128 | set dummy perl; ac_word=$2 |
|
|
13129 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
13130 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
13131 | if test "${ac_cv_path_PERL+set}" = set; then |
|
|
13132 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
13133 | else |
|
|
13134 | case $PERL in |
|
|
13135 | [\\/]* | ?:[\\/]*) |
|
|
13136 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
|
|
13137 | ;; |
|
|
13138 | *) |
|
|
13139 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
13140 | for as_dir in $PATH |
|
|
13141 | do |
|
|
13142 | IFS=$as_save_IFS |
|
|
13143 | test -z "$as_dir" && as_dir=. |
|
|
13144 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
13145 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
13146 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
|
|
13147 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
13148 | break 2 |
|
|
13149 | fi |
|
|
13150 | done |
|
|
13151 | done |
|
|
13152 | |
|
|
13153 | ;; |
|
|
13154 | esac |
|
|
13155 | fi |
|
|
13156 | PERL=$ac_cv_path_PERL |
|
|
13157 | |
|
|
13158 | if test -n "$PERL"; then |
|
|
13159 | echo "$as_me:$LINENO: result: $PERL" >&5 |
|
|
13160 | echo "${ECHO_T}$PERL" >&6 |
|
|
13161 | else |
|
|
13162 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
13163 | echo "${ECHO_T}no" >&6 |
|
|
13164 | fi |
|
|
13165 | |
|
|
13166 | |
|
|
13167 | echo "$as_me:$LINENO: checking for $PERL suitability" >&5 |
|
|
13168 | echo $ECHO_N "checking for $PERL suitability... $ECHO_C" >&6 |
|
|
13169 | if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>/dev/null; then |
|
|
13170 | |
|
|
13171 | save_CXXFLAGS="$CXXFLAGS" |
|
|
13172 | save_LIBS="$LIBS" |
|
|
13173 | CXXFLAGS="$CXXFLAGS `$PERL -MExtUtils::Embed -e ccopts`" |
|
|
13174 | LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" |
|
|
13175 | cat >conftest.$ac_ext <<_ACEOF |
|
|
13176 | /* confdefs.h. */ |
|
|
13177 | _ACEOF |
|
|
13178 | cat confdefs.h >>conftest.$ac_ext |
|
|
13179 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
13180 | /* end confdefs.h. */ |
|
|
13181 | |
|
|
13182 | #include <EXTERN.h> |
|
|
13183 | #include <perl.h> |
|
|
13184 | #include <XSUB.h> |
|
|
13185 | |
|
|
13186 | int |
|
|
13187 | main () |
|
|
13188 | { |
|
|
13189 | |
|
|
13190 | PerlInterpreter *perl = perl_alloc (); |
|
|
13191 | |
|
|
13192 | ; |
|
|
13193 | return 0; |
|
|
13194 | } |
|
|
13195 | _ACEOF |
|
|
13196 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
13197 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13198 | (eval $ac_link) 2>conftest.er1 |
|
|
13199 | ac_status=$? |
|
|
13200 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
13201 | rm -f conftest.er1 |
|
|
13202 | cat conftest.err >&5 |
|
|
13203 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13204 | (exit $ac_status); } && |
|
|
13205 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
13206 | || test ! -s conftest.err' |
|
|
13207 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13208 | (eval $ac_try) 2>&5 |
|
|
13209 | ac_status=$? |
|
|
13210 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13211 | (exit $ac_status); }; } && |
|
|
13212 | { ac_try='test -s conftest$ac_exeext' |
|
|
13213 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13214 | (eval $ac_try) 2>&5 |
|
|
13215 | ac_status=$? |
|
|
13216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13217 | (exit $ac_status); }; }; then |
|
|
13218 | rxvt_perl_link=yes |
|
|
13219 | else |
|
|
13220 | echo "$as_me: failed program was:" >&5 |
|
|
13221 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
13222 | |
|
|
13223 | rxvt_perl_link=no |
|
|
13224 | fi |
|
|
13225 | rm -f conftest.err conftest.$ac_objext \ |
|
|
13226 | conftest$ac_exeext conftest.$ac_ext |
|
|
13227 | CXXFLAGS="$save_CXXFLAGS" |
|
|
13228 | LIBS="$save_LIBS" |
|
|
13229 | |
|
|
13230 | if test x$rxvt_perl_link = xyes; then |
|
|
13231 | echo "$as_me:$LINENO: result: ok" >&5 |
|
|
13232 | echo "${ECHO_T}ok" >&6 |
|
|
13233 | |
|
|
13234 | cat >>confdefs.h <<\_ACEOF |
|
|
13235 | #define ENABLE_PERL 1 |
|
|
13236 | _ACEOF |
|
|
13237 | |
|
|
13238 | IF_PERL= |
|
|
13239 | PERL_O=rxvtperl.o |
|
|
13240 | PERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" |
|
|
13241 | PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" |
|
|
13242 | PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" |
|
|
13243 | else |
|
|
13244 | { { echo "$as_me:$LINENO: error: no, unable to link" >&5 |
|
|
13245 | echo "$as_me: error: no, unable to link" >&2;} |
|
|
13246 | { (exit 1); exit 1; }; } |
|
|
13247 | fi |
|
|
13248 | else |
|
|
13249 | { { echo "$as_me:$LINENO: error: no working perl found, or perl not version >= 5.8" >&5 |
|
|
13250 | echo "$as_me: error: no working perl found, or perl not version >= 5.8" >&2;} |
|
|
13251 | { (exit 1); exit 1; }; } |
|
|
13252 | fi |
|
|
13253 | fi |
|
|
13254 | |
|
|
13255 | |
|
|
13256 | |
|
|
13257 | |
|
|
13258 | |
|
|
13259 | |
|
|
13260 | |
|
|
13261 | if test x$support_perl = xyes; then |
|
|
13262 | support_frills=yes |
|
|
13263 | fi |
16193 | |
13264 | |
16194 | |
13265 | |
16195 | |
13266 | |
16196 | |
13267 | |
16197 | |
13268 | |
16198 | |
13269 | |
16199 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
13270 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
16200 | DLIB=`echo $DLIB | sed "$R_TRANSLATE"` |
|
|
16201 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
13271 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
16202 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
13272 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
16203 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
13273 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
16204 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
13274 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
16205 | fi |
13275 | fi |
16206 | |
13276 | |
16207 | |
13277 | |
16208 | |
13278 | |
16209 | |
13279 | |
16210 | |
13280 | |
16211 | if test x$support_addstrings = xno; then |
|
|
16212 | |
|
|
16213 | cat >>confdefs.h <<\_ACEOF |
|
|
16214 | #define NO_STRINGS 1 |
|
|
16215 | _ACEOF |
|
|
16216 | |
|
|
16217 | fi |
|
|
16218 | |
|
|
16219 | MCOMMON=./autoconf/Make.common |
|
|
16220 | |
13281 | |
16221 | |
13282 | |
16222 | test "$program_prefix" != NONE && |
13283 | test "$program_prefix" != NONE && |
16223 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
13284 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
16224 | # Use a double $ so make ignores it. |
13285 | # Use a double $ so make ignores it. |
… | |
… | |
16300 | include_time_h="#include <time.h>" |
13361 | include_time_h="#include <time.h>" |
16301 | else |
13362 | else |
16302 | include_time_h="/* #include <time.h> */" |
13363 | include_time_h="/* #include <time.h> */" |
16303 | fi |
13364 | fi |
16304 | |
13365 | |
16305 | ac_config_files="$ac_config_files autoconf/Make.common Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
13366 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
16306 | |
13367 | |
16307 | cat >confcache <<\_ACEOF |
13368 | cat >confcache <<\_ACEOF |
16308 | # This file is a shell script that caches the results of configure |
13369 | # This file is a shell script that caches the results of configure |
16309 | # tests run on this system so they can be shared between configure |
13370 | # tests run on this system so they can be shared between configure |
16310 | # scripts and configure runs, see configure's option --config-cache. |
13371 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
16827 | cat >>$CONFIG_STATUS <<\_ACEOF |
13888 | cat >>$CONFIG_STATUS <<\_ACEOF |
16828 | for ac_config_target in $ac_config_targets |
13889 | for ac_config_target in $ac_config_targets |
16829 | do |
13890 | do |
16830 | case "$ac_config_target" in |
13891 | case "$ac_config_target" in |
16831 | # Handling of arguments. |
13892 | # Handling of arguments. |
16832 | "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;; |
|
|
16833 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13893 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
16834 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13894 | "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
16835 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13895 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
16836 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
13896 | "src/rxvtlib.h" ) CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
16837 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:autoconf/config.h.in" ;; |
13897 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
16838 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13898 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
16839 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13899 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
16840 | { (exit 1); exit 1; }; };; |
13900 | { (exit 1); exit 1; }; };; |
16841 | esac |
13901 | esac |
16842 | done |
13902 | done |
… | |
… | |
16943 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
14003 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
16944 | s,@CPP@,$CPP,;t t |
14004 | s,@CPP@,$CPP,;t t |
16945 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
14005 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
16946 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
14006 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
16947 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
14007 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
16948 | s,@AWK@,$AWK,;t t |
14008 | s,@EGREP@,$EGREP,;t t |
16949 | s,@LINKER@,$LINKER,;t t |
14009 | s,@LINKER@,$LINKER,;t t |
16950 | s,@CXXCPP@,$CXXCPP,;t t |
14010 | s,@CXXLIB@,$CXXLIB,;t t |
16951 | s,@EGREP@,$EGREP,;t t |
|
|
16952 | s,@LN_S@,$LN_S,;t t |
|
|
16953 | s,@ECHO@,$ECHO,;t t |
|
|
16954 | s,@RANLIB@,$RANLIB,;t t |
|
|
16955 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
|
|
16956 | s,@STRIP@,$STRIP,;t t |
|
|
16957 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
|
|
16958 | s,@LIBTOOL@,$LIBTOOL,;t t |
|
|
16959 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
14011 | s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t |
16960 | s,@RXVTNAME@,$RXVTNAME,;t t |
14012 | s,@RXVTNAME@,$RXVTNAME,;t t |
16961 | s,@MV@,$MV,;t t |
|
|
16962 | s,@RM@,$RM,;t t |
|
|
16963 | s,@CP@,$CP,;t t |
|
|
16964 | s,@LN@,$LN,;t t |
|
|
16965 | s,@SED@,$SED,;t t |
|
|
16966 | s,@CMP@,$CMP,;t t |
|
|
16967 | s,@TBL@,$TBL,;t t |
|
|
16968 | s,@TIC@,$TIC,;t t |
14013 | s,@TIC@,$TIC,;t t |
|
|
14014 | s,@CXXCPP@,$CXXCPP,;t t |
16969 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
14015 | s,@X_CFLAGS@,$X_CFLAGS,;t t |
16970 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
14016 | s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
16971 | s,@X_LIBS@,$X_LIBS,;t t |
14017 | s,@X_LIBS@,$X_LIBS,;t t |
16972 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
14018 | s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
|
|
14019 | s,@afterimage_config@,$afterimage_config,;t t |
16973 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
14020 | s,@XPM_CPPFLAGS@,$XPM_CPPFLAGS,;t t |
16974 | s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t |
14021 | s,@XPM_CFLAGS@,$XPM_CFLAGS,;t t |
16975 | s,@XPM_LIBS@,$XPM_LIBS,;t t |
14022 | s,@XPM_LIBS@,$XPM_LIBS,;t t |
16976 | s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t |
14023 | s,@rxvt_int16_typedef@,$rxvt_int16_typedef,;t t |
16977 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
14024 | s,@rxvt_uint16_typedef@,$rxvt_uint16_typedef,;t t |
16978 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
14025 | s,@rxvt_int32_typedef@,$rxvt_int32_typedef,;t t |
16979 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
14026 | s,@rxvt_uint32_typedef@,$rxvt_uint32_typedef,;t t |
16980 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
14027 | s,@rxvt_intp_define@,$rxvt_intp_define,;t t |
16981 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
14028 | s,@rxvt_u_intp_define@,$rxvt_u_intp_define,;t t |
16982 | s,@DEBUG@,$DEBUG,;t t |
14029 | s,@PKG_CONFIG@,$PKG_CONFIG,;t t |
16983 | s,@DINCLUDE@,$DINCLUDE,;t t |
14030 | s,@XFT_CONFIG@,$XFT_CONFIG,;t t |
|
|
14031 | s,@PERL@,$PERL,;t t |
16984 | s,@DLIB@,$DLIB,;t t |
14032 | s,@PERLLIB@,$PERLLIB,;t t |
|
|
14033 | s,@PERLFLAGS@,$PERLFLAGS,;t t |
|
|
14034 | s,@PERLPRIVLIBEXP@,$PERLPRIVLIBEXP,;t t |
|
|
14035 | s,@IF_PERL@,$IF_PERL,;t t |
|
|
14036 | s,@PERL_O@,$PERL_O,;t t |
|
|
14037 | s,@LIBAFTERIMAGE_CFLAGS@,$LIBAFTERIMAGE_CFLAGS,;t t |
|
|
14038 | s,@AFTERIMAGE_LIBS@,$AFTERIMAGE_LIBS,;t t |
16985 | s,@include_stdint_h@,$include_stdint_h,;t t |
14039 | s,@include_stdint_h@,$include_stdint_h,;t t |
16986 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
14040 | s,@include_stdarg_h@,$include_stdarg_h,;t t |
16987 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
14041 | s,@include_stdlib_h@,$include_stdlib_h,;t t |
16988 | s,@include_unistd_h@,$include_unistd_h,;t t |
14042 | s,@include_unistd_h@,$include_unistd_h,;t t |
16989 | s,@include_string_h@,$include_string_h,;t t |
14043 | s,@include_string_h@,$include_string_h,;t t |
… | |
… | |
16995 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
14049 | s,@include_sys_strredir_h@,$include_sys_strredir_h,;t t |
16996 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
14050 | s,@include_sys_time_h@,$include_sys_time_h,;t t |
16997 | s,@include_time_h@,$include_time_h,;t t |
14051 | s,@include_time_h@,$include_time_h,;t t |
16998 | s,@LIBOBJS@,$LIBOBJS,;t t |
14052 | s,@LIBOBJS@,$LIBOBJS,;t t |
16999 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
14053 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
17000 | /@MCOMMON@/r $MCOMMON |
|
|
17001 | s,@MCOMMON@,,;t t |
|
|
17002 | CEOF |
14054 | CEOF |
17003 | |
14055 | |
17004 | _ACEOF |
14056 | _ACEOF |
17005 | |
14057 | |
17006 | cat >>$CONFIG_STATUS <<\_ACEOF |
14058 | cat >>$CONFIG_STATUS <<\_ACEOF |
… | |
… | |
17163 | case $INSTALL in |
14215 | case $INSTALL in |
17164 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
14216 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
17165 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
14217 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
17166 | esac |
14218 | esac |
17167 | |
14219 | |
|
|
14220 | if test x"$ac_file" != x-; then |
|
|
14221 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
14222 | echo "$as_me: creating $ac_file" >&6;} |
|
|
14223 | rm -f "$ac_file" |
|
|
14224 | fi |
17168 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
14225 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
17169 | # use $as_me), people would be surprised to read: |
14226 | # use $as_me), people would be surprised to read: |
17170 | # /* config.h. Generated by config.status. */ |
14227 | # /* config.h. Generated by config.status. */ |
17171 | if test x"$ac_file" = x-; then |
14228 | if test x"$ac_file" = x-; then |
17172 | configure_input= |
14229 | configure_input= |
… | |
… | |
17201 | echo "$as_me: error: cannot find input file: $f" >&2;} |
14258 | echo "$as_me: error: cannot find input file: $f" >&2;} |
17202 | { (exit 1); exit 1; }; } |
14259 | { (exit 1); exit 1; }; } |
17203 | fi;; |
14260 | fi;; |
17204 | esac |
14261 | esac |
17205 | done` || { (exit 1); exit 1; } |
14262 | done` || { (exit 1); exit 1; } |
17206 | |
|
|
17207 | if test x"$ac_file" != x-; then |
|
|
17208 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
17209 | echo "$as_me: creating $ac_file" >&6;} |
|
|
17210 | rm -f "$ac_file" |
|
|
17211 | fi |
|
|
17212 | _ACEOF |
14263 | _ACEOF |
17213 | cat >>$CONFIG_STATUS <<_ACEOF |
14264 | cat >>$CONFIG_STATUS <<_ACEOF |
17214 | sed "$ac_vpsub |
14265 | sed "$ac_vpsub |
17215 | $extrasub |
14266 | $extrasub |
17216 | _ACEOF |
14267 | _ACEOF |
… | |
… | |
17496 | |
14547 | |
17497 | Rxvt version: $VERSION : $DATE |
14548 | Rxvt version: $VERSION : $DATE |
17498 | Source code location: $srcdir |
14549 | Source code location: $srcdir |
17499 | Install path: ${prefix}/bin |
14550 | Install path: ${prefix}/bin |
17500 | Compiler: $CXX |
14551 | Compiler: $CXX |
17501 | Compiler flags: $CFLAGS |
14552 | Compiler flags: $CXXFLAGS |
17502 | Linker: $LINKER" |
14553 | Linker: $LINKER" |
17503 | |
|
|
17504 | if test "$MALLOC_TYPE" = S; then |
|
|
17505 | echo " malloc support: system default" |
|
|
17506 | fi |
|
|
17507 | if test "$MALLOC_TYPE" = G; then |
|
|
17508 | echo " malloc support: Gray Watson's dmalloc" |
|
|
17509 | fi |
|
|
17510 | if test "$MALLOC_TYPE" = D; then |
|
|
17511 | echo " malloc support: Doug Lea's malloc" |
|
|
17512 | fi |
|
|
17513 | |
14554 | |
17514 | if test x$support_xpm = xyes; then |
14555 | if test x$support_xpm = xyes; then |
17515 | echo " Xpm library: $XPM_LIBS" |
14556 | echo " Xpm library: $XPM_LIBS" |
17516 | fi |
14557 | fi |
17517 | |
14558 | |
17518 | echo " |
14559 | if test x$support_afterimage = xyes; then |
17519 | The following are set in config.h |
14560 | echo " AfterImage support: yes" |
17520 | " |
14561 | fi |
17521 | echo " pty/tty type: "$rxvt_cv_ptys |
14562 | |
17522 | if test x$support_utmp != xyes; then |
14563 | if test x$support_afterstep = xyes; then |
17523 | echo " utmp support: disabled" |
14564 | echo " AfterStep integration: yes" |
17524 | echo |
|
|
17525 | else |
|
|
17526 | echo " utmp support: enabled |
|
|
17527 | utmp file: $rxvt_cv_path_utmp |
|
|
17528 | utmpx file: $rxvt_cv_path_utmpx |
|
|
17529 | wtmp file: $rxvt_cv_path_wtmp |
|
|
17530 | wtmpx file: $rxvt_cv_path_wtmpx |
|
|
17531 | lastlog file: $rxvt_cv_path_lastlog |
|
|
17532 | ttys/ttytab file: $rxvt_cv_path_ttytab" |
|
|
17533 | echo |
|
|
17534 | fi |
14565 | fi |
|
|
14566 | |
17535 | if test x$term != x; then |
14567 | if test x$term != x; then |
17536 | echo " set TERM to: $term" |
14568 | echo " set TERM to: $term" |
17537 | fi |
14569 | fi |
17538 | if test x$terminfo != x; then |
14570 | if test x$terminfo != x; then |
17539 | echo " set TERMINFO to: $terminfo" |
14571 | echo " set TERMINFO to: $terminfo" |
… | |
… | |
17542 | echo " resource class: $RESCLASS" |
14574 | echo " resource class: $RESCLASS" |
17543 | if test x$RESFALLBACK != x; then |
14575 | if test x$RESFALLBACK != x; then |
17544 | echo " resource class fallback: $RESFALLBACK" |
14576 | echo " resource class fallback: $RESFALLBACK" |
17545 | fi |
14577 | fi |
17546 | echo |
14578 | echo |
17547 | if test x$rxvt_cv_ptys = xUNKNOWN; then |
14579 | echo " embedded perl: $support_perl" |
17548 | echo ".----------------------------------------------------------------." |
14580 | echo |
17549 | echo ". WARNING: could not determine pty/tty type. Do not build until ." |
|
|
17550 | echo ". the appropriate PTYS_ARE_* is defined in config.h ." |
|
|
17551 | echo ".----------------------------------------------------------------." |
|
|
17552 | fi |
|
|
17553 | if test x$support_xpm = xneedsmanualspecification; then |
14581 | if test x$support_xpm = xneedsmanualspecification; then |
17554 | echo ".----------------------------------------------------------------." |
14582 | echo ".----------------------------------------------------------------." |
17555 | echo ". WARNING: --enable-xpm-background was specified however the ." |
14583 | echo ". WARNING: --enable-xpm-background was specified however the ." |
17556 | echo ". XPM includes files and libraries could not be found. ." |
14584 | echo ". XPM includes files and libraries could not be found. ." |
17557 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
14585 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
… | |
… | |
17566 | echo ". functions could not be found. ." |
14594 | echo ". functions could not be found. ." |
17567 | echo ". XIM is now being DISABLED! ." |
14595 | echo ". XIM is now being DISABLED! ." |
17568 | echo ".----------------------------------------------------------------." |
14596 | echo ".----------------------------------------------------------------." |
17569 | fi |
14597 | fi |
17570 | |
14598 | |
17571 | echo " *** Please check src/feature.h for further options ***" |
14599 | echo "*** Optionally check src/feature.h for further, rarely used options ***" |
17572 | echo |
14600 | echo |
17573 | |
14601 | |
17574 | echo ".----------------------------------------------------------------." |
|
|
17575 | echo ". NOTE: most features are disabled by default, try ." |
|
|
17576 | echo ". configure --help to get an idea of the optional features ." |
|
|
17577 | echo ".----------------------------------------------------------------." |
|
|
17578 | echo |
|
|
17579 | |
|
|