* ldmain.c (main): Error if --gc-sections and
[deliverable/binutils-gdb.git] / gdb / configure
index 6fbb643d5a7355b741ad21015243e477c11dff90..424ef4252726677466794d82d789dfec6eefd438 100755 (executable)
@@ -18,7 +18,7 @@ ac_help="$ac_help
 ac_help="$ac_help
   --enable-netrom "
 ac_help="$ac_help
-  --enable-warnings       Enable compiler warnings if gcc is used"
+  --enable-build-warnings Enable compiler warnings if gcc is used"
 ac_help="$ac_help
   --with-mmalloc          Use memory mapped malloc package"
 ac_help="$ac_help
@@ -37,10 +37,12 @@ ac_help="$ac_help
   --with-tkinclude=DIR    Directory where tk private headers are"
 ac_help="$ac_help
   --with-x                use the X Window System"
+# start-sanitize-sky
 ac_help="$ac_help
   --with-sim-gpu2=DIR     Use GPU2 library under given DIR"
 ac_help="$ac_help
   --with-sim-funit=DIR    Use target FP lib under given DIR"
+# end-sanitize-sky
 ac_help="$ac_help
   --enable-shared         Use shared libraries"
 
@@ -4527,14 +4529,14 @@ fi
 if test "${enable_warnings+set}" = set; then
   enableval="$enable_warnings"
   case "${enableval}" in
-yes)   enable_warnings=yes ;;
-no)    enable_warnings=no ;;
+yes)   enable_build_warnings=yes ;;
+no)    enable_build_warnings=no ;;
 *)     { echo "configure: error: bad value ${enableval} given for warnings options" 1>&2; exit 1; } ;;
 esac
 fi
 
 
-if test "x$enable_warnings" = xyes -a "x$GCC" = xyes
+if test "x$enable_build_warnings" = xyes -a "x$GCC" = xyes
 then
    WARN_CFLAGS="-Wall -Wstrict-prototypes -Wmissing-prototypes"
 else
This page took 0.023674 seconds and 4 git commands to generate.