test() in CPAN.pm
[p5sagit/p5-mst-13.2.git] / hints / irix_6.sh
index 61eac6e..f1c30ea 100644 (file)
@@ -95,7 +95,7 @@ case "$cc" in
        # objects in the library are of the same ABI we are compiling
        # against. Albert Chin-A-Young <china@thewrittenword.com>
        libscheck='case "$xxx" in
-*.a) /bin/ar p $xxx `/bin/ar t $xxx | /usr/bsd/head -1` >$$.o;
+*.a) /bin/ar p $xxx `/bin/ar t $xxx | sed q` >$$.o;
   case "`/usr/bin/file $$.o`" in
   *N32*) rm -f $$.o ;;
   *) rm -f $$.o; xxx=/no/n32$xxx ;;
@@ -334,6 +334,14 @@ EOM
         libswanted="$*"
 
         usemymalloc='n'
+
+       # These are hidden behind a _POSIX1C ifdef that would
+       # require including <pthread.h> for the Configure hasproto
+       # to see these.
+       d_asctime_r_proto="$define"
+       d_ctime_r_proto="$define"
+       d_gmtime_r_proto="$define"
+       d_localtime_r_proto="$define"
        ;;
 esac
 EOCBU