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

Side by Side Diff: configure.ac

Issue 1570013002: Check for C++11 support in the configure script. (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 4 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 | « configure ('k') | m4/ax_cxx_compile_stdcxx.m4 » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2006, Google Inc. 1 # Copyright (c) 2006, Google Inc.
2 # All rights reserved. 2 # All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 ;; 69 ;;
70 esac], 70 esac],
71 [usem32=false]) 71 [usem32=false])
72 72
73 AC_HEADER_STDC 73 AC_HEADER_STDC
74 AC_SYS_LARGEFILE 74 AC_SYS_LARGEFILE
75 m4_include(m4/ax_pthread.m4) 75 m4_include(m4/ax_pthread.m4)
76 AX_PTHREAD 76 AX_PTHREAD
77 AC_CHECK_HEADERS([a.out.h]) 77 AC_CHECK_HEADERS([a.out.h])
78 78
79 m4_include(m4/ax_cxx_compile_stdcxx.m4)
80 AX_CXX_COMPILE_STDCXX(11, noext, mandatory)
81
79 # Only build Linux client libs when compiling for Linux 82 # Only build Linux client libs when compiling for Linux
80 case $host in 83 case $host in
81 *-*-linux* | *-android* ) 84 *-*-linux* | *-android* )
82 LINUX_HOST=true 85 LINUX_HOST=true
83 ;; 86 ;;
84 esac 87 esac
85 AM_CONDITIONAL(LINUX_HOST, test x$LINUX_HOST = xtrue) 88 AM_CONDITIONAL(LINUX_HOST, test x$LINUX_HOST = xtrue)
86 89
87 # Only use Android support headers when compiling for Android 90 # Only use Android support headers when compiling for Android
88 case $host in 91 case $host in
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 [selftest=false]) 154 [selftest=false])
152 AM_CONDITIONAL(SELFTEST, test x$selftest = xtrue) 155 AM_CONDITIONAL(SELFTEST, test x$selftest = xtrue)
153 156
154 AC_CONFIG_FILES(m4_flatten([ 157 AC_CONFIG_FILES(m4_flatten([
155 breakpad.pc 158 breakpad.pc
156 breakpad-client.pc 159 breakpad-client.pc
157 Makefile 160 Makefile
158 ])) 161 ]))
159 162
160 AC_OUTPUT 163 AC_OUTPUT
OLDNEW
« no previous file with comments | « configure ('k') | m4/ax_cxx_compile_stdcxx.m4 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698