perl/hints/vos.sh
[p5sagit/p5-mst-13.2.git] / hints / irix_6.sh
index c52a988..c192a5d 100644 (file)
@@ -53,7 +53,7 @@ cc=${cc:-cc}
 
 case "$cc" in
 *gcc*) ;;
-*) ccversion=`cc -version` ;;
+*) ccversion=`cc -version 2>&1` ;;
 esac
 
 case "$use64bitint" in
@@ -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 ;;