|
@@ -615,7 +615,6 @@ ac_subst_vars='am__EXEEXT_FALSE
|
|
|
am__EXEEXT_TRUE
|
|
|
LTLIBOBJS
|
|
|
LIBOBJS
|
|
|
-BFD_LIBS
|
|
|
RT_CFLAGS
|
|
|
RT_LIBS
|
|
|
TINYXML_CXXFLAGS
|
|
@@ -757,7 +756,6 @@ enable_libtool_lock
|
|
|
enable_dependency_tracking
|
|
|
enable_debug
|
|
|
with_rt
|
|
|
-enable_gpl
|
|
|
'
|
|
|
ac_precious_vars='build_alias
|
|
|
host_alias
|
|
@@ -1400,7 +1398,6 @@ Optional Features:
|
|
|
--disable-dependency-tracking speeds up one-time build
|
|
|
--enable-dependency-tracking do not reject slow dependency extractors
|
|
|
--enable-debug Turn on debugging including asserts [default=no]
|
|
|
- --enable-gpl Link with GPL licenced libraries [default=yes]
|
|
|
|
|
|
Optional Packages:
|
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
@@ -16512,129 +16509,6 @@ $as_echo "#define HAVE_LIBRT /**/" >>confdefs.h
|
|
|
fi
|
|
|
|
|
|
|
|
|
-################################
|
|
|
-# Check for linkage with GPL libraries
|
|
|
-################################
|
|
|
-# Check whether --enable-gpl was given.
|
|
|
-if test "${enable_gpl+set}" = set; then :
|
|
|
- enableval=$enable_gpl;
|
|
|
-else
|
|
|
- enable_gpl=yes
|
|
|
-fi
|
|
|
-
|
|
|
-
|
|
|
-if test "x$enable_gpl" = "xyes"; then
|
|
|
- ################################
|
|
|
- # Check for BFD library
|
|
|
- ################################
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Linking with GPL licence libraries" >&5
|
|
|
-$as_echo "$as_me: WARNING: Linking with GPL licence libraries" >&2;}
|
|
|
- for ac_header in bfd.h
|
|
|
-do :
|
|
|
- ac_fn_c_check_header_mongrel "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default"
|
|
|
-if test "x$ac_cv_header_bfd_h" = xyes; then :
|
|
|
- cat >>confdefs.h <<_ACEOF
|
|
|
-#define HAVE_BFD_H 1
|
|
|
-_ACEOF
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd_init in -lbfd" >&5
|
|
|
-$as_echo_n "checking for bfd_init in -lbfd... " >&6; }
|
|
|
-if ${ac_cv_lib_bfd_bfd_init+:} false; then :
|
|
|
- $as_echo_n "(cached) " >&6
|
|
|
-else
|
|
|
- ac_check_lib_save_LIBS=$LIBS
|
|
|
-LIBS="-lbfd $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 bfd_init ();
|
|
|
-int
|
|
|
-main ()
|
|
|
-{
|
|
|
-return bfd_init ();
|
|
|
- ;
|
|
|
- return 0;
|
|
|
-}
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_link "$LINENO"; then :
|
|
|
- ac_cv_lib_bfd_bfd_init=yes
|
|
|
-else
|
|
|
- ac_cv_lib_bfd_bfd_init=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_bfd_bfd_init" >&5
|
|
|
-$as_echo "$ac_cv_lib_bfd_bfd_init" >&6; }
|
|
|
-if test "x$ac_cv_lib_bfd_bfd_init" = xyes; then :
|
|
|
-
|
|
|
-$as_echo "#define HAVE_LIBBFD /**/" >>confdefs.h
|
|
|
-
|
|
|
- BFD_LIBS="-lbfd -liberty"
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libintl_dgettext in -lintl" >&5
|
|
|
-$as_echo_n "checking for libintl_dgettext in -lintl... " >&6; }
|
|
|
-if ${ac_cv_lib_intl_libintl_dgettext+:} false; then :
|
|
|
- $as_echo_n "(cached) " >&6
|
|
|
-else
|
|
|
- ac_check_lib_save_LIBS=$LIBS
|
|
|
-LIBS="-lintl $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 libintl_dgettext ();
|
|
|
-int
|
|
|
-main ()
|
|
|
-{
|
|
|
-return libintl_dgettext ();
|
|
|
- ;
|
|
|
- return 0;
|
|
|
-}
|
|
|
-_ACEOF
|
|
|
-if ac_fn_c_try_link "$LINENO"; then :
|
|
|
- ac_cv_lib_intl_libintl_dgettext=yes
|
|
|
-else
|
|
|
- ac_cv_lib_intl_libintl_dgettext=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_intl_libintl_dgettext" >&5
|
|
|
-$as_echo "$ac_cv_lib_intl_libintl_dgettext" >&6; }
|
|
|
-if test "x$ac_cv_lib_intl_libintl_dgettext" = xyes; then :
|
|
|
-
|
|
|
-$as_echo "#define HAVE_LIBINTL /**/" >>confdefs.h
|
|
|
-
|
|
|
- BFD_LIBS="$BFD_LIBS -lintl"
|
|
|
-
|
|
|
-fi
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-fi
|
|
|
-
|
|
|
-
|
|
|
-fi
|
|
|
-
|
|
|
-done
|
|
|
-
|
|
|
-else
|
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping BFD library checks because of GPL Licence" >&5
|
|
|
-$as_echo "$as_me: WARNING: Skipping BFD library checks because of GPL Licence" >&2;}
|
|
|
-fi
|
|
|
-
|
|
|
################################
|
|
|
# Search for network functions (like connect())
|
|
|
################################
|