Add markers for release 2.26
[deliverable/binutils-gdb.git] / gas / configure
index 143b9403f9fd2f941621e88db08b5e910705ea35..5d341faadc641f85a256975f2f2479f304e5a5ed 100755 (executable)
@@ -764,6 +764,7 @@ enable_plugins
 enable_largefile
 enable_targets
 enable_checking
+enable_compressed_debug_sections
 enable_werror
 enable_build_warnings
 enable_nls
@@ -1412,6 +1413,8 @@ Optional Features:
   --disable-largefile     omit support for large files
   --enable-targets        alternative target configurations besides the primary
   --enable-checking       enable run-time checks
+  --enable-compressed-debug-sections={all,gas,none}
+                          compress debug sections by default]
   --enable-werror         treat compile warnings as errors
   --enable-build-warnings enable build-time compiler warnings
   --disable-nls           do not use Native Language Support
@@ -10969,7 +10972,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 10972 "configure"
+#line 10975 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11075,7 +11078,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11078 "configure"
+#line 11081 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11664,6 +11667,19 @@ $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
 
 fi
 
+# PR gas/19109
+# Decide the default method for compressing debug sections.
+ac_default_compressed_debug_sections=unset
+# Provide a configure time option to override our default.
+# Check whether --enable-compressed_debug_sections was given.
+if test "${enable_compressed_debug_sections+set}" = set; then :
+  enableval=$enable_compressed_debug_sections; case ,"${enableval}", in
+  ,yes, | ,all, | *,gas,*) ac_default_compressed_debug_sections=yes ;;
+  ,no, | ,none,)  ac_default_compressed_debug_sections=no ;;
+  *)   ac_default_compressed_debug_sections=unset ;;
+esac
+fi
+
 using_cgen=no
 
 
@@ -12333,7 +12349,7 @@ $as_echo "$with_arch" >&6; }
         # Decide features one by one.
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-dx-regs" >&5
 $as_echo_n "checking for default configuration of --enable-dx-regs... " >&6; }
-       if test "x${enable_dx_regs}" == xyes; then
+       if test "x${enable_dx_regs}" = xyes; then
 
 $as_echo "#define NDS32_DEFAULT_DX_REGS 1" >>confdefs.h
 
@@ -12347,7 +12363,7 @@ $as_echo "$enable_dx_regs" >&6; }
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext" >&5
 $as_echo_n "checking for default configuration of --enable-perf-ext... " >&6; }
-       if test "x${enable_perf_ext}" == xno; then
+       if test "x${enable_perf_ext}" = xno; then
 
 $as_echo "#define NDS32_DEFAULT_PERF_EXT 0" >>confdefs.h
 
@@ -12361,7 +12377,7 @@ $as_echo "$enable_perf_ext" >&6; }
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-perf-ext2" >&5
 $as_echo_n "checking for default configuration of --enable-perf-ext2... " >&6; }
-       if test "x${enable_perf_ext2}" == xno; then
+       if test "x${enable_perf_ext2}" = xno; then
 
 $as_echo "#define NDS32_DEFAULT_PERF_EXT2 0" >>confdefs.h
 
@@ -12375,7 +12391,7 @@ $as_echo "$enable_perf_ext2" >&6; }
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-string-ext" >&5
 $as_echo_n "checking for default configuration of --enable-string-ext... " >&6; }
-       if test "x${enable_string_ext}" == xno; then
+       if test "x${enable_string_ext}" = xno; then
 
 $as_echo "#define NDS32_DEFAULT_STRING_EXT 0" >>confdefs.h
 
@@ -12389,7 +12405,7 @@ $as_echo "$enable_string_ext" >&6; }
 
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default configuration of --enable-audio-ext" >&5
 $as_echo_n "checking for default configuration of --enable-audio-ext... " >&6; }
-       if test "x${enable_audio_ext}" == xno; then
+       if test "x${enable_audio_ext}" = xno; then
 
 $as_echo "#define NDS32_DEFAULT_AUDIO_EXT 0" >>confdefs.h
 
@@ -12489,6 +12505,12 @@ _ACEOF
 
 done
 
+if test x$ac_default_compressed_debug_sections == xyes ; then
+
+$as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
+
+fi
+
 # Turn on all targets if possible
 if test ${all_targets} = "yes"; then
   case ${target_cpu_type} in
 cat >>confdefs.h <<_ACEOF
 #define HAVE_DECL_VSNPRINTF $ac_have_decl
 _ACEOF
+ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
+if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_ASPRINTF $ac_have_decl
+_ACEOF
 
 
 
This page took 0.027865 seconds and 4 git commands to generate.