bug-autoconf
[Top][All Lists]
Advanced

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

autoreconf-2.69 fails when configure.ac is not in the current directory


From: Victor Lavaud
Subject: autoreconf-2.69 fails when configure.ac is not in the current directory
Date: Tue, 18 Jun 2013 13:28:26 +0200

Steps to reproduce the bug:

1. Create the directories and the files 
        $ mkdir -p autoconf include/common src
        $ touch src/main.cpp autoconf/configure.ac

2. Edit the contents of autoconf/configure.ac:

AC_PREREQ([2.69])
AC_INIT([foo], 3.1, address@hidden)
LT_INIT
AC_CONFIG_SRCDIR([src/main.cpp])
AC_CONFIG_HEADERS([include/common/config.h])
AC_OUTPUT

3. Run autoreconf
        $ autoreconf -v autoconf/configure.ac

4. Notice the error: autoheader-2.69: cannot
rename /tmp/arvJbwKq/ahY1jPcF/config.hin as include/common/config.h.in:
No such file or directory
     Also note that no file is generated in include/common

5. Now run autoheader
        $ autoheader-2.69 autoconf/configure.ac 

6. Notice that it works, and include/common/config.h.in is generated

I hope this helps


reply via email to

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