|
From: <sv...@va...> - 2009-02-26 21:26:40
|
Author: njn
Date: 2009-02-26 21:26:34 +0000 (Thu, 26 Feb 2009)
New Revision: 9280
Log:
Merge r9279 (diff -u cleanup) from the trunk.
Modified:
branches/DARWIN/configure.in
Modified: branches/DARWIN/configure.in
===================================================================
--- branches/DARWIN/configure.in 2009-02-26 21:25:50 UTC (rev 9279)
+++ branches/DARWIN/configure.in 2009-02-26 21:26:34 UTC (rev 9280)
@@ -122,14 +122,16 @@
# Comparing two identical files results in 0, unless -u isn't supported (as
# it's not on AIX).
-touch tmp-xxx;
-if diff -u tmp-xxx tmp-xxx ; then
+tmpfile="tmp-xxx-yyy-zzz"
+touch $tmpfile;
+if diff -u $tmpfile $tmpfile ; then
AC_MSG_RESULT([yes])
DIFF="diff -u"
else
AC_MSG_RESULT([no])
DIFF="diff"
fi
+rm $tmpfile
# We don't want gcc < 3.0
|