autogen.sh 426 B

12345678910111213141516171819
  1. #! /bin/sh
  2. # Run this to generate all the initial makefiles, etc.
  3. srcdir=`dirname $0`
  4. test -z "$srcdir" && srcdir=.
  5. (
  6. cd $srcdir
  7. if test -d macros; then
  8. test -f mc-aclocal.m4 && test -f gettext.m4 && cat mc-aclocal.m4 gettext.m4 > acinclude.m4
  9. aclocal -I macros $ACLOCAL_FLAGS
  10. else
  11. echo macros directory not found, skipping generation of aclocal.m4
  12. fi
  13. autoheader
  14. autoconf
  15. )
  16. $srcdir/configure --enable-maintainer-mode $*