Changeset 200 for trunk/src/gmake/configure
- Timestamp:
- Dec 17, 2004, 3:05:38 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/configure
r151 r200 1518 1518 fi 1519 1519 1520 if mkdir -p -- . 2>/dev/null; then1520 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 1521 1521 # Keeping the `.' argument allows $(mkdir_p) to be used without 1522 1522 # argument. Indeed, we sometimes output rules like … … 1531 1531 # directories to create, and then abort because `.' already 1532 1532 # exists. 1533 for d in ./-p ./-- ;1533 for d in ./-p ./--version; 1534 1534 do 1535 1535 test -d $d && rmdir $d … … 2805 2805 for i in 1 2 3 4 5 6; do 2806 2806 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2807 : > sub/conftst$i.h 2807 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2808 # Solaris 8's {/usr,}/bin/sh. 2809 touch sub/conftst$i.h 2808 2810 done 2809 2811 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 4540 4542 # but apparently some GNU ld's only accept -v. 4541 4543 # Break only if it was the GNU/non-GNU ld that we prefer. 4542 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 4543 *GNU* | *'with BFD'*) 4544 test "$with_gnu_ld" != no && break ;; 4545 *) 4546 test "$with_gnu_ld" != yes && break ;; 4547 esac 4544 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then 4545 test "$with_gnu_ld" != no && break 4546 else 4547 test "$with_gnu_ld" != yes && break 4548 fi 4548 4549 fi 4549 4550 done … … 4571 4572 else 4572 4573 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 4573 case `$LD -v 2>&1 </dev/null` in 4574 *GNU* | *'with BFD'*) 4575 acl_cv_prog_gnu_ld=yes ;; 4576 *) 4577 acl_cv_prog_gnu_ld=no ;; 4578 esac 4574 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 4575 acl_cv_prog_gnu_ld=yes 4576 else 4577 acl_cv_prog_gnu_ld=no 4578 fi 4579 4579 fi 4580 4580 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 … … 8115 8115 8116 8116 # Check for DOS-style pathnames. 8117 8118 echo "$as_me:$LINENO: checking whether system uses MSDOS-style paths" >&5 8119 echo $ECHO_N "checking whether system uses MSDOS-style paths... $ECHO_C" >&6 8120 if test "${ac_cv_dos_paths+set}" = set; then 8121 echo $ECHO_N "(cached) $ECHO_C" >&6 8122 else 8123 8124 cat >conftest.$ac_ext <<_ACEOF 8125 8126 #if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && !defined __EMX__ 8127 neither MSDOS nor Windows nor OS2 8128 #endif 8129 8130 _ACEOF 8131 rm -f conftest.$ac_objext 8132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8133 (eval $ac_compile) 2>conftest.er1 8134 ac_status=$? 8135 grep -v '^ *+' conftest.er1 >conftest.err 8136 rm -f conftest.er1 8137 cat conftest.err >&5 8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8139 (exit $ac_status); } && 8140 { ac_try='test -z "$ac_c_werror_flag" 8141 || test ! -s conftest.err' 8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8143 (eval $ac_try) 2>&5 8144 ac_status=$? 8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8146 (exit $ac_status); }; } && 8147 { ac_try='test -s conftest.$ac_objext' 8148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8149 (eval $ac_try) 2>&5 8150 ac_status=$? 8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8152 (exit $ac_status); }; }; then 8153 ac_cv_dos_paths=yes 8154 else 8155 echo "$as_me: failed program was:" >&5 8156 sed 's/^/| /' conftest.$ac_ext >&5 8157 8158 ac_cv_dos_paths=no 8159 fi 8160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8161 8162 fi 8163 echo "$as_me:$LINENO: result: $ac_cv_dos_paths" >&5 8164 echo "${ECHO_T}$ac_cv_dos_paths" >&6 8165 8166 if test x"$ac_cv_dos_paths" = xyes; then 8167 8168 cat >>confdefs.h <<_ACEOF 8169 #define HAVE_DOS_PATHS 1 8170 _ACEOF 8171 8172 fi 8173 8117 pds_AC_DOS_PATHS 8174 8118 8175 8119 # See if we have a standard version of gettimeofday(). Since actual … … 14186 14130 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 14187 14131 # Capture the value of obsolete ALL_LINGUAS because we need it to compute 14188 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it14132 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it 14189 14133 # from automake. 14190 14134 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' … … 15001 14945 # Extract the definition of DEP_FILES from the Makefile without 15002 14946 # running `make'. 15003 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`14947 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 15004 14948 test -z "$DEPDIR" && continue 15005 14949 # When using ansi2knr, U may be empty or an underscore; expand it 15006 U=`sed -n -e '/^U = / s///p' < "$mf"`14950 U=`sed -n 's/^U = //p' < "$mf"` 15007 14951 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 15008 14952 # We invoke sed twice because it is the simplest approach to 15009 14953 # changing $(DEPDIR) to its actual value in the expansion. 15010 for file in `sed -n -e'14954 for file in `sed -n ' 15011 14955 /^DEP_FILES = .*\\\\$/ { 15012 14956 s/^DEP_FILES = // … … 15089 15033 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 15090 15034 POMAKEFILEDEPS="POTFILES.in" 15091 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend15035 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend 15092 15036 # on $ac_dir but don't depend on user-specified configuration 15093 15037 # parameters. … … 15105 15049 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 15106 15050 fi 15107 # Compute POFILES15108 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)15109 # Compute UPDATEPOFILES15110 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)15111 # Compute DUMMYPOFILES15112 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)15113 # Compute GMOFILES15114 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)15115 15051 case "$ac_given_srcdir" in 15116 15052 .) srcdirpre= ;; … … 15118 15054 esac 15119 15055 POFILES= 15056 GMOFILES= 15120 15057 UPDATEPOFILES= 15121 15058 DUMMYPOFILES= 15122 GMOFILES=15123 15059 for lang in $ALL_LINGUAS; do 15124 15060 POFILES="$POFILES $srcdirpre$lang.po" 15061 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 15125 15062 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 15126 15063 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 15127 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"15128 15064 done 15129 15065 # CATALOGS depends on both $ac_dir and the user's LINGUAS … … 15160 15096 fi 15161 15097 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 15162 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@ UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"15098 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 15163 15099 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 15164 15100 if test -f "$f"; then
Note:
See TracChangeset
for help on using the changeset viewer.