This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Configure: echo without \n but run with $run
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 18 Apr 2007 06:49:59 +0000 (09:49 +0300)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Wed, 18 Apr 2007 08:52:59 +0000 (08:52 +0000)
Message-Id: <200704180349.l3I3nxDh017058@vipunen.hut.fi>

p4raw-id: //depot/metaconfig@30974

U/compline/byteorder.U
U/compline/d_safebcpy.U
U/compline/d_safemcpy.U
U/perl/d_futimes.U
U/threads/d_localtime_r.U

index fa1471c..0b7d124 100644 (file)
@@ -122,7 +122,7 @@ int main()
 EOCP
                xxx_prompt=y
                set try
-               if eval $compile && ./try > /dev/null; then
+               if eval $compile && $run ./try > /dev/null; then
                        dflt=`$run ./try`
                        case "$dflt" in
                        [1-4][1-4][1-4][1-4]|12345678|87654321)
index 43e5e8c..364df88 100644 (file)
@@ -26,7 +26,7 @@
 ?RCS: Revision 3.0  1993/08/18  12:06:58  ram
 ?RCS: Baseline for dist 3.0 netwide release.
 ?RCS:
-?MAKE:d_safebcpy: cat d_bcopy Compile rm \
+?MAKE:d_safebcpy: cat d_bcopy Compile rm run \
        d_memmove i_memory i_stdlib i_string i_unistd Oldconfig Setvar
 ?MAKE: -pick add $@ %<
 ?S:d_safebcpy:
@@ -42,7 +42,6 @@
 ?C:.
 ?H:#$d_safebcpy HAS_SAFE_BCOPY /**/
 ?H:.
-?F:!try
 ?LINT: set d_safebcpy
 : can bcopy handle overlapping blocks?
 echo " "
@@ -104,7 +103,7 @@ exit(0);
 EOCP
                set try
                if eval $compile_ok; then
-                       if ./try 2>/dev/null; then
+                       if $run ./try 2>/dev/null; then
                                echo "Yes, it can."
                                val="$define"
                        else
index 8f9c46e..11c2c4e 100644 (file)
@@ -29,7 +29,7 @@
 ?RCS: Revision 3.0  1993/08/18  12:06:58  ram
 ?RCS: Baseline for dist 3.0 netwide release.
 ?RCS:
-?MAKE:d_safemcpy: Compile cat d_memcpy rm \
+?MAKE:d_safemcpy: Compile cat d_memcpy rm run \
        d_memmove i_memory i_stdlib i_string i_unistd Oldconfig Setvar
 ?MAKE: -pick add $@ %<
 ?S:d_safemcpy:
@@ -45,7 +45,6 @@
 ?C:.
 ?H:#$d_safemcpy HAS_SAFE_MEMCPY        /**/
 ?H:.
-?F:!try
 ?LINT: set d_safemcpy
 : can memcpy handle overlapping blocks?
 echo " "
@@ -107,7 +106,7 @@ exit(0);
 EOCP
                set try
                if eval $compile_ok; then
-                       if ./try 2>/dev/null; then
+                       if $run ./try 2>/dev/null; then
                                echo "Yes, it can."
                                val="$define"
                        else
index 71c5b78..95c68a4 100644 (file)
@@ -46,11 +46,11 @@ if eval $compile; then
        0)  echo "Yes, it does" >&4
            d_futimes="$define"
            ;;
-       *)  echo "No, it has futimes, but it isn't working ($rc) (probably harmless)\n" >&4
+       *)  echo "No, it has futimes, but it isn't working ($rc) (probably harmless)" >&4
            ;;
     esac
 else
-    echo "No, it does not (probably harmless)\n" >&4
+    echo "No, it does not (probably harmless)" >&4
 fi
 $rm -f try.* try core core.try.*
 
index 24cae0e..30e5325 100644 (file)
@@ -7,8 +7,9 @@
 ?RCS:
 ?RCS: Generated by the reentr.pl from the Perl 5.8 distribution.
 ?RCS:
-?MAKE:d_localtime_r d_localtime_r_needs_tzset localtime_r_proto: Inlibc cat \
-       Protochk Hasproto i_systypes usethreads i_time i_systime rm Compile
+?MAKE:d_localtime_r d_localtime_r_needs_tzset localtime_r_proto: Inlibc \
+       cat run Protochk Hasproto i_systypes usethreads i_time i_systime \
+       rm Compile
 ?MAKE: -pick add $@ %<
 ?S:d_localtime_r:
 ?S:    This variable conditionally defines the HAS_LOCALTIME_R symbol,
@@ -55,7 +56,6 @@
 ?H:#define LOCALTIME_R_PROTO $localtime_r_proto           /**/
 ?H:.
 ?T:try hdrs d_localtime_r_proto
-?F:!try
 ?LINT:set d_localtime_r
 ?LINT:set d_localtime_r_needs_tzset
 ?LINT:set localtime_r_proto
@@ -142,7 +142,7 @@ int main()
 EOCP
        set try
        if eval $compile; then
-           if ./try; then
+           if $run ./try; then
                d_localtime_r_needs_tzset=undef;
            else
                d_localtime_r_needs_tzset=define;