"Fossies" - the Fresh Open Source Software Archive
Member "bayonne-1.2.16/m4/ost_reentrant.m4" (10 Jun 2003, 1438 Bytes) of package /linux/misc/old/bayonne-1.2.16.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard
) with prefixed line numbers.
Alternatively you can here view
the uninterpreted source code file.
1 dnl Copyright (C) 1999-2001 Open Source Telecom Corporation.
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.
8 dnl This program is distributed in the hope that it will be useful,
9 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
10 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 dnl GNU General Public License for more details.
13 dnl You should have received a copy of the GNU General Public License
14 dnl along with this program; if not, write to the Free Software
15 dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 dnl As a special exception to the GNU General Public License, if you
18 dnl distribute this file as part of a program that contains a configuration
19 dnl script generated by Autoconf, you may include it under the same
20 dnl distribution terms that you use for the rest of that program.
24 AC_CHECK_LIB(c_r, localtime_r,[
25 LIBS="$LIBS -lc_r"
26 AC_DEFINE(HAVE_STRTOK_R, , [reentrant strtok])
27 AC_DEFINE(HAVE_LOCALTIME_R, , [reentrant localtime])],[
28 AC_CHECK_LIB(c, strtok_r, AC_DEFINE(HAVE_STRTOK_R, ))
29 AC_CHECK_LIB(c, localtime_r, AC_DEFINE(HAVE_LOCALTIME_R, ))