A few build fixes. Found and suggested by David C.

This commit is contained in:
Jack Moffitt
2010-06-09 10:30:20 -06:00
parent d048124969
commit a02ce0151d
3 changed files with 3 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ lib_LIBRARIES = libstrophe.a
endif endif
libstrophe_a_CFLAGS=$(STROPHE_FLAGS) $(PARSER_CFLAGS) libstrophe_a_CFLAGS=$(STROPHE_FLAGS) $(PARSER_CFLAGS)
libstrophe_a_include_HEADERS = strophe.h
libstrophe_a_SOURCES = src/auth.c src/conn.c src/ctx.c \ libstrophe_a_SOURCES = src/auth.c src/conn.c src/ctx.c \
src/event.c src/handler.c src/hash.c \ src/event.c src/handler.c src/hash.c \
src/jid.c src/md5.c src/sasl.c src/sha1.c \ src/jid.c src/md5.c src/sasl.c src/sha1.c \

View File

@@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
aclocal -I /usr/local/share/aclocal aclocal
automake --add-missing --foreign --copy automake --add-missing --foreign --copy
autoconf autoconf

View File

@@ -3,6 +3,7 @@ AM_INIT_AUTOMAKE
AC_PROG_CC AC_PROG_CC
AC_PROG_RANLIB AC_PROG_RANLIB
AM_PROG_CC_C_O
AC_CHECK_HEADER(openssl/ssl.h, [], [AC_MSG_ERROR([couldn't find openssl headers, openssl required])]) AC_CHECK_HEADER(openssl/ssl.h, [], [AC_MSG_ERROR([couldn't find openssl headers, openssl required])])
PKG_CHECK_MODULES([check], [check >= 0.9.4]) PKG_CHECK_MODULES([check], [check >= 0.9.4])