]>
Commit | Line | Data |
---|---|---|
8e4735df CV |
1 | dnl Copyright (c) 2006, Red Hat, Inc. |
2 | dnl | |
3 | dnl This program is free software; you can redistribute it and/or modify | |
4 | dnl it under the terms of the GNU General Public License as published by | |
5 | dnl the Free Software Foundation; either version 2 of the License, or | |
6 | dnl (at your option) any later version. | |
7 | dnl | |
8 | dnl A copy of the GNU General Public License can be found at | |
9 | dnl http://www.gnu.org/ | |
10 | dnl | |
11 | dnl Written by Christopher Faylor <cgf@redhat.com> | |
12 | dnl Changed for lsa subdir by Corinna Vinschen <corinna@vinschen.de> | |
13 | ||
14 | dnl Autoconf configure script for Cygwin utilities. | |
15 | dnl | |
16 | dnl Process this file with autoconf to produce a configure script. | |
17 | ||
18 | AC_PREREQ(2.59) | |
19 | AC_INIT(Makefile.in) | |
20 | ||
21 | AC_CONFIG_AUX_DIR(../..) | |
22 | ||
02fbb3bb | 23 | AC_NO_EXECUTABLES |
8e4735df CV |
24 | AC_CANONICAL_SYSTEM |
25 | ||
26 | LIB_AC_PROG_CC | |
27 | ||
61522196 CV |
28 | case "$target_cpu" in |
29 | i?86) | |
30 | AC_CHECK_PROGS(MINGW32_CC, i686-w64-mingw32-gcc) | |
31 | test -z "$MINGW32_CC" && AC_MSG_ERROR([no acceptable mingw32 cc found in \$PATH]) | |
32 | ;; | |
33 | esac | |
4941ce49 | 34 | |
61522196 | 35 | AC_CHECK_PROGS(MINGW64_CC, x86_64-w64-mingw32-gcc) |
efa82614 | 36 | test -z "$MINGW64_CC" && AC_MSG_ERROR([no acceptable mingw64 cc found in \$PATH]) |
8e4735df | 37 | |
efa82614 | 38 | AC_ARG_PROGRAM |
8e4735df CV |
39 | |
40 | AC_PROG_INSTALL | |
41 | ||
42 | AC_OUTPUT(Makefile cyglsa.def:cyglsa.din) |