diff options
Diffstat (limited to 'mcon/U/d_PORTAR.U')
-rw-r--r-- | mcon/U/d_PORTAR.U | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mcon/U/d_PORTAR.U b/mcon/U/d_PORTAR.U index 4be99b2..55251c7 100644 --- a/mcon/U/d_PORTAR.U +++ b/mcon/U/d_PORTAR.U @@ -1,12 +1,12 @@ -?RCS: $Id: d_PORTAR.U,v 3.0.1.1 1994/10/29 16:08:42 ram Exp $ +?RCS: $Id$ ?RCS: -?RCS: Copyright (c) 1991-1993, Raphael Manfredi +?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ?RCS: ?RCS: You may redistribute only under the terms of the Artistic Licence, ?RCS: as specified in the README file that comes with the distribution. ?RCS: You may reuse parts of this distribution only within the terms of ?RCS: that same Artistic Licence; a copy of which may be found at the root -?RCS: of the source tree for dist 3.0. +?RCS: of the source tree for dist 4.0. ?RCS: ?RCS: $Log: d_PORTAR.U,v $ ?RCS: Revision 3.0.1.1 1994/10/29 16:08:42 ram @@ -37,7 +37,7 @@ echo " " echo 'Checking to see if we need to define PORTAR for portable archives...' >&4 $cat >portar.c <<'EOCP' #include <ar.h> -main() { +int main() { char *arfmag = ARFMAG; int sarmag = SARMAG; struct ar_hdr arh; @@ -51,8 +51,8 @@ main() { #endif exit(0);} EOCP -if $cc portar.c -o portar >/dev/null 2>&1 || \ - $cc -DPORTAR=1 portar.c -o portar >/dev/null 2>&1 ; then +if $cc -o portar portar.c >/dev/null 2>&1 || \ + $cc -DPORTAR=1 -o portar portar.c >/dev/null 2>&1 ; then case "`./portar`" in D) val="$define" |