home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / mc454src.zip / mc-4.5.4.src / mc-4.5.4 / autogen.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  1999-01-04  |  426b  |  20 lines

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