Permalink
Browse files

auto-found libevent comes last

  • Loading branch information...
1 parent cd42b62 commit 17129c97090c1290ec57c351e55cd0355693b609 @steveyen steveyen committed Jun 9, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 configure.ac
View
8 configure.ac
@@ -281,16 +281,16 @@ LIBS="$LIBS -levent"
if test $ac_cv_libevent_dir != "(system)"; then
if test -d "$ac_cv_libevent_dir/lib" ; then
- LDFLAGS="-L$ac_cv_libevent_dir/lib $LDFLAGS"
+ LDFLAGS="$LDFLAGS -L$ac_cv_libevent_dir/lib"
le_libdir="$ac_cv_libevent_dir/lib"
else
- LDFLAGS="-L$ac_cv_libevent_dir $LDFLAGS"
+ LDFLAGS="$LDFLAGS -L$ac_cv_libevent_dir"
le_libdir="$ac_cv_libevent_dir"
fi
if test -d "$ac_cv_libevent_dir/include" ; then
- CPPFLAGS="-I$ac_cv_libevent_dir/include $CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS -I$ac_cv_libevent_dir/include"
else
- CPPFLAGS="-I$ac_cv_libevent_dir $CPPFLAGS"
+ CPPFLAGS="$CPPFLAGS -I$ac_cv_libevent_dir"
fi
fi

0 comments on commit 17129c9

Please sign in to comment.