OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |