Permalink
Browse files

use libtool to link with rpath

  • Loading branch information...
1 parent 7a611f3 commit 996501a461a037887da996e69f9737f608ae4e38 Aliaksey Kandratsenka committed Feb 26, 2011
Showing with 8 additions and 2 deletions.
  1. +4 −1 .gitignore
  2. +4 −1 configure.ac
View
5 .gitignore
@@ -12,15 +12,18 @@
/config.guess
/config.sub
/configure.ac
+/libtool
+/ltmain.sh
+/m4
Makefile
Makefile.in
aclocal.m4
autom4te.cache
+compile
config.log
config.status
configure
depcomp
install-sh
missing
-compile
sigar_port
View
5 configure.ac
@@ -1,7 +1,10 @@
AC_INIT([sigar_port], 1.0)
AM_INIT_AUTOMAKE
+AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_FILES([Makefile])
-AM_PROG_CC_C_O
+AC_PROG_CC
+AC_PROG_LIBTOOL
+
AC_SEARCH_LIBS([sigar_open], [sigar], [], [
AC_MSG_NOTICE([will check for libsigar in ${prefix}/lib])

0 comments on commit 996501a

Please sign in to comment.