diff --git a/autogen.sh b/autogen.sh index d0afe24..c41815f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -50,5 +50,7 @@ if test "$DIE" -eq 1; then exit 1 fi -autoreconf --install +cp -f lib/rpc_table.py pysearpc/ + +autoreconf --install -I/local/share/aclocal diff --git a/configure.ac b/configure.ac index ad6d849..a228d6e 100644 --- a/configure.ac +++ b/configure.ac @@ -69,7 +69,7 @@ AC_SUBST(JSON_GLIB_LIBS) # conditinally check python and subst if test x${compile_python} = xyes; then AM_PATH_PYTHON([2.4]) - AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)]) +# AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)]) PKG_CHECK_MODULES(PYGOBJECT, [pygobject-2.0 >= $PYGOBJECT_REQUIRED]) AC_SUBST(PYGOBJECT_CFLAGS) AC_SUBST(PYGOBJECT_LIBS) diff --git a/lib/Makefile.am b/lib/Makefile.am index add9cba..5351c45 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -33,9 +33,10 @@ noinst_HEADERS = searpc-utils.h fcall-impr.h marshal.h libsearpc_la_SOURCES = searpc-client.c searpc-server.c $(generated_sources) -libsearpc_la_LDFLAGS = -Wl,-z -Wl,defs -version-info 1:1:0 +libsearpc_la_LDFLAGS = -version-info 1:1:0 -no-undefined -libsearpc_la_LIBADD = @GLIB2_LIBS@ @GOBJECT_LIBS@ @JSON_GLIB_LIBS@ +libsearpc_la_LIBADD = @GLIB2_LIBS@ @GOBJECT_LIBS@ @JSON_GLIB_LIBS@ \ + -lglib-2.0 -lgobject-2.0 -ljson-glib-1.0 genrpc_files = gencode.py rpc_table.py