Skip to content

Instantly share code, notes, and snippets.

@jmhodges
Created July 21, 2009 01:38
Show Gist options
  • Save jmhodges/151048 to your computer and use it in GitHub Desktop.
Save jmhodges/151048 to your computer and use it in GitHub Desktop.
#!/bin/sh
run ()
{
echo "running: $*"
eval $*
if test $? != 0 ; then
echo "error: while running '$*'"
exit 1
fi
}
run aclocal
run automake
run autoconf
AC_INIT([libmurmurhash], [0.1], [jeff@somethingsimilar.com])
AC_CONFIG_SRCDIR(src/murmurhash.cc)
AM_INIT_AUTOMAKE
AC_PROG_CC
AC_PROG_CXX
AC_PROG_LIBTOOL
AC_PROG_INSTALL
AC_OUTPUT(Makefile)
lib_LTLIBRARIES = libmurmurhash.la
libmurmurhash_la_SOURCES = src/murmurhash.cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment