- no ldconfig for darwin
- add variable is_darwin - used in Makefile.in for building the proper dynamic lib - add option --without-examples for disable build of exampleslibnfs-4.0.0-vitalif
parent
2e4fb8e647
commit
23701e4246
11
configure.ac
11
configure.ac
|
@ -14,6 +14,7 @@ if test "${libdir}" = '${exec_prefix}/lib'; then
|
|||
fi
|
||||
|
||||
is_solaris="no"
|
||||
is_darwin="no"
|
||||
install="/usr/bin/install"
|
||||
ldconfig="ldconfig"
|
||||
|
||||
|
@ -22,6 +23,8 @@ case `uname` in
|
|||
;;
|
||||
Darwin*)
|
||||
libdir='${exec_prefix}/lib'
|
||||
ldconfig='echo no ldconfig on darwin'
|
||||
is_darwin="yes"
|
||||
;;
|
||||
AIX*)
|
||||
;;
|
||||
|
@ -50,6 +53,13 @@ if test ! -z "$LOGDIR"; then
|
|||
fi
|
||||
AC_SUBST(LOGDIR)
|
||||
|
||||
AC_ARG_WITH([examples],
|
||||
[ --without-examples Disable build of examples],
|
||||
[ENABLE_EXAMPLES="no"],
|
||||
[ENABLE_EXAMPLES="yes"]
|
||||
)
|
||||
AC_SUBST(ENABLE_EXAMPLES)
|
||||
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
EXTRA_OBJ=""
|
||||
|
@ -69,6 +79,7 @@ fi
|
|||
AC_SUBST(libdir)
|
||||
AC_SUBST(install)
|
||||
AC_SUBST(ldconfig)
|
||||
AC_SUBST(is_darwin)
|
||||
#AC_SUBST(LIBNFS_LDFLAGS)
|
||||
|
||||
AC_OUTPUT(Makefile)
|
||||
|
|
Loading…
Reference in New Issue