]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Some non-srcdir build fixes.
authorAkim Demaille <akim@epita.fr>
Wed, 24 Jan 2001 07:54:32 +0000 (07:54 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 24 Jan 2001 07:54:32 +0000 (07:54 +0000)
* configure.in (BUGS): Look for file in $srcdir.
* tests/Makefile.am (MACRO_FILES): Use '..', not '$(top_srcdir)'.

ChangeLog
configure
configure.in
tests/Makefile.am
tests/Makefile.in

index e4a32c5b198281272911938c5f319f33c354d802..cf73fc43f3017d6eccefd6e11fb0618898037509 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-01-24  Raja R Harinath  <harinath@cs.umn.edu>
+
+       Some non-srcdir build fixes.
+       * configure.in (BUGS): Look for file in $srcdir.
+       * tests/Makefile.am (MACRO_FILES): Use '..', not '$(top_srcdir)'.
+
 2001-01-24  Akim Demaille  <akim@epita.fr>
 
        Don't AC_SUBST too much, as it makes Automake include those
index dd978d0574e06783fccb78fd298c5c2ea2e0fc62..8fb08e6ea8ecfff64c1939f716a419ef1995c666 100755 (executable)
--- a/configure
+++ b/configure
@@ -1792,12 +1792,7 @@ s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 s,@ECHO_C@,$ECHO_C,;t t
 s,@ECHO_N@,$ECHO_N,;t t
 s,@ECHO_T@,$ECHO_T,;t t
-s,@CFLAGS@,$CFLAGS,;t t
-s,@CPPFLAGS@,$CPPFLAGS,;t t
-s,@CXXFLAGS@,$CXXFLAGS,;t t
-s,@FFLAGS@,$FFLAGS,;t t
 s,@DEFS@,$DEFS,;t t
-s,@LDFLAGS@,$LDFLAGS,;t t
 s,@LIBS@,$LIBS,;t t
 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
@@ -1929,7 +1924,7 @@ done; }
   esac
 
   if test x"$ac_file" != x-; then
-    { echo "$as_me:1932: creating $ac_file" >&5
+    { echo "$as_me:1927: creating $ac_file" >&5
 echo "$as_me: creating $ac_file" >&6;}
     rm -f "$ac_file"
   fi
@@ -1947,7 +1942,7 @@ echo "$as_me: creating $ac_file" >&6;}
       -) echo $tmp/stdin ;;
       [\\/$]* | ?:[\\/]*)
          # Absolute
-         test -f "$f" || { { echo "$as_me:1950: error: cannot find input file: $f" >&5
+         test -f "$f" || { { echo "$as_me:1945: error: cannot find input file: $f" >&5
 echo "$as_me: error: cannot find input file: $f" >&2;}
    { (exit 1); exit 1; }; }
          echo $f;;
@@ -1960,7 +1955,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
            echo $ac_given_srcdir/$f
          else
            # /dev/null tree
-           { { echo "$as_me:1963: error: cannot find input file: $f" >&5
+           { { echo "$as_me:1958: error: cannot find input file: $f" >&5
 echo "$as_me: error: cannot find input file: $f" >&2;}
    { (exit 1); exit 1; }; }
          fi;;
@@ -2001,5 +1996,5 @@ test "$no_create" = yes || $SHELL $CONFIG_STATUS || { (exit 1); exit 1; }
 
 # Report the state of this version of Autoconf if this is a beta.
 case 2.49c in
-  *[a-z]*) sed -n '/^\* Status/,$p' BUGS;;
+  *[a-z]*) sed -n '/^\* Status/,$p' $srcdir/BUGS;;
 esac
index 4bfa8b448193cadff025d17f00aa40605f31c268..ec919140c389c7ba20faa14ecba22d5b0bf80f0f 100644 (file)
@@ -48,5 +48,5 @@ AC_OUTPUT(Makefile m4/Makefile man/Makefile doc/Makefile
 
 # Report the state of this version of Autoconf if this is a beta.
 case AC_PACKAGE_VERSION in
-  *[[a-z]]*) sed -n '/^\* Status/,$p' BUGS;;
+  *[[a-z]]*) sed -n '/^\* Status/,$p' $srcdir/BUGS;;
 esac
index 6b49518f374acf9fff1ffb12fec3131f7994b8b4..be115920a71b4cc1fbf7ac9c7e3c9ecc2ac22f40 100644 (file)
@@ -46,13 +46,15 @@ testsuite: $(top_srcdir)/m4sugar.m4 $(top_srcdir)/m4sh.m4 \
        mv $@-tmp $@
 
 
-# The files which contains macro we check for syntax.
-MACRO_FILES = $(top_srcdir)/acgeneral.m4 \
-              $(top_srcdir)/acspecific.m4 \
-              $(top_srcdir)/acfunctions.m4 \
-              $(top_srcdir)/aclang.m4 \
-              $(top_srcdir)/acheaders.m4 \
-              $(top_srcdir)/actypes.m4
+# The files which contains macro we check for syntax.  Don't use $(top_srcdir)
+# here since below we explicitly `cd' to $srcdir.  As for the dependencies,
+# thanks God for VPATH.  Hm...
+MACRO_FILES = ../acgeneral.m4 \
+              ../acspecific.m4 \
+              ../acfunctions.m4 \
+              ../aclang.m4 \
+              ../acheaders.m4 \
+              ../actypes.m4
 
 acgeneral.at: mktests.sh $(MACRO_FILES)
        cd $(srcdir) && ./mktests.sh $(MACRO_FILES)
index e265fd5a06575e130ed6b9a88d607dddf62e8275..fa04a0ca3d1997d5271690fbb4fdec93e3394d40 100644 (file)
@@ -75,8 +75,10 @@ SUITE = suite.at         m4sugar.at m4sh.at         base.at tools.at torture.at
 EXTRA_DIST = README              atgeneral.m4 atspecific.m4 aclocal.m4              $(SUITE) mktests.sh
 
 
-# The files which contains macro we check for syntax.
-MACRO_FILES = $(top_srcdir)/acgeneral.m4               $(top_srcdir)/acspecific.m4               $(top_srcdir)/acfunctions.m4               $(top_srcdir)/aclang.m4               $(top_srcdir)/acheaders.m4               $(top_srcdir)/actypes.m4
+# The files which contains macro we check for syntax.  Don't use $(top_srcdir)
+# here since below we explicitly `cd' to $srcdir.  As for the dependencies,
+# thanks God for VPATH.  Hm...
+MACRO_FILES = ../acgeneral.m4               ../acspecific.m4               ../acfunctions.m4               ../aclang.m4               ../acheaders.m4               ../actypes.m4
 
 
 CLEANFILES = debug-*.sh macro configure configure.in configure.ac              config.status config.cache config.log config.h.in config.h              stderr stdout empty
@@ -84,7 +86,7 @@ CLEANFILES = debug-*.sh macro configure configure.in configure.ac              c
 DISTCLEANFILES = atconfig testsuite
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_CLEAN_FILES =  atconfig
-DIST_COMMON =  README Makefile.am Makefile.in atconfig.in configure
+DIST_COMMON =  README Makefile.am Makefile.in atconfig.in
 
 
 PACKAGE = @PACKAGE@