[w3m-dev 04144] ac_unique_file in configure

YONETANI Tomokazu <[email protected]> Sat, 26 Feb 2005 23:07:53 +0900
Newsgroups gmane.comp.web.w3m.devel
Message-ID <[email protected]>
configure rev 1.152commitCVSconfigure
w3mtouch
autoconfconfigure

(539):

  # A filename unique to this package, relative to the directory that
  # configure is in, which we can look for to find out if srcdir is correct.
  ac_unique_file=w3m

  # Find the source files, if location was not specified.
  if test -z "$srcdir"; then
    ac_srcdir_defaulted=yes
    # Try the directory containing this script, then its parent.
    ac_prog=$0
    ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
    test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
    srcdir=$ac_confdir
    if test ! -r $srcdir/$ac_unique_file; then
      srcdir=..
    fi
  else
    ac_srcdir_defaulted=no
  fi

($srcdir)w3m

srcdir982install[-?]sh
configure
--srcdir= configure
ac_unique_file
configureautoconf-2.13autoconf-2.59configure
autoconf-2.13ac_unique_filew3m
configure,1.152 commit
w3m
autoconf-2.13
configure

Index: configure
===================================================================
RCS file: /cvsroot/w3m/w3m/configure,v
retrieving revision 1.152
diff -u -r1.152 configure
--- configure	14 Feb 2005 16:36:30 -0000	1.152
+++ configure	26 Feb 2005 13:46:32 -0000
@@ -538,7 +538,7 @@
 
 # A filename unique to this package, relative to the directory that
 # configure is in, which we can look for to find out if srcdir is correct.
-ac_unique_file=w3m
+ac_unique_file=
 
 # Find the source files, if location was not specified.
 if test -z "$srcdir"; then