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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 AC_SYS_LARGEFILE | 73 AC_SYS_LARGEFILE |
74 m4_include(m4/ax_pthread.m4) | 74 m4_include(m4/ax_pthread.m4) |
75 AX_PTHREAD | 75 AX_PTHREAD |
76 AC_CHECK_HEADERS([a.out.h]) | 76 AC_CHECK_HEADERS([a.out.h]) |
77 | 77 |
78 # Only build Linux client libs when compiling for Linux | 78 # Only build Linux client libs when compiling for Linux |
79 case $host in | 79 case $host in |
80 *-*-linux* | *-android* ) | 80 *-*-linux* | *-android* ) |
81 LINUX_HOST=true | 81 LINUX_HOST=true |
82 ;; | 82 ;; |
| 83 *-*-cygwin* ) |
| 84 WINDOWS_HOST=true |
| 85 ;; |
83 esac | 86 esac |
| 87 |
84 AM_CONDITIONAL(LINUX_HOST, test x$LINUX_HOST = xtrue) | 88 AM_CONDITIONAL(LINUX_HOST, test x$LINUX_HOST = xtrue) |
| 89 AM_CONDITIONAL(WINDOWS_HOST, test x$WINDOWS_HOST = xtrue) |
85 | 90 |
86 # Only use Android support headers when compiling for Android | 91 # Only use Android support headers when compiling for Android |
87 case $host in | 92 case $host in |
88 *-android*) | 93 *-android*) |
89 ANDROID_HOST=true | 94 ANDROID_HOST=true |
90 ;; | 95 ;; |
91 esac | 96 esac |
92 AM_CONDITIONAL(ANDROID_HOST, test x$ANDROID_HOST = xtrue) | 97 AM_CONDITIONAL(ANDROID_HOST, test x$ANDROID_HOST = xtrue) |
93 | 98 |
94 AC_ARG_ENABLE(processor, | 99 AC_ARG_ENABLE(processor, |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 [selftest=false]) | 155 [selftest=false]) |
151 AM_CONDITIONAL(SELFTEST, test x$selftest = xtrue) | 156 AM_CONDITIONAL(SELFTEST, test x$selftest = xtrue) |
152 | 157 |
153 AC_CONFIG_FILES(m4_flatten([ | 158 AC_CONFIG_FILES(m4_flatten([ |
154 breakpad.pc | 159 breakpad.pc |
155 breakpad-client.pc | 160 breakpad-client.pc |
156 Makefile | 161 Makefile |
157 ])) | 162 ])) |
158 | 163 |
159 AC_OUTPUT | 164 AC_OUTPUT |
OLD | NEW |