1 --- asdcplib-1.12.60/m4/ax_lib_expat.m4.orig 2009-11-07 01:11:58.000000000 +0100
2 +++ asdcplib-1.12.60/m4/ax_lib_expat.m4 2015-04-04 17:34:57.122615887 +0200
13 if test -n "$expat_prefix"; then
14 expat_include_dir="$expat_prefix/include"
15 - expat_lib_flags="-L$expat_prefix/lib64 -L$expat_prefix/lib -lexpat"
17 elif test "$expat_requested" = "yes"; then
18 if test -n "$expat_include_dir" -a -n "$expat_lib_flags"; then
20 saved_LDFLAGS="$LDFLAGS"
21 LDFLAGS="$LDFLAGS $expat_lib_flags"
24 + LIBS="$LIBS -lexpat"
27 dnl Check Expat headers
32 EXPAT_LDFLAGS="$expat_lib_flags"
33 + EXPAT_LIBS="-lexpat"
35 AC_MSG_RESULT([found])
39 CPPFLAGS="$saved_CPPFLAGS"
40 LDFLAGS="$saved_LDFLAGS"
44 AC_MSG_CHECKING([for Expat XML Parser])
47 AC_SUBST([EXPAT_CFLAGS])
48 AC_SUBST([EXPAT_LDFLAGS])
49 + AC_SUBST([EXPAT_LIBS])
54 if test "$HAVE_EXPAT" = "yes"; then
55 CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS -DHAVE_EXPAT=1"
56 LDFLAGS="$LDFLAGS $EXPAT_LDFLAGS"
57 + LIBS="$LIBS $EXPAT_LIBS"
60 --- asdcplib-1.12.60/m4/ax_lib_openssl.m4.orig 2009-11-07 01:11:58.000000000 +0100
61 +++ asdcplib-1.12.60/m4/ax_lib_openssl.m4 2015-04-04 17:46:23.155934920 +0200
64 if test -n "$openssl_prefix"; then
65 openssl_include_dir="$openssl_prefix/include"
66 - openssl_ldflags="-L$openssl_prefix/lib64 -L$openssl_prefix/lib"
68 run_openssl_test="yes"
69 elif test "$openssl_requested" = "yes"; then
70 if test -n "$openssl_include_dir" -a -n "$openssl_lib_flags"; then
72 if test -f "$openssl_include_dir/openssl/opensslv.h"; then
74 OPENSSL_VERSION=`grep OPENSSL_VERSION_TEXT $openssl_include_dir/openssl/opensslv.h \
75 - | grep -v fips | grep -v PTEXT | cut -f 2 | tr -d \"`
76 + | grep -v fips | grep -v PTEXT | sed -e 's/.*"\([^"]*\)"$/\1/'`
77 AC_SUBST([OPENSSL_VERSION])
79 dnl Decompose required version string and calculate numerical representation
83 dnl Calculate numerical representation of detected version
84 - openssl_version_number=`expr $(($(grep OPENSSL_VERSION_NUMBER $openssl_include_dir/openssl/opensslv.h | cut -f 2 | tr -d L)))`
85 + openssl_version_number=`expr $(($(grep OPENSSL_VERSION_NUMBER $openssl_include_dir/openssl/opensslv.h | sed -e 's/.*\(0x.*\)L.*/\1/') ))`
87 openssl_version_check=`expr $openssl_version_number \>\= $openssl_version_req_number`
88 if test "$openssl_version_check" = "1"; then