ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/configure
(Generate patch)

Comparing Convert-UUlib/uulib/configure (file contents):
Revision 1.9 by root, Mon Aug 24 04:38:23 2009 UTC vs.
Revision 1.10 by root, Mon Aug 24 06:15:00 2009 UTC

1195else 1195else
1196 echo "$ac_t""no" 1>&6 1196 echo "$ac_t""no" 1>&6
1197fi 1197fi
1198done 1198done
1199 1199
1200for ac_func in gettimeofday fgetc_unlocked 1200
1201CFLAGS="$CFLAGS -D_GNU_SOURCE"
1202for ac_func in gettimeofday fgetc_unlocked strcasecmp strncasecmp strcasestr
1201do 1203do
1202echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1204echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1203echo "configure:1204: checking for $ac_func" >&5 1205echo "configure:1206: checking for $ac_func" >&5
1204if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1206if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1205 echo $ac_n "(cached) $ac_c" 1>&6 1207 echo $ac_n "(cached) $ac_c" 1>&6
1206else 1208else
1207 cat > conftest.$ac_ext <<EOF 1209 cat > conftest.$ac_ext <<EOF
1208#line 1209 "configure" 1210#line 1211 "configure"
1209#include "confdefs.h" 1211#include "confdefs.h"
1210/* System header to define __stub macros and hopefully few prototypes, 1212/* System header to define __stub macros and hopefully few prototypes,
1211 which can conflict with char $ac_func(); below. */ 1213 which can conflict with char $ac_func(); below. */
1212#include <assert.h> 1214#include <assert.h>
1213/* Override any gcc2 internal prototype to avoid an error. */ 1215/* Override any gcc2 internal prototype to avoid an error. */
1226$ac_func(); 1228$ac_func();
1227#endif 1229#endif
1228 1230
1229; return 0; } 1231; return 0; }
1230EOF 1232EOF
1231if { (eval echo configure:1232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1233if { (eval echo configure:1234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1232 rm -rf conftest* 1234 rm -rf conftest*
1233 eval "ac_cv_func_$ac_func=yes" 1235 eval "ac_cv_func_$ac_func=yes"
1234else 1236else
1235 echo "configure: failed program was:" >&5 1237 echo "configure: failed program was:" >&5
1236 cat conftest.$ac_ext >&5 1238 cat conftest.$ac_ext >&5
1252fi 1254fi
1253done 1255done
1254 1256
1255 1257
1256echo $ac_n "checking for tempnam""... $ac_c" 1>&6 1258echo $ac_n "checking for tempnam""... $ac_c" 1>&6
1257echo "configure:1258: checking for tempnam" >&5 1259echo "configure:1260: checking for tempnam" >&5
1258if eval "test \"`echo '$''{'ac_cv_func_tempnam'+set}'`\" = set"; then 1260if eval "test \"`echo '$''{'ac_cv_func_tempnam'+set}'`\" = set"; then
1259 echo $ac_n "(cached) $ac_c" 1>&6 1261 echo $ac_n "(cached) $ac_c" 1>&6
1260else 1262else
1261 cat > conftest.$ac_ext <<EOF 1263 cat > conftest.$ac_ext <<EOF
1262#line 1263 "configure" 1264#line 1265 "configure"
1263#include "confdefs.h" 1265#include "confdefs.h"
1264/* System header to define __stub macros and hopefully few prototypes, 1266/* System header to define __stub macros and hopefully few prototypes,
1265 which can conflict with char tempnam(); below. */ 1267 which can conflict with char tempnam(); below. */
1266#include <assert.h> 1268#include <assert.h>
1267/* Override any gcc2 internal prototype to avoid an error. */ 1269/* Override any gcc2 internal prototype to avoid an error. */
1280tempnam(); 1282tempnam();
1281#endif 1283#endif
1282 1284
1283; return 0; } 1285; return 0; }
1284EOF 1286EOF
1285if { (eval echo configure:1286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1287if { (eval echo configure:1288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1286 rm -rf conftest* 1288 rm -rf conftest*
1287 eval "ac_cv_func_tempnam=yes" 1289 eval "ac_cv_func_tempnam=yes"
1288else 1290else
1289 echo "configure: failed program was:" >&5 1291 echo "configure: failed program was:" >&5
1290 cat conftest.$ac_ext >&5 1292 cat conftest.$ac_ext >&5
1305 1307
1306fi 1308fi
1307 1309
1308 1310
1309echo $ac_n "checking for chmod""... $ac_c" 1>&6 1311echo $ac_n "checking for chmod""... $ac_c" 1>&6
1310echo "configure:1311: checking for chmod" >&5 1312echo "configure:1313: checking for chmod" >&5
1311if eval "test \"`echo '$''{'ac_cv_func_chmod'+set}'`\" = set"; then 1313if eval "test \"`echo '$''{'ac_cv_func_chmod'+set}'`\" = set"; then
1312 echo $ac_n "(cached) $ac_c" 1>&6 1314 echo $ac_n "(cached) $ac_c" 1>&6
1313else 1315else
1314 cat > conftest.$ac_ext <<EOF 1316 cat > conftest.$ac_ext <<EOF
1315#line 1316 "configure" 1317#line 1318 "configure"
1316#include "confdefs.h" 1318#include "confdefs.h"
1317/* System header to define __stub macros and hopefully few prototypes, 1319/* System header to define __stub macros and hopefully few prototypes,
1318 which can conflict with char chmod(); below. */ 1320 which can conflict with char chmod(); below. */
1319#include <assert.h> 1321#include <assert.h>
1320/* Override any gcc2 internal prototype to avoid an error. */ 1322/* Override any gcc2 internal prototype to avoid an error. */
1333chmod(); 1335chmod();
1334#endif 1336#endif
1335 1337
1336; return 0; } 1338; return 0; }
1337EOF 1339EOF
1338if { (eval echo configure:1339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1340if { (eval echo configure:1341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1339 rm -rf conftest* 1341 rm -rf conftest*
1340 eval "ac_cv_func_chmod=yes" 1342 eval "ac_cv_func_chmod=yes"
1341else 1343else
1342 echo "configure: failed program was:" >&5 1344 echo "configure: failed program was:" >&5
1343 cat conftest.$ac_ext >&5 1345 cat conftest.$ac_ext >&5
1356else 1358else
1357 echo "$ac_t""no" 1>&6 1359 echo "$ac_t""no" 1>&6
1358fi 1360fi
1359 1361
1360echo $ac_n "checking for umask""... $ac_c" 1>&6 1362echo $ac_n "checking for umask""... $ac_c" 1>&6
1361echo "configure:1362: checking for umask" >&5 1363echo "configure:1364: checking for umask" >&5
1362if eval "test \"`echo '$''{'ac_cv_func_umask'+set}'`\" = set"; then 1364if eval "test \"`echo '$''{'ac_cv_func_umask'+set}'`\" = set"; then
1363 echo $ac_n "(cached) $ac_c" 1>&6 1365 echo $ac_n "(cached) $ac_c" 1>&6
1364else 1366else
1365 cat > conftest.$ac_ext <<EOF 1367 cat > conftest.$ac_ext <<EOF
1366#line 1367 "configure" 1368#line 1369 "configure"
1367#include "confdefs.h" 1369#include "confdefs.h"
1368/* System header to define __stub macros and hopefully few prototypes, 1370/* System header to define __stub macros and hopefully few prototypes,
1369 which can conflict with char umask(); below. */ 1371 which can conflict with char umask(); below. */
1370#include <assert.h> 1372#include <assert.h>
1371/* Override any gcc2 internal prototype to avoid an error. */ 1373/* Override any gcc2 internal prototype to avoid an error. */
1384umask(); 1386umask();
1385#endif 1387#endif
1386 1388
1387; return 0; } 1389; return 0; }
1388EOF 1390EOF
1389if { (eval echo configure:1390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1391if { (eval echo configure:1392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1390 rm -rf conftest* 1392 rm -rf conftest*
1391 eval "ac_cv_func_umask=yes" 1393 eval "ac_cv_func_umask=yes"
1392else 1394else
1393 echo "configure: failed program was:" >&5 1395 echo "configure: failed program was:" >&5
1394 cat conftest.$ac_ext >&5 1396 cat conftest.$ac_ext >&5
1407else 1409else
1408 echo "$ac_t""no" 1>&6 1410 echo "$ac_t""no" 1>&6
1409fi 1411fi
1410 1412
1411echo $ac_n "checking for mkstemp""... $ac_c" 1>&6 1413echo $ac_n "checking for mkstemp""... $ac_c" 1>&6
1412echo "configure:1413: checking for mkstemp" >&5 1414echo "configure:1415: checking for mkstemp" >&5
1413if eval "test \"`echo '$''{'ac_cv_func_mkstemp'+set}'`\" = set"; then 1415if eval "test \"`echo '$''{'ac_cv_func_mkstemp'+set}'`\" = set"; then
1414 echo $ac_n "(cached) $ac_c" 1>&6 1416 echo $ac_n "(cached) $ac_c" 1>&6
1415else 1417else
1416 cat > conftest.$ac_ext <<EOF 1418 cat > conftest.$ac_ext <<EOF
1417#line 1418 "configure" 1419#line 1420 "configure"
1418#include "confdefs.h" 1420#include "confdefs.h"
1419/* System header to define __stub macros and hopefully few prototypes, 1421/* System header to define __stub macros and hopefully few prototypes,
1420 which can conflict with char mkstemp(); below. */ 1422 which can conflict with char mkstemp(); below. */
1421#include <assert.h> 1423#include <assert.h>
1422/* Override any gcc2 internal prototype to avoid an error. */ 1424/* Override any gcc2 internal prototype to avoid an error. */
1435mkstemp(); 1437mkstemp();
1436#endif 1438#endif
1437 1439
1438; return 0; } 1440; return 0; }
1439EOF 1441EOF
1440if { (eval echo configure:1441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1442if { (eval echo configure:1443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1441 rm -rf conftest* 1443 rm -rf conftest*
1442 eval "ac_cv_func_mkstemp=yes" 1444 eval "ac_cv_func_mkstemp=yes"
1443else 1445else
1444 echo "configure: failed program was:" >&5 1446 echo "configure: failed program was:" >&5
1445 cat conftest.$ac_ext >&5 1447 cat conftest.$ac_ext >&5
1464# strerror might be internally defined. this would cause a 1466# strerror might be internally defined. this would cause a
1465# CHECK_FUNCS(strerror) to fail because it'd be called with 1467# CHECK_FUNCS(strerror) to fail because it'd be called with
1466# zero arguments. So use our own code. 1468# zero arguments. So use our own code.
1467# 1469#
1468echo $ac_n "checking for strerror""... $ac_c" 1>&6 1470echo $ac_n "checking for strerror""... $ac_c" 1>&6
1469echo "configure:1470: checking for strerror" >&5 1471echo "configure:1472: checking for strerror" >&5
1470cat > conftest.$ac_ext <<EOF 1472cat > conftest.$ac_ext <<EOF
1471#line 1472 "configure" 1473#line 1474 "configure"
1472#include "confdefs.h" 1474#include "confdefs.h"
1473 1475
1474char *blubb() { return (char *) strerror (42); } 1476char *blubb() { return (char *) strerror (42); }
1475 1477
1476int main() { 1478int main() {
1477 1479
1478(void) blubb(); 1480(void) blubb();
1479 1481
1480; return 0; } 1482; return 0; }
1481EOF 1483EOF
1482if { (eval echo configure:1483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1484if { (eval echo configure:1485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1483 rm -rf conftest* 1485 rm -rf conftest*
1484 have_strerror=yes 1486 have_strerror=yes
1485else 1487else
1486 echo "configure: failed program was:" >&5 1488 echo "configure: failed program was:" >&5
1487 cat conftest.$ac_ext >&5 1489 cat conftest.$ac_ext >&5
1494fi 1496fi
1495rm -f conftest* 1497rm -f conftest*
1496echo "$ac_t""$have_strerror" 1>&6 1498echo "$ac_t""$have_strerror" 1>&6
1497 1499
1498echo $ac_n "checking for stdin""... $ac_c" 1>&6 1500echo $ac_n "checking for stdin""... $ac_c" 1>&6
1499echo "configure:1500: checking for stdin" >&5 1501echo "configure:1502: checking for stdin" >&5
1500cat > conftest.$ac_ext <<EOF 1502cat > conftest.$ac_ext <<EOF
1501#line 1502 "configure" 1503#line 1504 "configure"
1502#include "confdefs.h" 1504#include "confdefs.h"
1503 1505
1504#include <stdio.h> 1506#include <stdio.h>
1505char *blubb() { FILE *in, *out; in=stdin; out=stdout; return (char*)0; } 1507char *blubb() { FILE *in, *out; in=stdin; out=stdout; return (char*)0; }
1506 1508
1508 1510
1509(void) blubb(); 1511(void) blubb();
1510 1512
1511; return 0; } 1513; return 0; }
1512EOF 1514EOF
1513if { (eval echo configure:1514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1515if { (eval echo configure:1516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1514 rm -rf conftest* 1516 rm -rf conftest*
1515 have_stdio=yes 1517 have_stdio=yes
1516else 1518else
1517 echo "configure: failed program was:" >&5 1519 echo "configure: failed program was:" >&5
1518 cat conftest.$ac_ext >&5 1520 cat conftest.$ac_ext >&5
1529if test "$ac_cv_header_stdc" = "no" ; then 1531if test "$ac_cv_header_stdc" = "no" ; then
1530 for ac_hdr in stdarg.h varargs.h 1532 for ac_hdr in stdarg.h varargs.h
1531do 1533do
1532ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1534ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1533echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1535echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1534echo "configure:1535: checking for $ac_hdr" >&5 1536echo "configure:1537: checking for $ac_hdr" >&5
1535if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1537if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1536 echo $ac_n "(cached) $ac_c" 1>&6 1538 echo $ac_n "(cached) $ac_c" 1>&6
1537else 1539else
1538 cat > conftest.$ac_ext <<EOF 1540 cat > conftest.$ac_ext <<EOF
1539#line 1540 "configure" 1541#line 1542 "configure"
1540#include "confdefs.h" 1542#include "confdefs.h"
1541#include <$ac_hdr> 1543#include <$ac_hdr>
1542EOF 1544EOF
1543ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1545ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1544{ (eval echo configure:1545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1546{ (eval echo configure:1547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1545ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1547ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1546if test -z "$ac_err"; then 1548if test -z "$ac_err"; then
1547 rm -rf conftest* 1549 rm -rf conftest*
1548 eval "ac_cv_header_$ac_safe=yes" 1550 eval "ac_cv_header_$ac_safe=yes"
1549else 1551else
1617 1619
1618# 1620#
1619# set version number 1621# set version number
1620# 1622#
1621echo $ac_n "checking version number""... $ac_c" 1>&6 1623echo $ac_n "checking version number""... $ac_c" 1>&6
1622echo "configure:1623: checking version number" >&5 1624echo "configure:1625: checking version number" >&5
1623version_number="$VERSION"pl"$PATCH" 1625version_number="$VERSION"pl"$PATCH"
1624echo "$ac_t""$version_number" 1>&6 1626echo "$ac_t""$version_number" 1>&6
1625 1627
1626 1628
1627 1629

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines