aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-17 14:28:25 (GMT)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-17 19:16:14 (GMT)
commitafbb4772c43ff9d0bf5058142db40faf9711f9a2 (patch)
tree21ac77e08b16e839380b24a9af7cd1c6091c2a1f
parentb59e8f15bed194a78c3cd8508ebd15ea0637b00f (diff)
Rename configure.in to configure.ac
While here, update it according with: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rwxr-xr-xautogen.sh4
-rw-r--r--configure.ac (renamed from configure.in)2
2 files changed, 3 insertions, 3 deletions
diff --git a/autogen.sh b/autogen.sh
index 5c6f4fa..9ee3796 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,7 +9,7 @@ REQUIRED_LIBTOOL_VERSION=1.4.3
REQUIRED_AUTOMAKE_VERSION=1.7
#ACLOCAL_FLAGS="-I macros $ACLOCAL_FLAGS"
-(test -f $srcdir/configure.in \
+(test -f $srcdir/configure.ac \
&& test -d $srcdir/src) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
@@ -35,4 +35,4 @@ fi
NOCONFIGURE="yes" GNOME_DATADIR="$gnome_datadir" USE_GNOME2_MACROS=1 . $gnome_autogen
-$srcdir/configure --enable-maintainer-mode `/bin/grep ^DISTCHECK configure.in | sed 's/^DISTCHECK_CONFIGURE_FLAGS="\(.*\)"$/\1/'` $@
+$srcdir/configure `/bin/grep ^DISTCHECK configure.ac | sed 's/^DISTCHECK_CONFIGURE_FLAGS="\(.*\)"$/\1/'` $@
diff --git a/configure.in b/configure.ac
index 7b55ee6..7988fb3 100644
--- a/configure.in
+++ b/configure.ac
@@ -1,7 +1,7 @@
AC_PREREQ(2.53)
AC_INIT(camorama,0.19, https://github.com/alessio/camorama)
AC_CONFIG_SRCDIR(src/main.c)
-AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
AC_PROG_INTLTOOL([0.21])

Privacy Policy