1AC_INIT(src/peksystray.c) 2AM_CONFIG_HEADER(config.h) 3 4AM_INIT_AUTOMAKE(peksystray, 0.4.0) 5 6AC_PROG_CC 7AC_PATH_XTRA 8 9dnl Are we going to enable the debugging output ?? 10AC_ARG_ENABLE(debug, 11AC_HELP_STRING([--enable-debug], [Enable runtime debugging (default: no)]), 12 debug=$enableval, debug=no) 13 14if test x$no_x = xyes ; then 15 AC_MSG_ERROR([X development libraries not found]) 16fi 17 18if test "$debug" = yes; then 19 AC_DEFINE(DEBUG,,[Enable verbose debugging output]) 20fi 21 22CFLAGS="$CFLAGS $X_CFLAGS" 23#x_includes="-I$x_includes" 24LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS" 25#x_libraries="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS" 26 27AC_SUBST(x_includes) 28AC_SUBST(x_libraries) 29 30AC_OUTPUT([ 31Makefile 32src/Makefile 33]) 34