later on untouched
p4raw-id: //depot/metaconfig@31065
?RCS: patch36: created by ADO
?RCS:
?MAKE:d_Gconvert: \
- Compile cat Inlibc rm_try i_stdlib d_qgcvt run \
+ Compile cat Inlibc rm _o rm_try i_stdlib d_qgcvt run \
uselongdouble d_longdbl d_PRIgldbl sPRIgldbl
?MAKE: -pick add $@ %<
?S:d_Gconvert:
for xxx_convert in $xxx_list; do
echo "Trying $xxx_convert..."
- $rm_try
+?X: Do NOT use $rm_try here, as we need to keep try.c
+ $rm -f try try$_o core
set try -DTRY_$xxx_convert
if eval $compile; then
echo "$xxx_convert() found." >&4
esac
fi
+$rm_try
case "$d_sem" in
$define)
echo " "
- $cat > try.h <<END
+?X: use tryh.h instead of try.h because $rm_try cleans up try.*
+ $cat > tryh.h <<END
#ifndef S_IRUSR
# ifdef S_IREAD
# define S_IRUSR S_IREAD
#include <sys/stat.h>
#include <stdio.h>
#include <errno.h>
-#include "try.h"
+#include "tryh.h"
#ifndef errno
extern int errno;
#endif
#include <sys/ipc.h>
#include <sys/sem.h>
#include <sys/stat.h>
-#include "try.h"
+#include "tryh.h"
#include <stdio.h>
#include <errno.h>
#ifndef errno
*) echo "You cannot use struct semid_ds* for semctl IPC_STAT." >&4
;;
esac
- $rm_try
;;
*) val="$undef"
eval $setvar
;;
esac
+$rm_try tryh.h