shithub: choc

ref: 5795f86ba16e2a425b4ea3a87b96da446fed30b4
dir: /configure.in/

View raw version
AC_INIT(Chocolate Doom, 0.1, fraggle@alkali.org, chocolate-doom)
AC_CONFIG_AUX_DIR(autotools)

AC_PROG_CC

AC_PATH_X

AM_INIT_AUTOMAKE(AC_PACKAGE_TARNAME,AC_PACKAGE_VERSION)

X_CFLAGS="-I$x_includes"
X_LDFLAGS="-L$x_libraries -lX11"

echo $X_CFLAGS

AC_SUBST(X_CFLAGS)
AC_SUBST(X_LDFLAGS)

AM_CONFIG_HEADER(config.h:config.hin)

AC_OUTPUT([
Makefile
src/Makefile
])