fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
-printf %s "checking for library containing crypt... " >&6; }
-if test ${ac_cv_search_crypt+y}
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing fmod" >&5
+printf %s "checking for library containing fmod... " >&6; }
+if test ${ac_cv_search_fmod+y}
then :
printf %s "(cached) " >&6
else $as_nop
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
-char crypt ();
+char fmod ();
int
main (void)
{
-return crypt ();
+return fmod ();
;
return 0;
}
_ACEOF
-for ac_lib in '' crypt
+for ac_lib in '' m
do
if test -z "$ac_lib"; then
ac_res="none required"
fi
if ac_fn_c_try_link "$LINENO"
then :
- ac_cv_search_crypt=$ac_res
+ ac_cv_search_fmod=$ac_res
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext
- if test ${ac_cv_search_crypt+y}
+ if test ${ac_cv_search_fmod+y}
then :
break
fi
done
-if test ${ac_cv_search_crypt+y}
+if test ${ac_cv_search_fmod+y}
then :
else $as_nop
- ac_cv_search_crypt=no
+ ac_cv_search_fmod=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
-printf "%s\n" "$ac_cv_search_crypt" >&6; }
-ac_res=$ac_cv_search_crypt
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fmod" >&5
+printf "%s\n" "$ac_cv_search_fmod" >&6; }
+ac_res=$ac_cv_search_fmod
if test "$ac_res" != no
then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing fmod" >&5
-printf %s "checking for library containing fmod... " >&6; }
-if test ${ac_cv_search_fmod+y}
+
+PKGCONFIG_LIBS_STATIC="$LIBS"
+
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
+printf %s "checking for library containing crypt... " >&6; }
+if test ${ac_cv_search_crypt+y}
then :
printf %s "(cached) " >&6
else $as_nop
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
-char fmod ();
+char crypt ();
int
main (void)
{
-return fmod ();
+return crypt ();
;
return 0;
}
_ACEOF
-for ac_lib in '' m
+for ac_lib in '' crypt
do
if test -z "$ac_lib"; then
ac_res="none required"
fi
if ac_fn_c_try_link "$LINENO"
then :
- ac_cv_search_fmod=$ac_res
+ ac_cv_search_crypt=$ac_res
fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext
- if test ${ac_cv_search_fmod+y}
+ if test ${ac_cv_search_crypt+y}
then :
break
fi
done
-if test ${ac_cv_search_fmod+y}
+if test ${ac_cv_search_crypt+y}
then :
else $as_nop
- ac_cv_search_fmod=no
+ ac_cv_search_crypt=no
fi
rm conftest.$ac_ext
LIBS=$ac_func_search_save_LIBS
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fmod" >&5
-printf "%s\n" "$ac_cv_search_fmod" >&6; }
-ac_res=$ac_cv_search_fmod
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
+printf "%s\n" "$ac_cv_search_crypt" >&6; }
+ac_res=$ac_cv_search_crypt
if test "$ac_res" != no
then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"