OSDN Git Service

PR tree-optimization/33645
[pf3gnuchains/gcc-fork.git] / libcpp / configure
index 26ed110..82fd6b5 100755 (executable)
@@ -2835,11 +2835,12 @@ else
   enable_werror_always=no
 fi;
 if test $enable_werror_always = yes; then
-  WERROR=-Werror
+  WERROR="$WERROR${WERROR:+ }-Werror"
 fi
 
 
 
+
 # Dependency checking.
 rm -rf .tst 2>/dev/null
 mkdir .tst 2>/dev/null
@@ -8800,7 +8801,7 @@ cat >>$CONFIG_STATUS <<_ACEOF
 # INIT-COMMANDS section.
 #
 
-DEPDIR=$DEPDIR
+ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
 
 _ACEOF
 
@@ -9534,7 +9535,7 @@ esac
   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
 echo "$as_me: executing $ac_dest commands" >&6;}
   case $ac_dest in
-    depdir ) mkdir $DEPDIR ;;
+    depdir ) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;;
   esac
 done
 _ACEOF