* GINAC_CHECK_ERRORS: Don't delete cache_file /dev/null (by Roberto Bagnara).
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Tue, 15 Jan 2002 14:46:17 +0000 (14:46 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Tue, 15 Jan 2002 14:46:17 +0000 (14:46 +0000)
acinclude.m4

index e963eb9..4b5cd72 100644 (file)
@@ -86,8 +86,10 @@ if test "x${ginac_error}" = "xyes"; then
     if test "x${ginac_warning_txt}" != "x"; then
         echo "${ginac_warning_txt}"
     fi
-    echo "deleting cache ${cache_file}"
-    rm -f $cache_file
+    if test "x$cache_file" != "x/dev/null"; then
+        echo "deleting cache ${cache_file}"
+        rm -f $cache_file
+    fi
     else 
         if test x$ginac_warning = xyes; then
             echo "=== The following minor problems have been detected by configure."