diff options
author | beber <beber> | 2005-10-12 21:37:09 +0000 |
---|---|---|
committer | beber <beber> | 2005-10-12 21:37:09 +0000 |
commit | 34904e6799b7f2c0d9c233f778c983b4b7148b43 (patch) | |
tree | a32715b64bb4a5b9d0fc614006c8ce0a8dc07db4 | |
parent | How could I used #ifndef for #if ? (diff) | |
download | espik-34904e6799b7f2c0d9c233f778c983b4b7148b43.tar.xz |
Add espik_errors.h to headers ... (Autofoo)
version changed
-rw-r--r-- | configure.in | 31 | ||||
-rw-r--r-- | src/Makefile.am | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/configure.in b/configure.in new file mode 100644 index 0000000..a95c0de --- /dev/null +++ b/configure.in @@ -0,0 +1,31 @@ +dnl Process this file with autoconf to produce a configure script. + +# get rid of that stupid cache mechanism +rm -f config.cache + +AC_INIT(configure.in) +AC_ISC_POSIX +AM_INIT_AUTOMAKE(espik, 0.0.1) +AM_CONFIG_HEADER(config.h) + +AC_PROG_CC +AM_PROG_CC_STDC +AC_HEADER_STDC + +AC_ARG_WITH(ecore-config, +[ --with-ecore-config=ECORE_CONFIG use ecore-config specified ], +[ + ECORE_CONFIG=$withval; + echo "using "$ECORE_CONFIG" for ecore-config"; +],[ + PROG="ecore-config"; + AC_PATH_PROG(ECORE_CONFIG, $PROG, "", $PATH) +]) +ecore_cflags=`$ECORE_CONFIG --cflags` +ecore_libs=`$ECORE_CONFIG --libs` +AC_SUBST(ecore_cflags) +AC_SUBST(ecore_libs) + +AC_OUTPUT([ +Makefile +src/Makefile]) diff --git a/src/Makefile.am b/src/Makefile.am index a023d4c..4258b00 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -9,6 +9,7 @@ ESPIKHEADERS = \ espik_net.h \ espik_config.h \ espik_common_handler.h \ + espik_error.h \ espik_global.h espik_SOURCES = \ |