Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
Build adminstrivia fixed bug [#38]
Browse files Browse the repository at this point in the history
* autogen.sh - autoreconf does much of the heavy lifting now
* configure.ac - adding AC_CONFIG_AUX_DIR allows configure to find config.sub
  • Loading branch information
rocky committed Mar 12, 2016
1 parent 589a736 commit c07e396
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
25 changes: 3 additions & 22 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,15 @@ test -z "$srcdir" && srcdir=.
exit 1
}

(echo $_echo_n " + Running aclocal: $_echo_c"; \
aclocal -I .; \
echo "done.")
rc=$?
(test -n $rc ) || exit $rc

(echo $_echo_n " + Running libtoolize: $_echo_c"; \
libtoolize --copy; \
echo "done.")
rc=$?
(test -n $rc ) || exit $rc

(echo $_echo_n " + Running automake: $_echo_c"; \
automake --add-missing; \
echo "done.")
rc=$?
(test -n $rc ) || exit $rc

(echo $_echo_n " + Running autoconf: $_echo_c"; \
autoconf; \
(echo $_echo_n " + Running autoreconf --install: $_echo_c"; \
autoreconf --install; \
echo "done.")
rc=$?
(test -n $rc ) || exit $rc

touch $srcdir/doc/version.texi
test -f $srcdir/doc/stamp-vti && rm $srcdir/doc/stamp-vti

conf_flags="--enable-maintainer-mode" # --enable-compile-warnings #--enable-iso-c

if test x$NOCONFIGURE = x; then
Expand All @@ -57,4 +39,3 @@ fi
#;;; mode:shell-script ***
#;;; eval: (sh-set-shell "bash") ***
#;;; End: ***

2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ if [[ "$prefix" = NONE ]]; then
prefix=$($SH_PROG $mydir/compute-prefix.sh)
fi

AC_CONFIG_AUX_DIR(.)

# From fish's configure.ac
#
# List of output variables produced by this configure script
Expand Down

0 comments on commit c07e396

Please sign in to comment.