Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: sim/igen/configure

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sim/igen/ChangeLog ('k') | sim/iq2000/ChangeLog » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64. 3 # Generated by GNU Autoconf 2.64.
4 # 4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc. 7 # Foundation, Inc.
8 # 8 #
9 # This configure script is free software; the Free Software Foundation 9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it. 10 # gives unlimited permission to copy, distribute and modify it.
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 PACKAGE_BUGREPORT 678 PACKAGE_BUGREPORT
679 PACKAGE_STRING 679 PACKAGE_STRING
680 PACKAGE_VERSION 680 PACKAGE_VERSION
681 PACKAGE_TARNAME 681 PACKAGE_TARNAME
682 PACKAGE_NAME 682 PACKAGE_NAME
683 PATH_SEPARATOR 683 PATH_SEPARATOR
684 SHELL' 684 SHELL'
685 ac_subst_files='' 685 ac_subst_files=''
686 ac_user_opts=' 686 ac_user_opts='
687 enable_option_checking 687 enable_option_checking
688 enable_werror
688 enable_build_warnings 689 enable_build_warnings
689 enable_sim_build_warnings 690 enable_sim_build_warnings
690 ' 691 '
691 ac_precious_vars='build_alias 692 ac_precious_vars='build_alias
692 host_alias 693 host_alias
693 target_alias 694 target_alias
694 CC 695 CC
695 CFLAGS 696 CFLAGS
696 LDFLAGS 697 LDFLAGS
697 LIBS 698 LIBS
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 fi 1309 fi
1309 1310
1310 if test -n "$ac_init_help"; then 1311 if test -n "$ac_init_help"; then
1311 1312
1312 cat <<\_ACEOF 1313 cat <<\_ACEOF
1313 1314
1314 Optional Features: 1315 Optional Features:
1315 --disable-option-checking ignore unrecognized --enable/--with options 1316 --disable-option-checking ignore unrecognized --enable/--with options
1316 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1317 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1318 --enable-build-warnings Enable build-time compiler warnings if gcc is used 1319 --enable-werror treat compile warnings as errors
1319 --enable-gdb-build-warnings Enable SIM specific build-time compiler warnings i f gcc is used 1320 --enable-build-warnings enable build-time compiler warnings if gcc is used
1321 --enable-sim-build-warnings
1322 enable SIM specific build-time compiler warnings if
1323 gcc is used
1320 1324
1321 Some influential environment variables: 1325 Some influential environment variables:
1322 CC C compiler command 1326 CC C compiler command
1323 CFLAGS C compiler flags 1327 CFLAGS C compiler flags
1324 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1328 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1325 nonstandard directory <lib dir> 1329 nonstandard directory <lib dir>
1326 LIBS libraries to pass to the linker, e.g. -l<library> 1330 LIBS libraries to pass to the linker, e.g. -l<library>
1327 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1331 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1328 you have headers in a nonstandard directory <include dir> 1332 you have headers in a nonstandard directory <include dir>
1329 CPP C preprocessor 1333 CPP C preprocessor
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
2100 2104
2101 2105
2102 2106
2103 2107
2104 2108
2105 2109
2106 2110
2107 2111
2108 2112
2109 2113
2114 ## -*- Autoconf -*-
2115
2116 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007
2117 # Free Software Foundation, Inc.
2118 #
2119 # This file is free software; the Free Software Foundation
2120 # gives unlimited permission to copy and/or distribute it,
2121 # with or without modifications, as long as this notice is preserved.
2122
2123 # serial 8
2124
2125 # Based on depend.m4 from automake 1.9, modified for standalone use in
2126 # an environment where GNU make is required.
2127
2128 # ZW_PROG_COMPILER_DEPENDENCIES
2129 # -----------------------------
2130 # Variant of _AM_DEPENDENCIES which just does the dependency probe and
2131 # sets fooDEPMODE accordingly. Cache-variable compatible with
2132 # original; not side-effect compatible. As the users of this macro
2133 # may require accurate dependencies for correct builds, it does *not*
2134 # honor --disable-dependency-checking, and failure to detect a usable
2135 # method is an error. depcomp is assumed to be located in
2136 # $ac_aux_dir.
2137 #
2138 # FIXME: Should use the Autoconf 2.5x language-selection mechanism.
2139
2140
2141
2142 # AM_SET_DEPDIR
2143 # -------------
2144 # Choose a directory name for dependency files.
2145
2146
2147 # ZW_CREATE_DEPDIR
2148 # ----------------
2149 # As AM_SET_DEPDIR, but also create the directory at config.status time.
2150
2151
2152
2110 2153
2111 2154
2112
2113 2155
2114 2156
2115 2157
2116 2158
2117 2159
2118 2160
2119 2161
2120 2162
2121 2163
2122 2164
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
2275 # triggers warnings from the preprocessor. Will be in autoconf 2.58. 2317 # triggers warnings from the preprocessor. Will be in autoconf 2.58.
2276 # For now, using this also overrides header checks to use only the 2318 # For now, using this also overrides header checks to use only the
2277 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a 2319 # preprocessor (matches 2.13 behavior; matching 2.58's behavior is a
2278 # bit harder from here). 2320 # bit harder from here).
2279 # Eventually autoconf will default to checking headers with the compiler 2321 # Eventually autoconf will default to checking headers with the compiler
2280 # instead, and we'll have to do this differently. 2322 # instead, and we'll have to do this differently.
2281 2323
2282 # AC_PROG_CPP_WERROR 2324 # AC_PROG_CPP_WERROR
2283 2325
2284 # Test for GNAT. 2326 # Test for GNAT.
2285 # We require the gnatbind program, and a compiler driver that 2327 # We require the gnatbind & gnatmake programs, as well as a compiler driver
2286 # understands Ada. We use the user's CC setting, already found, 2328 # that understands Ada. We use the user's CC setting, already found, and
2287 # and possibly add $1 to the command-line parameters. 2329 # possibly add $1 to the command-line parameters.
2288 # 2330 #
2289 # Sets the shell variable have_gnat to yes or no as appropriate, and 2331 # Sets the shell variable have_gnat to yes or no as appropriate, and
2290 # substitutes GNATBIND and GNATMAKE. 2332 # substitutes GNATBIND and GNATMAKE.
2291 2333
2292 2334
2293 2335
2294 2336
2295 2337
2296 2338
2297 2339
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
3190 3232
3191 ac_ext=c 3233 ac_ext=c
3192 ac_cpp='$CPP $CPPFLAGS' 3234 ac_cpp='$CPP $CPPFLAGS'
3193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 3236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
3195 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3196 3238
3197 3239
3198 3240
3199 3241
3200 # NOTE: Don't add -Wall or -Wunused, they both include 3242 # Check whether --enable-werror was given.
3201 # -Wunused-parameter which reports bogus warnings. 3243 if test "${enable_werror+set}" = set; then :
3202 # NOTE: If you add to this list, remember to update 3244 enableval=$enable_werror; case "${enableval}" in
3245 yes | y) ERROR_ON_WARNING="yes" ;;
3246 no | n) ERROR_ON_WARNING="no" ;;
3247 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
3248 esac
3249 fi
3250
3251
3252 # Enable -Werror by default when using gcc
3253 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
3254 ERROR_ON_WARNING=yes
3255 fi
3256
3257 WERROR_CFLAGS=""
3258 if test "${ERROR_ON_WARNING}" = yes ; then
3259 # NOTE: Disabled in the sim dir due to most sims generating warnings.
3260 # WERROR_CFLAGS="-Werror"
3261 true
3262 fi
3263
3264 # The entries after -Wno-pointer-sign are disabled warnings which may
3265 # be enabled in the future, which can not currently be used to build
3266 # GDB.
3267 # NOTE: If you change this list, remember to update
3203 # gdb/doc/gdbint.texinfo. 3268 # gdb/doc/gdbint.texinfo.
3204 build_warnings="-Wimplicit -Wreturn-type -Wcomment -Wtrigraphs \ 3269 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
3205 -Wformat -Wparentheses -Wpointer-arith" 3270 -Wformat-nonliteral -Wno-pointer-sign \
3206 # GCC supports -Wuninitialized only with -O or -On, n != 0. 3271 -Wno-unused -Wunused-value -Wunused-function \
3207 if test x${CFLAGS+set} = xset; then 3272 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
3208 case "${CFLAGS}" in 3273
3209 *"-O0"* ) ;; 3274 # Enable -Wno-format by default when using gcc on mingw since many
3210 *"-O"* ) 3275 # GCC versions complain about %I64.
3211 build_warnings="${build_warnings} -Wuninitialized" 3276 case "${host}" in
3212 ;; 3277 *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;;
3213 esac 3278 esac
3214 else 3279
3215 build_warnings="${build_warnings} -Wuninitialized"
3216 fi
3217 # Up for debate: -Wswitch -Wcomment -trigraphs -Wtrigraphs
3218 # -Wunused-function -Wunused-label -Wunused-variable -Wunused-value
3219 # -Wchar-subscripts -Wtraditional -Wshadow -Wcast-qual
3220 # -Wcast-align -Wwrite-strings -Wconversion -Wstrict-prototypes
3221 # -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
3222 # -Woverloaded-virtual -Winline -Werror"
3223 # Check whether --enable-build-warnings was given. 3280 # Check whether --enable-build-warnings was given.
3224 if test "${enable_build_warnings+set}" = set; then : 3281 if test "${enable_build_warnings+set}" = set; then :
3225 enableval=$enable_build_warnings; case "${enableval}" in 3282 enableval=$enable_build_warnings; case "${enableval}" in
3226 yes) ;; 3283 yes) ;;
3227 no) build_warnings="-w";; 3284 no) build_warnings="-w";;
3228 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"` 3285 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
3229 build_warnings="${build_warnings} ${t}";; 3286 build_warnings="${build_warnings} ${t}";;
3230 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` 3287 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
3231 build_warnings="${t} ${build_warnings}";; 3288 build_warnings="${t} ${build_warnings}";;
3232 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; 3289 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
(...skipping 11 matching lines...) Expand all
3244 build_warnings="${build_warnings} ${t}";; 3301 build_warnings="${build_warnings} ${t}";;
3245 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"` 3302 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
3246 build_warnings="${t} ${build_warnings}";; 3303 build_warnings="${t} ${build_warnings}";;
3247 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;; 3304 *) build_warnings=`echo "${enableval}" | sed -e "s/,/ /g"`;;
3248 esac 3305 esac
3249 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then 3306 if test x"$silent" != x"yes" && test x"$build_warnings" != x""; then
3250 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1 3307 echo "Setting GDB specific compiler warning flags = $build_warnings" 6>&1
3251 fi 3308 fi
3252 fi 3309 fi
3253 WARN_CFLAGS="" 3310 WARN_CFLAGS=""
3254 WERROR_CFLAGS=""
3255 if test "x${build_warnings}" != x -a "x$GCC" = xyes 3311 if test "x${build_warnings}" != x -a "x$GCC" = xyes
3256 then 3312 then
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >& 5 3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >& 5
3258 $as_echo_n "checking compiler warning flags... " >&6; } 3314 $as_echo_n "checking compiler warning flags... " >&6; }
3259 # Separate out the -Werror flag as some files just cannot be 3315 # Separate out the -Werror flag as some files just cannot be
3260 # compiled with it enabled. 3316 # compiled with it enabled.
3261 for w in ${build_warnings}; do 3317 for w in ${build_warnings}; do
3262 case $w in 3318 case $w in
3263 -Werr*) WERROR_CFLAGS=-Werror ;; 3319 -Werr*) WERROR_CFLAGS=-Werror ;;
3264 *) # Check that GCC accepts it 3320 *) # Check that GCC accepts it
(...skipping 10 matching lines...) Expand all
3275 return 0; 3331 return 0;
3276 } 3332 }
3277 _ACEOF 3333 _ACEOF
3278 if ac_fn_c_try_compile "$LINENO"; then : 3334 if ac_fn_c_try_compile "$LINENO"; then :
3279 WARN_CFLAGS="${WARN_CFLAGS} $w" 3335 WARN_CFLAGS="${WARN_CFLAGS} $w"
3280 fi 3336 fi
3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3282 CFLAGS="$saved_CFLAGS" 3338 CFLAGS="$saved_CFLAGS"
3283 esac 3339 esac
3284 done 3340 done
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS}${WERROR_CFLA GS}" >&5 3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFL AGS}" >&5
3286 $as_echo "${WARN_CFLAGS}${WERROR_CFLAGS}" >&6; } 3342 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
3287 fi 3343 fi
3288 3344
3289 3345
3290 # Put a plausible default for CC_FOR_BUILD in Makefile. 3346 # Put a plausible default for CC_FOR_BUILD in Makefile.
3291 if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then 3347 if test "x$cross_compiling" = "xno" -a "x$host" != "xi386-windows"; then
3292 AR_FOR_BUILD='$(AR)' 3348 AR_FOR_BUILD='$(AR)'
3293 AR_FLAGS_FOR_BUILD='$(AR_FLAGS)' 3349 AR_FLAGS_FOR_BUILD='$(AR_FLAGS)'
3294 CC_FOR_BUILD='$(CC)' 3350 CC_FOR_BUILD='$(CC)'
3295 CFLAGS_FOR_BUILD='$(CFLAGS)' 3351 CFLAGS_FOR_BUILD='$(CFLAGS)'
3296 RANLIB_FOR_BUILD='$(RANLIB)' 3352 RANLIB_FOR_BUILD='$(RANLIB)'
(...skipping 2075 matching lines...) Expand 10 before | Expand all | Expand 10 after
5372 exec 5>>config.log 5428 exec 5>>config.log
5373 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5429 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5374 # would make configure fail if this is the last instruction. 5430 # would make configure fail if this is the last instruction.
5375 $ac_cs_success || as_fn_exit $? 5431 $ac_cs_success || as_fn_exit $?
5376 fi 5432 fi
5377 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5433 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5 5434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5
5379 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5435 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5380 fi 5436 fi
5381 5437
OLDNEW
« no previous file with comments | « sim/igen/ChangeLog ('k') | sim/iq2000/ChangeLog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698