4 |
dnl Copyright (C) 1998, 1999 Free Software Foundation, Inc. |
dnl Copyright (C) 1998, 1999 Free Software Foundation, Inc. |
5 |
dnl |
dnl |
6 |
dnl This file is part of GUILE. |
dnl This file is part of GUILE. |
7 |
dnl |
dnl |
8 |
dnl GUILE is free software; you can redistribute it and/or modify |
dnl GUILE is free software; you can redistribute it and/or modify |
9 |
dnl it under the terms of the GNU General Public License as |
dnl it under the terms of the GNU General Public License as |
10 |
dnl published by the Free Software Foundation; either version 2, or |
dnl published by the Free Software Foundation; either version 2, or |
11 |
dnl (at your option) any later version. |
dnl (at your option) any later version. |
12 |
dnl |
dnl |
13 |
dnl GUILE is distributed in the hope that it will be useful, but |
dnl GUILE is distributed in the hope that it will be useful, but |
14 |
dnl WITHOUT ANY WARRANTY; without even the implied warranty of |
dnl WITHOUT ANY WARRANTY; without even the implied warranty of |
15 |
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 |
dnl GNU General Public License for more details. |
dnl GNU General Public License for more details. |
17 |
dnl |
dnl |
18 |
dnl You should have received a copy of the GNU General Public |
dnl You should have received a copy of the GNU General Public |
19 |
dnl License along with GUILE; see the file COPYING. If not, write |
dnl License along with GUILE; see the file COPYING. If not, write |
20 |
dnl to the Free Software Foundation, Inc., 59 Temple Place, Suite |
dnl to the Free Software Foundation, Inc., 59 Temple Place, Suite |
50 |
dnl THREAD_LIBS_INSTALLED because the thread library might be in |
dnl THREAD_LIBS_INSTALLED because the thread library might be in |
51 |
dnl this tree, and be built using libtool. This means that: |
dnl this tree, and be built using libtool. This means that: |
52 |
dnl 1) when building other executables in this tree, one must |
dnl 1) when building other executables in this tree, one must |
53 |
dnl pass the relative path to the ../libfoo.la file, but |
dnl pass the relative path to the ../libfoo.la file, but |
54 |
dnl 2) once the whole package has been installed, users should |
dnl 2) once the whole package has been installed, users should |
55 |
dnl link using -lfoo. |
dnl link using -lfoo. |
56 |
dnl Normally, we only care about the first case, but since the |
dnl Normally, we only care about the first case, but since the |
57 |
dnl guile-config script needs to give users all the flags they need |
dnl guile-config script needs to give users all the flags they need |
58 |
dnl to link programs against guile, the GUILE_WITH_THREADS macro |
dnl to link programs against guile, the GUILE_WITH_THREADS macro |
78 |
port_name=i386 |
port_name=i386 |
79 |
qtmd_h=md/i386.h |
qtmd_h=md/i386.h |
80 |
qtmds_s=md/i386.s |
qtmds_s=md/i386.s |
81 |
qtmdc_c=md/null.c |
qtmdc_c=md/null.c |
82 |
qtdmdb_s= |
qtdmdb_s= |
83 |
case "$host" in |
case "$host" in |
84 |
*-*-netbsd* ) |
*-*-netbsd* ) |
97 |
qtmd_h=md/mips.h |
qtmd_h=md/mips.h |
98 |
qtmds_s=md/mips-irix5.s |
qtmds_s=md/mips-irix5.s |
99 |
qtmdc_c=md/null.c |
qtmdc_c=md/null.c |
100 |
qtdmdb_s=md/mips_b.s |
qtdmdb_s=md/mips_b.s |
101 |
;; |
;; |
102 |
mips-*-*) |
mips-*-*) |
103 |
port_name=mips |
port_name=mips |
104 |
qtmd_h=md/mips.h |
qtmd_h=md/mips.h |
105 |
qtmds_s=md/mips.s |
qtmds_s=md/mips.s |
106 |
qtmdc_c=md/null.c |
qtmdc_c=md/null.c |
107 |
qtdmdb_s=md/mips_b.s |
qtdmdb_s=md/mips_b.s |
108 |
;; |
;; |
109 |
sparc-*-sunos*) |
sparc-*-sunos*) |
110 |
port_name=sparc-sunos |
port_name=sparc-sunos |
111 |
qtmd_h=md/sparc.h |
qtmd_h=md/sparc.h |
112 |
qtmds_s=md/_sparc.s |
qtmds_s=md/_sparc.s |
113 |
qtmdc_c=md/null.c |
qtmdc_c=md/null.c |
114 |
qtdmdb_s=md/_sparc_b.s |
qtdmdb_s=md/_sparc_b.s |
115 |
;; |
;; |
116 |
sparc-*-*) |
sparc*-*-*) |
117 |
port_name=sparc |
port_name=sparc |
118 |
qtmd_h=md/sparc.h |
qtmd_h=md/sparc.h |
119 |
qtmds_s=md/sparc.s |
qtmds_s=md/sparc.s |
120 |
qtmdc_c=md/null.c |
qtmdc_c=md/null.c |
121 |
qtdmdb_s=md/sparc_b.s |
qtdmdb_s=md/sparc_b.s |
122 |
;; |
;; |
123 |
alpha*-*-*) |
alpha*-*-*) |
124 |
port_name=alpha |
port_name=alpha |
125 |
qtmd_h=md/axp.h |
qtmd_h=md/axp.h |
126 |
qtmds_s=md/axp.s |
qtmds_s=md/axp.s |
127 |
qtmdc_c=md/null.c |
qtmdc_c=md/null.c |
128 |
qtdmdb_s=md/axp_b.s |
qtdmdb_s=md/axp_b.s |
129 |
;; |
;; |
130 |
*) |
*) |
131 |
echo "Unknown configuration; threads package disabled" |
echo "Unknown configuration; threads package disabled" |
154 |
AC_SUBST(THREAD_LIBS_LOCAL) |
AC_SUBST(THREAD_LIBS_LOCAL) |
155 |
AC_SUBST(THREAD_LIBS_INSTALLED) |
AC_SUBST(THREAD_LIBS_INSTALLED) |
156 |
]) |
]) |
157 |
|
|
158 |
|
dnl qthreads.m4 ends here |