/[autoconf]/autoconf/lib/autoconf/general.m4
ViewVC logotype

Diff of /autoconf/lib/autoconf/general.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.775 by akim, Wed Oct 10 12:58:44 2001 UTC revision 1.776 by eggert, Thu Oct 18 23:40:44 2001 UTC
# Line 502  m4_define([_AC_INIT_SRCDIR], Line 502  m4_define([_AC_INIT_SRCDIR],
502  if test -z "$srcdir"; then  if test -z "$srcdir"; then
503    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
504    # Try the directory containing this script, then its parent.    # Try the directory containing this script, then its parent.
505    ac_prog=$[0]    ac_confdir=`AS_DIRNAME(["$[0]"])`
 dnl FIXME: should use AS_DIRNAME here once it is made DOS-friendly.  
   ac_confdir=`echo "$ac_prog" | sed 's%[[\\/][^\\/][^\\/]]*$%%'`  
   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.  
506    srcdir=$ac_confdir    srcdir=$ac_confdir
507    if test ! -r $srcdir/$ac_unique_file; then    if test ! -r $srcdir/$ac_unique_file; then
508      srcdir=..      srcdir=..

Legend:
Removed from v.1.775  
changed lines
  Added in v.1.776

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26