Skip to content

Commit

Permalink
AC_CONFIG_AUX_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Nov 8, 2013
1 parent c52c621 commit 2689d48
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Makefile
Makefile.in
aclocal.m4
autom4te.cache
build-aux
build-tree-*
compile
config.*.cache
Expand Down
18 changes: 13 additions & 5 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,26 @@

set -e

autogen () {
rm -f Makefile Makefile.in aclocal.m4
rm -f config.guess config.h config.h.in config.log
rm -f config.status config.sub configure
rm -f depcomp install-sh libtool ltmain.sh missing stamp-h1
clean () {
rm -f Makefile Makefile.in aclocal.m4
rm -f config.h config.h.in config.log
rm -f config.status configure
rm -f libtool test-driver
rm -f stamp-h1
rm -f m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4
rm -rf autom4te.cache
rm -rf build-aux
}

autogen () {
autoreconf --verbose --force --install --make
}

set -x
cd $(dirname $0)

clean
test "$1" = clean && exit 0

autogen
rm -rf autom4te.cache
14 changes: 9 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
AC_PREREQ(2.64)
AC_INIT([fakechroot], [2.17], [[email protected]], [fakechroot], [http://fakechroot.alioth.debian.org/])
AC_CANONICAL_HOST
AC_CANONICAL_BUILD

AC_CONFIG_SRCDIR([src/libfakechroot.c])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADER([config.h])

AM_INIT_AUTOMAKE([1.10 foreign])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AM_MAINTAINER_MODE

AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src/libfakechroot.c])
AC_CONFIG_HEADER([config.h])
LT_INIT

AC_CANONICAL_HOST
AC_CANONICAL_BUILD
AC_LANG([C])

# --disable-static by default
Expand Down

0 comments on commit 2689d48

Please sign in to comment.