autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

config.status doesn't exit - two more fixes needed


From: Pavel Roskin
Subject: config.status doesn't exit - two more fixes needed
Date: Wed, 27 Sep 2000 13:24:53 -0400 (EDT)

Hello!

In my recent patch I forgot to put an "exit" when a file from
AC_CONFIG_HEADERS is missing. My patch only handled files from
AC_CONFIG_FILES.

Also I suppose that I should now use "double exit" since that code runs
after "trap".

ChangeLog:
        * acgeneral.m4 (_AC_OUTPUT_FILES): Fixed exit status.
        (_AC_OUTPUT_HEADERS): Exit if the header template is missing.

Regards,
Pavel Roskin

_______________________
Index: acgeneral.m4
--- acgeneral.m4        Wed Sep 27 13:07:45 2000
+++ acgeneral.m4        Wed Sep 27 13:13:18 2000
@@ -4775,7 +4775,7 @@
            AC_MSG_ERROR([cannot find input file \\`$f'])
          fi;;
       esac
-    done` || exit 1
+    done` || { (exit 1); exit; }
 EOF
 cat >>$CONFIG_STATUS <<EOF
 dnl Neutralize VPATH when `$srcdir' = `.'.
@@ -4922,7 +4922,7 @@
            AC_MSG_ERROR([cannot find input file \\`$f'])
          fi;;
       esac
-    done`
+    done` || { (exit 1); exit; }
   # Remove the trailing spaces.
   sed 's/[[    ]]*$//' $ac_file_inputs >$tmp/in
 
_______________________





reply via email to

[Prev in Thread] Current Thread [Next in Thread]