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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 AM_CONDITIONAL(LINUX_HOST, test x$LINUX_HOST = xtrue) | 88 AM_CONDITIONAL(LINUX_HOST, test x$LINUX_HOST = xtrue) |
89 | 89 |
90 # Only use Android support headers when compiling for Android | 90 # Only use Android support headers when compiling for Android |
91 case $host in | 91 case $host in |
92 *-android*) | 92 *-android*) |
93 ANDROID_HOST=true | 93 ANDROID_HOST=true |
94 ;; | 94 ;; |
95 esac | 95 esac |
96 AM_CONDITIONAL(ANDROID_HOST, test x$ANDROID_HOST = xtrue) | 96 AM_CONDITIONAL(ANDROID_HOST, test x$ANDROID_HOST = xtrue) |
97 | 97 |
| 98 # Some tools (like mac ones) only support x86 currently. |
| 99 case $host_cpu in |
| 100 i?86|x86_64) |
| 101 X86_HOST=true |
| 102 ;; |
| 103 esac |
| 104 AM_CONDITIONAL(X86_HOST, test x$X86_HOST = xtrue) |
| 105 |
98 AC_ARG_ENABLE(processor, | 106 AC_ARG_ENABLE(processor, |
99 AS_HELP_STRING([--disable-processor], | 107 AS_HELP_STRING([--disable-processor], |
100 [Don't build processor library] | 108 [Don't build processor library] |
101 [(default is no)]), | 109 [(default is no)]), |
102 [case "${enableval}" in | 110 [case "${enableval}" in |
103 yes) | 111 yes) |
104 disable_processor=false | 112 disable_processor=false |
105 ;; | 113 ;; |
106 no) | 114 no) |
107 disable_processor=true | 115 disable_processor=true |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 [selftest=false]) | 195 [selftest=false]) |
188 AM_CONDITIONAL(SELFTEST, test x$selftest = xtrue) | 196 AM_CONDITIONAL(SELFTEST, test x$selftest = xtrue) |
189 | 197 |
190 AC_CONFIG_FILES(m4_flatten([ | 198 AC_CONFIG_FILES(m4_flatten([ |
191 breakpad.pc | 199 breakpad.pc |
192 breakpad-client.pc | 200 breakpad-client.pc |
193 Makefile | 201 Makefile |
194 ])) | 202 ])) |
195 | 203 |
196 AC_OUTPUT | 204 AC_OUTPUT |
OLD | NEW |