X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=configure.in;h=4044a8b513eff5ca697a586cb887acf0f1c929a8;hb=c7f6d44389a1f653659cd65813d2bdc422442c59;hp=fbf5f5562ac57288eed0a0b5f6d17490d45bfa2c;hpb=3970ecc71a0557bf41910411415f32b85c7fedcb;p=deliverable%2Fbinutils-gdb.git diff --git a/configure.in b/configure.in index fbf5f5562a..4044a8b513 100644 --- a/configure.in +++ b/configure.in @@ -45,6 +45,9 @@ host_libs="intl mmalloc libiberty opcodes bfd readline gash db tcl tk tclX itcl # start-sanitize-ide host_libs="${host_libs} libide libidetcl" # end-sanitize-ide +# start-sanitize-cygnus +host_libs="${host_libs} flexlm" +# end-sanitize-cygnus if [ "${enable_gdbgui}" = "yes" ] ; then host_libs="${host_libs} libgui" @@ -85,7 +88,7 @@ target_tools="target-examples target-groff target-gperf" # # This must be a single line because of the way it is searched by grep in # the code below. -native_only="autoconf automake libtool cvssrc emacs emacs19 fileutils find gawk gettext grep gzip hello indent ispell m4 rcs recode sed shellutils tar textutils gash uudecode wdiff gprof target-groff guile perl apache inet time ash bash prms snavigator gnuserv target-gperf libtool" +native_only="autoconf automake libtool cvssrc emacs emacs19 fileutils find gawk gettext grep gzip hello indent ispell m4 rcs recode sed shellutils tar textutils gash uudecode wdiff gprof target-groff guile perl apache inet time ash bash prms snavigator gnuserv target-gperf" # directories to be built in a cross environment only # @@ -330,6 +333,28 @@ case "${target}" in ;; esac +# If --enable-target-optspace always use -Os instead of -O2 to build +# the target libraries, similarly if it is not specified, use -Os +# on selected platforms. +case "${enable_target_optspace}:${target}" in + yes:*) + target_makefile_frag="${target_makefile_frag} config/mt-ospace" + ;; + :m32r-* | :d10v-*) + target_makefile_frag="${target_makefile_frag} config/mt-ospace" + ;; +# start-sanitize-d30v + :d30v-*-*) + target_makefile_frag="${target_makefile_frag} config/mt-ospace" + ;; +# end-sanitize-d30v + no:* | :*) + ;; + *) + echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2 + ;; +esac + skipdirs= gasdir=gas use_gnu_ld= @@ -501,12 +526,18 @@ case "${host}" in # start-sanitize-ide noconfigdirs="$noconfigdirs libide libidetcl vmake jstools" # end-sanitize-ide +# start-sanitize-cygnus + noconfigdirs="$noconfigdirs flexlm" +# end-sanitize-cygnus ;; i[3456]86-*-go32* | i[3456]86-*-msdosdjgpp*) noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl apache inet itcl tix db snavigator gnuserv gettext" # start-sanitize-ide noconfigdirs="$noconfigdirs libide libidetcl vmake jstools" # end-sanitize-ide +# start-sanitize-cygnus + noconfigdirs="$noconfigdirs flexlm" +# end-sanitize-cygnus ;; i[3456]86-*-mingw32*) # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl apache inet itcl tix db snavigator gnuserv" @@ -529,6 +560,9 @@ case "${host}" in # start-sanitize-ide noconfigdirs="$noconfigdirs libide libidetcl vmake jstools" # end-sanitize-ide +# start-sanitize-cygnus + noconfigdirs="$noconfigdirs flexlm" +# end-sanitize-cygnus ;; esac @@ -617,6 +651,9 @@ case "${target}" in case "${host}" in i[3456]86-*-mingw32) ;; # keep gdb tcl tk expect etc. *) noconfigdirs="$noconfigdirs gdb tcl tk expect itcl tix db snavigator gnuserv" +# start-sanitize-cygnus + noconfigdirs="$noconfigdirs flexlm" +# end-sanitize-cygnus ;; esac ;; @@ -633,6 +670,9 @@ case "${target}" in # start-sanitize-ide noconfigdirs="$noconfigdirs libide libidetcl vmake jstools" # end-sanitize-ide +# start-sanitize-cygnus + noconfigdirs="$noconfigdirs flexlm" +# end-sanitize-cygnus ;; esac ;; @@ -680,6 +720,9 @@ case "${target}" in # start-sanitize-ide noconfigdirs="$noconfigdirs libide libidetcl vmake jstools" # end-sanitize-ide +# start-sanitize-cygnus + noconfigdirs="$noconfigdirs flexlm" +# end-sanitize-cygnus # always build newlib. skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;; @@ -689,6 +732,9 @@ case "${target}" in # start-sanitize-ide noconfigdirs="$noconfigdirs libide libidetcl vmake jstools" # end-sanitize-ide +# start-sanitize-cygnus + noconfigdirs="$noconfigdirs flexlm" +# end-sanitize-cygnus ;; rs6000-*-lynxos*) # The CVS server code doesn't work on the RS/6000