This commit is contained in:
parent
fe9ea981c9
commit
d07ea0c651
6 changed files with 19 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
SUBDIRS = src
|
SUBDIRS = lib
|
||||||
|
|
||||||
m4datadir = $(datadir)/aclocal
|
m4datadir = $(datadir)/aclocal
|
||||||
m4data_DATA = xsock.m4
|
m4data_DATA = xsock.m4
|
||||||
|
|
18
configure.in
18
configure.in
|
@ -8,7 +8,7 @@ AC_CANONICAL_TARGET
|
||||||
AM_INIT_AUTOMAKE([xsock],[0.5])
|
AM_INIT_AUTOMAKE([xsock],[0.5])
|
||||||
|
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
AC_CONFIG_SRCDIR([src/XSock.h])
|
AC_CONFIG_SRCDIR([lib/xsock.h])
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
|
||||||
AC_ISC_POSIX
|
AC_ISC_POSIX
|
||||||
|
@ -26,10 +26,22 @@ AC_HEADER_STDC([stdio.h stdlib.h string.h unistd.h math.h time.h fcntl.h sys/sta
|
||||||
|
|
||||||
AC_CHECK_HEADERS([iostream sstream],,AC_MSG_ERROR([You need to have the libstdc++ headers installed]))
|
AC_CHECK_HEADERS([iostream sstream],,AC_MSG_ERROR([You need to have the libstdc++ headers installed]))
|
||||||
|
|
||||||
|
|
||||||
AM_PROG_LIBTOOL
|
AM_PROG_LIBTOOL
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile src/Makefile])
|
XSOCK_LIB_CURRENT=0
|
||||||
|
XSOCK_LIB_REVISION=9
|
||||||
|
XSOCK_LIB_AGE=0
|
||||||
|
|
||||||
|
AC_SUBST(XSOCK_LIB_CURRENT)
|
||||||
|
AC_SUBST(XSOCK_LIB_REVISION)
|
||||||
|
AC_SUBST(XSOCK_LIB_AGE)
|
||||||
|
|
||||||
|
AC_CONFIG_FILES([
|
||||||
|
Makefile
|
||||||
|
lib/Makefile
|
||||||
|
xsock.pc
|
||||||
|
])
|
||||||
|
#libvorbis.spec
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
SUBDIRS = .
|
#SUBDIRS = .
|
||||||
|
|
||||||
lib_LTLIBRARIES = libXSock.la
|
lib_LTLIBRARIES = libXSock.la
|
||||||
|
|
||||||
|
@ -19,7 +19,8 @@ libXSock_la_SOURCES += \
|
||||||
libXSock_la_CFLAGS = -DTRACE -static
|
libXSock_la_CFLAGS = -DTRACE -static
|
||||||
|
|
||||||
libXSock_la_LDFLAGS = \
|
libXSock_la_LDFLAGS = \
|
||||||
-version-info 0:1:0 -no-undefined
|
-no-undefined \
|
||||||
|
-version-info @XSOCK_LIB_CURRENT@:@XSOCK_LIB_REVISION@:@XSOCK_LIB_AGE@
|
||||||
|
|
||||||
INCLUDES= \
|
INCLUDES= \
|
||||||
-I../
|
-I../
|
||||||
|
|
Loading…
Reference in a new issue