comparison configure @ 1760:74fcc977a13d

Automake 1.12 compatibility, based on suggestions by Lance Hepler
author Adam Chlipala <adam@chlipala.net>
date Sat, 12 May 2012 15:22:39 -0400
parents add6dc3f4383
children a6eab6820b37
comparison
equal deleted inserted replaced
1759:add6dc3f4383 1760:74fcc977a13d
639 LIPO 639 LIPO
640 NMEDIT 640 NMEDIT
641 DSYMUTIL 641 DSYMUTIL
642 MANIFEST_TOOL 642 MANIFEST_TOOL
643 RANLIB 643 RANLIB
644 ac_ct_AR
645 AR
646 DLLTOOL 644 DLLTOOL
647 OBJDUMP 645 OBJDUMP
648 LN_S 646 LN_S
649 NM 647 NM
650 ac_ct_DUMPBIN 648 ac_ct_DUMPBIN
692 CYGPATH_W 690 CYGPATH_W
693 am__isrc 691 am__isrc
694 INSTALL_DATA 692 INSTALL_DATA
695 INSTALL_SCRIPT 693 INSTALL_SCRIPT
696 INSTALL_PROGRAM 694 INSTALL_PROGRAM
695 ac_ct_AR
696 AR
697 EGREP 697 EGREP
698 GREP 698 GREP
699 CPP 699 CPP
700 OBJEXT 700 OBJEXT
701 EXEEXT 701 EXEEXT
3441 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 3441 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3442 3442
3443 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 3443 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3444 3444
3445 3445
3446
3447 # automake 1.12 requires this, but automake 1.11 doesn't recognize it
3448
3449 # expand $ac_aux_dir to an absolute path
3450 am_aux_dir=`cd $ac_aux_dir && pwd`
3451
3452 if test -n "$ac_tool_prefix"; then
3453 for ac_prog in ar lib "link -lib"
3454 do
3455 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3456 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458 $as_echo_n "checking for $ac_word... " >&6; }
3459 if ${ac_cv_prog_AR+:} false; then :
3460 $as_echo_n "(cached) " >&6
3461 else
3462 if test -n "$AR"; then
3463 ac_cv_prog_AR="$AR" # Let the user override the test.
3464 else
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 for as_dir in $PATH
3467 do
3468 IFS=$as_save_IFS
3469 test -z "$as_dir" && as_dir=.
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3472 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3474 break 2
3475 fi
3476 done
3477 done
3478 IFS=$as_save_IFS
3479
3480 fi
3481 fi
3482 AR=$ac_cv_prog_AR
3483 if test -n "$AR"; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3485 $as_echo "$AR" >&6; }
3486 else
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3488 $as_echo "no" >&6; }
3489 fi
3490
3491
3492 test -n "$AR" && break
3493 done
3494 fi
3495 if test -z "$AR"; then
3496 ac_ct_AR=$AR
3497 for ac_prog in ar lib "link -lib"
3498 do
3499 # Extract the first word of "$ac_prog", so it can be a program name with args.
3500 set dummy $ac_prog; ac_word=$2
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3502 $as_echo_n "checking for $ac_word... " >&6; }
3503 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3504 $as_echo_n "(cached) " >&6
3505 else
3506 if test -n "$ac_ct_AR"; then
3507 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3508 else
3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 for as_dir in $PATH
3511 do
3512 IFS=$as_save_IFS
3513 test -z "$as_dir" && as_dir=.
3514 for ac_exec_ext in '' $ac_executable_extensions; do
3515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3516 ac_cv_prog_ac_ct_AR="$ac_prog"
3517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 break 2
3519 fi
3520 done
3521 done
3522 IFS=$as_save_IFS
3523
3524 fi
3525 fi
3526 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3527 if test -n "$ac_ct_AR"; then
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
3529 $as_echo "$ac_ct_AR" >&6; }
3530 else
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3532 $as_echo "no" >&6; }
3533 fi
3534
3535
3536 test -n "$ac_ct_AR" && break
3537 done
3538
3539 if test "x$ac_ct_AR" = x; then
3540 AR="false"
3541 else
3542 case $cross_compiling:$ac_tool_warned in
3543 yes:)
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3546 ac_tool_warned=yes ;;
3547 esac
3548 AR=$ac_ct_AR
3549 fi
3550 fi
3551
3552 : ${AR=ar}
3553
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
3555 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
3556 if ${am_cv_ar_interface+:} false; then :
3557 $as_echo_n "(cached) " >&6
3558 else
3559 am_cv_ar_interface=ar
3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3561 /* end confdefs.h. */
3562 int some_variable = 0;
3563 _ACEOF
3564 if ac_fn_c_try_compile "$LINENO"; then :
3565 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
3566 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3567 (eval $am_ar_try) 2>&5
3568 ac_status=$?
3569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3570 test $ac_status = 0; }
3571 if test "$ac_status" -eq 0; then
3572 am_cv_ar_interface=ar
3573 else
3574 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
3575 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
3576 (eval $am_ar_try) 2>&5
3577 ac_status=$?
3578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3579 test $ac_status = 0; }
3580 if test "$ac_status" -eq 0; then
3581 am_cv_ar_interface=lib
3582 else
3583 am_cv_ar_interface=unknown
3584 fi
3585 fi
3586 rm -f conftest.lib libconftest.a
3587
3588 fi
3589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3590
3591 fi
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
3593 $as_echo "$am_cv_ar_interface" >&6; }
3594
3595 case $am_cv_ar_interface in
3596 ar)
3597 ;;
3598 lib)
3599 # Microsoft lib, so override with the ar-lib wrapper script.
3600 # FIXME: It is wrong to rewrite AR.
3601 # But if we don't then we get into trouble of one sort or another.
3602 # A longer-term fix would be to have automake use am__AR in this case,
3603 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
3604 # similar.
3605 AR="$am_aux_dir/ar-lib $AR"
3606 ;;
3607 unknown)
3608 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
3609 ;;
3610 esac
3611
3612
3446 am__api_version='1.11' 3613 am__api_version='1.11'
3447 3614
3448 ac_aux_dir= 3615 ac_aux_dir=
3449 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3616 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3450 if test -f "$ac_dir/install-sh"; then 3617 if test -f "$ac_dir/install-sh"; then
3626 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3793 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3627 # Double any \ or $. 3794 # Double any \ or $.
3628 # By default was `s,x,x', remove it if useless. 3795 # By default was `s,x,x', remove it if useless.
3629 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3796 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3630 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3797 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3631
3632 # expand $ac_aux_dir to an absolute path
3633 am_aux_dir=`cd $ac_aux_dir && pwd`
3634 3798
3635 if test x"${MISSING+set}" != xset; then 3799 if test x"${MISSING+set}" != xset; then
3636 case $am_aux_dir in 3800 case $am_aux_dir in
3637 *\ * | *\ *) 3801 *\ * | *\ *)
3638 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3802 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;