Commit a12393cf authored by Håvard Moås's avatar Håvard Moås

Changes to autoconf scripts to make it buildable on default ubuntu install (ac...

Changes to autoconf scripts to make it buildable on default ubuntu install (ac 2.59 am 1.4). Please notify me if this is breaking anything. havard.mork@gmail.com

git-svn-id: file:///home/svn/mapi/trunk@704 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent 392495d9
AC_PREREQ([2.59])
AC_INIT([mapi], [0.1], [mapi@uninett.no])
AC_CONFIG_HEADER([config.h])
AM_CONFIG_HEADER(config.h)
AC_CONFIG_SRCDIR([src/mapid.c])
AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE(foreign no-dependencies no-installinfo)
......
......@@ -11,7 +11,7 @@ libprintfstring_la_SOURCES = printfstring.c printfstring.h
libmapilibhandler_la_SOURCES = mapilibhandler.c mapilibhandler.h
libmsearch_la_SOURCES = mstring.c mstring.h
nodist_noinst_HEADERS = mapi_errors.h
noinst_HEADERS = mapi_errors.h
mapi_errors.h: ../errors.mapi
echo -e "#ifndef _MAPI_ERRORS_H_ \n#define _MAPI_ERRORS_H_\n" > mapi_errors.h
......
......@@ -13,8 +13,8 @@ mapinicdrv_la_LDFLAGS = -module
mapinicdrv_la_LIBADD = ../common/libflist.la ../common/libmapiipc.la ../common/libparseconf.la ../common/libprintfstring.la ../common/libmapilibhandler.la @PCAPLIB@ -lrt
mapinicdrv_la_SOURCES = mapinicdrv.c mapidlib.c cbuf.c
if DRIVER_DAG
mapidagdrv_la_LDFLAGS = -module
if DRIVER_DAG
mapidagdrv_la_LIBADD = ../common/libflist.la ../common/libmapiipc.la ../common/libparseconf.la ../common/libprintfstring.la ../common/libmapilibhandler.la @DAGLIB@ -lrt
mapidagdrv_la_SOURCES = mapidagdrv.c mapidlib.c
endif
......@@ -4,8 +4,7 @@ lib_LTLIBRARIES = libmapi.la
#libmapi_la_DEPENDENCIES = ../common/libflist.la
libmapi_la_LDFLAGS = -no-undefined -avoid-version
libmapi_la_LIBADD = ../common/libflist.la ../common/libfhelp.la ../common/libmapiipc.la ../common/libparseconf.la ../common/libprintfstring.la ../common/libmapilibhandler.la -lpthread -ldl
libmapi_la_SOURCES = mapi.c
nodist_libmapi_la_SOURCES = mapi_errors.c
libmapi_la_SOURCES = mapi.c mapi_errors.c
include_HEADERS = mapi.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment