Changeset 29128


Ignore:
Timestamp:
Sep 15, 2007, 1:36:00 PM (12 years ago)
Author:
afb@…
Message:

autogen configure for tar/gnutar/make/gnumake/sed/sed_ext

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/configure

    r28822 r29128  
    686686SVN
    687687RSYNC
     688SED
     689TAR
     690MAKE
    688691HAVE_LAUNCHD
    689692LAUNCHCTL
    690693XCODEBUILD
     694GNUTAR
     695GNUMAKE
    691696BZIP2
    692697XAR
    693698OPEN
    694 TAR
    695 GNUTAR
     699SED_EXT
    696700TAR_CMD
    697701CFLAGS_QUICHEEATERS
     
    781785SVN
    782786RSYNC
     787SED
    783788TAR
     789MAKE
    784790GNUTAR
     791GNUMAKE
    785792BZIP2
    786793XAR
     
    14101417  SVN         path to svn command
    14111418  RSYNC       path to rsync command
     1419  SED         path to sed command
    14121420  TAR         path to tar command
     1421  MAKE        path to make command
    14131422  GNUTAR      path to gnutar command
     1423  GNUMAKE     path to gnumake command
    14141424  BZIP2       path to bzip2 command
    14151425  XAR         path to xar command
     
    35053515
    35063516
     3517# Extract the first word of "sed", so it can be a program name with args.
     3518set dummy sed; ac_word=$2
     3519{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3520echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3521if test "${ac_cv_path_SED+set}" = set; then
     3522  echo $ECHO_N "(cached) $ECHO_C" >&6
     3523else
     3524  case $SED in
     3525  [\\/]* | ?:[\\/]*)
     3526  ac_cv_path_SED="$SED" # Let the user override the test with a path.
     3527  ;;
     3528  *)
     3529  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3530for as_dir in $PATH
     3531do
     3532  IFS=$as_save_IFS
     3533  test -z "$as_dir" && as_dir=.
     3534  for ac_exec_ext in '' $ac_executable_extensions; do
     3535  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3536    ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
     3537    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3538    break 2
     3539  fi
     3540done
     3541done
     3542IFS=$as_save_IFS
     3543
     3544  ;;
     3545esac
     3546fi
     3547SED=$ac_cv_path_SED
     3548if test -n "$SED"; then
     3549  { echo "$as_me:$LINENO: result: $SED" >&5
     3550echo "${ECHO_T}$SED" >&6; }
     3551else
     3552  { echo "$as_me:$LINENO: result: no" >&5
     3553echo "${ECHO_T}no" >&6; }
     3554fi
     3555
     3556
     3557# Extract the first word of "tar", so it can be a program name with args.
     3558set dummy tar; ac_word=$2
     3559{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3560echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3561if test "${ac_cv_path_TAR+set}" = set; then
     3562  echo $ECHO_N "(cached) $ECHO_C" >&6
     3563else
     3564  case $TAR in
     3565  [\\/]* | ?:[\\/]*)
     3566  ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
     3567  ;;
     3568  *)
     3569  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3570for as_dir in $PATH
     3571do
     3572  IFS=$as_save_IFS
     3573  test -z "$as_dir" && as_dir=.
     3574  for ac_exec_ext in '' $ac_executable_extensions; do
     3575  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3576    ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
     3577    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3578    break 2
     3579  fi
     3580done
     3581done
     3582IFS=$as_save_IFS
     3583
     3584  ;;
     3585esac
     3586fi
     3587TAR=$ac_cv_path_TAR
     3588if test -n "$TAR"; then
     3589  { echo "$as_me:$LINENO: result: $TAR" >&5
     3590echo "${ECHO_T}$TAR" >&6; }
     3591else
     3592  { echo "$as_me:$LINENO: result: no" >&5
     3593echo "${ECHO_T}no" >&6; }
     3594fi
     3595
     3596
     3597# Extract the first word of "make", so it can be a program name with args.
     3598set dummy make; ac_word=$2
     3599{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3600echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3601if test "${ac_cv_path_MAKE+set}" = set; then
     3602  echo $ECHO_N "(cached) $ECHO_C" >&6
     3603else
     3604  case $MAKE in
     3605  [\\/]* | ?:[\\/]*)
     3606  ac_cv_path_MAKE="$MAKE" # Let the user override the test with a path.
     3607  ;;
     3608  *)
     3609  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3610for as_dir in $PATH
     3611do
     3612  IFS=$as_save_IFS
     3613  test -z "$as_dir" && as_dir=.
     3614  for ac_exec_ext in '' $ac_executable_extensions; do
     3615  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3616    ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext"
     3617    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3618    break 2
     3619  fi
     3620done
     3621done
     3622IFS=$as_save_IFS
     3623
     3624  ;;
     3625esac
     3626fi
     3627MAKE=$ac_cv_path_MAKE
     3628if test -n "$MAKE"; then
     3629  { echo "$as_me:$LINENO: result: $MAKE" >&5
     3630echo "${ECHO_T}$MAKE" >&6; }
     3631else
     3632  { echo "$as_me:$LINENO: result: no" >&5
     3633echo "${ECHO_T}no" >&6; }
     3634fi
     3635
     3636
    35073637# Extract the first word of "launchd", so it can be a program name with args.
    35083638set dummy launchd; ac_word=$2
     
    36223752
    36233753
     3754for ac_prog in gnutar gtar
     3755do
     3756  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3757set dummy $ac_prog; ac_word=$2
     3758{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3759echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3760if test "${ac_cv_path_GNUTAR+set}" = set; then
     3761  echo $ECHO_N "(cached) $ECHO_C" >&6
     3762else
     3763  case $GNUTAR in
     3764  [\\/]* | ?:[\\/]*)
     3765  ac_cv_path_GNUTAR="$GNUTAR" # Let the user override the test with a path.
     3766  ;;
     3767  *)
     3768  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3769as_dummy="$PATH:/usr/local/bin"
     3770for as_dir in $as_dummy
     3771do
     3772  IFS=$as_save_IFS
     3773  test -z "$as_dir" && as_dir=.
     3774  for ac_exec_ext in '' $ac_executable_extensions; do
     3775  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3776    ac_cv_path_GNUTAR="$as_dir/$ac_word$ac_exec_ext"
     3777    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3778    break 2
     3779  fi
     3780done
     3781done
     3782IFS=$as_save_IFS
     3783
     3784  ;;
     3785esac
     3786fi
     3787GNUTAR=$ac_cv_path_GNUTAR
     3788if test -n "$GNUTAR"; then
     3789  { echo "$as_me:$LINENO: result: $GNUTAR" >&5
     3790echo "${ECHO_T}$GNUTAR" >&6; }
     3791else
     3792  { echo "$as_me:$LINENO: result: no" >&5
     3793echo "${ECHO_T}no" >&6; }
     3794fi
     3795
     3796
     3797  test -n "$GNUTAR" && break
     3798done
     3799
     3800for ac_prog in gnumake gmake
     3801do
     3802  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3803set dummy $ac_prog; ac_word=$2
     3804{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3805echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3806if test "${ac_cv_path_GNUMAKE+set}" = set; then
     3807  echo $ECHO_N "(cached) $ECHO_C" >&6
     3808else
     3809  case $GNUMAKE in
     3810  [\\/]* | ?:[\\/]*)
     3811  ac_cv_path_GNUMAKE="$GNUMAKE" # Let the user override the test with a path.
     3812  ;;
     3813  *)
     3814  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3815as_dummy="$PATH:/usr/local/bin"
     3816for as_dir in $as_dummy
     3817do
     3818  IFS=$as_save_IFS
     3819  test -z "$as_dir" && as_dir=.
     3820  for ac_exec_ext in '' $ac_executable_extensions; do
     3821  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3822    ac_cv_path_GNUMAKE="$as_dir/$ac_word$ac_exec_ext"
     3823    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3824    break 2
     3825  fi
     3826done
     3827done
     3828IFS=$as_save_IFS
     3829
     3830  ;;
     3831esac
     3832fi
     3833GNUMAKE=$ac_cv_path_GNUMAKE
     3834if test -n "$GNUMAKE"; then
     3835  { echo "$as_me:$LINENO: result: $GNUMAKE" >&5
     3836echo "${ECHO_T}$GNUMAKE" >&6; }
     3837else
     3838  { echo "$as_me:$LINENO: result: no" >&5
     3839echo "${ECHO_T}no" >&6; }
     3840fi
     3841
     3842
     3843  test -n "$GNUMAKE" && break
     3844done
     3845
    36243846# Extract the first word of "bzip2", so it can be a program name with args.
    36253847set dummy bzip2; ac_word=$2
     
    37523974
    37533975
     3976
     3977
     3978
     3979
     3980
     3981
     3982        # Extract the first word of "sed", so it can be a program name with args.
     3983set dummy sed; ac_word=$2
     3984{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3985echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
     3986if test "${ac_cv_path_SED+set}" = set; then
     3987  echo $ECHO_N "(cached) $ECHO_C" >&6
     3988else
     3989  case $SED in
     3990  [\\/]* | ?:[\\/]*)
     3991  ac_cv_path_SED="$SED" # Let the user override the test with a path.
     3992  ;;
     3993  *)
     3994  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3995for as_dir in $PATH
     3996do
     3997  IFS=$as_save_IFS
     3998  test -z "$as_dir" && as_dir=.
     3999  for ac_exec_ext in '' $ac_executable_extensions; do
     4000  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4001    ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
     4002    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4003    break 2
     4004  fi
     4005done
     4006done
     4007IFS=$as_save_IFS
     4008
     4009  ;;
     4010esac
     4011fi
     4012SED=$ac_cv_path_SED
     4013if test -n "$SED"; then
     4014  { echo "$as_me:$LINENO: result: $SED" >&5
     4015echo "${ECHO_T}$SED" >&6; }
     4016else
     4017  { echo "$as_me:$LINENO: result: no" >&5
     4018echo "${ECHO_T}no" >&6; }
     4019fi
     4020
     4021
     4022
     4023        if test "x$SED" = "x"; then
     4024                { { echo "$as_me:$LINENO: error: cannot find sed. Is sed installed?" >&5
     4025echo "$as_me: error: cannot find sed. Is sed installed?" >&2;}
     4026   { (exit 1); exit 1; }; }
     4027        fi
     4028
     4029        { echo "$as_me:$LINENO: checking for which sed flag to use for extended regexp" >&5
     4030echo $ECHO_N "checking for which sed flag to use for extended regexp... $ECHO_C" >&6; }
     4031        bsd_sed_flag=`echo foo | $SED -E -e s/foo+/OK/ 2>&1 | grep OK`
     4032        gnu_sed_flag=`echo foo | $SED -r -e s/foo+/OK/ 2>&1 | grep OK`
     4033        any_sed_flag=`echo foo | $SED    -e s/foo+/OK/ 2>&1 | grep OK`
     4034        if test "x$bsd_sed_flag" = "xOK" ; then
     4035                { echo "$as_me:$LINENO: result: -E (BSD)" >&5
     4036echo "${ECHO_T}-E (BSD)" >&6; }
     4037                SED_EXT=-E
     4038        elif test "x$gnu_sed_flag" = "xOK" ; then
     4039                { echo "$as_me:$LINENO: result: -r (GNU)" >&5
     4040echo "${ECHO_T}-r (GNU)" >&6; }
     4041                SED_EXT=-r
     4042        elif test "x$any_sed_flag" = "xOK" ; then
     4043                { echo "$as_me:$LINENO: result: none" >&5
     4044echo "${ECHO_T}none" >&6; }
     4045                SED_EXT=
     4046        else
     4047                { echo "$as_me:$LINENO: result: no idea" >&5
     4048echo "${ECHO_T}no idea" >&6; }
     4049                { { echo "$as_me:$LINENO: error: cannot determine flag to use for $SED" >&5
     4050echo "$as_me: error: cannot determine flag to use for $SED" >&2;}
     4051   { (exit 1); exit 1; }; }
     4052        fi
    37544053
    37554054
     
    1241912718SVN!$SVN$ac_delim
    1242012719RSYNC!$RSYNC$ac_delim
     12720SED!$SED$ac_delim
     12721TAR!$TAR$ac_delim
     12722MAKE!$MAKE$ac_delim
    1242112723HAVE_LAUNCHD!$HAVE_LAUNCHD$ac_delim
    1242212724LAUNCHCTL!$LAUNCHCTL$ac_delim
    1242312725XCODEBUILD!$XCODEBUILD$ac_delim
     12726GNUTAR!$GNUTAR$ac_delim
     12727GNUMAKE!$GNUMAKE$ac_delim
    1242412728BZIP2!$BZIP2$ac_delim
    1242512729XAR!$XAR$ac_delim
    1242612730OPEN!$OPEN$ac_delim
    12427 TAR!$TAR$ac_delim
    12428 GNUTAR!$GNUTAR$ac_delim
     12731SED_EXT!$SED_EXT$ac_delim
    1242912732TAR_CMD!$TAR_CMD$ac_delim
    1243012733CFLAGS_QUICHEEATERS!$CFLAGS_QUICHEEATERS$ac_delim
     
    1244312746OBJC_FOUNDATION!$OBJC_FOUNDATION$ac_delim
    1244412747OBJC_FOUNDATION_LDFLAGS!$OBJC_FOUNDATION_LDFLAGS$ac_delim
    12445 OBJC_FOUNDATION_CPPFLAGS!$OBJC_FOUNDATION_CPPFLAGS$ac_delim
    12446 OBJC_FOUNDATION_LIBS!$OBJC_FOUNDATION_LIBS$ac_delim
    12447 HAVE_FRAMEWORK_COREFOUNDATION!$HAVE_FRAMEWORK_COREFOUNDATION$ac_delim
    12448 HAVE_FRAMEWORK_SYSTEMCONFIGURATION!$HAVE_FRAMEWORK_SYSTEMCONFIGURATION$ac_delim
    1244912748_ACEOF
    1245012749
     
    1248812787for ac_last_try in false false false false false :; do
    1248912788  cat >conf$$subs.sed <<_ACEOF
     12789OBJC_FOUNDATION_CPPFLAGS!$OBJC_FOUNDATION_CPPFLAGS$ac_delim
     12790OBJC_FOUNDATION_LIBS!$OBJC_FOUNDATION_LIBS$ac_delim
     12791HAVE_FRAMEWORK_COREFOUNDATION!$HAVE_FRAMEWORK_COREFOUNDATION$ac_delim
     12792HAVE_FRAMEWORK_SYSTEMCONFIGURATION!$HAVE_FRAMEWORK_SYSTEMCONFIGURATION$ac_delim
    1249012793HAVE_FRAMEWORK_IOKIT!$HAVE_FRAMEWORK_IOKIT$ac_delim
    1249112794HAVE_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER!$HAVE_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER$ac_delim
     
    1254212845_ACEOF
    1254312846
    12544   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
     12847  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 56; then
    1254512848    break
    1254612849  elif $ac_last_try; then
Note: See TracChangeset for help on using the changeset viewer.