generic wrapper for event libraries https://redmine.lighttpd.net/projects/evcon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

32 lines
615 B

  1. #!/bin/sh
  2. # Run this to generate all the initial makefiles, etc.
  3. LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
  4. LIBTOOLIZE_FLAGS="--copy --force"
  5. ACLOCAL=${ACLOCAL:-aclocal}
  6. AUTOHEADER=${AUTOHEADER:-autoheader}
  7. AUTOMAKE=${AUTOMAKE:-automake}
  8. AUTOMAKE_FLAGS="--add-missing --copy"
  9. AUTOCONF=${AUTOCONF:-autoconf}
  10. ARGV0=$0
  11. srcdir=$(readlink -f "$0")
  12. srcdir=$(dirname "$srcdir")
  13. cd "$srcdir"
  14. set -e
  15. run() {
  16. echo "$ARGV0: running \`$@'"
  17. $@
  18. }
  19. run $LIBTOOLIZE $LIBTOOLIZE_FLAGS
  20. run $ACLOCAL $ACLOCAL_FLAGS
  21. run $AUTOHEADER
  22. run $AUTOMAKE $AUTOMAKE_FLAGS
  23. run $AUTOCONF
  24. echo "Now type './configure ...' and 'make' to compile."