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

Side by Side Diff: configure

Issue 1726163002: Fix building on musl libc. Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | 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.69 for breakpad 0.1. 3 # Generated by GNU Autoconf 2.69 for breakpad 0.1.
4 # 4 #
5 # Report bugs to <google-breakpad-dev@googlegroups.com>. 5 # Report bugs to <google-breakpad-dev@googlegroups.com>.
6 # 6 #
7 # 7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # 9 #
10 # 10 #
(...skipping 5999 matching lines...) Expand 10 before | Expand all | Expand 10 after
6010 while :; do 6010 while :; do
6011 # IRIX 6.2 and later do not support large files by default, 6011 # IRIX 6.2 and later do not support large files by default,
6012 # so use the C compiler's -n32 option if that helps. 6012 # so use the C compiler's -n32 option if that helps.
6013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6014 /* end confdefs.h. */ 6014 /* end confdefs.h. */
6015 #include <sys/types.h> 6015 #include <sys/types.h>
6016 /* Check that off_t can represent 2**63 - 1 correctly. 6016 /* Check that off_t can represent 2**63 - 1 correctly.
6017 We can't simply define LARGE_OFF_T to be 9223372036854775807, 6017 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6018 since some C++ compilers masquerading as C compilers 6018 since some C++ compilers masquerading as C compilers
6019 incorrectly reject 9223372036854775807. */ 6019 incorrectly reject 9223372036854775807. */
6020 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 6020 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6021 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 6021 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6022 && LARGE_OFF_T % 2147483647 == 1) 6022 && LARGE_OFF_T % 2147483647 == 1)
6023 ? 1 : -1]; 6023 ? 1 : -1];
6024 int 6024 int
6025 main () 6025 main ()
6026 { 6026 {
6027 6027
6028 ; 6028 ;
6029 return 0; 6029 return 0;
6030 } 6030 }
(...skipping 25 matching lines...) Expand all
6056 $as_echo_n "(cached) " >&6 6056 $as_echo_n "(cached) " >&6
6057 else 6057 else
6058 while :; do 6058 while :; do
6059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6060 /* end confdefs.h. */ 6060 /* end confdefs.h. */
6061 #include <sys/types.h> 6061 #include <sys/types.h>
6062 /* Check that off_t can represent 2**63 - 1 correctly. 6062 /* Check that off_t can represent 2**63 - 1 correctly.
6063 We can't simply define LARGE_OFF_T to be 9223372036854775807, 6063 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6064 since some C++ compilers masquerading as C compilers 6064 since some C++ compilers masquerading as C compilers
6065 incorrectly reject 9223372036854775807. */ 6065 incorrectly reject 9223372036854775807. */
6066 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 6066 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6067 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 6067 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6068 && LARGE_OFF_T % 2147483647 == 1) 6068 && LARGE_OFF_T % 2147483647 == 1)
6069 ? 1 : -1]; 6069 ? 1 : -1];
6070 int 6070 int
6071 main () 6071 main ()
6072 { 6072 {
6073 6073
6074 ; 6074 ;
6075 return 0; 6075 return 0;
6076 } 6076 }
6077 _ACEOF 6077 _ACEOF
6078 if ac_fn_c_try_compile "$LINENO"; then : 6078 if ac_fn_c_try_compile "$LINENO"; then :
6079 ac_cv_sys_file_offset_bits=no; break 6079 ac_cv_sys_file_offset_bits=no; break
6080 fi 6080 fi
6081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6083 /* end confdefs.h. */ 6083 /* end confdefs.h. */
6084 #define _FILE_OFFSET_BITS 64 6084 #define _FILE_OFFSET_BITS 64
6085 #include <sys/types.h> 6085 #include <sys/types.h>
6086 /* Check that off_t can represent 2**63 - 1 correctly. 6086 /* Check that off_t can represent 2**63 - 1 correctly.
6087 We can't simply define LARGE_OFF_T to be 9223372036854775807, 6087 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6088 since some C++ compilers masquerading as C compilers 6088 since some C++ compilers masquerading as C compilers
6089 incorrectly reject 9223372036854775807. */ 6089 incorrectly reject 9223372036854775807. */
6090 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 6090 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6091 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 6091 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6092 && LARGE_OFF_T % 2147483647 == 1) 6092 && LARGE_OFF_T % 2147483647 == 1)
6093 ? 1 : -1]; 6093 ? 1 : -1];
6094 int 6094 int
6095 main () 6095 main ()
6096 { 6096 {
6097 6097
6098 ; 6098 ;
6099 return 0; 6099 return 0;
6100 } 6100 }
(...skipping 24 matching lines...) Expand all
6125 $as_echo_n "(cached) " >&6 6125 $as_echo_n "(cached) " >&6
6126 else 6126 else
6127 while :; do 6127 while :; do
6128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */ 6129 /* end confdefs.h. */
6130 #include <sys/types.h> 6130 #include <sys/types.h>
6131 /* Check that off_t can represent 2**63 - 1 correctly. 6131 /* Check that off_t can represent 2**63 - 1 correctly.
6132 We can't simply define LARGE_OFF_T to be 9223372036854775807, 6132 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6133 since some C++ compilers masquerading as C compilers 6133 since some C++ compilers masquerading as C compilers
6134 incorrectly reject 9223372036854775807. */ 6134 incorrectly reject 9223372036854775807. */
6135 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 6135 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6136 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 6136 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6137 && LARGE_OFF_T % 2147483647 == 1) 6137 && LARGE_OFF_T % 2147483647 == 1)
6138 ? 1 : -1]; 6138 ? 1 : -1];
6139 int 6139 int
6140 main () 6140 main ()
6141 { 6141 {
6142 6142
6143 ; 6143 ;
6144 return 0; 6144 return 0;
6145 } 6145 }
6146 _ACEOF 6146 _ACEOF
6147 if ac_fn_c_try_compile "$LINENO"; then : 6147 if ac_fn_c_try_compile "$LINENO"; then :
6148 ac_cv_sys_large_files=no; break 6148 ac_cv_sys_large_files=no; break
6149 fi 6149 fi
6150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6152 /* end confdefs.h. */ 6152 /* end confdefs.h. */
6153 #define _LARGE_FILES 1 6153 #define _LARGE_FILES 1
6154 #include <sys/types.h> 6154 #include <sys/types.h>
6155 /* Check that off_t can represent 2**63 - 1 correctly. 6155 /* Check that off_t can represent 2**63 - 1 correctly.
6156 We can't simply define LARGE_OFF_T to be 9223372036854775807, 6156 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6157 since some C++ compilers masquerading as C compilers 6157 since some C++ compilers masquerading as C compilers
6158 incorrectly reject 9223372036854775807. */ 6158 incorrectly reject 9223372036854775807. */
6159 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 6159 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6160 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 6160 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6161 && LARGE_OFF_T % 2147483647 == 1) 6161 && LARGE_OFF_T % 2147483647 == 1)
6162 ? 1 : -1]; 6162 ? 1 : -1];
6163 int 6163 int
6164 main () 6164 main ()
6165 { 6165 {
6166 6166
6167 ; 6167 ;
6168 return 0; 6168 return 0;
6169 } 6169 }
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
6655 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6655 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6656 cat >>confdefs.h <<_ACEOF 6656 cat >>confdefs.h <<_ACEOF
6657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6658 _ACEOF 6658 _ACEOF
6659 6659
6660 fi 6660 fi
6661 6661
6662 done 6662 done
6663 6663
6664 6664
6665 for ac_header in a.out.h 6665 for ac_header in a.out.h linux/a.out.h
6666 do : 6666 do :
6667 ac_fn_c_check_header_mongrel "$LINENO" "a.out.h" "ac_cv_header_a_out_h" "$ac_i ncludes_default" 6667 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6668 if test "x$ac_cv_header_a_out_h" = xyes; then : 6668 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include s_default"
6669 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6669 cat >>confdefs.h <<_ACEOF 6670 cat >>confdefs.h <<_ACEOF
6670 #define HAVE_A_OUT_H 1 6671 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6671 _ACEOF 6672 _ACEOF
6672 6673
6673 fi 6674 fi
6674 6675
6675 done 6676 done
6676 6677
6677 6678
6678 # =========================================================================== 6679 # ===========================================================================
6679 # http://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html 6680 # http://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html
6680 # =========================================================================== 6681 # ===========================================================================
(...skipping 2565 matching lines...) Expand 10 before | Expand all | Expand 10 after
9246 exec 5>>config.log 9247 exec 5>>config.log
9247 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9248 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9248 # would make configure fail if this is the last instruction. 9249 # would make configure fail if this is the last instruction.
9249 $ac_cs_success || as_fn_exit 1 9250 $ac_cs_success || as_fn_exit 1
9250 fi 9251 fi
9251 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9252 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5 9253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5
9253 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9254 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9254 fi 9255 fi
9255 9256
OLDNEW
« no previous file with comments | « no previous file | configure.ac » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698