Rename configure.in to configure.ac
In the autoconf manual the recomended name for the autoconf input file is configure.ac and not configure.in. Follow this recomendation. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=598768
This commit is contained in:
		
				
					committed by
					
						
						Javier Jardón
					
				
			
			
				
	
			
			
			
						parent
						
							3781b24476
						
					
				
				
					commit
					ccc53b9a45
				
			@ -58,7 +58,6 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([no])])
 | 
			
		||||
 | 
			
		||||
#
 | 
			
		||||
# For each of the libraries we build, we define the following
 | 
			
		||||
 
 | 
			
		||||
# substituted variables:
 | 
			
		||||
#
 | 
			
		||||
# foo_PACKAGES:     pkg-config packages this library requires
 | 
			
		||||
@ -2030,7 +2029,7 @@ AC_CONFIG_COMMANDS([gdk/gdkconfig.h], [
 | 
			
		||||
	cat > $outfile <<\_______EOF
 | 
			
		||||
/* gdkconfig.h
 | 
			
		||||
 *
 | 
			
		||||
 * This is a generated file.  Please modify `configure.in'
 | 
			
		||||
 * This is a generated file.  Please modify `configure.ac'
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#ifndef GDKCONFIG_H
 | 
			
		||||
@ -29,9 +29,9 @@ Make sure that gtk-doc is the latest released version.
 | 
			
		||||
 3) In particular, if this is a major, stable, release, verify that
 | 
			
		||||
    README.in contains the relevant release notes and that the
 | 
			
		||||
    required versions of dependencies in INSTALL.in are in sync
 | 
			
		||||
    with configure.in.
 | 
			
		||||
    with configure.ac.
 | 
			
		||||
 | 
			
		||||
 4) Verify that the version in configure.in has been bumped after the last
 | 
			
		||||
 4) Verify that the version in configure.ac has been bumped after the last
 | 
			
		||||
    release. (Note that this is critical, a slip-up here will cause the
 | 
			
		||||
    soname to change).
 | 
			
		||||
 | 
			
		||||
@ -78,7 +78,7 @@ Make sure that gtk-doc is the latest released version.
 | 
			
		||||
 | 
			
		||||
    git push origin refs/tags/2.12.10
 | 
			
		||||
 | 
			
		||||
13) Bump the version number in configure.in and commit and push this change
 | 
			
		||||
13) Bump the version number in configure.ac and commit and push this change
 | 
			
		||||
 | 
			
		||||
14) Upload the tarball to master.gnome.org and run install-module to transfer
 | 
			
		||||
    it to download.gnome.org. If you don't have an account on master.gnome.org,
 | 
			
		||||
 | 
			
		||||
@ -996,11 +996,11 @@ relevant packages. These are:</para>
 | 
			
		||||
or on any GNU mirror.</para>
 | 
			
		||||
 | 
			
		||||
<para>In order to use the powerful autoconf/automake scheme,
 | 
			
		||||
you must create a configure.in which may look like:</para>
 | 
			
		||||
you must create a configure.ac which may look like:</para>
 | 
			
		||||
 | 
			
		||||
<programlisting role="C">
 | 
			
		||||
dnl Process this file with autoconf to produce a configure script.
 | 
			
		||||
dnl configure.in for a GTK+ based program
 | 
			
		||||
dnl configure.ac for a GTK+ based program
 | 
			
		||||
 | 
			
		||||
AC_INIT(myprg.c)
 | 
			
		||||
AM_INIT_AUTOMAKE(mypkgname, 0.0.1)
 | 
			
		||||
 | 
			
		||||
@ -152,10 +152,10 @@ and the AM_PATH_GTK macro. The program used here is the testinput.c
 | 
			
		||||
You should first read the introductory portions of the automake
 | 
			
		||||
Manual, if you are not already familiar with it.
 | 
			
		||||
 | 
			
		||||
Two files are needed, 'configure.in', which is used to build the
 | 
			
		||||
Two files are needed, 'configure.ac', which is used to build the
 | 
			
		||||
configure script:
 | 
			
		||||
 | 
			
		||||
==configure.in===
 | 
			
		||||
==configure.ac===
 | 
			
		||||
dnl Process this file with autoconf to produce a configure script.
 | 
			
		||||
AC_INIT(testinput.c)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -37,8 +37,8 @@ else
 | 
			
		||||
	exit 1
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
echo -n "configure.in..."
 | 
			
		||||
if [ "x`grep $VERSION gtk+-$VERSION/configure.in | wc -l | awk -F' ' '{print $1}'`" == "x2" ]; then 
 | 
			
		||||
echo -n "configure.ac..."
 | 
			
		||||
if [ "x`grep $VERSION gtk+-$VERSION/configure.ac | wc -l | awk -F' ' '{print $1}'`" == "x2" ]; then
 | 
			
		||||
	echo "ok" 
 | 
			
		||||
else
 | 
			
		||||
	echo "failed."
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user