mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-13 12:01:19 +02:00
79 lines
2.1 KiB
Plaintext
79 lines
2.1 KiB
Plaintext
--- configure.orig 2015-08-12 21:40:16 UTC
|
|
+++ configure
|
|
@@ -18563,75 +18563,6 @@ fi
|
|
|
|
LIBS=$dl_saved_libs
|
|
|
|
-ac_fn_c_check_header_mongrel "$LINENO" "argp.h" "ac_cv_header_argp_h" "$ac_includes_default"
|
|
-if test "x$ac_cv_header_argp_h" = xyes; then :
|
|
-
|
|
-else
|
|
- as_fn_error $? "Cannot continue: argp.h not found" "$LINENO" 5
|
|
-fi
|
|
-
|
|
-
|
|
-argp_saved_libs=$LIBS
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing argp_parse" >&5
|
|
-$as_echo_n "checking for library containing argp_parse... " >&6; }
|
|
-if ${ac_cv_search_argp_parse+:} false; then :
|
|
- $as_echo_n "(cached) " >&6
|
|
-else
|
|
- ac_func_search_save_LIBS=$LIBS
|
|
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
-/* end confdefs.h. */
|
|
-
|
|
-/* 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. */
|
|
-#ifdef __cplusplus
|
|
-extern "C"
|
|
-#endif
|
|
-char argp_parse ();
|
|
-int
|
|
-main ()
|
|
-{
|
|
-return argp_parse ();
|
|
- ;
|
|
- return 0;
|
|
-}
|
|
-_ACEOF
|
|
-for ac_lib in '' argp; do
|
|
- if test -z "$ac_lib"; then
|
|
- ac_res="none required"
|
|
- else
|
|
- ac_res=-l$ac_lib
|
|
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
|
- fi
|
|
- if ac_fn_c_try_link "$LINENO"; then :
|
|
- ac_cv_search_argp_parse=$ac_res
|
|
-fi
|
|
-rm -f core conftest.err conftest.$ac_objext \
|
|
- conftest$ac_exeext
|
|
- if ${ac_cv_search_argp_parse+:} false; then :
|
|
- break
|
|
-fi
|
|
-done
|
|
-if ${ac_cv_search_argp_parse+:} false; then :
|
|
-
|
|
-else
|
|
- ac_cv_search_argp_parse=no
|
|
-fi
|
|
-rm conftest.$ac_ext
|
|
-LIBS=$ac_func_search_save_LIBS
|
|
-fi
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_argp_parse" >&5
|
|
-$as_echo "$ac_cv_search_argp_parse" >&6; }
|
|
-ac_res=$ac_cv_search_argp_parse
|
|
-if test "$ac_res" != no; then :
|
|
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
|
- test "$ac_cv_search_argp_parse" = "none required" || ARGP_LIBS=$ac_cv_search_argp_parse
|
|
-else
|
|
- as_fn_error $? "unable to find the argp_parse() function" "$LINENO" 5
|
|
-fi
|
|
-
|
|
-
|
|
-LIBS=$argp_saved_libs
|
|
|
|
ac_fn_c_check_header_mongrel "$LINENO" "linux/i2c-dev.h" "ac_cv_header_linux_i2c_dev_h" "$ac_includes_default"
|
|
if test "x$ac_cv_header_linux_i2c_dev_h" = xyes; then :
|