-if test x_$found_libmoonshot != x_yes; then
- AC_MSG_ERROR([
-----------------------------------------------------------------------
- Cannot find Moonshot identity selector libraries.
-
- Please install wpa_supplicant or specify installation directory with
- --with-libmoonshot=(dir).
-----------------------------------------------------------------------
-])
-else
- printf "libmoonshot found in $libmoonshotdir\n";
- LIBMOONSHOT_LIBS="-lmoonshot";
- LIBMOONSHOT_LDFLAGS="-L$libmoonshot/lib";
- AC_SUBST(LIBMOONSHOT_CFLAGS)
- AC_SUBST(LIBMOONSHOT_LDFLAGS)
- AC_SUBST(LIBMOONSHOT_LIBS)
- AC_CHECK_LIB(moonshot, moonshot_get_identity, [AC_DEFINE_UNQUOTED([HAVE_MOONSHOT_GET_IDENTITY], 1, [Define if Moonshot identity selector is available])], [], "$LIBMOONSHOT_LIBS")
+if test x_$found_libmoonshot = x_yes; then
+ printf "libmoonshot found in $libmoonshotdir\n";
+ LIBMOONSHOT_LIBS="-lmoonshot";
+ LIBMOONSHOT_LDFLAGS="-L$libmoonshot/lib";
+ AC_CHECK_LIB(moonshot, moonshot_get_identity, [AC_DEFINE_UNQUOTED([HAVE_MOONSHOT_GET_IDENTITY], 1, [Define if Moonshot identity selector is available])], [], "$LIBMOONSHOT_LIBS")