Last change
on this file since 623 was
444,
checked in by satin@…, 7 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
1.1 KB
|
Rev | Line | |
---|
[444] | 1 | dnl Copyright (C) 2010 Free Software Foundation, Inc. |
---|
| 2 | dnl This file is free software, distributed under the terms of the GNU |
---|
| 3 | dnl General Public License. As a special exception to the GNU General |
---|
| 4 | dnl Public License, this file may be distributed as part of a program |
---|
| 5 | dnl that contains a configuration script generated by Autoconf, under |
---|
| 6 | dnl the same distribution terms as the rest of that program. |
---|
| 7 | |
---|
| 8 | dnl usage: ACX_LT_HOST_FLAGS([default_flags]) |
---|
| 9 | dnl Defines and AC_SUBSTs lt_host_flags |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | AC_DEFUN([ACX_LT_HOST_FLAGS], [ |
---|
| 13 | AC_REQUIRE([AC_CANONICAL_SYSTEM]) |
---|
| 14 | |
---|
| 15 | case $host in |
---|
| 16 | *-cygwin* | *-mingw*) |
---|
| 17 | # 'host' will be top-level target in the case of a target lib, |
---|
| 18 | # we must compare to with_cross_host to decide if this is a native |
---|
| 19 | # or cross-compiler and select where to install dlls appropriately. |
---|
| 20 | if test -n "$with_cross_host" && |
---|
| 21 | test x"$with_cross_host" != x"no"; then |
---|
| 22 | lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"'; |
---|
| 23 | else |
---|
| 24 | lt_host_flags='-no-undefined -bindir "$(bindir)"'; |
---|
| 25 | fi |
---|
| 26 | ;; |
---|
| 27 | *) |
---|
| 28 | lt_host_flags=[$1] |
---|
| 29 | ;; |
---|
| 30 | esac |
---|
| 31 | |
---|
| 32 | AC_SUBST(lt_host_flags) |
---|
| 33 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.