autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Autoshell


From: Tim Van Holder
Subject: RE: Autoshell
Date: Wed, 31 Jan 2001 21:41:21 +0100

> I can send you the offending configure.in if you like.  It's the one
> that's checked into the CVS CVS (no, that wasn't a stutter.  :).  Of
> course, I might want to pull my customizations out of my AM first and try
> again to make sure that's not causing the problem first, but if someone
> else saw this problem then it's probably not.
If you mean the AC_TRY_COMMAND() in the test for the BSD VPATH issue,
I tried using
...
AC_CACHE_CHECK(for BSD VPATH bug in make, ccvs_cv_bsd_make_vpath_bug,
[if test ! -d ac_test_dir ; then
        AS_MKDIR_P(ac_test_dir)
        AS_MKDIR_P([ac_test_dir])
        AC_TRY_COMMAND([mkdir ac_test_dir])
fi
cat >conftestmake <<EOF
...

And all three calls were seemingly expanded properly (using reasonably
current CVS autoconf and automake).

...
echo "$as_me:3029: checking for BSD VPATH bug in make" >&5
echo $ECHO_N "checking for BSD VPATH bug in make... $ECHO_C" >&6
if test "${ccvs_cv_bsd_make_vpath_bug+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test ! -d ac_test_dir ; then
        { case ac_test_dir in
  [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
  *)                      ac_incr_dir=.;;
esac
ac_dummy=ac_test_dir
for ac_mkdir_dir in `IFS='\\/'; set X $ac_dummy; shift; echo "$@"`; do
  case $ac_mkdir_dir in
    # Skip DOS drivespec
    ?:) ac_incr_dir=$ac_mkdir_dir ;;
    *)
      ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
      test -d "$ac_incr_dir" || mkdir "$ac_incr_dir"
    ;;
  esac
done; }

        { case ac_test_dir in
  [\\/]* | ?:[\\/]* ) ac_incr_dir=;;
  *)                      ac_incr_dir=.;;
esac
ac_dummy=ac_test_dir
for ac_mkdir_dir in `IFS='\\/'; set X $ac_dummy; shift; echo "$@"`; do
  case $ac_mkdir_dir in
    # Skip DOS drivespec
    ?:) ac_incr_dir=$ac_mkdir_dir ;;
    *)
      ac_incr_dir=$ac_incr_dir/$ac_mkdir_dir
      test -d "$ac_incr_dir" || mkdir "$ac_incr_dir"
    ;;
  esac
done; }

        { (eval echo "$as_me:3067: \"mkdir ac_test_dir\"") >&5
  (eval mkdir ac_test_dir) 2>&5
  ac_status=$?
  echo "$as_me:3070: \$? = $ac_status" >&5
  (exit $ac_status); }
fi
cat >conftestmake <<EOF
...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]