1 | # Configure.in for libgloss/sparc/libsys |
---|
2 | # Copyright (c) 1996 Cygnus Support |
---|
3 | # All rights reserved. |
---|
4 | # |
---|
5 | # Redistribution and use in source and binary forms are permitted |
---|
6 | # provided that the above copyright notice and this paragraph are |
---|
7 | # duplicated in all such forms and that any documentation, |
---|
8 | # advertising materials, and other materials related to such |
---|
9 | # distribution and use acknowledge that the software was developed |
---|
10 | # at Cygnus Support, Inc. Cygnus Support, Inc. may not be used to |
---|
11 | # endorse or promote products derived from this software without |
---|
12 | # specific prior written permission. |
---|
13 | # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR |
---|
14 | # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
---|
15 | # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
---|
16 | |
---|
17 | dnl Process this file with autoconf to produce a configure script. |
---|
18 | AC_PREREQ(2.59) |
---|
19 | AC_INIT(libsys-crt0.S) |
---|
20 | |
---|
21 | if test "$srcdir" = "." ; then |
---|
22 | mdir=`echo "${with_multisubdir}/" \ |
---|
23 | | sed -e 's,\([[^/]][[^/]]*\),..,g' -e 's,^/$,,'` |
---|
24 | AC_CONFIG_AUX_DIR(${mdir}../../../..) |
---|
25 | else |
---|
26 | AC_CONFIG_AUX_DIR(${srcdir}/../../..) |
---|
27 | fi |
---|
28 | |
---|
29 | AC_PROG_INSTALL |
---|
30 | |
---|
31 | LIB_AC_PROG_CC |
---|
32 | AS=${AS-as} |
---|
33 | AC_SUBST(AS) |
---|
34 | AR=${AR-ar} |
---|
35 | AC_SUBST(AR) |
---|
36 | LD=${LD-ld} |
---|
37 | AC_SUBST(LD) |
---|
38 | AC_PROG_RANLIB |
---|
39 | LIB_AM_PROG_AS |
---|
40 | |
---|
41 | host_makefile_frag=${srcdir}/../../config/default.mh |
---|
42 | |
---|
43 | dnl We have to assign the same value to other variables because autoconf |
---|
44 | dnl doesn't provide a mechanism to substitute a replacement keyword with |
---|
45 | dnl arbitrary data or pathnames. |
---|
46 | dnl |
---|
47 | host_makefile_frag_path=$host_makefile_frag |
---|
48 | AC_SUBST(host_makefile_frag_path) |
---|
49 | AC_SUBST_FILE(host_makefile_frag) |
---|
50 | |
---|
51 | AC_OUTPUT(Makefile) |
---|