comparison acinclude.m4 @ 736:c310c2a01a31

Remove some comments that cause problems with never versions of autotools.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 05 Nov 2012 12:40:28 +0200
parents 92c284766c49
children c7fa50576c70
comparison
equal deleted inserted replaced
735:fb218dbc90cd 736:c310c2a01a31
19 ]) 19 ])
20 20
21 21
22 AC_DEFUN([XS_TRY_LIBRARY], 22 AC_DEFUN([XS_TRY_LIBRARY],
23 [ 23 [
24 # xs_try_library ( $1:$2:$3:$4:$5:$6 )
25 AC_LANG_ASSERT([C++]) 24 AC_LANG_ASSERT([C++])
26 m4_ifvaln([$2], [xs_cxxflags_save="$CXXFLAGS" 25 m4_ifvaln([$2], [xs_cxxflags_save="$CXXFLAGS"
27 CXXFLAGS="$CXXFLAGS $2"])dnl 26 CXXFLAGS="$CXXFLAGS $2"])dnl
28 m4_ifvaln([$3], [xs_ldflags_save="$LDFLAGS" 27 m4_ifvaln([$3], [xs_ldflags_save="$LDFLAGS"
29 LDFLAGS="$LDFLAGS $3"])dnl 28 LDFLAGS="$LDFLAGS $3"])dnl
44 ]) 43 ])
45 44
46 45
47 AC_DEFUN([XS_LIB_RESULT], 46 AC_DEFUN([XS_LIB_RESULT],
48 [ 47 [
49 # xs_lib_result ( $1:$2:$3 )
50 define([Name], [translit([$1], [a-z], [A-Z])])dnl 48 define([Name], [translit([$1], [a-z], [A-Z])])dnl
51 if test "x$xs_have_$1" = "xyes"; then 49 if test "x$xs_have_$1" = "xyes"; then
52 if test "x$xs_$1_cxxflags" != "x" || test "x$xs_$1_ldflags" != "x"; then 50 if test "x$xs_$1_cxxflags" != "x" || test "x$xs_$1_ldflags" != "x"; then
53 AC_MSG_RESULT([$xs_$1_cxxflags $2 $xs_$1_ldflags $3]) 51 AC_MSG_RESULT([$xs_$1_cxxflags $2 $xs_$1_ldflags $3])
54 else 52 else
70 AC_PATH_PROG([PKG_CONFIG], [pkg-config])dnl 68 AC_PATH_PROG([PKG_CONFIG], [pkg-config])dnl
71 ]) 69 ])
72 70
73 71
74 AC_DEFUN([XS_ARG_WITH], [dnl 72 AC_DEFUN([XS_ARG_WITH], [dnl
75 # xs_arg_with ( $1:$2:$3 )
76 define([Name], [translit([$1], [a-z], [A-Z])])dnl 73 define([Name], [translit([$1], [a-z], [A-Z])])dnl
77 define([roflCopter], [Enable $2 with install-PREFIX])dnl 74 define([roflCopter], [Enable $2 with install-PREFIX])dnl
78 AH_TEMPLATE(HAVE_[]Name, [Define if you have and want to use $2])dnl 75 AH_TEMPLATE(HAVE_[]Name, [Define if you have and want to use $2])dnl
79 AC_ARG_WITH([$1], 76 AC_ARG_WITH([$1],
80 [AS_HELP_STRING([--with-$1=PREFIX], roflCopter)], [dnl 77 [AS_HELP_STRING([--with-$1=PREFIX], roflCopter)], [dnl