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

Side by Side Diff: gdb/gdbserver/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 | « gdb/gdbserver/config.in ('k') | gdb/gdbserver/configure.ac » ('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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 545
546 # Identity of this package. 546 # Identity of this package.
547 PACKAGE_NAME= 547 PACKAGE_NAME=
548 PACKAGE_TARNAME= 548 PACKAGE_TARNAME=
549 PACKAGE_VERSION= 549 PACKAGE_VERSION=
550 PACKAGE_STRING= 550 PACKAGE_STRING=
551 PACKAGE_BUGREPORT= 551 PACKAGE_BUGREPORT=
552 PACKAGE_URL= 552 PACKAGE_URL=
553 553
554 ac_unique_file="server.c" 554 ac_unique_file="server.c"
555 ac_config_libobj_dir=../gnulib
556 # Factoring default headers for most tests. 555 # Factoring default headers for most tests.
557 ac_includes_default="\ 556 ac_includes_default="\
558 #include <stdio.h> 557 #include <stdio.h>
559 #ifdef HAVE_SYS_TYPES_H 558 #ifdef HAVE_SYS_TYPES_H
560 # include <sys/types.h> 559 # include <sys/types.h>
561 #endif 560 #endif
562 #ifdef HAVE_SYS_STAT_H 561 #ifdef HAVE_SYS_STAT_H
563 # include <sys/stat.h> 562 # include <sys/stat.h>
564 #endif 563 #endif
565 #ifdef STDC_HEADERS 564 #ifdef STDC_HEADERS
(...skipping 17 matching lines...) Expand all
583 # include <inttypes.h> 582 # include <inttypes.h>
584 #endif 583 #endif
585 #ifdef HAVE_STDINT_H 584 #ifdef HAVE_STDINT_H
586 # include <stdint.h> 585 # include <stdint.h>
587 #endif 586 #endif
588 #ifdef HAVE_UNISTD_H 587 #ifdef HAVE_UNISTD_H
589 # include <unistd.h> 588 # include <unistd.h>
590 #endif" 589 #endif"
591 590
592 ac_subst_vars='LTLIBOBJS 591 ac_subst_vars='LTLIBOBJS
592 GNULIB_STDINT_H
593 extra_libraries 593 extra_libraries
594 IPA_DEPFILES 594 IPA_DEPFILES
595 srv_xmlfiles 595 srv_xmlfiles
596 srv_xmlbuiltin 596 srv_xmlbuiltin
597 USE_THREAD_DB 597 USE_THREAD_DB
598 GDBSERVER_LIBS 598 GDBSERVER_LIBS
599 GDBSERVER_DEPFILES 599 GDBSERVER_DEPFILES
600 RDYNAMIC 600 RDYNAMIC
601 REPORT_BUGS_TEXI 601 REPORT_BUGS_TEXI
602 REPORT_BUGS_TO 602 REPORT_BUGS_TO
603 PKGVERSION 603 PKGVERSION
604 WERROR_CFLAGS 604 WERROR_CFLAGS
605 WARN_CFLAGS 605 WARN_CFLAGS
606 ustinc 606 ustinc
607 ustlibs 607 ustlibs
608 LIBOBJS 608 LIBOBJS
609 MAKE
609 ALLOCA 610 ALLOCA
611 RANLIB
610 INSTALL_DATA 612 INSTALL_DATA
611 INSTALL_SCRIPT 613 INSTALL_SCRIPT
612 INSTALL_PROGRAM 614 INSTALL_PROGRAM
613 target_os 615 target_os
614 target_vendor 616 target_vendor
615 target_cpu 617 target_cpu
616 target 618 target
617 host_os 619 host_os
618 host_vendor 620 host_vendor
619 host_cpu 621 host_cpu
620 host 622 host
621 build_os 623 build_os
622 build_vendor 624 build_vendor
623 build_cpu 625 build_cpu
624 build 626 build
625 EGREP 627 EGREP
626 GREP 628 GREP
627 CPP 629 CPP
628 OBJEXT 630 OBJEXT
629 EXEEXT 631 EXEEXT
630 ac_ct_CC 632 ac_ct_CC
631 CPPFLAGS 633 CPPFLAGS
632 LDFLAGS 634 LDFLAGS
633 CFLAGS 635 CFLAGS
634 CC 636 CC
637 MAINT
638 MAINTAINER_MODE_FALSE
639 MAINTAINER_MODE_TRUE
635 target_alias 640 target_alias
636 host_alias 641 host_alias
637 build_alias 642 build_alias
638 LIBS 643 LIBS
639 ECHO_T 644 ECHO_T
640 ECHO_N 645 ECHO_N
641 ECHO_C 646 ECHO_C
642 DEFS 647 DEFS
643 mandir 648 mandir
644 localedir 649 localedir
(...skipping 21 matching lines...) Expand all
666 PACKAGE_BUGREPORT 671 PACKAGE_BUGREPORT
667 PACKAGE_STRING 672 PACKAGE_STRING
668 PACKAGE_VERSION 673 PACKAGE_VERSION
669 PACKAGE_TARNAME 674 PACKAGE_TARNAME
670 PACKAGE_NAME 675 PACKAGE_NAME
671 PATH_SEPARATOR 676 PATH_SEPARATOR
672 SHELL' 677 SHELL'
673 ac_subst_files='' 678 ac_subst_files=''
674 ac_user_opts=' 679 ac_user_opts='
675 enable_option_checking 680 enable_option_checking
681 enable_maintainer_mode
676 with_ust 682 with_ust
677 with_ust_include 683 with_ust_include
678 with_ust_lib 684 with_ust_lib
679 enable_werror 685 enable_werror
680 with_pkgversion 686 with_pkgversion
681 with_bugurl 687 with_bugurl
682 with_libthread_db 688 with_libthread_db
683 enable_inprocess_agent 689 enable_inprocess_agent
684 ' 690 '
685 ac_precious_vars='build_alias 691 ac_precious_vars='build_alias
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
1302 fi 1308 fi
1303 1309
1304 if test -n "$ac_init_help"; then 1310 if test -n "$ac_init_help"; then
1305 1311
1306 cat <<\_ACEOF 1312 cat <<\_ACEOF
1307 1313
1308 Optional Features: 1314 Optional Features:
1309 --disable-option-checking ignore unrecognized --enable/--with options 1315 --disable-option-checking ignore unrecognized --enable/--with options
1310 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1316 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1311 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1317 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1318 --enable-maintainer-mode enable make rules and dependencies not useful
1319 (and sometimes confusing) to the casual installer
1312 --enable-werror treat compile warnings as errors 1320 --enable-werror treat compile warnings as errors
1313 --enable-inprocess-agent 1321 --enable-inprocess-agent
1314 inprocess agent 1322 inprocess agent
1315 1323
1316 Optional Packages: 1324 Optional Packages:
1317 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1325 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1318 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1326 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1319 --with-ust=PATH Specify prefix directory for the installed UST package 1327 --with-ust=PATH Specify prefix directory for the installed UST package
1320 Equivalent to --with-ust-include=PATH/include 1328 Equivalent to --with-ust-include=PATH/include
1321 plus --with-ust-lib=PATH/lib 1329 plus --with-ust-lib=PATH/lib
(...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after
2213 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2214 2222
2215 2223
2216 2224
2217 2225
2218 2226
2219 ac_config_headers="$ac_config_headers config.h:config.in" 2227 ac_config_headers="$ac_config_headers config.h:config.in"
2220 2228
2221 2229
2222 2230
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-s pecific portions of Makefiles" >&5
2232 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles ... " >&6; }
2233 # Check whether --enable-maintainer-mode was given.
2234 if test "${enable_maintainer_mode+set}" = set; then :
2235 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2236 else
2237 USE_MAINTAINER_MODE=no
2238 fi
2239
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2241 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2242 if test $USE_MAINTAINER_MODE = yes; then
2243 MAINTAINER_MODE_TRUE=
2244 MAINTAINER_MODE_FALSE='#'
2245 else
2246 MAINTAINER_MODE_TRUE='#'
2247 MAINTAINER_MODE_FALSE=
2248 fi
2249
2250 MAINT=$MAINTAINER_MODE_TRUE
2251
2252
2253
2223 ac_ext=c 2254 ac_ext=c
2224 ac_cpp='$CPP $CPPFLAGS' 2255 ac_cpp='$CPP $CPPFLAGS'
2225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 2257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
2227 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2228 if test -n "$ac_tool_prefix"; then 2259 if test -n "$ac_tool_prefix"; then
2229 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam e with args. 2260 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam e with args.
2230 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2261 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2232 $as_echo_n "checking for $ac_word... " >&6; } 2263 $as_echo_n "checking for $ac_word... " >&6; }
(...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after
3668 $as_echo "$INSTALL" >&6; } 3699 $as_echo "$INSTALL" >&6; }
3669 3700
3670 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3701 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3671 # It thinks the first close brace ends the variable substitution. 3702 # It thinks the first close brace ends the variable substitution.
3672 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3703 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3673 3704
3674 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3705 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3675 3706
3676 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3707 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3677 3708
3709 if test -n "$ac_tool_prefix"; then
3710 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3711 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3715 $as_echo_n "(cached) " >&6
3716 else
3717 if test -n "$RANLIB"; then
3718 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3719 else
3720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3721 for as_dir in $PATH
3722 do
3723 IFS=$as_save_IFS
3724 test -z "$as_dir" && as_dir=.
3725 for ac_exec_ext in '' $ac_executable_extensions; do
3726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
3727 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
3729 break 2
3730 fi
3731 done
3732 done
3733 IFS=$as_save_IFS
3734
3735 fi
3736 fi
3737 RANLIB=$ac_cv_prog_RANLIB
3738 if test -n "$RANLIB"; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3740 $as_echo "$RANLIB" >&6; }
3741 else
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3744 fi
3745
3746
3747 fi
3748 if test -z "$ac_cv_prog_RANLIB"; then
3749 ac_ct_RANLIB=$RANLIB
3750 # Extract the first word of "ranlib", so it can be a program name with args.
3751 set dummy ranlib; ac_word=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3755 $as_echo_n "(cached) " >&6
3756 else
3757 if test -n "$ac_ct_RANLIB"; then
3758 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3759 else
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 for as_dir in $PATH
3762 do
3763 IFS=$as_save_IFS
3764 test -z "$as_dir" && as_dir=.
3765 for ac_exec_ext in '' $ac_executable_extensions; do
3766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
3767 ac_cv_prog_ac_ct_RANLIB="ranlib"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
3769 break 2
3770 fi
3771 done
3772 done
3773 IFS=$as_save_IFS
3774
3775 fi
3776 fi
3777 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3778 if test -n "$ac_ct_RANLIB"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3780 $as_echo "$ac_ct_RANLIB" >&6; }
3781 else
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3784 fi
3785
3786 if test "x$ac_ct_RANLIB" = x; then
3787 RANLIB=":"
3788 else
3789 case $cross_compiling:$ac_tool_warned in
3790 yes:)
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2 ;}
3793 ac_tool_warned=yes ;;
3794 esac
3795 RANLIB=$ac_ct_RANLIB
3796 fi
3797 else
3798 RANLIB="$ac_cv_prog_RANLIB"
3799 fi
3800
3678 3801
3679 test "$program_prefix" != NONE && 3802 test "$program_prefix" != NONE &&
3680 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3803 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3681 # Use a double $ so make ignores it. 3804 # Use a double $ so make ignores it.
3682 test "$program_suffix" != NONE && 3805 test "$program_suffix" != NONE &&
3683 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3806 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3684 # Double any \ or $. 3807 # Double any \ or $.
3685 # By default was `s,x,x', remove it if useless. 3808 # By default was `s,x,x', remove it if useless.
3686 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3809 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3687 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3810 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
4142 fi 4265 fi
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
4144 $as_echo "$ac_cv_c_stack_direction" >&6; } 4267 $as_echo "$ac_cv_c_stack_direction" >&6; }
4145 cat >>confdefs.h <<_ACEOF 4268 cat >>confdefs.h <<_ACEOF
4146 #define STACK_DIRECTION $ac_cv_c_stack_direction 4269 #define STACK_DIRECTION $ac_cv_c_stack_direction
4147 _ACEOF 4270 _ACEOF
4148 4271
4149 4272
4150 fi 4273 fi
4151 4274
4152 for ac_header in sgtty.h termio.h termios.h sys/reg.h string.h »» proc_se rvice.h sys/procfs.h thread_db.h linux/elf.h » » stdlib.h unistd.h » » errno.h fcntl.h signal.h sys/file.h malloc.h » » sys/ioctl.h net inet/in.h sys/socket.h netdb.h »» netinet/tcp.h arpa/inet.h sys/wait.h 4275
4276 # Check for the 'make' the user wants to use.
4277 for ac_prog in make
4278 do
4279 # Extract the first word of "$ac_prog", so it can be a program name with args.
4280 set dummy $ac_prog; ac_word=$2
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4282 $as_echo_n "checking for $ac_word... " >&6; }
4283 if test "${ac_cv_prog_MAKE+set}" = set; then :
4284 $as_echo_n "(cached) " >&6
4285 else
4286 if test -n "$MAKE"; then
4287 ac_cv_prog_MAKE="$MAKE" # Let the user override the test.
4288 else
4289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4290 for as_dir in $PATH
4291 do
4292 IFS=$as_save_IFS
4293 test -z "$as_dir" && as_dir=.
4294 for ac_exec_ext in '' $ac_executable_extensions; do
4295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
4296 ac_cv_prog_MAKE="$ac_prog"
4297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
4298 break 2
4299 fi
4300 done
4301 done
4302 IFS=$as_save_IFS
4303
4304 fi
4305 fi
4306 MAKE=$ac_cv_prog_MAKE
4307 if test -n "$MAKE"; then
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
4309 $as_echo "$MAKE" >&6; }
4310 else
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4312 $as_echo "no" >&6; }
4313 fi
4314
4315
4316 test -n "$MAKE" && break
4317 done
4318
4319
4320 # Configure gnulib. We can't use AC_CONFIG_SUBDIRS as that'd expect
4321 # to find the the source subdir to be configured directly under
4322 # gdbserver/. We need to build gnulib under some other directory not
4323 # "gnulib", to avoid the problem of both GDB and GDBserver wanting to
4324 # build it in the same directory, when building in the source dir.
4325
4326 in_src="../gnulib"
4327 in_build="build-gnulib-gdbserver"
4328
4329 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4330 # so they do not pile up.
4331 ac_sub_configure_args=
4332 ac_prev=
4333 eval "set x $ac_configure_args"
4334 shift
4335 for ac_arg
4336 do
4337 if test -n "$ac_prev"; then
4338 ac_prev=
4339 continue
4340 fi
4341 case $ac_arg in
4342 -cache-file | --cache-file | --cache-fil | --cache-fi \
4343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4344 ac_prev=cache_file ;;
4345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4347 | --c=*)
4348 ;;
4349 --config-cache | -C)
4350 ;;
4351 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4352 ac_prev=srcdir ;;
4353 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4354 ;;
4355 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4356 ac_prev=prefix ;;
4357 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4358 ;;
4359 --disable-option-checking)
4360 ;;
4361 *)
4362 case $ac_arg in
4363 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4364 esac
4365 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
4366 esac
4367 done
4368
4369 # Always prepend --prefix to ensure using the same prefix
4370 # in subdir configurations.
4371 ac_arg="--prefix=$prefix"
4372 case $ac_arg in
4373 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4374 esac
4375 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
4376
4377 # Pass --silent
4378 if test "$silent" = yes; then
4379 ac_sub_configure_args="--silent $ac_sub_configure_args"
4380 fi
4381
4382 # Always prepend --disable-option-checking to silence warnings, since
4383 # different subdirs can have different --enable and --with options.
4384 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
4385
4386 ac_popdir=`pwd`
4387 ac_dir=$in_build
4388
4389 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4390 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4391 $as_echo "$ac_msg" >&6
4392 as_dir="$ac_dir"; as_fn_mkdir_p
4393
4394 case $srcdir in
4395 [\\/]* | ?:[\\/]* )
4396 ac_srcdir=$srcdir/$in_src ;;
4397 *) # Relative name.
4398 ac_srcdir=../$srcdir/$in_src ;;
4399 esac
4400
4401 cd "$ac_dir"
4402
4403 ac_sub_configure=$ac_srcdir/configure
4404
4405 # Make the cache file name correct relative to the subdirectory.
4406 case $cache_file in
4407 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4408 *) # Relative name.
4409 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
4410 esac
4411
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_ sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4413 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cach e-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4414 # The eval makes quoting arguments work.
4415 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
4416 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
4417 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
4418
4419 cd "$ac_popdir"
4420
4421
4422 for ac_header in sgtty.h termio.h termios.h sys/reg.h string.h »» proc_se rvice.h sys/procfs.h thread_db.h linux/elf.h » » stdlib.h unistd.h » » errno.h fcntl.h signal.h sys/file.h malloc.h » » sys/ioctl.h net inet/in.h sys/socket.h netdb.h »» netinet/tcp.h arpa/inet.h sys/wait.h sy s/un.h
4153 do : 4423 do :
4154 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4424 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4155 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include s_default" 4425 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include s_default"
4156 eval as_val=\$$as_ac_Header 4426 eval as_val=\$$as_ac_Header
4157 if test "x$as_val" = x""yes; then : 4427 if test "x$as_val" = x""yes; then :
4158 cat >>confdefs.h <<_ACEOF 4428 cat >>confdefs.h <<_ACEOF
4159 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4429 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4160 _ACEOF 4430 _ACEOF
4161 4431
4162 fi 4432 fi
4163 4433
4164 done 4434 done
4165 4435
4166 for ac_func in pread pwrite pread64 4436 for ac_func in pread pwrite pread64 readlink
4167 do : 4437 do :
4168 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4438 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4169 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 4439 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4170 eval as_val=\$$as_ac_var 4440 eval as_val=\$$as_ac_var
4171 if test "x$as_val" = x""yes; then : 4441 if test "x$as_val" = x""yes; then :
4172 cat >>confdefs.h <<_ACEOF 4442 cat >>confdefs.h <<_ACEOF
4173 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4443 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4174 _ACEOF 4444 _ACEOF
4175 4445
4176 fi 4446 fi
4177 done 4447 done
4178 4448
4179 for ac_func in memmem vasprintf vsnprintf 4449 for ac_func in vasprintf vsnprintf
4180 do : 4450 do :
4181 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4182 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 4452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4183 eval as_val=\$$as_ac_var 4453 eval as_val=\$$as_ac_var
4184 if test "x$as_val" = x""yes; then : 4454 if test "x$as_val" = x""yes; then :
4185 cat >>confdefs.h <<_ACEOF 4455 cat >>confdefs.h <<_ACEOF
4186 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4187 _ACEOF 4457 _ACEOF
4188 4458
4189 else 4459 else
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
4421 ac_fn_c_check_decl "$LINENO" "perror" "ac_cv_have_decl_perror" "$ac_includes_def ault" 4691 ac_fn_c_check_decl "$LINENO" "perror" "ac_cv_have_decl_perror" "$ac_includes_def ault"
4422 if test "x$ac_cv_have_decl_perror" = x""yes; then : 4692 if test "x$ac_cv_have_decl_perror" = x""yes; then :
4423 ac_have_decl=1 4693 ac_have_decl=1
4424 else 4694 else
4425 ac_have_decl=0 4695 ac_have_decl=0
4426 fi 4696 fi
4427 4697
4428 cat >>confdefs.h <<_ACEOF 4698 cat >>confdefs.h <<_ACEOF
4429 #define HAVE_DECL_PERROR $ac_have_decl 4699 #define HAVE_DECL_PERROR $ac_have_decl
4430 _ACEOF 4700 _ACEOF
4431 ac_fn_c_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_def ault"
4432 if test "x$ac_cv_have_decl_memmem" = x""yes; then :
4433 ac_have_decl=1
4434 else
4435 ac_have_decl=0
4436 fi
4437
4438 cat >>confdefs.h <<_ACEOF
4439 #define HAVE_DECL_MEMMEM $ac_have_decl
4440 _ACEOF
4441 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includ es_default" 4701 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includ es_default"
4442 if test "x$ac_cv_have_decl_vasprintf" = x""yes; then : 4702 if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
4443 ac_have_decl=1 4703 ac_have_decl=1
4444 else 4704 else
4445 ac_have_decl=0 4705 ac_have_decl=0
4446 fi 4706 fi
4447 4707
4448 cat >>confdefs.h <<_ACEOF 4708 cat >>confdefs.h <<_ACEOF
4449 #define HAVE_DECL_VASPRINTF $ac_have_decl 4709 #define HAVE_DECL_VASPRINTF $ac_have_decl
4450 _ACEOF 4710 _ACEOF
(...skipping 16 matching lines...) Expand all
4467 if test "x$ac_cv_type_socklen_t" = x""yes; then : 4727 if test "x$ac_cv_type_socklen_t" = x""yes; then :
4468 4728
4469 cat >>confdefs.h <<_ACEOF 4729 cat >>confdefs.h <<_ACEOF
4470 #define HAVE_SOCKLEN_T 1 4730 #define HAVE_SOCKLEN_T 1
4471 _ACEOF 4731 _ACEOF
4472 4732
4473 4733
4474 fi 4734 fi
4475 4735
4476 4736
4737 ac_fn_c_check_type "$LINENO" "Elf32_auxv_t" "ac_cv_type_Elf32_auxv_t" "#include <elf.h>
4738
4739 "
4740 if test "x$ac_cv_type_Elf32_auxv_t" = x""yes; then :
4741
4742 cat >>confdefs.h <<_ACEOF
4743 #define HAVE_ELF32_AUXV_T 1
4744 _ACEOF
4745
4746
4747 fi
4748 ac_fn_c_check_type "$LINENO" "Elf64_auxv_t" "ac_cv_type_Elf64_auxv_t" "#include <elf.h>
4749
4750 "
4751 if test "x$ac_cv_type_Elf64_auxv_t" = x""yes; then :
4752
4753 cat >>confdefs.h <<_ACEOF
4754 #define HAVE_ELF64_AUXV_T 1
4755 _ACEOF
4756
4757
4758 fi
4759
4760
4477 4761
4478 4762
4479 # Check whether --with-pkgversion was given. 4763 # Check whether --with-pkgversion was given.
4480 if test "${with_pkgversion+set}" = set; then : 4764 if test "${with_pkgversion+set}" = set; then :
4481 withval=$with_pkgversion; case "$withval" in 4765 withval=$with_pkgversion; case "$withval" in
4482 yes) as_fn_error "package version not specified" "$LINENO" 5 ;; 4766 yes) as_fn_error "package version not specified" "$LINENO" 5 ;;
4483 no) PKGVERSION= ;; 4767 no) PKGVERSION= ;;
4484 *) PKGVERSION="($withval) " ;; 4768 *) PKGVERSION="($withval) " ;;
4485 esac 4769 esac
4486 else 4770 else
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
4831 if test $bfd_cv_have_sys_procfs_type_elf_fpregset_t = yes; then 5115 if test $bfd_cv_have_sys_procfs_type_elf_fpregset_t = yes; then
4832 5116
4833 $as_echo "#define HAVE_ELF_FPREGSET_T 1" >>confdefs.h 5117 $as_echo "#define HAVE_ELF_FPREGSET_T 1" >>confdefs.h
4834 5118
4835 fi 5119 fi
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_e lf_fpregset_t" >&5 5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_e lf_fpregset_t" >&5
4837 $as_echo "$bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&6; } 5121 $as_echo "$bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&6; }
4838 5122
4839 fi 5123 fi
4840 5124
5125 if test "$bfd_cv_have_sys_procfs_type_lwpid_t" != yes; then
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpid_t in thread_db.h" >&5
5127 $as_echo_n "checking for lwpid_t in thread_db.h... " >&6; }
5128 if test "${gdbserver_cv_have_thread_db_type_lwpid_t+set}" = set; then :
5129 $as_echo_n "(cached) " >&6
5130 else
5131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5132 /* end confdefs.h. */
5133
5134 #include <thread_db.h>
5135 int
5136 main ()
5137 {
5138 lwpid_t avar
5139 ;
5140 return 0;
5141 }
5142 _ACEOF
5143 if ac_fn_c_try_compile "$LINENO"; then :
5144 gdbserver_cv_have_thread_db_type_lwpid_t=yes
5145 else
5146 gdbserver_cv_have_thread_db_type_lwpid_t=no
5147
5148 fi
5149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5150 fi
5151
5152 if test $gdbserver_cv_have_thread_db_type_lwpid_t = yes; then
5153
5154 $as_echo "#define HAVE_LWPID_T 1" >>confdefs.h
5155
5156 fi
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbserver_cv_have_thread_db_t ype_lwpid_t" >&5
5158 $as_echo "$gdbserver_cv_have_thread_db_type_lwpid_t" >&6; }
5159
5160 fi
5161
5162 if test "$bfd_cv_have_sys_procfs_type_psaddr_t" != yes; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psaddr_t in thread_db.h" >&5
5164 $as_echo_n "checking for psaddr_t in thread_db.h... " >&6; }
5165 if test "${gdbserver_cv_have_thread_db_type_psaddr_t+set}" = set; then :
5166 $as_echo_n "(cached) " >&6
5167 else
5168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5169 /* end confdefs.h. */
5170
5171 #include <thread_db.h>
5172 int
5173 main ()
5174 {
5175 psaddr_t avar
5176 ;
5177 return 0;
5178 }
5179 _ACEOF
5180 if ac_fn_c_try_compile "$LINENO"; then :
5181 gdbserver_cv_have_thread_db_type_psaddr_t=yes
5182 else
5183 gdbserver_cv_have_thread_db_type_psaddr_t=no
5184
5185 fi
5186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5187 fi
5188
5189 if test $gdbserver_cv_have_thread_db_type_psaddr_t = yes; then
5190
5191 $as_echo "#define HAVE_PSADDR_T 1" >>confdefs.h
5192
5193 fi
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbserver_cv_have_thread_db_t ype_psaddr_t" >&5
5195 $as_echo "$gdbserver_cv_have_thread_db_type_psaddr_t" >&6; }
5196
5197 fi
5198
4841 old_LIBS="$LIBS" 5199 old_LIBS="$LIBS"
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
4843 $as_echo_n "checking for dlopen in -ldl... " >&6; } 5201 $as_echo_n "checking for dlopen in -ldl... " >&6; }
4844 if test "${ac_cv_lib_dl_dlopen+set}" = set; then : 5202 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
4845 $as_echo_n "(cached) " >&6 5203 $as_echo_n "(cached) " >&6
4846 else 5204 else
4847 ac_check_lib_save_LIBS=$LIBS 5205 ac_check_lib_save_LIBS=$LIBS
4848 LIBS="-ldl $LIBS" 5206 LIBS="-ldl $LIBS"
4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h. */ 5208 /* end confdefs.h. */
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
5175 fi 5533 fi
5176 5534
5177 5535
5178 5536
5179 5537
5180 5538
5181 5539
5182 5540
5183 5541
5184 5542
5543 GNULIB=build-gnulib-gdbserver/import
5544
5545 GNULIB_STDINT_H=
5546 if test x"$STDINT_H" != x; then
5547 GNULIB_STDINT_H=$GNULIB/$STDINT_H
5548 fi
5549
5550
5185 ac_config_files="$ac_config_files Makefile" 5551 ac_config_files="$ac_config_files Makefile"
5186 5552
5187 ac_config_commands="$ac_config_commands default" 5553 ac_config_commands="$ac_config_commands default"
5188 5554
5189 cat >confcache <<\_ACEOF 5555 cat >confcache <<\_ACEOF
5190 # This file is a shell script that caches the results of configure 5556 # This file is a shell script that caches the results of configure
5191 # tests run on this system so they can be shared between configure 5557 # tests run on this system so they can be shared between configure
5192 # scripts and configure runs, see configure's option --config-cache. 5558 # scripts and configure runs, see configure's option --config-cache.
5193 # It is not useful on other systems. If it contains results you don't 5559 # It is not useful on other systems. If it contains results you don't
5194 # want to keep, you may remove or edit it. 5560 # want to keep, you may remove or edit it.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
5276 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5642 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5277 # will be set to the directory where LIBOBJS objects are built. 5643 # will be set to the directory where LIBOBJS objects are built.
5278 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5644 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5279 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 5645 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5280 done 5646 done
5281 LIBOBJS=$ac_libobjs 5647 LIBOBJS=$ac_libobjs
5282 5648
5283 LTLIBOBJS=$ac_ltlibobjs 5649 LTLIBOBJS=$ac_ltlibobjs
5284 5650
5285 5651
5652 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5653 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
5654 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5655 fi
5286 5656
5287 : ${CONFIG_STATUS=./config.status} 5657 : ${CONFIG_STATUS=./config.status}
5288 ac_write_fail=0 5658 ac_write_fail=0
5289 ac_clean_files_save=$ac_clean_files 5659 ac_clean_files_save=$ac_clean_files
5290 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5660 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 5661 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5292 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5662 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5293 as_write_fail=0 5663 as_write_fail=0
5294 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 5664 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5295 #! $SHELL 5665 #! $SHELL
(...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after
6452 exec 5>>config.log 6822 exec 5>>config.log
6453 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6823 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6454 # would make configure fail if this is the last instruction. 6824 # would make configure fail if this is the last instruction.
6455 $ac_cs_success || as_fn_exit $? 6825 $ac_cs_success || as_fn_exit $?
6456 fi 6826 fi
6457 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6827 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5 6828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5
6459 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6829 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6460 fi 6830 fi
6461 6831
OLDNEW
« no previous file with comments | « gdb/gdbserver/config.in ('k') | gdb/gdbserver/configure.ac » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698