Re: [PATCH] Re: Perl @ 32984 (also relevant to [perl #33849])
authorAndy Dougherty <doughera@lafayette.edu>
Fri, 1 Feb 2008 12:39:39 +0000 (07:39 -0500)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Thu, 7 Feb 2008 17:32:19 +0000 (17:32 +0000)
Message-ID: <Pine.LNX.4.64.0802011239170.1831@fractal.phys.lafayette.edu>

p4raw-id: //depot/perl@33246

hints/irix_6.sh

index e3df634..93d6618 100644 (file)
@@ -344,7 +344,9 @@ esac
 # (We only need to do this for cc, not for gcc.  ccversion is computed above.)
 case "$ccversion" in
 '')  ;; # gcc.  Do nothing.
-*)  cppstdin=`pwd`/cppstdin
+*)  # Inside this call-back unit, we are down in the UU/ subdirectory,
+    # but Configure will look for cppstdin one level up.
+    cd ..; cppstdin=`pwd`/cppstdin; cd UU
     cpprun="$cppstdin"
     ;;
 esac