autoconf
[Top][All Lists]
Advanced

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

Re: Autoscan and automake


From: NightStrike
Subject: Re: Autoscan and automake
Date: Wed, 24 Feb 2010 10:51:21 -0500

On Wed, Feb 24, 2010 at 10:43 AM, Eric Blake <address@hidden> wrote:
> According to NightStrike on 2/24/2010 8:37 AM:
>> Why doesn't autoscan output the AM_INIT_AUTOMAKE macro into
>> configure.scan when it detect Makefile.am, but does output
>> AC_CONFIG_FILES([Makefile]), even when Makefile doesn't exist, but
>> only Makefile.am does?
>
> Are you sure Makefile.in did not exist?  Showing a shell transcript of a
> minimal reproduction of the bug with a bare-bones configure.ac and
> Makefile.am might help others reproduce this (as well as be a great
> lead-in for a testsuite addition).

Yes, it did not exist:
[trunk]$ ls
AUTHORS  COPYING.MinGW-w64          DISCLAIMER     Makefile.am
mingw-w64-doc      mingw-w64-libraries
COPYING  COPYING.MinGW-w64-runtime  DISCLAIMER.PD  mingw-w64-crt
mingw-w64-headers  mingw-w64-tools
[trunk]$ autoscan
[trunk]$ ls
AUTHORS       configure.scan  COPYING.MinGW-w64          DISCLAIMER
 Makefile.am    mingw-w64-doc      mingw-w64-libraries
autoscan.log  COPYING         COPYING.MinGW-w64-runtime  DISCLAIMER.PD
 mingw-w64-crt  mingw-w64-headers  mingw-w64-tools
[trunk]$ cat configure.scan
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.65])
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])

# Checks for programs.

# Checks for libraries.

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.

AC_CONFIG_FILES([Makefile])
AC_CONFIG_SUBDIRS([mingw-w64-crt
                   mingw-w64-headers
                   mingw-w64-libraries/libmangle
                   mingw-w64-libraries/pseh
                   mingw-w64-tools/gendef])
AC_OUTPUT
[trunk]$


> The current behavior probably exists because no one has ever reported it
> before, or been bothered enough by it to submit a patch.  Unfortunately,
> autoscan is not as well tested as autoconf, so any help you could provide
> would be welcome.

Sure, just tell me what you need.




reply via email to

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