fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcompat" >&5
-$as_echo_n "checking for main in -lcompat... " >&6; }
-if test "${ac_cv_lib_compat_main+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcompat $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-
-int
-main ()
-{
-return main ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_compat_main=yes
-else
- ac_cv_lib_compat_main=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_compat_main" >&5
-$as_echo "$ac_cv_lib_compat_main" >&6; }
-if test "x$ac_cv_lib_compat_main" = x""yes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBCOMPAT 1
-_ACEOF
-
- LIBS="-lcompat $LIBS"
-
-fi
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lBSD" >&5
$as_echo_n "checking for main in -lBSD... " >&6; }
if test "${ac_cv_lib_BSD_main+set}" = set; then :
/* Define to 1 if you have the `BSD' library (-lBSD). */
#undef HAVE_LIBBSD
-/* Define to 1 if you have the `compat' library (-lcompat). */
-#undef HAVE_LIBCOMPAT
-
/* Define to 1 if you have the `crypt' library (-lcrypt). */
#undef HAVE_LIBCRYPT