Changeset 1082 for trunk/configure


Ignore:
Timestamp:
Jul 31, 2008, 6:30:08 PM (11 years ago)
Author:
gah
Message:

update makefile with mkdir_p

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r1081 r1082  
    692692RANLIB
    693693LN_S
     694MKDIR_P
    694695CPP
    695696GREP
     
    732733PERL_INCLUDES
    733734PERL_SITE_PACKAGES
     735PERL_ARCHLIB
    734736PYTHON
    735737PYTHON_CPPFLAGS
     
    750752RP_BASE
    751753SHLIB_LDFLAGS
     754TCL_VERSION
     755TK_VERSION
    752756CFLAGS_DEFAULT
    753757LDFLAGS_DEFAULT
     
    34723476$as_echo "no, using $LN_S" >&6; }
    34733477fi
     3478
     3479{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
     3480$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
     3481if test -z "$MKDIR_P"; then
     3482  if test "${ac_cv_path_mkdir+set}" = set; then
     3483  $as_echo_n "(cached) " >&6
     3484else
     3485  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3486for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
     3487do
     3488  IFS=$as_save_IFS
     3489  test -z "$as_dir" && as_dir=.
     3490  for ac_prog in mkdir gmkdir; do
     3491         for ac_exec_ext in '' $ac_executable_extensions; do
     3492           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     3493           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
     3494             'mkdir (GNU coreutils) '* | \
     3495             'mkdir (coreutils) '* | \
     3496             'mkdir (fileutils) '4.1*)
     3497               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
     3498               break 3;;
     3499           esac
     3500         done
     3501       done
     3502done
     3503IFS=$as_save_IFS
     3504
     3505fi
     3506
     3507  if test "${ac_cv_path_mkdir+set}" = set; then
     3508    MKDIR_P="$ac_cv_path_mkdir -p"
     3509  else
     3510    # As a last resort, use the slow shell script.  Don't cache a
     3511    # value for MKDIR_P within a source directory, because that will
     3512    # break other packages using the cache if that directory is
     3513    # removed, or if the value is a relative name.
     3514    test -d ./--version && rmdir ./--version
     3515    MKDIR_P="$ac_install_sh -d"
     3516  fi
     3517fi
     3518{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     3519$as_echo "$MKDIR_P" >&6; }
    34743520
    34753521
     
    87218767PERL_INCLUDES=
    87228768PERL_SITE_PACKAGES=
     8769PERL_ARCHLIB=
    87238770if test "$with_perl" != "no" ; then
    87248771    { $as_echo "$as_me:$LINENO: checking for perl" >&5
    87258772$as_echo_n "checking for perl... " >&6; }
    8726     if test -x "$with_perl/bin/perl"
    8727     then
    8728         echo Found perl in $with_perl/bin/perl
    8729         PERL="$with_perl/bin/perl"
    8730     else
    8731         if test -x "$with_perl"
    8732         then
    8733             echo Found perl in $with_perl
    8734             PERL="$with_perl"
    8735         else
    8736             # Extract the first word of "perl", so it can be a program name with args.
     8773    if test "$with_perl" != "yes" ; then
     8774      # Extract the first word of "perl", so it can be a program name with args.
    87378775set dummy perl; ac_word=$2
    87388776{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     
    87618799IFS=$as_save_IFS
    87628800
     8801  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="$with_perl/bin:$with_perl"
    87638802  ;;
    87648803esac
     
    87748813
    87758814
    8776         fi
     8815    else
     8816      # Extract the first word of "perl", so it can be a program name with args.
     8817set dummy perl; ac_word=$2
     8818{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     8819$as_echo_n "checking for $ac_word... " >&6; }
     8820if test "${ac_cv_path_PERL+set}" = set; then
     8821  $as_echo_n "(cached) " >&6
     8822else
     8823  case $PERL in
     8824  [\\/]* | ?:[\\/]*)
     8825  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
     8826  ;;
     8827  *)
     8828  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8829for as_dir in $PATH
     8830do
     8831  IFS=$as_save_IFS
     8832  test -z "$as_dir" && as_dir=.
     8833  for ac_exec_ext in '' $ac_executable_extensions; do
     8834  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8835    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
     8836    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     8837    break 2
     8838  fi
     8839done
     8840done
     8841IFS=$as_save_IFS
     8842
     8843  ;;
     8844esac
     8845fi
     8846PERL=$ac_cv_path_PERL
     8847if test -n "$PERL"; then
     8848  { $as_echo "$as_me:$LINENO: result: $PERL" >&5
     8849$as_echo "$PERL" >&6; }
     8850else
     8851  { $as_echo "$as_me:$LINENO: result: no" >&5
     8852$as_echo "no" >&6; }
     8853fi
     8854
     8855
    87778856    fi
    8778     PERL_SITE_PACKAGES='$(libdir)/perl5'
     8857    if test "x${PERL}" != "x" ; then
     8858      PERL_ARCHLIB=`${PERL} -MConfig -e 'print $Config{archlib}'`
     8859      PERL_SITE_PACKAGES='$(libdir)/perl5'
     8860    fi
    87798861fi
    87808862{ $as_echo "$as_me:$LINENO: result: ${PERL}" >&5
    87818863$as_echo "${PERL}" >&6; }
     8864
    87828865
    87838866
     
    94339516
    94349517
     9518. ${exec_prefix}/lib/tclConfig.sh
     9519. ${exec_prefix}/lib/tkConfig.sh
     9520
     9521
     9522
    94359523#--------------------------------------------------------------------
    94369524# Set the default compiler switches based on the --enable-symbols
     
    1001910107srcdir='$srcdir'
    1002010108INSTALL='$INSTALL'
     10109MKDIR_P='$MKDIR_P'
    1002110110AWK='$AWK'
    1002210111test -n "\$AWK" || AWK=awk
     
    1057410663  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    1057510664  esac
     10665  ac_MKDIR_P=$MKDIR_P
     10666  case $MKDIR_P in
     10667  [\\/$]* | ?:[\\/]* ) ;;
     10668  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
     10669  esac
    1057610670_ACEOF
    1057710671
     
    1063010724s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
    1063110725s&@INSTALL@&$ac_INSTALL&;t t
     10726s&@MKDIR_P@&$ac_MKDIR_P&;t t
    1063210727$ac_datarootdir_hack
    1063310728"
Note: See TracChangeset for help on using the changeset viewer.