autoconf-patches
[Top][All Lists]
Advanced

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

Urgent - fix for the testsuite


From: Pavel Roskin
Subject: Urgent - fix for the testsuite
Date: Mon, 16 Apr 2001 10:40:26 -0400 (EDT)

Hello!

This should fix Autoconf and make it possible to test it.
Changelog:

        * acgeneral.m4 (_AC_INIT_VERSION): Use AC_PACKAGE_NAME and
        AC_PACKAGE_VERSION only if they are defined.
        (_AC_OUTPUT_CONFIG_STATUS): Likewise.

The testsuite passes with this fix.

-- 
Regards,
Pavel Roskin

_________________________________________
--- acgeneral.m4
+++ acgeneral.m4
@@ -1351,7 +1351,9 @@
   cat <<\EOF])dnl
 m4_ifset([AC_PACKAGE_STRING],
          [m4_divert_text([VERSION_BEGIN],
-                         [AC_PACKAGE_NAME configure AC_PACKAGE_VERSION
+                         [dnl
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])configure[]dnl
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
 generated by GNU Autoconf AC_ACVERSION])])
 m4_divert_text([VERSION_END],
 [EOF
@@ -3681,7 +3683,8 @@

 cat >>$CONFIG_STATUS <<EOF
 ac_cs_version="\\
-AC_PACKAGE_NAME config.status AC_PACKAGE_VERSION
+m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.status[]dnl
+m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
 configured by [$]0, generated by GNU Autoconf AC_ACVERSION,
   with options \"`echo "$ac_configure_args" | sed 's/[[\\""\`\$]]/\\\\&/g'`\"

_________________________________________




reply via email to

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