fi
],
[
- dnl Default behavior is implicit yes
- if test -f /usr/local/include/expat.h ; then
- expat_prefix=/usr/local
- elif test -f /usr/include/expat.h ; then
- expat_prefix=/usr
- else
- expat_prefix=""
- fi
+# dnl Default behavior is implicit yes
+# if test -f /usr/local/include/expat.h ; then
+# expat_prefix=/usr/local
+# elif test -f /usr/include/expat.h ; then
+# expat_prefix=/usr
+# else
+# expat_prefix=""
+# fi
+ dnl Default behavior is implicit no
+ expat_prefix=""
+ expat_requested="no"
]
)
if test -n "$expat_prefix"; then
expat_include_dir="$expat_prefix/include"
- expat_lib_flags="-L$expat_prefix/lib -lexpat"
+ expat_lib_flags="-L$expat_prefix/lib64 -L$expat_prefix/lib -lexpat"
run_expat_test="yes"
elif test "$expat_requested" = "yes"; then
if test -n "$expat_include_dir" -a -n "$expat_lib_flags"; then
fi
fi
if test "$HAVE_EXPAT" = "yes"; then
- CPPFLAGS="$CPPFLAGS -DHAVE_EXPAT=1"
+ CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS -DHAVE_EXPAT=1"
+ LDFLAGS="$LDFLAGS $EXPAT_LDFLAGS"
fi
])