>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:

Alexandre> On Jul 10, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:
>> elif test -f "$ac_given_srcdir/$f"; then

Alexandre> This shouldn't be done when $f is a full pathname.

Well:

+     for f in $ac_file_in; do
+       case $f in
+       -) echo $tmp/stdin ;;
+       *) if test -f "$f"; then
+            # Build tree or absolute
+            echo $f

This one should be triggered first for full path names.  Or am I
missing something?

+          elif test -f "$ac_given_srcdir/$f"; then
+            # Source tree
+            echo $ac_given_srcdir/$f
+          else
+            # /dev/null tree
+            AC_MSG_ERROR([cannot find input file \\`$f'])
+          fi;;
+       esac
+     done`

Reply via email to