X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=configure.ac;h=811364b19b4aded3c0d5f090ef16094e8a5162ea;hb=065d01e33a5edbd3b55e9f27b87e54b6cc2b4224;hp=6d56e6526e13d9f3f9aa47c0306d9b271136c872;hpb=e4f13789f90c22606dd74b016a71403f3785b884;p=paraslash.git diff --git a/configure.ac b/configure.ac index 6d56e652..811364b1 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,6 @@ AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile]) AC_DEFUN([add_dot_o],[$(for i in $@; do printf "$i.o "; done)]) -AC_DEFUN([add_cmdline],[$(for i in $@; do printf "${i}.cmdline "; done)]) AC_DEFUN([LIB_ARG_WITH], [ AC_ARG_WITH($1-headers, [AS_HELP_STRING(--with-$1-headers=dir, [look for $1 headers in dir])]) @@ -69,8 +68,8 @@ LIB_SUBST_FLAGS(osl) UNSTASH_FLAGS ######################################################################## lopsub HAVE_LOPSUB=yes -AC_PATH_PROG([lopsubgen], [lopsubgen]) -test -z "$lopsubgen" && HAVE_LOPSUB=no +AC_PATH_PROG([LOPSUBGEN], [lopsubgen]) +test -z "$LOPSUBGEN" && HAVE_LOPSUB=no STASH_FLAGS LIB_ARG_WITH([lopsub], [-llopsub]) AC_CHECK_HEADER(lopsub.h, [], [HAVE_LOPSUB=no]) @@ -195,7 +194,7 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ ]])],[have_ip_mreqn=yes],[have_ip_mreqn=no]) AC_MSG_RESULT($have_ip_mreqn) if test ${have_ip_mreqn} = yes; then - AC_DEFINE(HAVE_IP_MREQN, 1, define to 1 you have struct ip_mreqn) + AC_DEFINE(HAVE_IP_MREQN, 1, define to 1 if you have struct ip_mreqn) fi ########################################################################### ogg STASH_FLAGS