Changeset dab82f29
- Timestamp:
- Mar 28, 2009, 5:00:34 PM (15 years ago)
- Branches:
- owl
- Children:
- 4de643d
- Parents:
- 5189631
- Files:
-
- 1 added
- 56 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r0154e2d rdab82f29 1 1 $Id$ 2 2 3 2.1.12pre 4 Don't crash when sending/logging outgoing 5 AIM message and not logged in [BZ 90] 6 Don't crash when senging to someone not on AIM buddy list [BZ 94] 7 (patch from Alex Vandiver) 8 3 2.1.12-pre-6 4 Don't crash on mobile device AIM messages [BZ 20] 5 Don't crash when sending to someone not on AIM buddy list [BZ 94] 6 Fix overflow vulerability in zwrite.c and zcrypt.c 7 Add stack protector and -D_FORTIFY_SOURCE=2 where possible 8 Fix hang [barnowl 4c46dfdebc294ca24fef59924f01688b8ee07dee] 9 Fix segfault on missing subs [barnowl 99dabeed7de6d19acb50f1e73aa0bfe5f9469c02] 10 Fix zcrypt bufffer size bug [barnowl 559076cd86edc3a8317819814dd5877b8bc7c3cb] 11 Fix double free [barnowl e97c4a306ae2c9d2147d83da29fee59918198e70] 12 Memory leak fix [barnowl c0a90c2c7ab97b9465c9873757faf312faa0021e] 13 Memory leak fix [barnowl 95caa16b2e9ba10770d87d0955198c14c2d0e16a] 14 Memory leak fix [barnowl 1716fed8c2650e46892cf6571555eac937266c6e] 15 Add getstyle command [barnowl 216c73421653e3ef0e957aa9a9804e208a77c80e] 16 Binary search for msgid [barnowl 0c8ab5eadbb6ecc97a120c91b9a824b33538c764] 17 File-handle leak [barnowl e78397d6ac5da0de31a4e269c0ba7f3d691857a3] 18 Fix delay in jump from top to bottom [barnowl 801b7ac63b962640debbcfd422cb9a60da5fea31] 19 Load subs in chunks [barnowl 93e883d60051b80bf6d35391f9d76fd7dfd198e3] 20 Load subs in chunks [barnowl f6050ee9b0a171a5031f84409eb181062afacd18] 21 Better zsig logging [barnowl d857b667a5a9b108b1a2a26b4a5513bef2b53f80] 22 free() -> owlfree() [barnowl d524c838ac7c115628424b8ac171c3489622ea3a] 23 Escape AIM users in smartfilters [barnowl af9b92e3e7ccb7de276a94b5c7e5861b24e71eff] 24 Better regex escape chars [barnowl 80e54a7631f091be8c9762adb9746bad38104738] 25 Deal with quotes in smart filters [barnowl 4099cf83702763fa8d1efc4f1582a605431bdb77] 26 Deal with 0 length zephyr fields [barnowl 128171aaf7cefa91a4bb1eada93a19d8fd0c355c] 27 Deal with 0 length zephyr fields [barnowl 50e29e35c64d64e223d378d350a7bc4f038d78f5] 28 Deal with 0 length zephyr fields [barnowl 804ab8af8b6d00bcd7e2402df892db8fbd61a3ec] 29 Leave curmsg on screen after resize [barnowl c0f9e3009bc03e80a44de64cd5f2b4033290236e] 30 Rip out brower stuff [barnowl 8e5935d11c699a7ce5a3e6e9a47799564c696d6a] 31 Rip out browser stuff [barnowl 4f15e8e9ceada0d4b2cc969ebf43b0a1fb3709ea] 32 No passwords in command history [barnowl 6e400cc71aa59e041dce677aadf50dc1f25228e2] 33 Format NOC mssages [barnowl a1bb1980e4bca23b8329cc0e7c0bd5027055ea0a] 34 Expand ~ in loadsubs [barnowl 27d8d835dc6d58c08fae10e75aae306c49215143] 35 Expand ~ in source [barnowl 10d67d57cb29221f63a43a30643c697fc7b38911] 36 Only use resizeterm() if it's available 37 Debian backports 38 Change license to GPLv3 39 9 40 2.1.11 10 41 Don't crash doing zlocate with bad tickets. [BZ 12] -
Makefile.in
rafbf668 rdab82f29 24 24 keypress.c keymap.c keybinding.c cmd.c context.c zcrypt.c \ 25 25 aim.c buddy.c buddylist.c timer.c style.c stylefunc.c errqueue.c \ 26 zbuddylist.c muxevents.c popexec.c26 zbuddylist.c popexec.c select.c 27 27 OWL_SRC = owl.c 28 28 TESTER_SRC = tester.c -
aim.c
r9854278 rdab82f29 1 /* Copyright (c) 2002,2003,2004,2009 James M. Kretchmar 2 * 3 * This file is part of Owl. 4 * 5 * Owl is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * Owl is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with Owl. If not, see <http://www.gnu.org/licenses/>. 17 * 18 * --------------------------------------------------------------- 19 * 20 * As of Owl version 2.1.12 there are patches contributed by 21 * developers of the the branched BarnOwl project, Copyright (c) 22 * 2006-2008 The BarnOwl Developers. All rights reserved. 23 */ 24 1 25 #include <stdio.h> 2 26 #include <stdio.h> … … 239 263 { 240 264 if (message) { 241 owl_function_error( message);265 owl_function_error("%s", message); 242 266 } else { 243 267 owl_function_error("Authentication error on login"); … … 948 972 949 973 if (modname) { 950 if (!(filename = malloc(strlen(priv->aimbinarypath)+1+strlen(modname)+4+1))) {974 if (!(filename = owl_malloc(strlen(priv->aimbinarypath)+1+strlen(modname)+4+1))) { 951 975 /* perror("memrequest: malloc"); */ 952 976 return -1; … … 954 978 sprintf(filename, "%s/%s.ocm", priv->aimbinarypath, modname); 955 979 } else { 956 if (!(filename = malloc(strlen(priv->aimbinarypath)+1+strlen(defaultmod)+1))) {980 if (!(filename = owl_malloc(strlen(priv->aimbinarypath)+1+strlen(defaultmod)+1))) { 957 981 /* perror("memrequest: malloc"); */ 958 982 return -1; … … 964 988 if (!modname) { 965 989 /* perror("memrequest: stat"); */ 966 free(filename);990 owl_free(filename); 967 991 return -1; 968 992 } … … 986 1010 int i; 987 1011 988 free(filename); /* not needed */1012 owl_free(filename); /* not needed */ 989 1013 owl_function_error("getaimdata memrequest: recieved invalid request for 0x%08lx bytes at 0x%08lx (file %s)\n", len, offset, modname); 990 1014 i = 8; … … 993 1017 } 994 1018 995 if (!(buf = malloc(i))) {1019 if (!(buf = owl_malloc(i))) { 996 1020 return -1; 997 1021 } … … 1017 1041 *buflenret = i; 1018 1042 } else { 1019 if (!(buf = malloc(len))) {1020 free(filename);1043 if (!(buf = owl_malloc(len))) { 1044 owl_free(filename); 1021 1045 return -1; 1022 1046 } … … 1024 1048 if (!(f = fopen(filename, "r"))) { 1025 1049 /* perror("memrequest: fopen"); */ 1026 free(filename);1027 free(buf);1050 owl_free(filename); 1051 owl_free(buf); 1028 1052 return -1; 1029 1053 } 1030 1054 1031 free(filename);1055 owl_free(filename); 1032 1056 1033 1057 if (fseek(f, offset, SEEK_SET) == -1) { 1034 1058 /* perror("memrequest: fseek"); */ 1035 1059 fclose(f); 1036 free(buf);1060 owl_free(buf); 1037 1061 return -1; 1038 1062 } … … 1041 1065 /* perror("memrequest: fread"); */ 1042 1066 fclose(f); 1043 free(buf);1067 owl_free(buf); 1044 1068 return -1; 1045 1069 } … … 1076 1100 if (priv->aimbinarypath && (getaimdata(sess, &buf, &buflen, offset, len, modname) == 0)) { 1077 1101 aim_sendmemblock(sess, fr->conn, offset, buflen, buf, AIM_SENDMEMBLOCK_FLAG_ISREQUEST); 1078 free(buf);1102 owl_free(buf); 1079 1103 } else { 1080 1104 owl_function_debugmsg("faimtest_memrequest: unable to use AIM binary (\"%s/%s\"), sending defaults...\n", priv->aimbinarypath, modname); … … 1342 1366 int z; 1343 1367 1344 newbuf = malloc(i+1);1368 newbuf = owl_malloc(i+1); 1345 1369 for (z = 0; z < i; z++) 1346 1370 newbuf[z] = (z % 10)+0x30; 1347 1371 newbuf[i] = '\0'; 1348 1372 /* aim_send_im(sess, userinfo->sn, AIM_IMFLAGS_ACK | AIM_IMFLAGS_AWAY, newbuf); */ 1349 free(newbuf);1373 owl_free(newbuf); 1350 1374 } 1351 1375 } else if (strstr(tmpstr, "seticqstatus")) { … … 1452 1476 * 1453 1477 */ 1454 strncpy(realmsg, args->msg, sizeof(realmsg)); 1478 if (!args->msg) { 1479 if (args->mpmsg.parts->data) { 1480 strncpy(realmsg,args->mpmsg.parts->data, sizeof(realmsg)); 1481 } else { 1482 strncpy(realmsg,"",1); 1483 } 1484 } else { 1485 strncpy(realmsg, args->msg, sizeof(realmsg)); 1486 } 1455 1487 } 1456 1488 … … 1697 1729 1698 1730 /* printf("snac threw error (reason 0x%04x: %s)\n", reason, (reason<msgerrreasonslen)?msgerrreasons[reason]:"unknown"); */ 1699 if (reason<msgerrreasonslen) owl_function_error( msgerrreasons[reason]);1731 if (reason<msgerrreasonslen) owl_function_error("%s", msgerrreasons[reason]); 1700 1732 1701 1733 return 1; … … 1714 1746 1715 1747 /* printf("message to %s bounced (reason 0x%04x: %s)\n", destsn, reason, (reason<msgerrreasonslen)?msgerrreasons[reason]:"unknown"); */ 1716 if (reason<msgerrreasonslen) owl_function_error( msgerrreasons[reason]);1748 if (reason<msgerrreasonslen) owl_function_error("%s", msgerrreasons[reason]); 1717 1749 1718 1750 if (reason==4) { … … 1735 1767 1736 1768 /* printf("user information for %s unavailable (reason 0x%04x: %s)\n", destsn, reason, (reason<msgerrreasonslen)?msgerrreasons[reason]:"unknown"); */ 1737 if (reason<msgerrreasonslen) owl_function_error( msgerrreasons[reason]);1769 if (reason<msgerrreasonslen) owl_function_error("%s", msgerrreasons[reason]); 1738 1770 1739 1771 return 1; … … 2310 2342 } 2311 2343 2344 void owl_process_aim() 2345 { 2346 if (owl_global_is_doaimevents(&g)) { 2347 owl_aim_process_events(); 2348 } 2349 } 2312 2350 2313 2351 /**********************************************************************************/ -
buddy.c
rf4d0975 rdab82f29 1 /* Copyright (c) 2002,2003,2004,2009 James M. Kretchmar 2 * 3 * This file is part of Owl. 4 * 5 * Owl is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * Owl is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with Owl. If not, see <http://www.gnu.org/licenses/>. 17 * 18 * --------------------------------------------------------------- 19 * 20 * As of Owl version 2.1.12 there are patches contributed by 21 * developers of the the branched BarnOwl project, Copyright (c) 22 * 2006-2008 The BarnOwl Developers. All rights reserved. 23 */ 24 1 25 #include "owl.h" 2 26 -
buddylist.c
r257a22f rdab82f29 1 /* Copyright (c) 2002,2003,2004,2009 James M. Kretchmar 2 * 3 * This file is part of Owl. 4 * 5 * Owl is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * Owl is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with Owl. If not, see <http://www.gnu.org/licenses/>. 17 * 18 * --------------------------------------------------------------- 19 * 20 * As of Owl version 2.1.12 there are patches contributed by 21 * developers of the the branched BarnOwl project, Copyright (c) 22 * 2006-2008 The BarnOwl Developers. All rights reserved. 23 */ 24 1 25 #include "owl.h" 2 26 -
cmd.c
rf1e629d rdab82f29 1 /* Copyright (c) 2002,2003,2004,2009 James M. Kretchmar 2 * 3 * This file is part of Owl. 4 * 5 * Owl is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * Owl is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with Owl. If not, see <http://www.gnu.org/licenses/>. 17 * 18 * --------------------------------------------------------------- 19 * 20 * As of Owl version 2.1.12 there are patches contributed by 21 * developers of the the branched BarnOwl project, Copyright (c) 22 * 2006-2008 The BarnOwl Developers. All rights reserved. 23 */ 24 1 25 #include <stdio.h> 2 26 #include <stdlib.h> -
commands.c
r5e0b690 rdab82f29 1 /* Copyright (c) 2002,2003,2004,2009 James M. Kretchmar 2 * 3 * This file is part of Owl. 4 * 5 * Owl is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * Owl is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with Owl. If not, see <http://www.gnu.org/licenses/>. 17 * 18 * --------------------------------------------------------------- 19 * 20 * As of Owl version 2.1.12 there are patches contributed by 21 * developers of the the branched BarnOwl project, Copyright (c) 22 * 2006-2008 The BarnOwl Developers. All rights reserved. 23 */ 24 1 25 #include <stdio.h> 2 26 #include <stdlib.h> … … 442 466 OWLCMD_VOID("pop-message", owl_command_pop_message, OWL_CTX_RECWIN, 443 467 "pops up a message in a window", "", ""), 444 445 OWLCMD_VOID("openurl", owl_command_openurl, OWL_CTX_INTERACTIVE,446 "opens up a URL from the current message",447 "",448 "Uses the 'webbrowser' variable to determine\n"449 "which browser to use. Currently, 'netscape'\n"450 "and 'galeon' are supported.\n"),451 468 452 469 OWLCMD_ARGS("zaway", owl_command_zaway, OWL_CTX_INTERACTIVE, … … 704 721 "getvar <varname>", ""), 705 722 723 OWLCMD_ARGS("getstyle", owl_command_getstyle, OWL_CTX_INTERACTIVE, 724 "returns the name of the style for the current view", 725 "", ""), 726 706 727 OWLCMD_ARGS("search", owl_command_search, OWL_CTX_INTERACTIVE, 707 728 "search messages for a particular string", … … 1556 1577 char *owl_command_multi(int argc, char **argv, char *buff) 1557 1578 { 1558 char *lastrv = NULL, * newbuff;1579 char *lastrv = NULL, *dupbuff, *newbuff; 1559 1580 char **commands; 1560 1581 int ncommands, i; … … 1563 1584 return NULL; 1564 1585 } 1565 newbuff = owl_strdup(buff);1566 newbuff = skiptokens( newbuff, 1);1586 dupbuff = owl_strdup(buff); 1587 newbuff = skiptokens(dupbuff, 1); 1567 1588 if (!strcmp(argv[0], "(")) { 1568 1589 for (i=strlen(newbuff)-1; i>=0; i--) { … … 1584 1605 lastrv = owl_function_command(commands[i]); 1585 1606 } 1607 owl_free(dupbuff); 1586 1608 atokenize_free(commands, ncommands); 1587 1609 return lastrv; … … 1976 1998 foo=owl_function_create_negative_filter(owl_view_get_filtname(owl_global_get_current_view(&g))); 1977 1999 owl_function_change_currentview_filter(foo); 2000 owl_free(foo); 1978 2001 return(NULL); 1979 2002 } … … 2157 2180 } 2158 2181 2159 void owl_command_openurl(void)2160 {2161 owl_function_openurl();2162 }2163 2164 2182 char *owl_command_delete(int argc, char **argv, char *buff) 2165 2183 { … … 2399 2417 } 2400 2418 2419 char *owl_command_getstyle(int argc, char **argv, char *buff) 2420 { 2421 char *stylename; 2422 if (argc != 1) { 2423 owl_function_makemsg("Wrong number of arguments for %s", argv[0]); 2424 return NULL; 2425 } 2426 stylename = owl_view_get_style_name(owl_global_get_current_view(&g)); 2427 if (stylename) stylename = owl_strdup(stylename); 2428 return stylename; 2429 } 2430 2401 2431 /*********************************************************************/ 2402 2432 /************************** EDIT SPECIFIC ****************************/ … … 2409 2439 owl_function_makemsg("Command cancelled."); 2410 2440 2411 hist=owl_editwin_get_history(e); 2412 owl_history_store(hist, owl_editwin_get_text(e)); 2413 owl_history_reset(hist); 2441 if(e->echochar == 0) { 2442 hist=owl_editwin_get_history(e); 2443 owl_history_store(hist, owl_editwin_get_text(e)); 2444 owl_history_reset(hist); 2445 } 2414 2446 2415 2447 owl_editwin_fullclear(e); -
config.h.in
r11a7c6a rdab82f29 60 60 #undef HAVE_DES_ECB_ENCRYPT_PROTO 61 61 62 #undef TERMINFO 62 63 63 #undef TERMINFO 64 /* Define to 1 if you have the `resizeterm' function. */ 65 #undef HAVE_RESIZETERM 66 -
configure
r8298425 rdab82f29 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.61. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh … … 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 97 51 fi 98 52 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 58 fi 59 60 61 # IFS 62 # We need space, tab and new line, in precisely that order. Quoting is 63 # there to prevent editors from complaining about space-tab. 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 # splitting by setting IFS to empty value.) 66 as_nl=' 67 ' 68 IFS=" "" $as_nl" 69 70 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 74 for as_dir in $PATH 111 75 do … … 114 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 79 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 80 IFS=$as_save_IFS 81 82 ;; 83 esac 84 # We did not find ourselves, most probably we were run as `sh COMMAND' 85 # in which case we are not to be found in the path. 86 if test "x$as_myself" = x; then 87 as_myself=$0 88 fi 89 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97 done 98 PS1='$ ' 99 PS2='> ' 100 PS4='+ ' 101 102 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 112 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 113 done 114 115 # Required to use basename. 116 if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119 else 120 as_expr=false 121 fi 122 123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125 else 126 as_basename=false 127 fi 128 129 130 # Name of the executable. 131 as_me=`$as_basename -- "$0" || 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 130 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 224 IFS=$as_save_IFS 134 225 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 226 case $as_dir in 137 227 /*) 138 if ("$as_dir/$as_base" -c ' 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 139 328 as_lineno_1=$LINENO 140 329 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 330 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 427 156 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 429 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 162 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 165 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 166 447 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 450 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 451 s/-\n.*// 173 452 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||453 chmod +x "$as_me.lineno" || 175 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 455 { (exit 1); exit 1; }; } … … 178 457 # Don't try to exec as it changes $[0], causing all sort of problems 179 458 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno459 # original and so on. Autoconf is especially sensitive to this). 460 . "./$as_me.lineno" 182 461 # Exit status is that of the last command. 183 462 exit … … 185 464 186 465 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468 else 469 as_dirname=false 470 fi 471 472 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 474 -n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479 *) 480 ECHO_N='-n';; 481 esac 482 483 if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 485 as_expr=expr 196 486 else … … 199 489 200 490 rm -f conf$$ conf$$.exe conf$$.file 491 if test -d conf$$.dir; then 492 rm -f conf$$.dir/conf$$.file 493 else 494 rm -f conf$$.dir 495 mkdir conf$$.dir 496 fi 201 497 echo >conf$$.file 202 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 207 505 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 fi211 506 elif ln conf$$.file conf$$ 2>/dev/null; then 212 507 as_ln_s=ln … … 214 509 as_ln_s='cp -p' 215 510 fi 216 rm -f conf$$ conf$$.exe conf$$.file 511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512 rmdir conf$$.dir 2>/dev/null 217 513 218 514 if mkdir -p . 2>/dev/null; then … … 223 519 fi 224 520 225 as_executable_p="test -f" 521 if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523 else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541 fi 542 as_executable_p=$as_test_x 226 543 227 544 # Sed expression to map a string onto a valid CPP name. … … 232 549 233 550 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 551 552 exec 7<&0 </dev/null 6>&1 243 553 244 554 # Name of the host. … … 247 557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 558 249 exec 6>&1250 251 559 # 252 560 # Initializations. 253 561 # 254 562 ac_default_prefix=/usr/local 563 ac_clean_files= 255 564 ac_config_libobj_dir=. 565 LIBOBJS= 256 566 cross_compiling=no 257 567 subdirs= … … 259 569 MAKEFLAGS= 260 570 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 571 267 572 # Identity of this package. … … 276 581 ac_includes_default="\ 277 582 #include <stdio.h> 278 #if HAVE_SYS_TYPES_H583 #ifdef HAVE_SYS_TYPES_H 279 584 # include <sys/types.h> 280 585 #endif 281 #if HAVE_SYS_STAT_H586 #ifdef HAVE_SYS_STAT_H 282 587 # include <sys/stat.h> 283 588 #endif 284 #if STDC_HEADERS589 #ifdef STDC_HEADERS 285 590 # include <stdlib.h> 286 591 # include <stddef.h> 287 592 #else 288 # if HAVE_STDLIB_H593 # ifdef HAVE_STDLIB_H 289 594 # include <stdlib.h> 290 595 # endif 291 596 #endif 292 #if HAVE_STRING_H293 # if ! STDC_HEADERS &&HAVE_MEMORY_H597 #ifdef HAVE_STRING_H 598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 294 599 # include <memory.h> 295 600 # endif 296 601 # include <string.h> 297 602 #endif 298 #if HAVE_STRINGS_H603 #ifdef HAVE_STRINGS_H 299 604 # include <strings.h> 300 605 #endif 301 #if HAVE_INTTYPES_H606 #ifdef HAVE_INTTYPES_H 302 607 # include <inttypes.h> 303 #else304 # if HAVE_STDINT_H305 # include <stdint.h>306 # endif307 608 #endif 308 #if HAVE_UNISTD_H 609 #ifdef HAVE_STDINT_H 610 # include <stdint.h> 611 #endif 612 #ifdef HAVE_UNISTD_H 309 613 # include <unistd.h> 310 614 #endif" 311 615 312 ac_subdirs_all="$ac_subdirs_all libfaim" 313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP XSUBPPDIR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA subdirs LIBOBJS LTLIBOBJS' 616 ac_subst_vars='SHELL 617 PATH_SEPARATOR 618 PACKAGE_NAME 619 PACKAGE_TARNAME 620 PACKAGE_VERSION 621 PACKAGE_STRING 622 PACKAGE_BUGREPORT 623 exec_prefix 624 prefix 625 program_transform_name 626 bindir 627 sbindir 628 libexecdir 629 datarootdir 630 datadir 631 sysconfdir 632 sharedstatedir 633 localstatedir 634 includedir 635 oldincludedir 636 docdir 637 infodir 638 htmldir 639 dvidir 640 pdfdir 641 psdir 642 libdir 643 localedir 644 mandir 645 DEFS 646 ECHO_C 647 ECHO_N 648 ECHO_T 649 LIBS 650 build_alias 651 host_alias 652 target_alias 653 CC 654 CFLAGS 655 LDFLAGS 656 CPPFLAGS 657 ac_ct_CC 658 EXEEXT 659 OBJEXT 660 CPP 661 GREP 662 EGREP 663 XSUBPPDIR 664 INSTALL_PROGRAM 665 INSTALL_SCRIPT 666 INSTALL_DATA 667 subdirs 668 LIBOBJS 669 LTLIBOBJS' 314 670 ac_subst_files='' 671 ac_precious_vars='build_alias 672 host_alias 673 target_alias 674 CC 675 CFLAGS 676 LDFLAGS 677 LIBS 678 CPPFLAGS 679 CPP' 680 ac_subdirs_all='libfaim' 315 681 316 682 # Initialize some variables set by options. … … 339 705 # by default will actually change. 340 706 # Use braces instead of parens because sh, perl, etc. also accept them. 707 # (The list follows the same order as the GNU Coding Standards.) 341 708 bindir='${exec_prefix}/bin' 342 709 sbindir='${exec_prefix}/sbin' 343 710 libexecdir='${exec_prefix}/libexec' 344 datadir='${prefix}/share' 711 datarootdir='${prefix}/share' 712 datadir='${datarootdir}' 345 713 sysconfdir='${prefix}/etc' 346 714 sharedstatedir='${prefix}/com' 347 715 localstatedir='${prefix}/var' 348 libdir='${exec_prefix}/lib'349 716 includedir='${prefix}/include' 350 717 oldincludedir='/usr/include' 351 infodir='${prefix}/info' 352 mandir='${prefix}/man' 718 docdir='${datarootdir}/doc/${PACKAGE}' 719 infodir='${datarootdir}/info' 720 htmldir='${docdir}' 721 dvidir='${docdir}' 722 pdfdir='${docdir}' 723 psdir='${docdir}' 724 libdir='${exec_prefix}/lib' 725 localedir='${datarootdir}/locale' 726 mandir='${datarootdir}/man' 353 727 354 728 ac_prev= 729 ac_dashdash= 355 730 for ac_option 356 731 do 357 732 # If the previous option needs an argument, assign it. 358 733 if test -n "$ac_prev"; then 359 eval "$ac_prev=\$ac_option"734 eval $ac_prev=\$ac_option 360 735 ac_prev= 361 736 continue 362 737 fi 363 738 364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 739 case $ac_option in 740 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 741 *) ac_optarg=yes ;; 742 esac 365 743 366 744 # Accept the important Cygnus configure options, so we can diagnose typos. 367 745 368 case $ac_option in 746 case $ac_dashdash$ac_option in 747 --) 748 ac_dashdash=yes ;; 369 749 370 750 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 388 768 cache_file=config.cache ;; 389 769 390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)770 -datadir | --datadir | --datadi | --datad) 391 771 ac_prev=datadir ;; 392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 393 | --da=*) 772 -datadir=* | --datadir=* | --datadi=* | --datad=*) 394 773 datadir=$ac_optarg ;; 774 775 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 776 | --dataroo | --dataro | --datar) 777 ac_prev=datarootdir ;; 778 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 779 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 780 datarootdir=$ac_optarg ;; 395 781 396 782 -disable-* | --disable-*) 397 783 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 398 784 # Reject names that are not valid shell variable names. 399 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&785 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 400 786 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 401 787 { (exit 1); exit 1; }; } 402 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 403 eval "enable_$ac_feature=no" ;; 788 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 789 eval enable_$ac_feature=no ;; 790 791 -docdir | --docdir | --docdi | --doc | --do) 792 ac_prev=docdir ;; 793 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 794 docdir=$ac_optarg ;; 795 796 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 797 ac_prev=dvidir ;; 798 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 799 dvidir=$ac_optarg ;; 404 800 405 801 -enable-* | --enable-*) 406 802 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 407 803 # Reject names that are not valid shell variable names. 408 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&804 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 409 805 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 410 806 { (exit 1); exit 1; }; } 411 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 412 case $ac_option in 413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 414 *) ac_optarg=yes ;; 415 esac 416 eval "enable_$ac_feature='$ac_optarg'" ;; 807 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 808 eval enable_$ac_feature=\$ac_optarg ;; 417 809 418 810 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 441 833 host_alias=$ac_optarg ;; 442 834 835 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 836 ac_prev=htmldir ;; 837 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 838 | --ht=*) 839 htmldir=$ac_optarg ;; 840 443 841 -includedir | --includedir | --includedi | --included | --include \ 444 842 | --includ | --inclu | --incl | --inc) … … 465 863 libexecdir=$ac_optarg ;; 466 864 865 -localedir | --localedir | --localedi | --localed | --locale) 866 ac_prev=localedir ;; 867 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 868 localedir=$ac_optarg ;; 869 467 870 -localstatedir | --localstatedir | --localstatedi | --localstated \ 468 | --localstate | --localstat | --localsta | --localst \ 469 | --locals | --local | --loca | --loc | --lo) 871 | --localstate | --localstat | --localsta | --localst | --locals) 470 872 ac_prev=localstatedir ;; 471 873 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 874 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 474 875 localstatedir=$ac_optarg ;; 475 876 … … 536 937 program_transform_name=$ac_optarg ;; 537 938 939 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 940 ac_prev=pdfdir ;; 941 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 942 pdfdir=$ac_optarg ;; 943 944 -psdir | --psdir | --psdi | --psd | --ps) 945 ac_prev=psdir ;; 946 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 947 psdir=$ac_optarg ;; 948 538 949 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 539 950 | -silent | --silent | --silen | --sile | --sil) … … 588 999 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 589 1000 # Reject names that are not valid shell variable names. 590 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1001 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 591 1002 { echo "$as_me: error: invalid package name: $ac_package" >&2 592 1003 { (exit 1); exit 1; }; } 593 ac_package=`echo $ac_package| sed 's/-/_/g'` 594 case $ac_option in 595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 596 *) ac_optarg=yes ;; 597 esac 598 eval "with_$ac_package='$ac_optarg'" ;; 1004 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1005 eval with_$ac_package=\$ac_optarg ;; 599 1006 600 1007 -without-* | --without-*) 601 1008 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 602 1009 # Reject names that are not valid shell variable names. 603 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1010 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 604 1011 { echo "$as_me: error: invalid package name: $ac_package" >&2 605 1012 { (exit 1); exit 1; }; } 606 ac_package=`echo $ac_package | sed 's/ -/_/g'`607 eval "with_$ac_package=no";;1013 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1014 eval with_$ac_package=no ;; 608 1015 609 1016 --x) … … 636 1043 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 637 1044 { (exit 1); exit 1; }; } 638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 639 eval "$ac_envvar='$ac_optarg'" 1045 eval $ac_envvar=\$ac_optarg 640 1046 export $ac_envvar ;; 641 1047 … … 657 1063 fi 658 1064 659 # Be sure to have absolute paths. 660 for ac_var in exec_prefix prefix 1065 # Be sure to have absolute directory names. 1066 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1067 datadir sysconfdir sharedstatedir localstatedir includedir \ 1068 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1069 libdir localedir mandir 661 1070 do 662 eval ac_val= $`echo $ac_var`1071 eval ac_val=\$$ac_var 663 1072 case $ac_val in 664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 666 { (exit 1); exit 1; }; };; 1073 [\\/$]* | ?:[\\/]* ) continue;; 1074 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 667 1075 esac 668 done 669 670 # Be sure to have absolute paths. 671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 672 localstatedir libdir includedir oldincludedir infodir mandir 673 do 674 eval ac_val=$`echo $ac_var` 675 case $ac_val in 676 [\\/$]* | ?:[\\/]* ) ;; 677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 678 { (exit 1); exit 1; }; };; 679 esac 1076 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1077 { (exit 1); exit 1; }; } 680 1078 done 681 1079 … … 704 1102 705 1103 1104 ac_pwd=`pwd` && test -n "$ac_pwd" && 1105 ac_ls_di=`ls -di .` && 1106 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1107 { echo "$as_me: error: Working directory cannot be determined" >&2 1108 { (exit 1); exit 1; }; } 1109 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1110 { echo "$as_me: error: pwd does not report name of working directory" >&2 1111 { (exit 1); exit 1; }; } 1112 1113 706 1114 # Find the source files, if location was not specified. 707 1115 if test -z "$srcdir"; then 708 1116 ac_srcdir_defaulted=yes 709 # Try the directory containing this script, then its parent.710 ac_confdir=` (dirname "$0") 2>/dev/null||1117 # Try the directory containing this script, then the parent directory. 1118 ac_confdir=`$as_dirname -- "$0" || 711 1119 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 712 1120 X"$0" : 'X\(//\)[^/]' \| \ 713 1121 X"$0" : 'X\(//\)$' \| \ 714 X"$0" : 'X\(/\)' \| \ 715 . : '\(.\)' 2>/dev/null || 1122 X"$0" : 'X\(/\)' \| . 2>/dev/null || 716 1123 echo X"$0" | 717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 718 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 719 /^X\(\/\/\)$/{ s//\1/; q; } 720 /^X\(\/\).*/{ s//\1/; q; } 721 s/.*/./; q'` 1124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1125 s//\1/ 1126 q 1127 } 1128 /^X\(\/\/\)[^/].*/{ 1129 s//\1/ 1130 q 1131 } 1132 /^X\(\/\/\)$/{ 1133 s//\1/ 1134 q 1135 } 1136 /^X\(\/\).*/{ 1137 s//\1/ 1138 q 1139 } 1140 s/.*/./; q'` 722 1141 srcdir=$ac_confdir 723 if test ! -r $srcdir/$ac_unique_file; then1142 if test ! -r "$srcdir/$ac_unique_file"; then 724 1143 srcdir=.. 725 1144 fi … … 727 1146 ac_srcdir_defaulted=no 728 1147 fi 729 if test ! -r $srcdir/$ac_unique_file; then730 if test "$ac_srcdir_defaulted" = yes; then731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21148 if test ! -r "$srcdir/$ac_unique_file"; then 1149 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1150 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 732 1151 { (exit 1); exit 1; }; } 733 else 734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1152 fi 1153 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1154 ac_abs_confdir=`( 1155 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 735 1156 { (exit 1); exit 1; }; } 736 fi 737 fi 738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 740 { (exit 1); exit 1; }; } 741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 742 ac_env_build_alias_set=${build_alias+set} 743 ac_env_build_alias_value=$build_alias 744 ac_cv_env_build_alias_set=${build_alias+set} 745 ac_cv_env_build_alias_value=$build_alias 746 ac_env_host_alias_set=${host_alias+set} 747 ac_env_host_alias_value=$host_alias 748 ac_cv_env_host_alias_set=${host_alias+set} 749 ac_cv_env_host_alias_value=$host_alias 750 ac_env_target_alias_set=${target_alias+set} 751 ac_env_target_alias_value=$target_alias 752 ac_cv_env_target_alias_set=${target_alias+set} 753 ac_cv_env_target_alias_value=$target_alias 754 ac_env_CC_set=${CC+set} 755 ac_env_CC_value=$CC 756 ac_cv_env_CC_set=${CC+set} 757 ac_cv_env_CC_value=$CC 758 ac_env_CFLAGS_set=${CFLAGS+set} 759 ac_env_CFLAGS_value=$CFLAGS 760 ac_cv_env_CFLAGS_set=${CFLAGS+set} 761 ac_cv_env_CFLAGS_value=$CFLAGS 762 ac_env_LDFLAGS_set=${LDFLAGS+set} 763 ac_env_LDFLAGS_value=$LDFLAGS 764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 765 ac_cv_env_LDFLAGS_value=$LDFLAGS 766 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 767 ac_env_CPPFLAGS_value=$CPPFLAGS 768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 770 ac_env_CPP_set=${CPP+set} 771 ac_env_CPP_value=$CPP 772 ac_cv_env_CPP_set=${CPP+set} 773 ac_cv_env_CPP_value=$CPP 1157 pwd)` 1158 # When building in place, set srcdir=. 1159 if test "$ac_abs_confdir" = "$ac_pwd"; then 1160 srcdir=. 1161 fi 1162 # Remove unnecessary trailing slashes from srcdir. 1163 # Double slashes in file names in object file debugging info 1164 # mess up M-x gdb in Emacs. 1165 case $srcdir in 1166 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1167 esac 1168 for ac_var in $ac_precious_vars; do 1169 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1170 eval ac_env_${ac_var}_value=\$${ac_var} 1171 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1172 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1173 done 774 1174 775 1175 # … … 800 1200 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 801 1201 802 _ACEOF803 804 cat <<_ACEOF805 1202 Installation directories: 806 1203 --prefix=PREFIX install architecture-independent files in PREFIX … … 820 1217 --sbindir=DIR system admin executables [EPREFIX/sbin] 821 1218 --libexecdir=DIR program executables [EPREFIX/libexec] 822 --datadir=DIR read-only architecture-independent data [PREFIX/share]823 1219 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 824 1220 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 827 1223 --includedir=DIR C header files [PREFIX/include] 828 1224 --oldincludedir=DIR C header files for non-gcc [/usr/include] 829 --infodir=DIR info documentation [PREFIX/info] 830 --mandir=DIR man documentation [PREFIX/man] 1225 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1226 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1227 --infodir=DIR info documentation [DATAROOTDIR/info] 1228 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1229 --mandir=DIR man documentation [DATAROOTDIR/man] 1230 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1231 --htmldir=DIR html documentation [DOCDIR] 1232 --dvidir=DIR dvi documentation [DOCDIR] 1233 --pdfdir=DIR pdf documentation [DOCDIR] 1234 --psdir=DIR ps documentation [DOCDIR] 831 1235 _ACEOF 832 1236 … … 844 1248 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 845 1249 nonstandard directory <lib dir> 846 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 847 headers in a nonstandard directory <include dir> 1250 LIBS libraries to pass to the linker, e.g. -l<library> 1251 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1252 you have headers in a nonstandard directory <include dir> 848 1253 CPP C preprocessor 849 1254 … … 852 1257 853 1258 _ACEOF 1259 ac_status=$? 854 1260 fi 855 1261 856 1262 if test "$ac_init_help" = "recursive"; then 857 1263 # If there are subdirs, report their specific --help. 858 ac_popdir=`pwd`859 1264 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 860 test -d $ac_dir|| continue1265 test -d "$ac_dir" || continue 861 1266 ac_builddir=. 862 1267 863 if test "$ac_dir" != .; then 1268 case "$ac_dir" in 1269 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1270 *) 864 1271 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 865 # A "../" for each directory in $ac_dir_suffix. 866 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 867 else 868 ac_dir_suffix= ac_top_builddir= 869 fi 1272 # A ".." for each directory in $ac_dir_suffix. 1273 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1274 case $ac_top_builddir_sub in 1275 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1276 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1277 esac ;; 1278 esac 1279 ac_abs_top_builddir=$ac_pwd 1280 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1281 # for backward compatibility: 1282 ac_top_builddir=$ac_top_build_prefix 870 1283 871 1284 case $srcdir in 872 .) # No --srcdir option.We are building in place.1285 .) # We are building in place. 873 1286 ac_srcdir=. 874 if test -z "$ac_top_builddir"; then 875 ac_top_srcdir=. 876 else 877 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 878 fi ;; 879 [\\/]* | ?:[\\/]* ) # Absolute path. 1287 ac_top_srcdir=$ac_top_builddir_sub 1288 ac_abs_top_srcdir=$ac_pwd ;; 1289 [\\/]* | ?:[\\/]* ) # Absolute name. 880 1290 ac_srcdir=$srcdir$ac_dir_suffix; 881 ac_top_srcdir=$srcdir ;; 882 *) # Relative path. 883 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 884 ac_top_srcdir=$ac_top_builddir$srcdir ;; 885 esac 886 887 # Do not use `cd foo && pwd` to compute absolute paths, because 888 # the directories may not exist. 889 case `pwd` in 890 .) ac_abs_builddir="$ac_dir";; 891 *) 892 case "$ac_dir" in 893 .) ac_abs_builddir=`pwd`;; 894 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 895 *) ac_abs_builddir=`pwd`/"$ac_dir";; 896 esac;; 897 esac 898 case $ac_abs_builddir in 899 .) ac_abs_top_builddir=${ac_top_builddir}.;; 900 *) 901 case ${ac_top_builddir}. in 902 .) ac_abs_top_builddir=$ac_abs_builddir;; 903 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 904 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 905 esac;; 906 esac 907 case $ac_abs_builddir in 908 .) ac_abs_srcdir=$ac_srcdir;; 909 *) 910 case $ac_srcdir in 911 .) ac_abs_srcdir=$ac_abs_builddir;; 912 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 913 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 914 esac;; 915 esac 916 case $ac_abs_builddir in 917 .) ac_abs_top_srcdir=$ac_top_srcdir;; 918 *) 919 case $ac_top_srcdir in 920 .) ac_abs_top_srcdir=$ac_abs_builddir;; 921 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 922 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 923 esac;; 924 esac 925 926 cd $ac_dir 927 # Check for guested configure; otherwise get Cygnus style configure. 928 if test -f $ac_srcdir/configure.gnu; then 929 echo 930 $SHELL $ac_srcdir/configure.gnu --help=recursive 931 elif test -f $ac_srcdir/configure; then 932 echo 933 $SHELL $ac_srcdir/configure --help=recursive 934 elif test -f $ac_srcdir/configure.ac || 935 test -f $ac_srcdir/configure.in; then 936 echo 937 $ac_configure --help 1291 ac_top_srcdir=$srcdir 1292 ac_abs_top_srcdir=$srcdir ;; 1293 *) # Relative name. 1294 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1295 ac_top_srcdir=$ac_top_build_prefix$srcdir 1296 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1297 esac 1298 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1299 1300 cd "$ac_dir" || { ac_status=$?; continue; } 1301 # Check for guested configure. 1302 if test -f "$ac_srcdir/configure.gnu"; then 1303 echo && 1304 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1305 elif test -f "$ac_srcdir/configure"; then 1306 echo && 1307 $SHELL "$ac_srcdir/configure" --help=recursive 938 1308 else 939 1309 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 940 fi 941 cd $ac_popdir1310 fi || ac_status=$? 1311 cd "$ac_pwd" || { ac_status=$?; break; } 942 1312 done 943 1313 fi 944 1314 945 test -n "$ac_init_help" && exit 01315 test -n "$ac_init_help" && exit $ac_status 946 1316 if $ac_init_version; then 947 1317 cat <<\_ACEOF 948 949 Copyright (C) 2003 Free Software Foundation, Inc. 1318 configure 1319 generated by GNU Autoconf 2.61 1320 1321 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1322 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 950 1323 This configure script is free software; the Free Software Foundation 951 1324 gives unlimited permission to copy, distribute and modify it. 952 1325 _ACEOF 953 exit 0 954 fi 955 exec 5>config.log 956 cat >&5 <<_ACEOF 1326 exit 1327 fi 1328 cat >config.log <<_ACEOF 957 1329 This file contains any messages produced by compilers while 958 1330 running configure, to aid debugging if configure makes a mistake. 959 1331 960 1332 It was created by $as_me, which was 961 generated by GNU Autoconf 2. 59. Invocation command line was1333 generated by GNU Autoconf 2.61. Invocation command line was 962 1334 963 1335 $ $0 $@ 964 1336 965 1337 _ACEOF 1338 exec 5>>config.log 966 1339 { 967 1340 cat <<_ASUNAME … … 982 1355 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 983 1356 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 984 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1357 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 985 1358 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 986 1359 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 996 1369 echo "PATH: $as_dir" 997 1370 done 1371 IFS=$as_save_IFS 998 1372 999 1373 } >&5 … … 1017 1391 ac_configure_args0= 1018 1392 ac_configure_args1= 1019 ac_sep=1020 1393 ac_must_keep_next=false 1021 1394 for ac_pass in 1 2 … … 1028 1401 | -silent | --silent | --silen | --sile | --sil) 1029 1402 continue ;; 1030 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1403 *\'*) 1031 1404 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1032 1405 esac … … 1050 1423 esac 1051 1424 fi 1052 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1053 # Get rid of the leading space. 1054 ac_sep=" " 1425 ac_configure_args="$ac_configure_args '$ac_arg'" 1055 1426 ;; 1056 1427 esac … … 1063 1434 # config.log. We remove comments because anyway the quotes in there 1064 1435 # would cause problems or look ugly. 1065 # WARNING: Be sure not to use single quotes in there, as some shells,1066 # such as our DU 5.0 friend, will then `close' the trap.1436 # WARNING: Use '\'' to represent an apostrophe within the trap. 1437 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1067 1438 trap 'exit_status=$? 1068 1439 # Save into config.log some information that might help in debugging. … … 1077 1448 echo 1078 1449 # The following way of writing the cache mishandles newlines in values, 1079 { 1450 ( 1451 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1452 eval ac_val=\$$ac_var 1453 case $ac_val in #( 1454 *${as_nl}*) 1455 case $ac_var in #( 1456 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1457 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1458 esac 1459 case $ac_var in #( 1460 _ | IFS | as_nl) ;; #( 1461 *) $as_unset $ac_var ;; 1462 esac ;; 1463 esac 1464 done 1080 1465 (set) 2>&1 | 1081 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1082 * ac_space=\ *)1466 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1467 *${as_nl}ac_space=\ *) 1083 1468 sed -n \ 1084 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1085 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1469 "s/'\''/'\''\\\\'\'''\''/g; 1470 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1471 ;; #( 1472 *) 1473 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1086 1474 ;; 1087 *) 1088 sed -n \ 1089 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1090 ;; 1091 esac; 1092 } 1475 esac | 1476 sort 1477 ) 1093 1478 echo 1094 1479 … … 1101 1486 for ac_var in $ac_subst_vars 1102 1487 do 1103 eval ac_val=$`echo $ac_var` 1104 echo "$ac_var='"'"'$ac_val'"'"'" 1488 eval ac_val=\$$ac_var 1489 case $ac_val in 1490 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1491 esac 1492 echo "$ac_var='\''$ac_val'\''" 1105 1493 done | sort 1106 1494 echo … … 1108 1496 if test -n "$ac_subst_files"; then 1109 1497 cat <<\_ASBOX 1110 ## ------------- ##1111 ## Output files. ##1112 ## ------------- ##1498 ## ------------------- ## 1499 ## File substitutions. ## 1500 ## ------------------- ## 1113 1501 _ASBOX 1114 1502 echo 1115 1503 for ac_var in $ac_subst_files 1116 1504 do 1117 eval ac_val=$`echo $ac_var` 1118 echo "$ac_var='"'"'$ac_val'"'"'" 1505 eval ac_val=\$$ac_var 1506 case $ac_val in 1507 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1508 esac 1509 echo "$ac_var='\''$ac_val'\''" 1119 1510 done | sort 1120 1511 echo … … 1128 1519 _ASBOX 1129 1520 echo 1130 sed "/^$/d" confdefs.h | sort1521 cat confdefs.h 1131 1522 echo 1132 1523 fi … … 1135 1526 echo "$as_me: exit $exit_status" 1136 1527 } >&5 1137 rm -f core *.core &&1138 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1528 rm -f core *.core core.conftest.* && 1529 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1139 1530 exit $exit_status 1140 1531 ' 0 1141 1532 for ac_signal in 1 2 13 15; do 1142 1533 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1145 1536 1146 1537 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1147 rm -rf conftest* confdefs.h 1148 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1149 echo >confdefs.h 1538 rm -f -r conftest* confdefs.h 1150 1539 1151 1540 # Predefined preprocessor variables. … … 1178 1567 # Let the site file select an alternate cache file if it wants to. 1179 1568 # Prefer explicitly selected file to automatically selected ones. 1180 if test -z "$CONFIG_SITE"; then 1181 if test "x$prefix" != xNONE; then 1182 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1183 else 1184 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1185 fi 1186 fi 1187 for ac_site_file in $CONFIG_SITE; do 1569 if test -n "$CONFIG_SITE"; then 1570 set x "$CONFIG_SITE" 1571 elif test "x$prefix" != xNONE; then 1572 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1573 else 1574 set x "$ac_default_prefix/share/config.site" \ 1575 "$ac_default_prefix/etc/config.site" 1576 fi 1577 shift 1578 for ac_site_file 1579 do 1188 1580 if test -r "$ac_site_file"; then 1189 1581 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1201 1593 echo "$as_me: loading cache $cache_file" >&6;} 1202 1594 case $cache_file in 1203 [\\/]* | ?:[\\/]* ) . $cache_file;;1204 *) . ./$cache_file;;1595 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1596 *) . "./$cache_file";; 1205 1597 esac 1206 1598 fi … … 1214 1606 # value. 1215 1607 ac_cache_corrupted=false 1216 for ac_var in `(set) 2>&1 | 1217 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1608 for ac_var in $ac_precious_vars; do 1218 1609 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1219 1610 eval ac_new_set=\$ac_env_${ac_var}_set 1220 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1221 eval ac_new_val= "\$ac_env_${ac_var}_value"1611 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1612 eval ac_new_val=\$ac_env_${ac_var}_value 1222 1613 case $ac_old_set,$ac_new_set in 1223 1614 set,) … … 1244 1635 if test "$ac_new_set" = set; then 1245 1636 case $ac_new_val in 1246 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1247 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1637 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1248 1638 *) ac_arg=$ac_var=$ac_new_val ;; 1249 1639 esac … … 1262 1652 fi 1263 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1264 1670 ac_ext=c 1265 1671 ac_cpp='$CPP $CPPFLAGS' … … 1270 1676 1271 1677 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 ac_config_headers="$ac_config_headers config.h" 1678 ac_config_headers="$ac_config_headers config.h" 1290 1679 1291 1680 … … 1298 1687 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1299 1688 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1300 echo "$as_me:$LINENO: checking for $ac_word" >&51301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1689 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1302 1691 if test "${ac_cv_prog_CC+set}" = set; then 1303 1692 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1312 1701 test -z "$as_dir" && as_dir=. 1313 1702 for ac_exec_ext in '' $ac_executable_extensions; do 1314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1315 1704 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1316 1705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1319 1708 done 1320 1709 done 1710 IFS=$as_save_IFS 1321 1711 1322 1712 fi … … 1324 1714 CC=$ac_cv_prog_CC 1325 1715 if test -n "$CC"; then 1326 echo "$as_me:$LINENO: result: $CC" >&5 1327 echo "${ECHO_T}$CC" >&6 1328 else 1329 echo "$as_me:$LINENO: result: no" >&5 1330 echo "${ECHO_T}no" >&6 1331 fi 1716 { echo "$as_me:$LINENO: result: $CC" >&5 1717 echo "${ECHO_T}$CC" >&6; } 1718 else 1719 { echo "$as_me:$LINENO: result: no" >&5 1720 echo "${ECHO_T}no" >&6; } 1721 fi 1722 1332 1723 1333 1724 fi … … 1336 1727 # Extract the first word of "gcc", so it can be a program name with args. 1337 1728 set dummy gcc; ac_word=$2 1338 echo "$as_me:$LINENO: checking for $ac_word" >&51339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1729 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1340 1731 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1341 1732 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1350 1741 test -z "$as_dir" && as_dir=. 1351 1742 for ac_exec_ext in '' $ac_executable_extensions; do 1352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1353 1744 ac_cv_prog_ac_ct_CC="gcc" 1354 1745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1357 1748 done 1358 1749 done 1750 IFS=$as_save_IFS 1359 1751 1360 1752 fi … … 1362 1754 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1363 1755 if test -n "$ac_ct_CC"; then 1364 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1365 echo "${ECHO_T}$ac_ct_CC" >&6 1366 else 1367 echo "$as_me:$LINENO: result: no" >&5 1368 echo "${ECHO_T}no" >&6 1369 fi 1370 1371 CC=$ac_ct_CC 1756 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1757 echo "${ECHO_T}$ac_ct_CC" >&6; } 1758 else 1759 { echo "$as_me:$LINENO: result: no" >&5 1760 echo "${ECHO_T}no" >&6; } 1761 fi 1762 1763 if test "x$ac_ct_CC" = x; then 1764 CC="" 1765 else 1766 case $cross_compiling:$ac_tool_warned in 1767 yes:) 1768 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1769 whose name does not start with the host triplet. If you think this 1770 configuration is useful to you, please write to autoconf@gnu.org." >&5 1771 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1772 whose name does not start with the host triplet. If you think this 1773 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 1774 ac_tool_warned=yes ;; 1775 esac 1776 CC=$ac_ct_CC 1777 fi 1372 1778 else 1373 1779 CC="$ac_cv_prog_CC" … … 1375 1781 1376 1782 if test -z "$CC"; then 1377 if test -n "$ac_tool_prefix"; then1378 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.1783 if test -n "$ac_tool_prefix"; then 1784 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1379 1785 set dummy ${ac_tool_prefix}cc; ac_word=$2 1380 echo "$as_me:$LINENO: checking for $ac_word" >&51381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1786 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1382 1788 if test "${ac_cv_prog_CC+set}" = set; then 1383 1789 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1392 1798 test -z "$as_dir" && as_dir=. 1393 1799 for ac_exec_ext in '' $ac_executable_extensions; do 1394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1395 1801 ac_cv_prog_CC="${ac_tool_prefix}cc" 1396 1802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1399 1805 done 1400 1806 done 1807 IFS=$as_save_IFS 1401 1808 1402 1809 fi … … 1404 1811 CC=$ac_cv_prog_CC 1405 1812 if test -n "$CC"; then 1406 echo "$as_me:$LINENO: result: $CC" >&5 1407 echo "${ECHO_T}$CC" >&6 1408 else 1409 echo "$as_me:$LINENO: result: no" >&5 1410 echo "${ECHO_T}no" >&6 1411 fi 1412 1413 fi 1414 if test -z "$ac_cv_prog_CC"; then 1415 ac_ct_CC=$CC 1416 # Extract the first word of "cc", so it can be a program name with args. 1417 set dummy cc; ac_word=$2 1418 echo "$as_me:$LINENO: checking for $ac_word" >&5 1419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1420 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1421 echo $ECHO_N "(cached) $ECHO_C" >&6 1422 else 1423 if test -n "$ac_ct_CC"; then 1424 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1425 else 1426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1427 for as_dir in $PATH 1428 do 1429 IFS=$as_save_IFS 1430 test -z "$as_dir" && as_dir=. 1431 for ac_exec_ext in '' $ac_executable_extensions; do 1432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1433 ac_cv_prog_ac_ct_CC="cc" 1434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1435 break 2 1813 { echo "$as_me:$LINENO: result: $CC" >&5 1814 echo "${ECHO_T}$CC" >&6; } 1815 else 1816 { echo "$as_me:$LINENO: result: no" >&5 1817 echo "${ECHO_T}no" >&6; } 1818 fi 1819 1820 1436 1821 fi 1437 done1438 done1439 1440 fi1441 fi1442 ac_ct_CC=$ac_cv_prog_ac_ct_CC1443 if test -n "$ac_ct_CC"; then1444 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51445 echo "${ECHO_T}$ac_ct_CC" >&61446 else1447 echo "$as_me:$LINENO: result: no" >&51448 echo "${ECHO_T}no" >&61449 fi1450 1451 CC=$ac_ct_CC1452 else1453 CC="$ac_cv_prog_CC"1454 fi1455 1456 1822 fi 1457 1823 if test -z "$CC"; then 1458 1824 # Extract the first word of "cc", so it can be a program name with args. 1459 1825 set dummy cc; ac_word=$2 1460 echo "$as_me:$LINENO: checking for $ac_word" >&51461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1826 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1462 1828 if test "${ac_cv_prog_CC+set}" = set; then 1463 1829 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1473 1839 test -z "$as_dir" && as_dir=. 1474 1840 for ac_exec_ext in '' $ac_executable_extensions; do 1475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1476 1842 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1477 1843 ac_prog_rejected=yes … … 1484 1850 done 1485 1851 done 1852 IFS=$as_save_IFS 1486 1853 1487 1854 if test $ac_prog_rejected = yes; then … … 1501 1868 CC=$ac_cv_prog_CC 1502 1869 if test -n "$CC"; then 1503 echo "$as_me:$LINENO: result: $CC" >&5 1504 echo "${ECHO_T}$CC" >&6 1505 else 1506 echo "$as_me:$LINENO: result: no" >&5 1507 echo "${ECHO_T}no" >&6 1508 fi 1870 { echo "$as_me:$LINENO: result: $CC" >&5 1871 echo "${ECHO_T}$CC" >&6; } 1872 else 1873 { echo "$as_me:$LINENO: result: no" >&5 1874 echo "${ECHO_T}no" >&6; } 1875 fi 1876 1509 1877 1510 1878 fi 1511 1879 if test -z "$CC"; then 1512 1880 if test -n "$ac_tool_prefix"; then 1513 for ac_prog in cl 1881 for ac_prog in cl.exe 1514 1882 do 1515 1883 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1516 1884 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1517 echo "$as_me:$LINENO: checking for $ac_word" >&51518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1885 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1519 1887 if test "${ac_cv_prog_CC+set}" = set; then 1520 1888 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1529 1897 test -z "$as_dir" && as_dir=. 1530 1898 for ac_exec_ext in '' $ac_executable_extensions; do 1531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1532 1900 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1533 1901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1536 1904 done 1537 1905 done 1906 IFS=$as_save_IFS 1538 1907 1539 1908 fi … … 1541 1910 CC=$ac_cv_prog_CC 1542 1911 if test -n "$CC"; then 1543 echo "$as_me:$LINENO: result: $CC" >&5 1544 echo "${ECHO_T}$CC" >&6 1545 else 1546 echo "$as_me:$LINENO: result: no" >&5 1547 echo "${ECHO_T}no" >&6 1548 fi 1912 { echo "$as_me:$LINENO: result: $CC" >&5 1913 echo "${ECHO_T}$CC" >&6; } 1914 else 1915 { echo "$as_me:$LINENO: result: no" >&5 1916 echo "${ECHO_T}no" >&6; } 1917 fi 1918 1549 1919 1550 1920 test -n "$CC" && break … … 1553 1923 if test -z "$CC"; then 1554 1924 ac_ct_CC=$CC 1555 for ac_prog in cl 1925 for ac_prog in cl.exe 1556 1926 do 1557 1927 # Extract the first word of "$ac_prog", so it can be a program name with args. 1558 1928 set dummy $ac_prog; ac_word=$2 1559 echo "$as_me:$LINENO: checking for $ac_word" >&51560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1929 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1561 1931 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1562 1932 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1571 1941 test -z "$as_dir" && as_dir=. 1572 1942 for ac_exec_ext in '' $ac_executable_extensions; do 1573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1574 1944 ac_cv_prog_ac_ct_CC="$ac_prog" 1575 1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1578 1948 done 1579 1949 done 1950 IFS=$as_save_IFS 1580 1951 1581 1952 fi … … 1583 1954 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1584 1955 if test -n "$ac_ct_CC"; then 1585 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1586 echo "${ECHO_T}$ac_ct_CC" >&6 1587 else 1588 echo "$as_me:$LINENO: result: no" >&5 1589 echo "${ECHO_T}no" >&6 1590 fi 1956 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1957 echo "${ECHO_T}$ac_ct_CC" >&6; } 1958 else 1959 { echo "$as_me:$LINENO: result: no" >&5 1960 echo "${ECHO_T}no" >&6; } 1961 fi 1962 1591 1963 1592 1964 test -n "$ac_ct_CC" && break 1593 1965 done 1594 1966 1595 CC=$ac_ct_CC 1967 if test "x$ac_ct_CC" = x; then 1968 CC="" 1969 else 1970 case $cross_compiling:$ac_tool_warned in 1971 yes:) 1972 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1973 whose name does not start with the host triplet. If you think this 1974 configuration is useful to you, please write to autoconf@gnu.org." >&5 1975 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1976 whose name does not start with the host triplet. If you think this 1977 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 1978 ac_tool_warned=yes ;; 1979 esac 1980 CC=$ac_ct_CC 1981 fi 1596 1982 fi 1597 1983 … … 1606 1992 1607 1993 # Provide some information about the compiler. 1608 echo "$as_me:$LINENO:" \ 1609 "checking for C compiler version" >&5 1994 echo "$as_me:$LINENO: checking for C compiler version" >&5 1610 1995 ac_compiler=`set X $ac_compile; echo $2` 1611 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1612 (eval $ac_compiler --version </dev/null >&5) 2>&5 1996 { (ac_try="$ac_compiler --version >&5" 1997 case "(($ac_try" in 1998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1999 *) ac_try_echo=$ac_try;; 2000 esac 2001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2002 (eval "$ac_compiler --version >&5") 2>&5 1613 2003 ac_status=$? 1614 2004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1615 2005 (exit $ac_status); } 1616 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1617 (eval $ac_compiler -v </dev/null >&5) 2>&5 2006 { (ac_try="$ac_compiler -v >&5" 2007 case "(($ac_try" in 2008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2009 *) ac_try_echo=$ac_try;; 2010 esac 2011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2012 (eval "$ac_compiler -v >&5") 2>&5 1618 2013 ac_status=$? 1619 2014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1620 2015 (exit $ac_status); } 1621 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1622 (eval $ac_compiler -V </dev/null >&5) 2>&5 2016 { (ac_try="$ac_compiler -V >&5" 2017 case "(($ac_try" in 2018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2019 *) ac_try_echo=$ac_try;; 2020 esac 2021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2022 (eval "$ac_compiler -V >&5") 2>&5 1623 2023 ac_status=$? 1624 2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1645 2045 # It will help us diagnose broken compilers, and finding out an intuition 1646 2046 # of exeext. 1647 echo "$as_me:$LINENO: checking for C compiler default output file name" >&51648 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2047 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2048 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 1649 2049 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1650 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1651 (eval $ac_link_default) 2>&5 2050 # 2051 # List of possible output files, starting from the most likely. 2052 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2053 # only as a last resort. b.out is created by i960 compilers. 2054 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2055 # 2056 # The IRIX 6 linker writes into existing files which may not be 2057 # executable, retaining their permissions. Remove them first so a 2058 # subsequent execution test works. 2059 ac_rmfiles= 2060 for ac_file in $ac_files 2061 do 2062 case $ac_file in 2063 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2064 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2065 esac 2066 done 2067 rm -f $ac_rmfiles 2068 2069 if { (ac_try="$ac_link_default" 2070 case "(($ac_try" in 2071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2072 *) ac_try_echo=$ac_try;; 2073 esac 2074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2075 (eval "$ac_link_default") 2>&5 1652 2076 ac_status=$? 1653 2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1654 2078 (exit $ac_status); }; then 1655 # Find the output, starting from the most likely. This scheme is 1656 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1657 # resort. 1658 1659 # Be careful to initialize this variable, since it used to be cached. 1660 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1661 ac_cv_exeext= 1662 # b.out is created by i960 compilers. 1663 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2079 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2080 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2081 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2082 # so that the user can short-circuit this test for compilers unknown to 2083 # Autoconf. 2084 for ac_file in $ac_files '' 1664 2085 do 1665 2086 test -f "$ac_file" || continue 1666 2087 case $ac_file in 1667 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1668 ;; 1669 conftest.$ac_ext ) 1670 # This is the source file. 2088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1671 2089 ;; 1672 2090 [ab].out ) … … 1675 2093 break;; 1676 2094 *.* ) 1677 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1678 # FIXME: I believe we export ac_cv_exeext for Libtool, 1679 # but it would be cool to find out if it's true. Does anybody 1680 # maintain Libtool? --akim. 1681 export ac_cv_exeext 2095 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2096 then :; else 2097 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2098 fi 2099 # We set ac_cv_exeext here because the later test for it is not 2100 # safe: cross compilers may not add the suffix if given an `-o' 2101 # argument, so we may need to know it at that point already. 2102 # Even if this section looks crufty: it has the advantage of 2103 # actually working. 1682 2104 break;; 1683 2105 * ) … … 1685 2107 esac 1686 2108 done 1687 else 2109 test "$ac_cv_exeext" = no && ac_cv_exeext= 2110 2111 else 2112 ac_file='' 2113 fi 2114 2115 { echo "$as_me:$LINENO: result: $ac_file" >&5 2116 echo "${ECHO_T}$ac_file" >&6; } 2117 if test -z "$ac_file"; then 1688 2118 echo "$as_me: failed program was:" >&5 1689 2119 sed 's/^/| /' conftest.$ac_ext >&5 … … 1697 2127 1698 2128 ac_exeext=$ac_cv_exeext 1699 echo "$as_me:$LINENO: result: $ac_file" >&5 1700 echo "${ECHO_T}$ac_file" >&6 1701 1702 # Check the compiler produces executables we can run. If not, either 2129 2130 # Check that the compiler produces executables we can run. If not, either 1703 2131 # the compiler is broken, or we cross compile. 1704 echo "$as_me:$LINENO: checking whether the C compiler works" >&51705 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2132 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2133 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 1706 2134 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1707 2135 # If not cross compiling, check that we can run a simple program. 1708 2136 if test "$cross_compiling" != yes; then 1709 2137 if { ac_try='./$ac_file' 1710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1711 (eval $ac_try) 2>&5 2138 { (case "(($ac_try" in 2139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2140 *) ac_try_echo=$ac_try;; 2141 esac 2142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2143 (eval "$ac_try") 2>&5 1712 2144 ac_status=$? 1713 2145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1728 2160 fi 1729 2161 fi 1730 echo "$as_me:$LINENO: result: yes" >&51731 echo "${ECHO_T}yes" >&6 2162 { echo "$as_me:$LINENO: result: yes" >&5 2163 echo "${ECHO_T}yes" >&6; } 1732 2164 1733 2165 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1734 2166 ac_clean_files=$ac_clean_files_save 1735 # Check th e compiler produces executables we can run. If not, either2167 # Check that the compiler produces executables we can run. If not, either 1736 2168 # the compiler is broken, or we cross compile. 1737 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1738 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1739 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1740 echo "${ECHO_T}$cross_compiling" >&6 1741 1742 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1743 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1745 (eval $ac_link) 2>&5 2169 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2170 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2171 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2172 echo "${ECHO_T}$cross_compiling" >&6; } 2173 2174 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2175 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2176 if { (ac_try="$ac_link" 2177 case "(($ac_try" in 2178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2179 *) ac_try_echo=$ac_try;; 2180 esac 2181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2182 (eval "$ac_link") 2>&5 1746 2183 ac_status=$? 1747 2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1754 2191 test -f "$ac_file" || continue 1755 2192 case $ac_file in 1756 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 1757 2194 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1758 export ac_cv_exeext1759 2195 break;; 1760 2196 * ) break;; … … 1770 2206 1771 2207 rm -f conftest$ac_cv_exeext 1772 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&51773 echo "${ECHO_T}$ac_cv_exeext" >&6 2208 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2209 echo "${ECHO_T}$ac_cv_exeext" >&6; } 1774 2210 1775 2211 rm -f conftest.$ac_ext 1776 2212 EXEEXT=$ac_cv_exeext 1777 2213 ac_exeext=$EXEEXT 1778 echo "$as_me:$LINENO: checking for suffix of object files" >&51779 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2214 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2215 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 1780 2216 if test "${ac_cv_objext+set}" = set; then 1781 2217 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1797 2233 _ACEOF 1798 2234 rm -f conftest.o conftest.obj 1799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1800 (eval $ac_compile) 2>&5 2235 if { (ac_try="$ac_compile" 2236 case "(($ac_try" in 2237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2238 *) ac_try_echo=$ac_try;; 2239 esac 2240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2241 (eval "$ac_compile") 2>&5 1801 2242 ac_status=$? 1802 2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1803 2244 (exit $ac_status); }; then 1804 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2245 for ac_file in conftest.o conftest.obj conftest.*; do 2246 test -f "$ac_file" || continue; 1805 2247 case $ac_file in 1806 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2248 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 1807 2249 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1808 2250 break;; … … 1822 2264 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1823 2265 fi 1824 echo "$as_me:$LINENO: result: $ac_cv_objext" >&51825 echo "${ECHO_T}$ac_cv_objext" >&6 2266 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2267 echo "${ECHO_T}$ac_cv_objext" >&6; } 1826 2268 OBJEXT=$ac_cv_objext 1827 2269 ac_objext=$OBJEXT 1828 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&51829 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2270 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2271 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 1830 2272 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1831 2273 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1850 2292 _ACEOF 1851 2293 rm -f conftest.$ac_objext 1852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1853 (eval $ac_compile) 2>conftest.er1 2294 if { (ac_try="$ac_compile" 2295 case "(($ac_try" in 2296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2297 *) ac_try_echo=$ac_try;; 2298 esac 2299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2300 (eval "$ac_compile") 2>conftest.er1 1854 2301 ac_status=$? 1855 2302 grep -v '^ *+' conftest.er1 >conftest.err … … 1857 2304 cat conftest.err >&5 1858 2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1859 (exit $ac_status); } && 1860 { ac_try='test -z "$ac_c_werror_flag" 1861 || test ! -s conftest.err' 1862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1863 (eval $ac_try) 2>&5 1864 ac_status=$? 1865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1866 (exit $ac_status); }; } && 1867 { ac_try='test -s conftest.$ac_objext' 1868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1869 (eval $ac_try) 2>&5 1870 ac_status=$? 1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1872 (exit $ac_status); }; }; then 2306 (exit $ac_status); } && { 2307 test -z "$ac_c_werror_flag" || 2308 test ! -s conftest.err 2309 } && test -s conftest.$ac_objext; then 1873 2310 ac_compiler_gnu=yes 1874 2311 else … … 1876 2313 sed 's/^/| /' conftest.$ac_ext >&5 1877 2314 1878 ac_compiler_gnu=no 1879 fi 1880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2315 ac_compiler_gnu=no 2316 fi 2317 2318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1881 2319 ac_cv_c_compiler_gnu=$ac_compiler_gnu 1882 2320 1883 2321 fi 1884 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&51885 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2322 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2323 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 1886 2324 GCC=`test $ac_compiler_gnu = yes && echo yes` 1887 2325 ac_test_CFLAGS=${CFLAGS+set} 1888 2326 ac_save_CFLAGS=$CFLAGS 1889 CFLAGS="-g" 1890 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 1891 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2327 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2328 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 1892 2329 if test "${ac_cv_prog_cc_g+set}" = set; then 1893 2330 echo $ECHO_N "(cached) $ECHO_C" >&6 1894 2331 else 1895 cat >conftest.$ac_ext <<_ACEOF 2332 ac_save_c_werror_flag=$ac_c_werror_flag 2333 ac_c_werror_flag=yes 2334 ac_cv_prog_cc_g=no 2335 CFLAGS="-g" 2336 cat >conftest.$ac_ext <<_ACEOF 1896 2337 /* confdefs.h. */ 1897 2338 _ACEOF … … 1909 2350 _ACEOF 1910 2351 rm -f conftest.$ac_objext 1911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1912 (eval $ac_compile) 2>conftest.er1 2352 if { (ac_try="$ac_compile" 2353 case "(($ac_try" in 2354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2355 *) ac_try_echo=$ac_try;; 2356 esac 2357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2358 (eval "$ac_compile") 2>conftest.er1 1913 2359 ac_status=$? 1914 2360 grep -v '^ *+' conftest.er1 >conftest.err … … 1916 2362 cat conftest.err >&5 1917 2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1918 (exit $ac_status); } && 1919 { ac_try='test -z "$ac_c_werror_flag" 1920 || test ! -s conftest.err' 1921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1922 (eval $ac_try) 2>&5 1923 ac_status=$? 1924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1925 (exit $ac_status); }; } && 1926 { ac_try='test -s conftest.$ac_objext' 1927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1928 (eval $ac_try) 2>&5 1929 ac_status=$? 1930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1931 (exit $ac_status); }; }; then 2364 (exit $ac_status); } && { 2365 test -z "$ac_c_werror_flag" || 2366 test ! -s conftest.err 2367 } && test -s conftest.$ac_objext; then 1932 2368 ac_cv_prog_cc_g=yes 1933 2369 else … … 1935 2371 sed 's/^/| /' conftest.$ac_ext >&5 1936 2372 1937 ac_cv_prog_cc_g=no 1938 fi 1939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1940 fi 1941 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 1942 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2373 CFLAGS="" 2374 cat >conftest.$ac_ext <<_ACEOF 2375 /* confdefs.h. */ 2376 _ACEOF 2377 cat confdefs.h >>conftest.$ac_ext 2378 cat >>conftest.$ac_ext <<_ACEOF 2379 /* end confdefs.h. */ 2380 2381 int 2382 main () 2383 { 2384 2385 ; 2386 return 0; 2387 } 2388 _ACEOF 2389 rm -f conftest.$ac_objext 2390 if { (ac_try="$ac_compile" 2391 case "(($ac_try" in 2392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2393 *) ac_try_echo=$ac_try;; 2394 esac 2395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2396 (eval "$ac_compile") 2>conftest.er1 2397 ac_status=$? 2398 grep -v '^ *+' conftest.er1 >conftest.err 2399 rm -f conftest.er1 2400 cat conftest.err >&5 2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2402 (exit $ac_status); } && { 2403 test -z "$ac_c_werror_flag" || 2404 test ! -s conftest.err 2405 } && test -s conftest.$ac_objext; then 2406 : 2407 else 2408 echo "$as_me: failed program was:" >&5 2409 sed 's/^/| /' conftest.$ac_ext >&5 2410 2411 ac_c_werror_flag=$ac_save_c_werror_flag 2412 CFLAGS="-g" 2413 cat >conftest.$ac_ext <<_ACEOF 2414 /* confdefs.h. */ 2415 _ACEOF 2416 cat confdefs.h >>conftest.$ac_ext 2417 cat >>conftest.$ac_ext <<_ACEOF 2418 /* end confdefs.h. */ 2419 2420 int 2421 main () 2422 { 2423 2424 ; 2425 return 0; 2426 } 2427 _ACEOF 2428 rm -f conftest.$ac_objext 2429 if { (ac_try="$ac_compile" 2430 case "(($ac_try" in 2431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2432 *) ac_try_echo=$ac_try;; 2433 esac 2434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2435 (eval "$ac_compile") 2>conftest.er1 2436 ac_status=$? 2437 grep -v '^ *+' conftest.er1 >conftest.err 2438 rm -f conftest.er1 2439 cat conftest.err >&5 2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2441 (exit $ac_status); } && { 2442 test -z "$ac_c_werror_flag" || 2443 test ! -s conftest.err 2444 } && test -s conftest.$ac_objext; then 2445 ac_cv_prog_cc_g=yes 2446 else 2447 echo "$as_me: failed program was:" >&5 2448 sed 's/^/| /' conftest.$ac_ext >&5 2449 2450 2451 fi 2452 2453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2454 fi 2455 2456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2457 fi 2458 2459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2460 ac_c_werror_flag=$ac_save_c_werror_flag 2461 fi 2462 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2463 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 1943 2464 if test "$ac_test_CFLAGS" = set; then 1944 2465 CFLAGS=$ac_save_CFLAGS … … 1956 2477 fi 1957 2478 fi 1958 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&51959 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&61960 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2479 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2480 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2481 if test "${ac_cv_prog_cc_c89+set}" = set; then 1961 2482 echo $ECHO_N "(cached) $ECHO_C" >&6 1962 2483 else 1963 ac_cv_prog_cc_ stdc=no2484 ac_cv_prog_cc_c89=no 1964 2485 ac_save_CC=$CC 1965 2486 cat >conftest.$ac_ext <<_ACEOF … … 1995 2516 function prototypes and stuff, but not '\xHH' hex character constants. 1996 2517 These don't provoke an error unfortunately, instead are silently treated 1997 as 'x'. The following induces an error, until -std 1is added to get2518 as 'x'. The following induces an error, until -std is added to get 1998 2519 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 1999 2520 array size at least. It's necessary to write '\x00'==0 to get something 2000 that's true only with -std 1. */2521 that's true only with -std. */ 2001 2522 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2523 2524 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2525 inside strings and character constants. */ 2526 #define FOO(x) 'x' 2527 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2002 2528 2003 2529 int test (int i, double x); … … 2015 2541 } 2016 2542 _ACEOF 2017 # Don't try gcc -ansi; that turns off useful extensions and 2018 # breaks some systems' header files. 2019 # AIX -qlanglvl=ansi 2020 # Ultrix and OSF/1 -std1 2021 # HP-UX 10.20 and later -Ae 2022 # HP-UX older versions -Aa -D_HPUX_SOURCE 2023 # SVR4 -Xc -D__EXTENSIONS__ 2024 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2543 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2544 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2025 2545 do 2026 2546 CC="$ac_save_CC $ac_arg" 2027 2547 rm -f conftest.$ac_objext 2028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2029 (eval $ac_compile) 2>conftest.er1 2548 if { (ac_try="$ac_compile" 2549 case "(($ac_try" in 2550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2551 *) ac_try_echo=$ac_try;; 2552 esac 2553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2554 (eval "$ac_compile") 2>conftest.er1 2030 2555 ac_status=$? 2031 2556 grep -v '^ *+' conftest.er1 >conftest.err … … 2033 2558 cat conftest.err >&5 2034 2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2035 (exit $ac_status); } && 2036 { ac_try='test -z "$ac_c_werror_flag" 2037 || test ! -s conftest.err' 2038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2039 (eval $ac_try) 2>&5 2040 ac_status=$? 2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2042 (exit $ac_status); }; } && 2043 { ac_try='test -s conftest.$ac_objext' 2044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2045 (eval $ac_try) 2>&5 2046 ac_status=$? 2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2048 (exit $ac_status); }; }; then 2049 ac_cv_prog_cc_stdc=$ac_arg 2050 break 2560 (exit $ac_status); } && { 2561 test -z "$ac_c_werror_flag" || 2562 test ! -s conftest.err 2563 } && test -s conftest.$ac_objext; then 2564 ac_cv_prog_cc_c89=$ac_arg 2051 2565 else 2052 2566 echo "$as_me: failed program was:" >&5 2053 2567 sed 's/^/| /' conftest.$ac_ext >&5 2054 2568 2055 fi 2056 rm -f conftest.err conftest.$ac_objext 2569 2570 fi 2571 2572 rm -f core conftest.err conftest.$ac_objext 2573 test "x$ac_cv_prog_cc_c89" != "xno" && break 2057 2574 done 2058 rm -f conftest.$ac_ext conftest.$ac_objext2575 rm -f conftest.$ac_ext 2059 2576 CC=$ac_save_CC 2060 2577 2061 2578 fi 2062 2063 case "x$ac_cv_prog_cc_stdc" in 2064 x|xno) 2065 echo "$as_me:$LINENO: result: none needed" >&5 2066 echo "${ECHO_T}none needed" >&6 ;; 2579 # AC_CACHE_VAL 2580 case "x$ac_cv_prog_cc_c89" in 2581 x) 2582 { echo "$as_me:$LINENO: result: none needed" >&5 2583 echo "${ECHO_T}none needed" >&6; } ;; 2584 xno) 2585 { echo "$as_me:$LINENO: result: unsupported" >&5 2586 echo "${ECHO_T}unsupported" >&6; } ;; 2067 2587 *) 2068 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2069 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2070 CC="$CC $ac_cv_prog_cc_stdc" ;; 2071 esac 2072 2073 # Some people use a C++ compiler to compile C. Since we use `exit', 2074 # in C++ we need to declare it. In case someone uses the same compiler 2075 # for both compiling C and C++ we need to have the C++ compiler decide 2076 # the declaration of exit, since it's the most demanding environment. 2588 CC="$CC $ac_cv_prog_cc_c89" 2589 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2590 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2591 esac 2592 2593 2594 ac_ext=c 2595 ac_cpp='$CPP $CPPFLAGS' 2596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2598 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2599 2600 2601 if test "$GCC" = yes; then 2602 CFLAGS="$CFLAGS -Wall -g -D_FORTIFY_SOURCE=2"; 2603 fi 2604 2605 { echo "$as_me:$LINENO: checking for /usr/athena/include" >&5 2606 echo $ECHO_N "checking for /usr/athena/include... $ECHO_C" >&6; } 2607 if test -d /usr/athena/include; then 2608 CFLAGS=${CFLAGS}\ -I/usr/athena/include 2609 CPPFLAGS=${CPPFLAGS}\ -I/usr/athena/include 2610 { echo "$as_me:$LINENO: result: yes" >&5 2611 echo "${ECHO_T}yes" >&6; } 2612 else 2613 { echo "$as_me:$LINENO: result: no" >&5 2614 echo "${ECHO_T}no" >&6; } 2615 fi 2616 { echo "$as_me:$LINENO: checking for /usr/athena/lib" >&5 2617 echo $ECHO_N "checking for /usr/athena/lib... $ECHO_C" >&6; } 2618 if test -d /usr/athena/lib; then 2619 LDFLAGS=-L/usr/athena/lib\ ${LDFLAGS} 2620 { echo "$as_me:$LINENO: result: yes" >&5 2621 echo "${ECHO_T}yes" >&6; } 2622 else 2623 { echo "$as_me:$LINENO: result: no" >&5 2624 echo "${ECHO_T}no" >&6; } 2625 fi 2626 2627 { echo "$as_me:$LINENO: checking for /usr/include/kerberosIV" >&5 2628 echo $ECHO_N "checking for /usr/include/kerberosIV... $ECHO_C" >&6; } 2629 if test -d /usr/include/kerberosIV; then 2630 CFLAGS=${CFLAGS}\ -I/usr/include/kerberosIV 2631 CPPFLAGS=${CPPFLAGS}\ -I/usr/include/kerberosIV 2632 { echo "$as_me:$LINENO: result: yes" >&5 2633 echo "${ECHO_T}yes" >&6; } 2634 else 2635 { echo "$as_me:$LINENO: result: no" >&5 2636 echo "${ECHO_T}no" >&6; } 2637 fi 2638 2639 PROTECT_CFLAGS=${PROTECT_CFLAGS-"-fstack-protector"} 2640 SAVE_CFLAGS=$CFLAGS 2641 CFLAGS="$CFLAGS $PROTECT_CFLAGS" 2642 { echo "$as_me:$LINENO: checking whether protection cflags work" >&5 2643 echo $ECHO_N "checking whether protection cflags work... $ECHO_C" >&6; } 2644 2077 2645 cat >conftest.$ac_ext <<_ACEOF 2078 #ifndef __cplusplus 2079 choke me 2080 #endif 2646 int i; 2081 2647 _ACEOF 2082 2648 rm -f conftest.$ac_objext 2083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2084 (eval $ac_compile) 2>conftest.er1 2649 if { (ac_try="$ac_compile" 2650 case "(($ac_try" in 2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2652 *) ac_try_echo=$ac_try;; 2653 esac 2654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2655 (eval "$ac_compile") 2>conftest.er1 2085 2656 ac_status=$? 2086 2657 grep -v '^ *+' conftest.er1 >conftest.err … … 2088 2659 cat conftest.err >&5 2089 2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2090 (exit $ac_status); } && 2091 { ac_try='test -z "$ac_c_werror_flag" 2092 || test ! -s conftest.err' 2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2094 (eval $ac_try) 2>&5 2095 ac_status=$? 2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2097 (exit $ac_status); }; } && 2098 { ac_try='test -s conftest.$ac_objext' 2099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2100 (eval $ac_try) 2>&5 2101 ac_status=$? 2102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2103 (exit $ac_status); }; }; then 2104 for ac_declaration in \ 2105 '' \ 2106 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2107 'extern "C" void std::exit (int); using std::exit;' \ 2108 'extern "C" void exit (int) throw ();' \ 2109 'extern "C" void exit (int);' \ 2110 'void exit (int);' 2111 do 2112 cat >conftest.$ac_ext <<_ACEOF 2661 (exit $ac_status); } && { 2662 test -z "$ac_c_werror_flag" || 2663 test ! -s conftest.err 2664 } && test -s conftest.$ac_objext; then 2665 { echo "$as_me:$LINENO: result: yes" >&5 2666 echo "${ECHO_T}yes" >&6; } 2667 else 2668 echo "$as_me: failed program was:" >&5 2669 sed 's/^/| /' conftest.$ac_ext >&5 2670 2671 { echo "$as_me:$LINENO: result: no" >&5 2672 echo "${ECHO_T}no" >&6; } 2673 CFLAGS=$SAVE_CFLAGS 2674 fi 2675 2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2677 2678 2679 { echo "$as_me:$LINENO: checking for __stack_chk_guard in -lssp" >&5 2680 echo $ECHO_N "checking for __stack_chk_guard in -lssp... $ECHO_C" >&6; } 2681 if test "${ac_cv_lib_ssp___stack_chk_guard+set}" = set; then 2682 echo $ECHO_N "(cached) $ECHO_C" >&6 2683 else 2684 ac_check_lib_save_LIBS=$LIBS 2685 LIBS="-lssp $LIBS" 2686 cat >conftest.$ac_ext <<_ACEOF 2113 2687 /* confdefs.h. */ 2114 2688 _ACEOF … … 2116 2690 cat >>conftest.$ac_ext <<_ACEOF 2117 2691 /* end confdefs.h. */ 2118 $ac_declaration 2119 #include <stdlib.h> 2692 2693 /* Override any GCC internal prototype to avoid an error. 2694 Use char because int might match the return type of a GCC 2695 builtin and then its argument prototype would still apply. */ 2696 #ifdef __cplusplus 2697 extern "C" 2698 #endif 2699 char __stack_chk_guard (); 2120 2700 int 2121 2701 main () 2122 2702 { 2123 exit (42);2703 return __stack_chk_guard (); 2124 2704 ; 2125 2705 return 0; 2126 2706 } 2127 2707 _ACEOF 2128 rm -f conftest.$ac_objext 2129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2130 (eval $ac_compile) 2>conftest.er1 2708 rm -f conftest.$ac_objext conftest$ac_exeext 2709 if { (ac_try="$ac_link" 2710 case "(($ac_try" in 2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2712 *) ac_try_echo=$ac_try;; 2713 esac 2714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2715 (eval "$ac_link") 2>conftest.er1 2131 2716 ac_status=$? 2132 2717 grep -v '^ *+' conftest.er1 >conftest.err … … 2134 2719 cat conftest.err >&5 2135 2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2136 (exit $ac_status); } && 2137 { ac_try='test -z "$ac_c_werror_flag" 2138 || test ! -s conftest.err' 2139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2140 (eval $ac_try) 2>&5 2141 ac_status=$? 2142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2143 (exit $ac_status); }; } && 2144 { ac_try='test -s conftest.$ac_objext' 2145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2146 (eval $ac_try) 2>&5 2147 ac_status=$? 2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2149 (exit $ac_status); }; }; then 2150 : 2721 (exit $ac_status); } && { 2722 test -z "$ac_c_werror_flag" || 2723 test ! -s conftest.err 2724 } && test -s conftest$ac_exeext && 2725 $as_test_x conftest$ac_exeext; then 2726 ac_cv_lib_ssp___stack_chk_guard=yes 2151 2727 else 2152 2728 echo "$as_me: failed program was:" >&5 2153 2729 sed 's/^/| /' conftest.$ac_ext >&5 2154 2730 2155 continue 2156 fi 2157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2158 cat >conftest.$ac_ext <<_ACEOF 2731 ac_cv_lib_ssp___stack_chk_guard=no 2732 fi 2733 2734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2735 conftest$ac_exeext conftest.$ac_ext 2736 LIBS=$ac_check_lib_save_LIBS 2737 fi 2738 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssp___stack_chk_guard" >&5 2739 echo "${ECHO_T}$ac_cv_lib_ssp___stack_chk_guard" >&6; } 2740 if test $ac_cv_lib_ssp___stack_chk_guard = yes; then 2741 cat >>confdefs.h <<_ACEOF 2742 #define HAVE_LIBSSP 1 2743 _ACEOF 2744 2745 LIBS="-lssp $LIBS" 2746 2747 fi 2748 2749 2750 { echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5 2751 echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; } 2752 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then 2753 echo $ECHO_N "(cached) $ECHO_C" >&6 2754 else 2755 ac_check_lib_save_LIBS=$LIBS 2756 LIBS="-lncurses $LIBS" 2757 cat >conftest.$ac_ext <<_ACEOF 2159 2758 /* confdefs.h. */ 2160 2759 _ACEOF … … 2162 2761 cat >>conftest.$ac_ext <<_ACEOF 2163 2762 /* end confdefs.h. */ 2164 $ac_declaration 2763 2764 /* Override any GCC internal prototype to avoid an error. 2765 Use char because int might match the return type of a GCC 2766 builtin and then its argument prototype would still apply. */ 2767 #ifdef __cplusplus 2768 extern "C" 2769 #endif 2770 char initscr (); 2165 2771 int 2166 2772 main () 2167 2773 { 2168 exit (42);2774 return initscr (); 2169 2775 ; 2170 2776 return 0; 2171 2777 } 2172 2778 _ACEOF 2173 rm -f conftest.$ac_objext 2174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2175 (eval $ac_compile) 2>conftest.er1 2779 rm -f conftest.$ac_objext conftest$ac_exeext 2780 if { (ac_try="$ac_link" 2781 case "(($ac_try" in 2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2783 *) ac_try_echo=$ac_try;; 2784 esac 2785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2786 (eval "$ac_link") 2>conftest.er1 2176 2787 ac_status=$? 2177 2788 grep -v '^ *+' conftest.er1 >conftest.err … … 2179 2790 cat conftest.err >&5 2180 2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2181 (exit $ac_status); } && 2182 { ac_try='test -z "$ac_c_werror_flag" 2183 || test ! -s conftest.err' 2184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2185 (eval $ac_try) 2>&5 2186 ac_status=$? 2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2188 (exit $ac_status); }; } && 2189 { ac_try='test -s conftest.$ac_objext' 2190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2191 (eval $ac_try) 2>&5 2192 ac_status=$? 2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2194 (exit $ac_status); }; }; then 2195 break 2792 (exit $ac_status); } && { 2793 test -z "$ac_c_werror_flag" || 2794 test ! -s conftest.err 2795 } && test -s conftest$ac_exeext && 2796 $as_test_x conftest$ac_exeext; then 2797 ac_cv_lib_ncurses_initscr=yes 2196 2798 else 2197 2799 echo "$as_me: failed program was:" >&5 2198 2800 sed 's/^/| /' conftest.$ac_ext >&5 2199 2801 2200 fi 2201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2202 done 2203 rm -f conftest* 2204 if test -n "$ac_declaration"; then 2205 echo '#ifdef __cplusplus' >>confdefs.h 2206 echo $ac_declaration >>confdefs.h 2207 echo '#endif' >>confdefs.h 2208 fi 2209 2210 else 2211 echo "$as_me: failed program was:" >&5 2212 sed 's/^/| /' conftest.$ac_ext >&5 2213 2214 fi 2215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2216 ac_ext=c 2217 ac_cpp='$CPP $CPPFLAGS' 2218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2220 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2221 2222 2223 if test "$GCC" = yes; then 2224 CFLAGS="$CFLAGS -Wall -g"; 2225 fi 2226 2227 2228 echo "$as_me:$LINENO: checking for /usr/athena/include" >&5 2229 echo $ECHO_N "checking for /usr/athena/include... $ECHO_C" >&6 2230 if test -d /usr/athena/include; then 2231 CFLAGS=${CFLAGS}\ -I/usr/athena/include 2232 CPPFLAGS=${CPPFLAGS}\ -I/usr/athena/include 2233 echo "$as_me:$LINENO: result: yes" >&5 2234 echo "${ECHO_T}yes" >&6 2235 else 2236 echo "$as_me:$LINENO: result: no" >&5 2237 echo "${ECHO_T}no" >&6 2238 fi 2239 echo "$as_me:$LINENO: checking for /usr/athena/lib" >&5 2240 echo $ECHO_N "checking for /usr/athena/lib... $ECHO_C" >&6 2241 if test -d /usr/athena/lib; then 2242 LDFLAGS=-L/usr/athena/lib\ ${LDFLAGS} 2243 echo "$as_me:$LINENO: result: yes" >&5 2244 echo "${ECHO_T}yes" >&6 2245 else 2246 echo "$as_me:$LINENO: result: no" >&5 2247 echo "${ECHO_T}no" >&6 2248 fi 2249 2250 echo "$as_me:$LINENO: checking for /usr/include/kerberosIV" >&5 2251 echo $ECHO_N "checking for /usr/include/kerberosIV... $ECHO_C" >&6 2252 if test -d /usr/include/kerberosIV; then 2253 CFLAGS=${CFLAGS}\ -I/usr/include/kerberosIV 2254 CPPFLAGS=${CPPFLAGS}\ -I/usr/include/kerberosIV 2255 echo "$as_me:$LINENO: result: yes" >&5 2256 echo "${ECHO_T}yes" >&6 2257 else 2258 echo "$as_me:$LINENO: result: no" >&5 2259 echo "${ECHO_T}no" >&6 2260 fi 2261 2262 2263 echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5 2264 echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6 2265 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then 2802 ac_cv_lib_ncurses_initscr=no 2803 fi 2804 2805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2806 conftest$ac_exeext conftest.$ac_ext 2807 LIBS=$ac_check_lib_save_LIBS 2808 fi 2809 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5 2810 echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; } 2811 if test $ac_cv_lib_ncurses_initscr = yes; then 2812 cat >>confdefs.h <<_ACEOF 2813 #define HAVE_LIBNCURSES 1 2814 _ACEOF 2815 2816 LIBS="-lncurses $LIBS" 2817 2818 else 2819 2820 { echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5 2821 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; } 2822 if test "${ac_cv_lib_curses_initscr+set}" = set; then 2266 2823 echo $ECHO_N "(cached) $ECHO_C" >&6 2267 2824 else 2268 2825 ac_check_lib_save_LIBS=$LIBS 2269 LIBS="-l ncurses $LIBS"2826 LIBS="-lcurses $LIBS" 2270 2827 cat >conftest.$ac_ext <<_ACEOF 2271 2828 /* confdefs.h. */ … … 2275 2832 /* end confdefs.h. */ 2276 2833 2277 /* Override any gcc2 internal prototype to avoid an error. */ 2834 /* Override any GCC internal prototype to avoid an error. 2835 Use char because int might match the return type of a GCC 2836 builtin and then its argument prototype would still apply. */ 2278 2837 #ifdef __cplusplus 2279 2838 extern "C" 2280 2839 #endif 2281 /* We use char because int might match the return type of a gcc22282 builtin and then its argument prototype would still apply. */2283 2840 char initscr (); 2284 2841 int 2285 2842 main () 2286 2843 { 2287 initscr ();2844 return initscr (); 2288 2845 ; 2289 2846 return 0; … … 2291 2848 _ACEOF 2292 2849 rm -f conftest.$ac_objext conftest$ac_exeext 2293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2294 (eval $ac_link) 2>conftest.er1 2850 if { (ac_try="$ac_link" 2851 case "(($ac_try" in 2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2853 *) ac_try_echo=$ac_try;; 2854 esac 2855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2856 (eval "$ac_link") 2>conftest.er1 2295 2857 ac_status=$? 2296 2858 grep -v '^ *+' conftest.er1 >conftest.err … … 2298 2860 cat conftest.err >&5 2299 2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2300 (exit $ac_status); } && 2301 { ac_try='test -z "$ac_c_werror_flag" 2302 || test ! -s conftest.err' 2303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2304 (eval $ac_try) 2>&5 2305 ac_status=$? 2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2307 (exit $ac_status); }; } && 2308 { ac_try='test -s conftest$ac_exeext' 2309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2310 (eval $ac_try) 2>&5 2311 ac_status=$? 2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2313 (exit $ac_status); }; }; then 2314 ac_cv_lib_ncurses_initscr=yes 2862 (exit $ac_status); } && { 2863 test -z "$ac_c_werror_flag" || 2864 test ! -s conftest.err 2865 } && test -s conftest$ac_exeext && 2866 $as_test_x conftest$ac_exeext; then 2867 ac_cv_lib_curses_initscr=yes 2315 2868 else 2316 2869 echo "$as_me: failed program was:" >&5 2317 2870 sed 's/^/| /' conftest.$ac_ext >&5 2318 2871 2319 ac_cv_lib_ncurses_initscr=no 2320 fi 2321 rm -f conftest.err conftest.$ac_objext \ 2872 ac_cv_lib_curses_initscr=no 2873 fi 2874 2875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2322 2876 conftest$ac_exeext conftest.$ac_ext 2323 2877 LIBS=$ac_check_lib_save_LIBS 2324 2878 fi 2325 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&52326 echo "${ECHO_T}$ac_cv_lib_ ncurses_initscr" >&62327 if test $ac_cv_lib_ ncurses_initscr = yes; then2879 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5 2880 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; } 2881 if test $ac_cv_lib_curses_initscr = yes; then 2328 2882 cat >>confdefs.h <<_ACEOF 2329 #define HAVE_LIBNCURSES 1 2330 _ACEOF 2331 2332 LIBS="-lncurses $LIBS" 2333 2334 else 2335 2336 echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5 2337 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6 2338 if test "${ac_cv_lib_curses_initscr+set}" = set; then 2883 #define HAVE_LIBCURSES 1 2884 _ACEOF 2885 2886 LIBS="-lcurses $LIBS" 2887 2888 else 2889 { { echo "$as_me:$LINENO: error: No curses library found." >&5 2890 echo "$as_me: error: No curses library found." >&2;} 2891 { (exit 1); exit 1; }; } 2892 fi 2893 2894 fi 2895 2896 2897 { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 2898 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; } 2899 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 2339 2900 echo $ECHO_N "(cached) $ECHO_C" >&6 2340 2901 else 2341 2902 ac_check_lib_save_LIBS=$LIBS 2342 LIBS="-lcurses $LIBS" 2343 2903 LIBS="-lcom_err $LIBS" 2344 2904 cat >conftest.$ac_ext <<_ACEOF 2345 2905 /* confdefs.h. */ … … 2349 2909 /* end confdefs.h. */ 2350 2910 2351 /* Override any gcc2 internal prototype to avoid an error. */ 2911 /* Override any GCC internal prototype to avoid an error. 2912 Use char because int might match the return type of a GCC 2913 builtin and then its argument prototype would still apply. */ 2352 2914 #ifdef __cplusplus 2353 2915 extern "C" 2354 2916 #endif 2355 /* We use char because int might match the return type of a gcc2 2356 builtin and then its argument prototype would still apply. */ 2357 char initscr (); 2917 char com_err (); 2358 2918 int 2359 2919 main () 2360 2920 { 2361 initscr ();2921 return com_err (); 2362 2922 ; 2363 2923 return 0; … … 2365 2925 _ACEOF 2366 2926 rm -f conftest.$ac_objext conftest$ac_exeext 2367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2368 (eval $ac_link) 2>conftest.er1 2927 if { (ac_try="$ac_link" 2928 case "(($ac_try" in 2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2930 *) ac_try_echo=$ac_try;; 2931 esac 2932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2933 (eval "$ac_link") 2>conftest.er1 2369 2934 ac_status=$? 2370 2935 grep -v '^ *+' conftest.er1 >conftest.err … … 2372 2937 cat conftest.err >&5 2373 2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2374 (exit $ac_status); } && 2375 { ac_try='test -z "$ac_c_werror_flag" 2376 || test ! -s conftest.err' 2377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2378 (eval $ac_try) 2>&5 2379 ac_status=$? 2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2381 (exit $ac_status); }; } && 2382 { ac_try='test -s conftest$ac_exeext' 2383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2384 (eval $ac_try) 2>&5 2385 ac_status=$? 2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2387 (exit $ac_status); }; }; then 2388 ac_cv_lib_curses_initscr=yes 2939 (exit $ac_status); } && { 2940 test -z "$ac_c_werror_flag" || 2941 test ! -s conftest.err 2942 } && test -s conftest$ac_exeext && 2943 $as_test_x conftest$ac_exeext; then 2944 ac_cv_lib_com_err_com_err=yes 2389 2945 else 2390 2946 echo "$as_me: failed program was:" >&5 2391 2947 sed 's/^/| /' conftest.$ac_ext >&5 2392 2948 2393 ac_cv_lib_curses_initscr=no 2394 fi 2395 rm -f conftest.err conftest.$ac_objext \ 2949 ac_cv_lib_com_err_com_err=no 2950 fi 2951 2952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2396 2953 conftest$ac_exeext conftest.$ac_ext 2397 2954 LIBS=$ac_check_lib_save_LIBS 2398 2955 fi 2399 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&52400 echo "${ECHO_T}$ac_cv_lib_c urses_initscr" >&62401 if test $ac_cv_lib_c urses_initscr = yes; then2956 { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 2957 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; } 2958 if test $ac_cv_lib_com_err_com_err = yes; then 2402 2959 cat >>confdefs.h <<_ACEOF 2403 #define HAVE_LIBCURSES 1 2404 _ACEOF 2405 2406 LIBS="-lcurses $LIBS" 2407 2408 else 2409 { { echo "$as_me:$LINENO: error: No curses library found." >&5 2410 echo "$as_me: error: No curses library found." >&2;} 2411 { (exit 1); exit 1; }; } 2412 fi 2413 2414 fi 2415 2416 2417 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 2418 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 2419 if test "${ac_cv_lib_com_err_com_err+set}" = set; then 2960 #define HAVE_LIBCOM_ERR 1 2961 _ACEOF 2962 2963 LIBS="-lcom_err $LIBS" 2964 2965 fi 2966 2967 2968 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 2969 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } 2970 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then 2420 2971 echo $ECHO_N "(cached) $ECHO_C" >&6 2421 2972 else 2422 2973 ac_check_lib_save_LIBS=$LIBS 2423 LIBS="-l com_err$LIBS"2974 LIBS="-lnsl $LIBS" 2424 2975 cat >conftest.$ac_ext <<_ACEOF 2425 2976 /* confdefs.h. */ … … 2429 2980 /* end confdefs.h. */ 2430 2981 2431 /* Override any gcc2 internal prototype to avoid an error. */ 2982 /* Override any GCC internal prototype to avoid an error. 2983 Use char because int might match the return type of a GCC 2984 builtin and then its argument prototype would still apply. */ 2432 2985 #ifdef __cplusplus 2433 2986 extern "C" 2434 2987 #endif 2435 /* We use char because int might match the return type of a gcc2 2436 builtin and then its argument prototype would still apply. */ 2437 char com_err (); 2988 char gethostbyname (); 2438 2989 int 2439 2990 main () 2440 2991 { 2441 com_err();2992 return gethostbyname (); 2442 2993 ; 2443 2994 return 0; … … 2445 2996 _ACEOF 2446 2997 rm -f conftest.$ac_objext conftest$ac_exeext 2447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2448 (eval $ac_link) 2>conftest.er1 2998 if { (ac_try="$ac_link" 2999 case "(($ac_try" in 3000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3001 *) ac_try_echo=$ac_try;; 3002 esac 3003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3004 (eval "$ac_link") 2>conftest.er1 2449 3005 ac_status=$? 2450 3006 grep -v '^ *+' conftest.er1 >conftest.err … … 2452 3008 cat conftest.err >&5 2453 3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2454 (exit $ac_status); } && 2455 { ac_try='test -z "$ac_c_werror_flag" 2456 || test ! -s conftest.err' 2457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2458 (eval $ac_try) 2>&5 2459 ac_status=$? 2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2461 (exit $ac_status); }; } && 2462 { ac_try='test -s conftest$ac_exeext' 2463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2464 (eval $ac_try) 2>&5 2465 ac_status=$? 2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2467 (exit $ac_status); }; }; then 2468 ac_cv_lib_com_err_com_err=yes 3010 (exit $ac_status); } && { 3011 test -z "$ac_c_werror_flag" || 3012 test ! -s conftest.err 3013 } && test -s conftest$ac_exeext && 3014 $as_test_x conftest$ac_exeext; then 3015 ac_cv_lib_nsl_gethostbyname=yes 2469 3016 else 2470 3017 echo "$as_me: failed program was:" >&5 2471 3018 sed 's/^/| /' conftest.$ac_ext >&5 2472 3019 2473 ac_cv_lib_com_err_com_err=no 2474 fi 2475 rm -f conftest.err conftest.$ac_objext \ 3020 ac_cv_lib_nsl_gethostbyname=no 3021 fi 3022 3023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2476 3024 conftest$ac_exeext conftest.$ac_ext 2477 3025 LIBS=$ac_check_lib_save_LIBS 2478 3026 fi 2479 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&52480 echo "${ECHO_T}$ac_cv_lib_ com_err_com_err" >&62481 if test $ac_cv_lib_ com_err_com_err= yes; then3027 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 3028 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; } 3029 if test $ac_cv_lib_nsl_gethostbyname = yes; then 2482 3030 cat >>confdefs.h <<_ACEOF 2483 #define HAVE_LIB COM_ERR12484 _ACEOF 2485 2486 LIBS="-l com_err$LIBS"2487 2488 fi 2489 2490 2491 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&52492 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&62493 if test "${ac_cv_lib_ nsl_gethostbyname+set}" = set; then3031 #define HAVE_LIBNSL 1 3032 _ACEOF 3033 3034 LIBS="-lnsl $LIBS" 3035 3036 fi 3037 3038 3039 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 3040 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } 3041 if test "${ac_cv_lib_socket_socket+set}" = set; then 2494 3042 echo $ECHO_N "(cached) $ECHO_C" >&6 2495 3043 else 2496 3044 ac_check_lib_save_LIBS=$LIBS 2497 LIBS="-l nsl$LIBS"3045 LIBS="-lsocket $LIBS" 2498 3046 cat >conftest.$ac_ext <<_ACEOF 2499 3047 /* confdefs.h. */ … … 2503 3051 /* end confdefs.h. */ 2504 3052 2505 /* Override any gcc2 internal prototype to avoid an error. */ 3053 /* Override any GCC internal prototype to avoid an error. 3054 Use char because int might match the return type of a GCC 3055 builtin and then its argument prototype would still apply. */ 2506 3056 #ifdef __cplusplus 2507 3057 extern "C" 2508 3058 #endif 2509 /* We use char because int might match the return type of a gcc2 2510 builtin and then its argument prototype would still apply. */ 2511 char gethostbyname (); 3059 char socket (); 2512 3060 int 2513 3061 main () 2514 3062 { 2515 gethostbyname();3063 return socket (); 2516 3064 ; 2517 3065 return 0; … … 2519 3067 _ACEOF 2520 3068 rm -f conftest.$ac_objext conftest$ac_exeext 2521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2522 (eval $ac_link) 2>conftest.er1 3069 if { (ac_try="$ac_link" 3070 case "(($ac_try" in 3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3072 *) ac_try_echo=$ac_try;; 3073 esac 3074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3075 (eval "$ac_link") 2>conftest.er1 2523 3076 ac_status=$? 2524 3077 grep -v '^ *+' conftest.er1 >conftest.err … … 2526 3079 cat conftest.err >&5 2527 3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2528 (exit $ac_status); } && 2529 { ac_try='test -z "$ac_c_werror_flag" 2530 || test ! -s conftest.err' 2531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2532 (eval $ac_try) 2>&5 2533 ac_status=$? 2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2535 (exit $ac_status); }; } && 2536 { ac_try='test -s conftest$ac_exeext' 2537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2538 (eval $ac_try) 2>&5 2539 ac_status=$? 2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2541 (exit $ac_status); }; }; then 2542 ac_cv_lib_nsl_gethostbyname=yes 3081 (exit $ac_status); } && { 3082 test -z "$ac_c_werror_flag" || 3083 test ! -s conftest.err 3084 } && test -s conftest$ac_exeext && 3085 $as_test_x conftest$ac_exeext; then 3086 ac_cv_lib_socket_socket=yes 2543 3087 else 2544 3088 echo "$as_me: failed program was:" >&5 2545 3089 sed 's/^/| /' conftest.$ac_ext >&5 2546 3090 2547 ac_cv_lib_nsl_gethostbyname=no 2548 fi 2549 rm -f conftest.err conftest.$ac_objext \ 3091 ac_cv_lib_socket_socket=no 3092 fi 3093 3094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2550 3095 conftest$ac_exeext conftest.$ac_ext 2551 3096 LIBS=$ac_check_lib_save_LIBS 2552 3097 fi 2553 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&52554 echo "${ECHO_T}$ac_cv_lib_ nsl_gethostbyname" >&62555 if test $ac_cv_lib_ nsl_gethostbyname= yes; then3098 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 3099 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } 3100 if test $ac_cv_lib_socket_socket = yes; then 2556 3101 cat >>confdefs.h <<_ACEOF 2557 #define HAVE_LIB NSL12558 _ACEOF 2559 2560 LIBS="-l nsl$LIBS"2561 2562 fi 2563 2564 2565 echo "$as_me:$LINENO: checking for socket in -lsocket" >&52566 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&62567 if test "${ac_cv_lib_ socket_socket+set}" = set; then3102 #define HAVE_LIBSOCKET 1 3103 _ACEOF 3104 3105 LIBS="-lsocket $LIBS" 3106 3107 fi 3108 3109 3110 { echo "$as_me:$LINENO: checking for krb5_derive_key in -lk5crypto" >&5 3111 echo $ECHO_N "checking for krb5_derive_key in -lk5crypto... $ECHO_C" >&6; } 3112 if test "${ac_cv_lib_k5crypto_krb5_derive_key+set}" = set; then 2568 3113 echo $ECHO_N "(cached) $ECHO_C" >&6 2569 3114 else 2570 3115 ac_check_lib_save_LIBS=$LIBS 2571 LIBS="-l socket$LIBS"3116 LIBS="-lk5crypto $LIBS" 2572 3117 cat >conftest.$ac_ext <<_ACEOF 2573 3118 /* confdefs.h. */ … … 2577 3122 /* end confdefs.h. */ 2578 3123 2579 /* Override any gcc2 internal prototype to avoid an error. */ 3124 /* Override any GCC internal prototype to avoid an error. 3125 Use char because int might match the return type of a GCC 3126 builtin and then its argument prototype would still apply. */ 2580 3127 #ifdef __cplusplus 2581 3128 extern "C" 2582 3129 #endif 2583 /* We use char because int might match the return type of a gcc2 2584 builtin and then its argument prototype would still apply. */ 2585 char socket (); 3130 char krb5_derive_key (); 2586 3131 int 2587 3132 main () 2588 3133 { 2589 socket();3134 return krb5_derive_key (); 2590 3135 ; 2591 3136 return 0; … … 2593 3138 _ACEOF 2594 3139 rm -f conftest.$ac_objext conftest$ac_exeext 2595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2596 (eval $ac_link) 2>conftest.er1 3140 if { (ac_try="$ac_link" 3141 case "(($ac_try" in 3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3143 *) ac_try_echo=$ac_try;; 3144 esac 3145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3146 (eval "$ac_link") 2>conftest.er1 2597 3147 ac_status=$? 2598 3148 grep -v '^ *+' conftest.er1 >conftest.err … … 2600 3150 cat conftest.err >&5 2601 3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2602 (exit $ac_status); } && 2603 { ac_try='test -z "$ac_c_werror_flag" 2604 || test ! -s conftest.err' 2605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2606 (eval $ac_try) 2>&5 2607 ac_status=$? 2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2609 (exit $ac_status); }; } && 2610 { ac_try='test -s conftest$ac_exeext' 2611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2612 (eval $ac_try) 2>&5 2613 ac_status=$? 2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2615 (exit $ac_status); }; }; then 2616 ac_cv_lib_socket_socket=yes 3152 (exit $ac_status); } && { 3153 test -z "$ac_c_werror_flag" || 3154 test ! -s conftest.err 3155 } && test -s conftest$ac_exeext && 3156 $as_test_x conftest$ac_exeext; then 3157 ac_cv_lib_k5crypto_krb5_derive_key=yes 2617 3158 else 2618 3159 echo "$as_me: failed program was:" >&5 2619 3160 sed 's/^/| /' conftest.$ac_ext >&5 2620 3161 2621 ac_cv_lib_socket_socket=no 2622 fi 2623 rm -f conftest.err conftest.$ac_objext \ 3162 ac_cv_lib_k5crypto_krb5_derive_key=no 3163 fi 3164 3165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2624 3166 conftest$ac_exeext conftest.$ac_ext 2625 3167 LIBS=$ac_check_lib_save_LIBS 2626 3168 fi 2627 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&52628 echo "${ECHO_T}$ac_cv_lib_ socket_socket" >&62629 if test $ac_cv_lib_ socket_socket= yes; then3169 { echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_krb5_derive_key" >&5 3170 echo "${ECHO_T}$ac_cv_lib_k5crypto_krb5_derive_key" >&6; } 3171 if test $ac_cv_lib_k5crypto_krb5_derive_key = yes; then 2630 3172 cat >>confdefs.h <<_ACEOF 2631 #define HAVE_LIB SOCKET12632 _ACEOF 2633 2634 LIBS="-l socket$LIBS"2635 2636 fi 2637 2638 2639 echo "$as_me:$LINENO: checking for krb5_derive_key in -lk5crypto" >&52640 echo $ECHO_N "checking for krb5_derive_key in -lk5crypto... $ECHO_C" >&62641 if test "${ac_cv_lib_ k5crypto_krb5_derive_key+set}" = set; then3173 #define HAVE_LIBK5CRYPTO 1 3174 _ACEOF 3175 3176 LIBS="-lk5crypto $LIBS" 3177 3178 fi 3179 3180 3181 { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 3182 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; } 3183 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then 2642 3184 echo $ECHO_N "(cached) $ECHO_C" >&6 2643 3185 else 2644 3186 ac_check_lib_save_LIBS=$LIBS 2645 LIBS="-l k5crypto$LIBS"3187 LIBS="-ldes425 $LIBS" 2646 3188 cat >conftest.$ac_ext <<_ACEOF 2647 3189 /* confdefs.h. */ … … 2651 3193 /* end confdefs.h. */ 2652 3194 2653 /* Override any gcc2 internal prototype to avoid an error. */ 3195 /* Override any GCC internal prototype to avoid an error. 3196 Use char because int might match the return type of a GCC 3197 builtin and then its argument prototype would still apply. */ 2654 3198 #ifdef __cplusplus 2655 3199 extern "C" 2656 3200 #endif 2657 /* We use char because int might match the return type of a gcc2 2658 builtin and then its argument prototype would still apply. */ 2659 char krb5_derive_key (); 3201 char des_cbc_encrypt (); 2660 3202 int 2661 3203 main () 2662 3204 { 2663 krb5_derive_key();3205 return des_cbc_encrypt (); 2664 3206 ; 2665 3207 return 0; … … 2667 3209 _ACEOF 2668 3210 rm -f conftest.$ac_objext conftest$ac_exeext 2669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2670 (eval $ac_link) 2>conftest.er1 3211 if { (ac_try="$ac_link" 3212 case "(($ac_try" in 3213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3214 *) ac_try_echo=$ac_try;; 3215 esac 3216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3217 (eval "$ac_link") 2>conftest.er1 2671 3218 ac_status=$? 2672 3219 grep -v '^ *+' conftest.er1 >conftest.err … … 2674 3221 cat conftest.err >&5 2675 3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2676 (exit $ac_status); } && 2677 { ac_try='test -z "$ac_c_werror_flag" 2678 || test ! -s conftest.err' 2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2680 (eval $ac_try) 2>&5 2681 ac_status=$? 2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2683 (exit $ac_status); }; } && 2684 { ac_try='test -s conftest$ac_exeext' 2685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2686 (eval $ac_try) 2>&5 2687 ac_status=$? 2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2689 (exit $ac_status); }; }; then 2690 ac_cv_lib_k5crypto_krb5_derive_key=yes 3223 (exit $ac_status); } && { 3224 test -z "$ac_c_werror_flag" || 3225 test ! -s conftest.err 3226 } && test -s conftest$ac_exeext && 3227 $as_test_x conftest$ac_exeext; then 3228 ac_cv_lib_des425_des_cbc_encrypt=yes 2691 3229 else 2692 3230 echo "$as_me: failed program was:" >&5 2693 3231 sed 's/^/| /' conftest.$ac_ext >&5 2694 3232 2695 ac_cv_lib_k5crypto_krb5_derive_key=no 2696 fi 2697 rm -f conftest.err conftest.$ac_objext \ 3233 ac_cv_lib_des425_des_cbc_encrypt=no 3234 fi 3235 3236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2698 3237 conftest$ac_exeext conftest.$ac_ext 2699 3238 LIBS=$ac_check_lib_save_LIBS 2700 3239 fi 2701 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_krb5_derive_key" >&52702 echo "${ECHO_T}$ac_cv_lib_ k5crypto_krb5_derive_key" >&62703 if test $ac_cv_lib_ k5crypto_krb5_derive_key= yes; then3240 { echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 3241 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; } 3242 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then 2704 3243 cat >>confdefs.h <<_ACEOF 2705 #define HAVE_LIB K5CRYPTO12706 _ACEOF 2707 2708 LIBS="-l k5crypto$LIBS"2709 2710 fi 2711 2712 2713 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&52714 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&62715 if test "${ac_cv_lib_ des425_des_cbc_encrypt+set}" = set; then3244 #define HAVE_LIBDES425 1 3245 _ACEOF 3246 3247 LIBS="-ldes425 $LIBS" 3248 3249 fi 3250 3251 3252 { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 3253 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; } 3254 if test "${ac_cv_lib_resolv_res_search+set}" = set; then 2716 3255 echo $ECHO_N "(cached) $ECHO_C" >&6 2717 3256 else 2718 3257 ac_check_lib_save_LIBS=$LIBS 2719 LIBS="-l des425$LIBS"3258 LIBS="-lresolv $LIBS" 2720 3259 cat >conftest.$ac_ext <<_ACEOF 2721 3260 /* confdefs.h. */ … … 2725 3264 /* end confdefs.h. */ 2726 3265 2727 /* Override any gcc2 internal prototype to avoid an error. */ 3266 /* Override any GCC internal prototype to avoid an error. 3267 Use char because int might match the return type of a GCC 3268 builtin and then its argument prototype would still apply. */ 2728 3269 #ifdef __cplusplus 2729 3270 extern "C" 2730 3271 #endif 2731 /* We use char because int might match the return type of a gcc2 2732 builtin and then its argument prototype would still apply. */ 2733 char des_cbc_encrypt (); 3272 char res_search (); 2734 3273 int 2735 3274 main () 2736 3275 { 2737 des_cbc_encrypt();3276 return res_search (); 2738 3277 ; 2739 3278 return 0; … … 2741 3280 _ACEOF 2742 3281 rm -f conftest.$ac_objext conftest$ac_exeext 2743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2744 (eval $ac_link) 2>conftest.er1 3282 if { (ac_try="$ac_link" 3283 case "(($ac_try" in 3284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3285 *) ac_try_echo=$ac_try;; 3286 esac 3287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3288 (eval "$ac_link") 2>conftest.er1 2745 3289 ac_status=$? 2746 3290 grep -v '^ *+' conftest.er1 >conftest.err … … 2748 3292 cat conftest.err >&5 2749 3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2750 (exit $ac_status); } && 2751 { ac_try='test -z "$ac_c_werror_flag" 2752 || test ! -s conftest.err' 2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2754 (eval $ac_try) 2>&5 2755 ac_status=$? 2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2757 (exit $ac_status); }; } && 2758 { ac_try='test -s conftest$ac_exeext' 2759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2760 (eval $ac_try) 2>&5 2761 ac_status=$? 2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2763 (exit $ac_status); }; }; then 2764 ac_cv_lib_des425_des_cbc_encrypt=yes 3294 (exit $ac_status); } && { 3295 test -z "$ac_c_werror_flag" || 3296 test ! -s conftest.err 3297 } && test -s conftest$ac_exeext && 3298 $as_test_x conftest$ac_exeext; then 3299 ac_cv_lib_resolv_res_search=yes 2765 3300 else 2766 3301 echo "$as_me: failed program was:" >&5 2767 3302 sed 's/^/| /' conftest.$ac_ext >&5 2768 3303 2769 ac_cv_lib_des425_des_cbc_encrypt=no 2770 fi 2771 rm -f conftest.err conftest.$ac_objext \ 3304 ac_cv_lib_resolv_res_search=no 3305 fi 3306 3307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2772 3308 conftest$ac_exeext conftest.$ac_ext 2773 3309 LIBS=$ac_check_lib_save_LIBS 2774 3310 fi 2775 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&52776 echo "${ECHO_T}$ac_cv_lib_ des425_des_cbc_encrypt" >&62777 if test $ac_cv_lib_ des425_des_cbc_encrypt= yes; then3311 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 3312 echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; } 3313 if test $ac_cv_lib_resolv_res_search = yes; then 2778 3314 cat >>confdefs.h <<_ACEOF 2779 #define HAVE_LIB DES42512780 _ACEOF 2781 2782 LIBS="-l des425$LIBS"2783 2784 fi 2785 2786 2787 echo "$as_me:$LINENO: checking for des_quad_cksum in -ldes" >&52788 echo $ECHO_N "checking for des_quad_cksum in -ldes... $ECHO_C" >&62789 if test "${ac_cv_lib_ des_des_quad_cksum+set}" = set; then3315 #define HAVE_LIBRESOLV 1 3316 _ACEOF 3317 3318 LIBS="-lresolv $LIBS" 3319 3320 fi 3321 3322 3323 { echo "$as_me:$LINENO: checking for krb5_get_credentials in -lkrb5" >&5 3324 echo $ECHO_N "checking for krb5_get_credentials in -lkrb5... $ECHO_C" >&6; } 3325 if test "${ac_cv_lib_krb5_krb5_get_credentials+set}" = set; then 2790 3326 echo $ECHO_N "(cached) $ECHO_C" >&6 2791 3327 else 2792 3328 ac_check_lib_save_LIBS=$LIBS 2793 LIBS="-l des$LIBS"3329 LIBS="-lkrb5 $LIBS" 2794 3330 cat >conftest.$ac_ext <<_ACEOF 2795 3331 /* confdefs.h. */ … … 2799 3335 /* end confdefs.h. */ 2800 3336 2801 /* Override any gcc2 internal prototype to avoid an error. */ 3337 /* Override any GCC internal prototype to avoid an error. 3338 Use char because int might match the return type of a GCC 3339 builtin and then its argument prototype would still apply. */ 2802 3340 #ifdef __cplusplus 2803 3341 extern "C" 2804 3342 #endif 2805 /* We use char because int might match the return type of a gcc2 2806 builtin and then its argument prototype would still apply. */ 2807 char des_quad_cksum (); 3343 char krb5_get_credentials (); 2808 3344 int 2809 3345 main () 2810 3346 { 2811 des_quad_cksum();3347 return krb5_get_credentials (); 2812 3348 ; 2813 3349 return 0; … … 2815 3351 _ACEOF 2816 3352 rm -f conftest.$ac_objext conftest$ac_exeext 2817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2818 (eval $ac_link) 2>conftest.er1 3353 if { (ac_try="$ac_link" 3354 case "(($ac_try" in 3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3356 *) ac_try_echo=$ac_try;; 3357 esac 3358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3359 (eval "$ac_link") 2>conftest.er1 2819 3360 ac_status=$? 2820 3361 grep -v '^ *+' conftest.er1 >conftest.err … … 2822 3363 cat conftest.err >&5 2823 3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2824 (exit $ac_status); } && 2825 { ac_try='test -z "$ac_c_werror_flag" 2826 || test ! -s conftest.err' 2827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2828 (eval $ac_try) 2>&5 2829 ac_status=$? 2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2831 (exit $ac_status); }; } && 2832 { ac_try='test -s conftest$ac_exeext' 2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2834 (eval $ac_try) 2>&5 2835 ac_status=$? 2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2837 (exit $ac_status); }; }; then 2838 ac_cv_lib_des_des_quad_cksum=yes 3365 (exit $ac_status); } && { 3366 test -z "$ac_c_werror_flag" || 3367 test ! -s conftest.err 3368 } && test -s conftest$ac_exeext && 3369 $as_test_x conftest$ac_exeext; then 3370 ac_cv_lib_krb5_krb5_get_credentials=yes 2839 3371 else 2840 3372 echo "$as_me: failed program was:" >&5 2841 3373 sed 's/^/| /' conftest.$ac_ext >&5 2842 3374 2843 ac_cv_lib_des_des_quad_cksum=no 2844 fi 2845 rm -f conftest.err conftest.$ac_objext \ 3375 ac_cv_lib_krb5_krb5_get_credentials=no 3376 fi 3377 3378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2846 3379 conftest$ac_exeext conftest.$ac_ext 2847 3380 LIBS=$ac_check_lib_save_LIBS 2848 3381 fi 2849 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_quad_cksum" >&52850 echo "${ECHO_T}$ac_cv_lib_ des_des_quad_cksum" >&62851 if test $ac_cv_lib_ des_des_quad_cksum= yes; then3382 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_get_credentials" >&5 3383 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_get_credentials" >&6; } 3384 if test $ac_cv_lib_krb5_krb5_get_credentials = yes; then 2852 3385 cat >>confdefs.h <<_ACEOF 2853 #define HAVE_LIB DES12854 _ACEOF 2855 2856 LIBS="-l des$LIBS"2857 2858 fi 2859 2860 2861 echo "$as_me:$LINENO: checking for res_search in -lresolv" >&52862 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&62863 if test "${ac_cv_lib_ resolv_res_search+set}" = set; then3386 #define HAVE_LIBKRB5 1 3387 _ACEOF 3388 3389 LIBS="-lkrb5 $LIBS" 3390 3391 fi 3392 3393 3394 { echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb4" >&5 3395 echo $ECHO_N "checking for krb_sendauth in -lkrb4... $ECHO_C" >&6; } 3396 if test "${ac_cv_lib_krb4_krb_sendauth+set}" = set; then 2864 3397 echo $ECHO_N "(cached) $ECHO_C" >&6 2865 3398 else 2866 3399 ac_check_lib_save_LIBS=$LIBS 2867 LIBS="-l resolv$LIBS"3400 LIBS="-lkrb4 $LIBS" 2868 3401 cat >conftest.$ac_ext <<_ACEOF 2869 3402 /* confdefs.h. */ … … 2873 3406 /* end confdefs.h. */ 2874 3407 2875 /* Override any gcc2 internal prototype to avoid an error. */ 3408 /* Override any GCC internal prototype to avoid an error. 3409 Use char because int might match the return type of a GCC 3410 builtin and then its argument prototype would still apply. */ 2876 3411 #ifdef __cplusplus 2877 3412 extern "C" 2878 3413 #endif 2879 /* We use char because int might match the return type of a gcc2 2880 builtin and then its argument prototype would still apply. */ 2881 char res_search (); 3414 char krb_sendauth (); 2882 3415 int 2883 3416 main () 2884 3417 { 2885 re s_search ();3418 return krb_sendauth (); 2886 3419 ; 2887 3420 return 0; … … 2889 3422 _ACEOF 2890 3423 rm -f conftest.$ac_objext conftest$ac_exeext 2891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2892 (eval $ac_link) 2>conftest.er1 3424 if { (ac_try="$ac_link" 3425 case "(($ac_try" in 3426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3427 *) ac_try_echo=$ac_try;; 3428 esac 3429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3430 (eval "$ac_link") 2>conftest.er1 2893 3431 ac_status=$? 2894 3432 grep -v '^ *+' conftest.er1 >conftest.err … … 2896 3434 cat conftest.err >&5 2897 3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2898 (exit $ac_status); } && 2899 { ac_try='test -z "$ac_c_werror_flag" 2900 || test ! -s conftest.err' 2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2902 (eval $ac_try) 2>&5 2903 ac_status=$? 2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2905 (exit $ac_status); }; } && 2906 { ac_try='test -s conftest$ac_exeext' 2907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2908 (eval $ac_try) 2>&5 2909 ac_status=$? 2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2911 (exit $ac_status); }; }; then 2912 ac_cv_lib_resolv_res_search=yes 3436 (exit $ac_status); } && { 3437 test -z "$ac_c_werror_flag" || 3438 test ! -s conftest.err 3439 } && test -s conftest$ac_exeext && 3440 $as_test_x conftest$ac_exeext; then 3441 ac_cv_lib_krb4_krb_sendauth=yes 2913 3442 else 2914 3443 echo "$as_me: failed program was:" >&5 2915 3444 sed 's/^/| /' conftest.$ac_ext >&5 2916 3445 2917 ac_cv_lib_resolv_res_search=no 2918 fi 2919 rm -f conftest.err conftest.$ac_objext \ 3446 ac_cv_lib_krb4_krb_sendauth=no 3447 fi 3448 3449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2920 3450 conftest$ac_exeext conftest.$ac_ext 2921 3451 LIBS=$ac_check_lib_save_LIBS 2922 3452 fi 2923 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&52924 echo "${ECHO_T}$ac_cv_lib_ resolv_res_search" >&62925 if test $ac_cv_lib_ resolv_res_search = yes; then3453 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_sendauth" >&5 3454 echo "${ECHO_T}$ac_cv_lib_krb4_krb_sendauth" >&6; } 3455 if test $ac_cv_lib_krb4_krb_sendauth = yes; then 2926 3456 cat >>confdefs.h <<_ACEOF 2927 #define HAVE_LIBRESOLV 1 2928 _ACEOF 2929 2930 LIBS="-lresolv $LIBS" 2931 2932 fi 2933 2934 2935 echo "$as_me:$LINENO: checking for krb5_get_credentials in -lkrb5" >&5 2936 echo $ECHO_N "checking for krb5_get_credentials in -lkrb5... $ECHO_C" >&6 2937 if test "${ac_cv_lib_krb5_krb5_get_credentials+set}" = set; then 3457 #define HAVE_LIBKRB4 1 3458 _ACEOF 3459 3460 LIBS="-lkrb4 $LIBS" 3461 3462 else 3463 3464 { echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb" >&5 3465 echo $ECHO_N "checking for krb_sendauth in -lkrb... $ECHO_C" >&6; } 3466 if test "${ac_cv_lib_krb_krb_sendauth+set}" = set; then 2938 3467 echo $ECHO_N "(cached) $ECHO_C" >&6 2939 3468 else 2940 3469 ac_check_lib_save_LIBS=$LIBS 2941 LIBS="-lkrb 5$LIBS"3470 LIBS="-lkrb $LIBS" 2942 3471 cat >conftest.$ac_ext <<_ACEOF 2943 3472 /* confdefs.h. */ … … 2947 3476 /* end confdefs.h. */ 2948 3477 2949 /* Override any gcc2 internal prototype to avoid an error. */ 3478 /* Override any GCC internal prototype to avoid an error. 3479 Use char because int might match the return type of a GCC 3480 builtin and then its argument prototype would still apply. */ 2950 3481 #ifdef __cplusplus 2951 3482 extern "C" 2952 3483 #endif 2953 /* We use char because int might match the return type of a gcc2 2954 builtin and then its argument prototype would still apply. */ 2955 char krb5_get_credentials (); 3484 char krb_sendauth (); 2956 3485 int 2957 3486 main () 2958 3487 { 2959 krb5_get_credentials();3488 return krb_sendauth (); 2960 3489 ; 2961 3490 return 0; … … 2963 3492 _ACEOF 2964 3493 rm -f conftest.$ac_objext conftest$ac_exeext 2965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2966 (eval $ac_link) 2>conftest.er1 3494 if { (ac_try="$ac_link" 3495 case "(($ac_try" in 3496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3497 *) ac_try_echo=$ac_try;; 3498 esac 3499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3500 (eval "$ac_link") 2>conftest.er1 2967 3501 ac_status=$? 2968 3502 grep -v '^ *+' conftest.er1 >conftest.err … … 2970 3504 cat conftest.err >&5 2971 3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2972 (exit $ac_status); } && 2973 { ac_try='test -z "$ac_c_werror_flag" 2974 || test ! -s conftest.err' 2975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2976 (eval $ac_try) 2>&5 2977 ac_status=$? 2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2979 (exit $ac_status); }; } && 2980 { ac_try='test -s conftest$ac_exeext' 2981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2982 (eval $ac_try) 2>&5 2983 ac_status=$? 2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2985 (exit $ac_status); }; }; then 2986 ac_cv_lib_krb5_krb5_get_credentials=yes 3506 (exit $ac_status); } && { 3507 test -z "$ac_c_werror_flag" || 3508 test ! -s conftest.err 3509 } && test -s conftest$ac_exeext && 3510 $as_test_x conftest$ac_exeext; then 3511 ac_cv_lib_krb_krb_sendauth=yes 2987 3512 else 2988 3513 echo "$as_me: failed program was:" >&5 2989 3514 sed 's/^/| /' conftest.$ac_ext >&5 2990 3515 2991 ac_cv_lib_krb5_krb5_get_credentials=no 2992 fi 2993 rm -f conftest.err conftest.$ac_objext \ 3516 ac_cv_lib_krb_krb_sendauth=no 3517 fi 3518 3519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2994 3520 conftest$ac_exeext conftest.$ac_ext 2995 3521 LIBS=$ac_check_lib_save_LIBS 2996 3522 fi 2997 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_get_credentials" >&52998 echo "${ECHO_T}$ac_cv_lib_krb 5_krb5_get_credentials" >&62999 if test $ac_cv_lib_krb 5_krb5_get_credentials= yes; then3523 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_sendauth" >&5 3524 echo "${ECHO_T}$ac_cv_lib_krb_krb_sendauth" >&6; } 3525 if test $ac_cv_lib_krb_krb_sendauth = yes; then 3000 3526 cat >>confdefs.h <<_ACEOF 3001 #define HAVE_LIBKRB5 1 3002 _ACEOF 3003 3004 LIBS="-lkrb5 $LIBS" 3005 3006 fi 3007 3008 3009 echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb4" >&5 3010 echo $ECHO_N "checking for krb_sendauth in -lkrb4... $ECHO_C" >&6 3011 if test "${ac_cv_lib_krb4_krb_sendauth+set}" = set; then 3527 #define HAVE_LIBKRB 1 3528 _ACEOF 3529 3530 LIBS="-lkrb $LIBS" 3531 3532 fi 3533 3534 fi 3535 3536 3537 { echo "$as_me:$LINENO: checking for ZGetSender in -lzephyr" >&5 3538 echo $ECHO_N "checking for ZGetSender in -lzephyr... $ECHO_C" >&6; } 3539 if test "${ac_cv_lib_zephyr_ZGetSender+set}" = set; then 3012 3540 echo $ECHO_N "(cached) $ECHO_C" >&6 3013 3541 else 3014 3542 ac_check_lib_save_LIBS=$LIBS 3015 LIBS="-l krb4$LIBS"3543 LIBS="-lzephyr $LIBS" 3016 3544 cat >conftest.$ac_ext <<_ACEOF 3017 3545 /* confdefs.h. */ … … 3021 3549 /* end confdefs.h. */ 3022 3550 3023 /* Override any gcc2 internal prototype to avoid an error. */ 3551 /* Override any GCC internal prototype to avoid an error. 3552 Use char because int might match the return type of a GCC 3553 builtin and then its argument prototype would still apply. */ 3024 3554 #ifdef __cplusplus 3025 3555 extern "C" 3026 3556 #endif 3027 /* We use char because int might match the return type of a gcc2 3028 builtin and then its argument prototype would still apply. */ 3029 char krb_sendauth (); 3557 char ZGetSender (); 3030 3558 int 3031 3559 main () 3032 3560 { 3033 krb_sendauth();3561 return ZGetSender (); 3034 3562 ; 3035 3563 return 0; … … 3037 3565 _ACEOF 3038 3566 rm -f conftest.$ac_objext conftest$ac_exeext 3039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3040 (eval $ac_link) 2>conftest.er1 3567 if { (ac_try="$ac_link" 3568 case "(($ac_try" in 3569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3570 *) ac_try_echo=$ac_try;; 3571 esac 3572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3573 (eval "$ac_link") 2>conftest.er1 3041 3574 ac_status=$? 3042 3575 grep -v '^ *+' conftest.er1 >conftest.err … … 3044 3577 cat conftest.err >&5 3045 3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3046 (exit $ac_status); } && 3047 { ac_try='test -z "$ac_c_werror_flag" 3048 || test ! -s conftest.err' 3049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3050 (eval $ac_try) 2>&5 3051 ac_status=$? 3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3053 (exit $ac_status); }; } && 3054 { ac_try='test -s conftest$ac_exeext' 3055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3056 (eval $ac_try) 2>&5 3057 ac_status=$? 3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3059 (exit $ac_status); }; }; then 3060 ac_cv_lib_krb4_krb_sendauth=yes 3579 (exit $ac_status); } && { 3580 test -z "$ac_c_werror_flag" || 3581 test ! -s conftest.err 3582 } && test -s conftest$ac_exeext && 3583 $as_test_x conftest$ac_exeext; then 3584 ac_cv_lib_zephyr_ZGetSender=yes 3061 3585 else 3062 3586 echo "$as_me: failed program was:" >&5 3063 3587 sed 's/^/| /' conftest.$ac_ext >&5 3064 3588 3065 ac_cv_lib_krb4_krb_sendauth=no 3066 fi 3067 rm -f conftest.err conftest.$ac_objext \ 3589 ac_cv_lib_zephyr_ZGetSender=no 3590 fi 3591 3592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3068 3593 conftest$ac_exeext conftest.$ac_ext 3069 3594 LIBS=$ac_check_lib_save_LIBS 3070 3595 fi 3071 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_sendauth" >&53072 echo "${ECHO_T}$ac_cv_lib_ krb4_krb_sendauth" >&63073 if test $ac_cv_lib_ krb4_krb_sendauth= yes; then3596 { echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZGetSender" >&5 3597 echo "${ECHO_T}$ac_cv_lib_zephyr_ZGetSender" >&6; } 3598 if test $ac_cv_lib_zephyr_ZGetSender = yes; then 3074 3599 cat >>confdefs.h <<_ACEOF 3075 #define HAVE_LIB KRB413076 _ACEOF 3077 3078 LIBS="-l krb4$LIBS"3079 3080 else 3081 3082 echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb" >&53083 echo $ECHO_N "checking for krb_sendauth in -lkrb... $ECHO_C" >&63084 if test "${ac_cv_lib_ krb_krb_sendauth+set}" = set; then3600 #define HAVE_LIBZEPHYR 1 3601 _ACEOF 3602 3603 LIBS="-lzephyr $LIBS" 3604 3605 fi 3606 3607 { echo "$as_me:$LINENO: checking for ZInitLocationInfo in -lzephyr" >&5 3608 echo $ECHO_N "checking for ZInitLocationInfo in -lzephyr... $ECHO_C" >&6; } 3609 if test "${ac_cv_lib_zephyr_ZInitLocationInfo+set}" = set; then 3085 3610 echo $ECHO_N "(cached) $ECHO_C" >&6 3086 3611 else 3087 3612 ac_check_lib_save_LIBS=$LIBS 3088 LIBS="-l krb$LIBS"3613 LIBS="-lzephyr $LIBS" 3089 3614 cat >conftest.$ac_ext <<_ACEOF 3090 3615 /* confdefs.h. */ … … 3094 3619 /* end confdefs.h. */ 3095 3620 3096 /* Override any gcc2 internal prototype to avoid an error. */ 3621 /* Override any GCC internal prototype to avoid an error. 3622 Use char because int might match the return type of a GCC 3623 builtin and then its argument prototype would still apply. */ 3097 3624 #ifdef __cplusplus 3098 3625 extern "C" 3099 3626 #endif 3100 /* We use char because int might match the return type of a gcc2 3101 builtin and then its argument prototype would still apply. */ 3102 char krb_sendauth (); 3627 char ZInitLocationInfo (); 3103 3628 int 3104 3629 main () 3105 3630 { 3106 krb_sendauth();3631 return ZInitLocationInfo (); 3107 3632 ; 3108 3633 return 0; … … 3110 3635 _ACEOF 3111 3636 rm -f conftest.$ac_objext conftest$ac_exeext 3112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3113 (eval $ac_link) 2>conftest.er1 3637 if { (ac_try="$ac_link" 3638 case "(($ac_try" in 3639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3640 *) ac_try_echo=$ac_try;; 3641 esac 3642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3643 (eval "$ac_link") 2>conftest.er1 3114 3644 ac_status=$? 3115 3645 grep -v '^ *+' conftest.er1 >conftest.err … … 3117 3647 cat conftest.err >&5 3118 3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3119 (exit $ac_status); } && 3120 { ac_try='test -z "$ac_c_werror_flag" 3121 || test ! -s conftest.err' 3122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3123 (eval $ac_try) 2>&5 3124 ac_status=$? 3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3126 (exit $ac_status); }; } && 3127 { ac_try='test -s conftest$ac_exeext' 3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3129 (eval $ac_try) 2>&5 3130 ac_status=$? 3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3132 (exit $ac_status); }; }; then 3133 ac_cv_lib_krb_krb_sendauth=yes 3649 (exit $ac_status); } && { 3650 test -z "$ac_c_werror_flag" || 3651 test ! -s conftest.err 3652 } && test -s conftest$ac_exeext && 3653 $as_test_x conftest$ac_exeext; then 3654 ac_cv_lib_zephyr_ZInitLocationInfo=yes 3134 3655 else 3135 3656 echo "$as_me: failed program was:" >&5 3136 3657 sed 's/^/| /' conftest.$ac_ext >&5 3137 3658 3138 ac_cv_lib_krb_krb_sendauth=no 3139 fi 3140 rm -f conftest.err conftest.$ac_objext \ 3659 ac_cv_lib_zephyr_ZInitLocationInfo=no 3660 fi 3661 3662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3141 3663 conftest$ac_exeext conftest.$ac_ext 3142 3664 LIBS=$ac_check_lib_save_LIBS 3143 3665 fi 3144 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_sendauth" >&5 3145 echo "${ECHO_T}$ac_cv_lib_krb_krb_sendauth" >&6 3146 if test $ac_cv_lib_krb_krb_sendauth = yes; then 3147 cat >>confdefs.h <<_ACEOF 3148 #define HAVE_LIBKRB 1 3149 _ACEOF 3150 3151 LIBS="-lkrb $LIBS" 3152 3153 fi 3154 3155 fi 3156 3157 3158 echo "$as_me:$LINENO: checking for ZGetSender in -lzephyr" >&5 3159 echo $ECHO_N "checking for ZGetSender in -lzephyr... $ECHO_C" >&6 3160 if test "${ac_cv_lib_zephyr_ZGetSender+set}" = set; then 3161 echo $ECHO_N "(cached) $ECHO_C" >&6 3162 else 3163 ac_check_lib_save_LIBS=$LIBS 3164 LIBS="-lzephyr $LIBS" 3165 cat >conftest.$ac_ext <<_ACEOF 3166 /* confdefs.h. */ 3167 _ACEOF 3168 cat confdefs.h >>conftest.$ac_ext 3169 cat >>conftest.$ac_ext <<_ACEOF 3170 /* end confdefs.h. */ 3171 3172 /* Override any gcc2 internal prototype to avoid an error. */ 3173 #ifdef __cplusplus 3174 extern "C" 3175 #endif 3176 /* We use char because int might match the return type of a gcc2 3177 builtin and then its argument prototype would still apply. */ 3178 char ZGetSender (); 3179 int 3180 main () 3181 { 3182 ZGetSender (); 3183 ; 3184 return 0; 3185 } 3186 _ACEOF 3187 rm -f conftest.$ac_objext conftest$ac_exeext 3188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3189 (eval $ac_link) 2>conftest.er1 3190 ac_status=$? 3191 grep -v '^ *+' conftest.er1 >conftest.err 3192 rm -f conftest.er1 3193 cat conftest.err >&5 3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3195 (exit $ac_status); } && 3196 { ac_try='test -z "$ac_c_werror_flag" 3197 || test ! -s conftest.err' 3198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3199 (eval $ac_try) 2>&5 3200 ac_status=$? 3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3202 (exit $ac_status); }; } && 3203 { ac_try='test -s conftest$ac_exeext' 3204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3205 (eval $ac_try) 2>&5 3206 ac_status=$? 3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3208 (exit $ac_status); }; }; then 3209 ac_cv_lib_zephyr_ZGetSender=yes 3210 else 3211 echo "$as_me: failed program was:" >&5 3212 sed 's/^/| /' conftest.$ac_ext >&5 3213 3214 ac_cv_lib_zephyr_ZGetSender=no 3215 fi 3216 rm -f conftest.err conftest.$ac_objext \ 3217 conftest$ac_exeext conftest.$ac_ext 3218 LIBS=$ac_check_lib_save_LIBS 3219 fi 3220 echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZGetSender" >&5 3221 echo "${ECHO_T}$ac_cv_lib_zephyr_ZGetSender" >&6 3222 if test $ac_cv_lib_zephyr_ZGetSender = yes; then 3223 cat >>confdefs.h <<_ACEOF 3224 #define HAVE_LIBZEPHYR 1 3225 _ACEOF 3226 3227 LIBS="-lzephyr $LIBS" 3228 3229 fi 3230 3231 echo "$as_me:$LINENO: checking for ZInitLocationInfo in -lzephyr" >&5 3232 echo $ECHO_N "checking for ZInitLocationInfo in -lzephyr... $ECHO_C" >&6 3233 if test "${ac_cv_lib_zephyr_ZInitLocationInfo+set}" = set; then 3234 echo $ECHO_N "(cached) $ECHO_C" >&6 3235 else 3236 ac_check_lib_save_LIBS=$LIBS 3237 LIBS="-lzephyr $LIBS" 3238 cat >conftest.$ac_ext <<_ACEOF 3239 /* confdefs.h. */ 3240 _ACEOF 3241 cat confdefs.h >>conftest.$ac_ext 3242 cat >>conftest.$ac_ext <<_ACEOF 3243 /* end confdefs.h. */ 3244 3245 /* Override any gcc2 internal prototype to avoid an error. */ 3246 #ifdef __cplusplus 3247 extern "C" 3248 #endif 3249 /* We use char because int might match the return type of a gcc2 3250 builtin and then its argument prototype would still apply. */ 3251 char ZInitLocationInfo (); 3252 int 3253 main () 3254 { 3255 ZInitLocationInfo (); 3256 ; 3257 return 0; 3258 } 3259 _ACEOF 3260 rm -f conftest.$ac_objext conftest$ac_exeext 3261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3262 (eval $ac_link) 2>conftest.er1 3263 ac_status=$? 3264 grep -v '^ *+' conftest.er1 >conftest.err 3265 rm -f conftest.er1 3266 cat conftest.err >&5 3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3268 (exit $ac_status); } && 3269 { ac_try='test -z "$ac_c_werror_flag" 3270 || test ! -s conftest.err' 3271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3272 (eval $ac_try) 2>&5 3273 ac_status=$? 3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3275 (exit $ac_status); }; } && 3276 { ac_try='test -s conftest$ac_exeext' 3277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3278 (eval $ac_try) 2>&5 3279 ac_status=$? 3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3281 (exit $ac_status); }; }; then 3282 ac_cv_lib_zephyr_ZInitLocationInfo=yes 3283 else 3284 echo "$as_me: failed program was:" >&5 3285 sed 's/^/| /' conftest.$ac_ext >&5 3286 3287 ac_cv_lib_zephyr_ZInitLocationInfo=no 3288 fi 3289 rm -f conftest.err conftest.$ac_objext \ 3290 conftest$ac_exeext conftest.$ac_ext 3291 LIBS=$ac_check_lib_save_LIBS 3292 fi 3293 echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZInitLocationInfo" >&5 3294 echo "${ECHO_T}$ac_cv_lib_zephyr_ZInitLocationInfo" >&6 3666 { echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZInitLocationInfo" >&5 3667 echo "${ECHO_T}$ac_cv_lib_zephyr_ZInitLocationInfo" >&6; } 3295 3668 if test $ac_cv_lib_zephyr_ZInitLocationInfo = yes; then 3296 3669 … … 3306 3679 3307 3680 3308 for ac_func in use_default_colors des_string_to_key des_key_sched des_ecb_encrypt 3681 3682 for ac_func in use_default_colors resizeterm des_string_to_key des_key_sched des_ecb_encrypt 3309 3683 do 3310 3684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 3311 echo "$as_me:$LINENO: checking for $ac_func" >&53312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 3313 if eval "test \"\${$as_ac_var+set}\" = set"; then3685 { echo "$as_me:$LINENO: checking for $ac_func" >&5 3686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 3687 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 3314 3688 echo $ECHO_N "(cached) $ECHO_C" >&6 3315 3689 else … … 3337 3711 #undef $ac_func 3338 3712 3339 /* Override any gcc2 internal prototype to avoid an error. */ 3713 /* Override any GCC internal prototype to avoid an error. 3714 Use char because int might match the return type of a GCC 3715 builtin and then its argument prototype would still apply. */ 3340 3716 #ifdef __cplusplus 3341 3717 extern "C" 3342 {3343 3718 #endif 3344 /* We use char because int might match the return type of a gcc23345 builtin and then its argument prototype would still apply. */3346 3719 char $ac_func (); 3347 3720 /* The GNU C library defines this for functions which it implements 3348 3721 to always fail with ENOSYS. Some functions are actually named 3349 3722 something starting with __ and the normal name is an alias. */ 3350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)3723 #if defined __stub_$ac_func || defined __stub___$ac_func 3351 3724 choke me 3352 #else3353 char (*f) () = $ac_func;3354 #endif3355 #ifdef __cplusplus3356 }3357 3725 #endif 3358 3726 … … 3360 3728 main () 3361 3729 { 3362 return f != $ac_func;3730 return $ac_func (); 3363 3731 ; 3364 3732 return 0; … … 3366 3734 _ACEOF 3367 3735 rm -f conftest.$ac_objext conftest$ac_exeext 3368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3369 (eval $ac_link) 2>conftest.er1 3736 if { (ac_try="$ac_link" 3737 case "(($ac_try" in 3738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3739 *) ac_try_echo=$ac_try;; 3740 esac 3741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3742 (eval "$ac_link") 2>conftest.er1 3370 3743 ac_status=$? 3371 3744 grep -v '^ *+' conftest.er1 >conftest.err … … 3373 3746 cat conftest.err >&5 3374 3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3375 (exit $ac_status); } && 3376 { ac_try='test -z "$ac_c_werror_flag" 3377 || test ! -s conftest.err' 3378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3379 (eval $ac_try) 2>&5 3380 ac_status=$? 3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3382 (exit $ac_status); }; } && 3383 { ac_try='test -s conftest$ac_exeext' 3384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3385 (eval $ac_try) 2>&5 3386 ac_status=$? 3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3388 (exit $ac_status); }; }; then 3748 (exit $ac_status); } && { 3749 test -z "$ac_c_werror_flag" || 3750 test ! -s conftest.err 3751 } && test -s conftest$ac_exeext && 3752 $as_test_x conftest$ac_exeext; then 3389 3753 eval "$as_ac_var=yes" 3390 3754 else … … 3392 3756 sed 's/^/| /' conftest.$ac_ext >&5 3393 3757 3394 eval "$as_ac_var=no" 3395 fi 3396 rm -f conftest.err conftest.$ac_objext \ 3758 eval "$as_ac_var=no" 3759 fi 3760 3761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3397 3762 conftest$ac_exeext conftest.$ac_ext 3398 3763 fi 3399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 3400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 3764 ac_res=`eval echo '${'$as_ac_var'}'` 3765 { echo "$as_me:$LINENO: result: $ac_res" >&5 3766 echo "${ECHO_T}$ac_res" >&6; } 3401 3767 if test `eval echo '${'$as_ac_var'}'` = yes; then 3402 3768 cat >>confdefs.h <<_ACEOF … … 3408 3774 3409 3775 3410 echo "$as_me:$LINENO: checking for des_ecb_encrypt prototype" >&53411 echo $ECHO_N "checking for des_ecb_encrypt prototype... $ECHO_C" >&6 3776 { echo "$as_me:$LINENO: checking for des_ecb_encrypt prototype" >&5 3777 echo $ECHO_N "checking for des_ecb_encrypt prototype... $ECHO_C" >&6; } 3412 3778 cat >conftest.$ac_ext <<_ACEOF 3413 3779 /* confdefs.h. */ … … 3427 3793 _ACEOF 3428 3794 rm -f conftest.$ac_objext 3429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3430 (eval $ac_compile) 2>conftest.er1 3795 if { (ac_try="$ac_compile" 3796 case "(($ac_try" in 3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3798 *) ac_try_echo=$ac_try;; 3799 esac 3800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3801 (eval "$ac_compile") 2>conftest.er1 3431 3802 ac_status=$? 3432 3803 grep -v '^ *+' conftest.er1 >conftest.err … … 3434 3805 cat conftest.err >&5 3435 3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3436 (exit $ac_status); } && 3437 { ac_try='test -z "$ac_c_werror_flag" 3438 || test ! -s conftest.err' 3439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3440 (eval $ac_try) 2>&5 3441 ac_status=$? 3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3443 (exit $ac_status); }; } && 3444 { ac_try='test -s conftest.$ac_objext' 3445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3446 (eval $ac_try) 2>&5 3447 ac_status=$? 3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3449 (exit $ac_status); }; }; then 3807 (exit $ac_status); } && { 3808 test -z "$ac_c_werror_flag" || 3809 test ! -s conftest.err 3810 } && test -s conftest.$ac_objext; then 3450 3811 ac_cv_des_ecb_encrypt_proto=no 3451 3812 else … … 3453 3814 sed 's/^/| /' conftest.$ac_ext >&5 3454 3815 3455 ac_cv_des_ecb_encrypt_proto=yes 3456 fi 3457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3458 echo "$as_me:$LINENO: result: $ac_cv_des_ecb_encrypt_proto" >&5 3459 echo "${ECHO_T}$ac_cv_des_ecb_encrypt_proto" >&6 3816 ac_cv_des_ecb_encrypt_proto=yes 3817 fi 3818 3819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3820 { echo "$as_me:$LINENO: result: $ac_cv_des_ecb_encrypt_proto" >&5 3821 echo "${ECHO_T}$ac_cv_des_ecb_encrypt_proto" >&6; } 3460 3822 if test "$ac_cv_des_ecb_encrypt_proto" = yes; then 3461 3823 … … 3471 3833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3472 3834 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3473 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53474 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3835 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3836 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3475 3837 # On Suns, sometimes $CPP names a directory. 3476 3838 if test -n "$CPP" && test -d "$CPP"; then … … 3506 3868 Syntax error 3507 3869 _ACEOF 3508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3509 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3870 if { (ac_try="$ac_cpp conftest.$ac_ext" 3871 case "(($ac_try" in 3872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3873 *) ac_try_echo=$ac_try;; 3874 esac 3875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3510 3877 ac_status=$? 3511 3878 grep -v '^ *+' conftest.er1 >conftest.err … … 3513 3880 cat conftest.err >&5 3514 3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3515 (exit $ac_status); } >/dev/null; then 3516 if test -s conftest.err; then 3517 ac_cpp_err=$ac_c_preproc_warn_flag 3518 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3519 else 3520 ac_cpp_err= 3521 fi 3522 else 3523 ac_cpp_err=yes 3524 fi 3525 if test -z "$ac_cpp_err"; then 3882 (exit $ac_status); } >/dev/null && { 3883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3884 test ! -s conftest.err 3885 }; then 3526 3886 : 3527 3887 else … … 3532 3892 continue 3533 3893 fi 3894 3534 3895 rm -f conftest.err conftest.$ac_ext 3535 3896 3536 # OK, works on sane cases. Now check whether non -existent headers3897 # OK, works on sane cases. Now check whether nonexistent headers 3537 3898 # can be detected and how. 3538 3899 cat >conftest.$ac_ext <<_ACEOF … … 3544 3905 #include <ac_nonexistent.h> 3545 3906 _ACEOF 3546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3547 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3907 if { (ac_try="$ac_cpp conftest.$ac_ext" 3908 case "(($ac_try" in 3909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3910 *) ac_try_echo=$ac_try;; 3911 esac 3912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3548 3914 ac_status=$? 3549 3915 grep -v '^ *+' conftest.er1 >conftest.err … … 3551 3917 cat conftest.err >&5 3552 3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3553 (exit $ac_status); } >/dev/null; then 3554 if test -s conftest.err; then 3555 ac_cpp_err=$ac_c_preproc_warn_flag 3556 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3557 else 3558 ac_cpp_err= 3559 fi 3560 else 3561 ac_cpp_err=yes 3562 fi 3563 if test -z "$ac_cpp_err"; then 3919 (exit $ac_status); } >/dev/null && { 3920 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3921 test ! -s conftest.err 3922 }; then 3564 3923 # Broken: success on invalid input. 3565 3924 continue … … 3572 3931 break 3573 3932 fi 3933 3574 3934 rm -f conftest.err conftest.$ac_ext 3575 3935 … … 3589 3949 ac_cv_prog_CPP=$CPP 3590 3950 fi 3591 echo "$as_me:$LINENO: result: $CPP" >&53592 echo "${ECHO_T}$CPP" >&6 3951 { echo "$as_me:$LINENO: result: $CPP" >&5 3952 echo "${ECHO_T}$CPP" >&6; } 3593 3953 ac_preproc_ok=false 3594 3954 for ac_c_preproc_warn_flag in '' yes … … 3613 3973 Syntax error 3614 3974 _ACEOF 3615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3616 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3975 if { (ac_try="$ac_cpp conftest.$ac_ext" 3976 case "(($ac_try" in 3977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3978 *) ac_try_echo=$ac_try;; 3979 esac 3980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3617 3982 ac_status=$? 3618 3983 grep -v '^ *+' conftest.er1 >conftest.err … … 3620 3985 cat conftest.err >&5 3621 3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3622 (exit $ac_status); } >/dev/null; then 3623 if test -s conftest.err; then 3624 ac_cpp_err=$ac_c_preproc_warn_flag 3625 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3626 else 3627 ac_cpp_err= 3628 fi 3629 else 3630 ac_cpp_err=yes 3631 fi 3632 if test -z "$ac_cpp_err"; then 3987 (exit $ac_status); } >/dev/null && { 3988 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3989 test ! -s conftest.err 3990 }; then 3633 3991 : 3634 3992 else … … 3639 3997 continue 3640 3998 fi 3999 3641 4000 rm -f conftest.err conftest.$ac_ext 3642 4001 3643 # OK, works on sane cases. Now check whether non -existent headers4002 # OK, works on sane cases. Now check whether nonexistent headers 3644 4003 # can be detected and how. 3645 4004 cat >conftest.$ac_ext <<_ACEOF … … 3651 4010 #include <ac_nonexistent.h> 3652 4011 _ACEOF 3653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3654 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4012 if { (ac_try="$ac_cpp conftest.$ac_ext" 4013 case "(($ac_try" in 4014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4015 *) ac_try_echo=$ac_try;; 4016 esac 4017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3655 4019 ac_status=$? 3656 4020 grep -v '^ *+' conftest.er1 >conftest.err … … 3658 4022 cat conftest.err >&5 3659 4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3660 (exit $ac_status); } >/dev/null; then 3661 if test -s conftest.err; then 3662 ac_cpp_err=$ac_c_preproc_warn_flag 3663 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3664 else 3665 ac_cpp_err= 3666 fi 3667 else 3668 ac_cpp_err=yes 3669 fi 3670 if test -z "$ac_cpp_err"; then 4024 (exit $ac_status); } >/dev/null && { 4025 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4026 test ! -s conftest.err 4027 }; then 3671 4028 # Broken: success on invalid input. 3672 4029 continue … … 3679 4036 break 3680 4037 fi 4038 3681 4039 rm -f conftest.err conftest.$ac_ext 3682 4040 … … 3701 4059 3702 4060 3703 echo "$as_me:$LINENO: checking for egrep" >&53704 echo $ECHO_N "checking for egrep... $ECHO_C" >&63705 if test "${ac_cv_p rog_egrep+set}" = set; then4061 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4062 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4063 if test "${ac_cv_path_GREP+set}" = set; then 3706 4064 echo $ECHO_N "(cached) $ECHO_C" >&6 3707 4065 else 3708 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3709 then ac_cv_prog_egrep='grep -E' 3710 else ac_cv_prog_egrep='egrep' 4066 # Extract the first word of "grep ggrep" to use in msg output 4067 if test -z "$GREP"; then 4068 set dummy grep ggrep; ac_prog_name=$2 4069 if test "${ac_cv_path_GREP+set}" = set; then 4070 echo $ECHO_N "(cached) $ECHO_C" >&6 4071 else 4072 ac_path_GREP_found=false 4073 # Loop through the user's path and test for each of PROGNAME-LIST 4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4075 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4076 do 4077 IFS=$as_save_IFS 4078 test -z "$as_dir" && as_dir=. 4079 for ac_prog in grep ggrep; do 4080 for ac_exec_ext in '' $ac_executable_extensions; do 4081 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4082 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4083 # Check for GNU ac_path_GREP and select it if it is found. 4084 # Check for GNU $ac_path_GREP 4085 case `"$ac_path_GREP" --version 2>&1` in 4086 *GNU*) 4087 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4088 *) 4089 ac_count=0 4090 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4091 while : 4092 do 4093 cat "conftest.in" "conftest.in" >"conftest.tmp" 4094 mv "conftest.tmp" "conftest.in" 4095 cp "conftest.in" "conftest.nl" 4096 echo 'GREP' >> "conftest.nl" 4097 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4098 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4099 ac_count=`expr $ac_count + 1` 4100 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4101 # Best one so far, save it but keep looking for a better one 4102 ac_cv_path_GREP="$ac_path_GREP" 4103 ac_path_GREP_max=$ac_count 3711 4104 fi 3712 fi 3713 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3714 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3715 EGREP=$ac_cv_prog_egrep 3716 3717 3718 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3719 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4105 # 10*(2^10) chars as input seems more than enough 4106 test $ac_count -gt 10 && break 4107 done 4108 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4109 esac 4110 4111 4112 $ac_path_GREP_found && break 3 4113 done 4114 done 4115 4116 done 4117 IFS=$as_save_IFS 4118 4119 4120 fi 4121 4122 GREP="$ac_cv_path_GREP" 4123 if test -z "$GREP"; then 4124 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4125 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4126 { (exit 1); exit 1; }; } 4127 fi 4128 4129 else 4130 ac_cv_path_GREP=$GREP 4131 fi 4132 4133 4134 fi 4135 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4136 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4137 GREP="$ac_cv_path_GREP" 4138 4139 4140 { echo "$as_me:$LINENO: checking for egrep" >&5 4141 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4142 if test "${ac_cv_path_EGREP+set}" = set; then 4143 echo $ECHO_N "(cached) $ECHO_C" >&6 4144 else 4145 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4146 then ac_cv_path_EGREP="$GREP -E" 4147 else 4148 # Extract the first word of "egrep" to use in msg output 4149 if test -z "$EGREP"; then 4150 set dummy egrep; ac_prog_name=$2 4151 if test "${ac_cv_path_EGREP+set}" = set; then 4152 echo $ECHO_N "(cached) $ECHO_C" >&6 4153 else 4154 ac_path_EGREP_found=false 4155 # Loop through the user's path and test for each of PROGNAME-LIST 4156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4157 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4158 do 4159 IFS=$as_save_IFS 4160 test -z "$as_dir" && as_dir=. 4161 for ac_prog in egrep; do 4162 for ac_exec_ext in '' $ac_executable_extensions; do 4163 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4164 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4165 # Check for GNU ac_path_EGREP and select it if it is found. 4166 # Check for GNU $ac_path_EGREP 4167 case `"$ac_path_EGREP" --version 2>&1` in 4168 *GNU*) 4169 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4170 *) 4171 ac_count=0 4172 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4173 while : 4174 do 4175 cat "conftest.in" "conftest.in" >"conftest.tmp" 4176 mv "conftest.tmp" "conftest.in" 4177 cp "conftest.in" "conftest.nl" 4178 echo 'EGREP' >> "conftest.nl" 4179 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4180 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4181 ac_count=`expr $ac_count + 1` 4182 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4183 # Best one so far, save it but keep looking for a better one 4184 ac_cv_path_EGREP="$ac_path_EGREP" 4185 ac_path_EGREP_max=$ac_count 4186 fi 4187 # 10*(2^10) chars as input seems more than enough 4188 test $ac_count -gt 10 && break 4189 done 4190 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4191 esac 4192 4193 4194 $ac_path_EGREP_found && break 3 4195 done 4196 done 4197 4198 done 4199 IFS=$as_save_IFS 4200 4201 4202 fi 4203 4204 EGREP="$ac_cv_path_EGREP" 4205 if test -z "$EGREP"; then 4206 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4207 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4208 { (exit 1); exit 1; }; } 4209 fi 4210 4211 else 4212 ac_cv_path_EGREP=$EGREP 4213 fi 4214 4215 4216 fi 4217 fi 4218 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4219 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4220 EGREP="$ac_cv_path_EGREP" 4221 4222 4223 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4224 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3720 4225 if test "${ac_cv_header_stdc+set}" = set; then 3721 4226 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3741 4246 _ACEOF 3742 4247 rm -f conftest.$ac_objext 3743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3744 (eval $ac_compile) 2>conftest.er1 4248 if { (ac_try="$ac_compile" 4249 case "(($ac_try" in 4250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4251 *) ac_try_echo=$ac_try;; 4252 esac 4253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4254 (eval "$ac_compile") 2>conftest.er1 3745 4255 ac_status=$? 3746 4256 grep -v '^ *+' conftest.er1 >conftest.err … … 3748 4258 cat conftest.err >&5 3749 4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3750 (exit $ac_status); } && 3751 { ac_try='test -z "$ac_c_werror_flag" 3752 || test ! -s conftest.err' 3753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3754 (eval $ac_try) 2>&5 3755 ac_status=$? 3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3757 (exit $ac_status); }; } && 3758 { ac_try='test -s conftest.$ac_objext' 3759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3760 (eval $ac_try) 2>&5 3761 ac_status=$? 3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3763 (exit $ac_status); }; }; then 4260 (exit $ac_status); } && { 4261 test -z "$ac_c_werror_flag" || 4262 test ! -s conftest.err 4263 } && test -s conftest.$ac_objext; then 3764 4264 ac_cv_header_stdc=yes 3765 4265 else … … 3767 4267 sed 's/^/| /' conftest.$ac_ext >&5 3768 4268 3769 ac_cv_header_stdc=no 3770 fi 3771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4269 ac_cv_header_stdc=no 4270 fi 4271 4272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3772 4273 3773 4274 if test $ac_cv_header_stdc = yes; then … … 3825 4326 /* end confdefs.h. */ 3826 4327 #include <ctype.h> 4328 #include <stdlib.h> 3827 4329 #if ((' ' & 0x0FF) == 0x020) 3828 4330 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3844 4346 if (XOR (islower (i), ISLOWER (i)) 3845 4347 || toupper (i) != TOUPPER (i)) 3846 exit(2);3847 exit (0);4348 return 2; 4349 return 0; 3848 4350 } 3849 4351 _ACEOF 3850 4352 rm -f conftest$ac_exeext 3851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3852 (eval $ac_link) 2>&5 4353 if { (ac_try="$ac_link" 4354 case "(($ac_try" in 4355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4356 *) ac_try_echo=$ac_try;; 4357 esac 4358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4359 (eval "$ac_link") 2>&5 3853 4360 ac_status=$? 3854 4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3855 4362 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3857 (eval $ac_try) 2>&5 4363 { (case "(($ac_try" in 4364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4365 *) ac_try_echo=$ac_try;; 4366 esac 4367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4368 (eval "$ac_try") 2>&5 3858 4369 ac_status=$? 3859 4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3868 4379 ac_cv_header_stdc=no 3869 4380 fi 3870 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3871 fi 3872 fi 3873 fi 3874 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3875 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4382 fi 4383 4384 4385 fi 4386 fi 4387 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4388 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3876 4389 if test $ac_cv_header_stdc = yes; then 3877 4390 … … 3882 4395 fi 3883 4396 3884 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&53885 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 4397 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 4398 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } 3886 4399 if test "${ac_cv_header_sys_wait_h+set}" = set; then 3887 4400 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3896 4409 #include <sys/wait.h> 3897 4410 #ifndef WEXITSTATUS 3898 # define WEXITSTATUS(stat_val) ((unsigned )(stat_val) >> 8)4411 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) 3899 4412 #endif 3900 4413 #ifndef WIFEXITED … … 3913 4426 _ACEOF 3914 4427 rm -f conftest.$ac_objext 3915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3916 (eval $ac_compile) 2>conftest.er1 4428 if { (ac_try="$ac_compile" 4429 case "(($ac_try" in 4430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4431 *) ac_try_echo=$ac_try;; 4432 esac 4433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4434 (eval "$ac_compile") 2>conftest.er1 3917 4435 ac_status=$? 3918 4436 grep -v '^ *+' conftest.er1 >conftest.err … … 3920 4438 cat conftest.err >&5 3921 4439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3922 (exit $ac_status); } && 3923 { ac_try='test -z "$ac_c_werror_flag" 3924 || test ! -s conftest.err' 3925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3926 (eval $ac_try) 2>&5 3927 ac_status=$? 3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3929 (exit $ac_status); }; } && 3930 { ac_try='test -s conftest.$ac_objext' 3931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3932 (eval $ac_try) 2>&5 3933 ac_status=$? 3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3935 (exit $ac_status); }; }; then 4440 (exit $ac_status); } && { 4441 test -z "$ac_c_werror_flag" || 4442 test ! -s conftest.err 4443 } && test -s conftest.$ac_objext; then 3936 4444 ac_cv_header_sys_wait_h=yes 3937 4445 else … … 3939 4447 sed 's/^/| /' conftest.$ac_ext >&5 3940 4448 3941 ac_cv_header_sys_wait_h=no 3942 fi 3943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3944 fi 3945 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 3946 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 4449 ac_cv_header_sys_wait_h=no 4450 fi 4451 4452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4453 fi 4454 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 4455 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } 3947 4456 if test $ac_cv_header_sys_wait_h = yes; then 3948 4457 … … 3967 4476 do 3968 4477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3969 echo "$as_me:$LINENO: checking for $ac_header" >&53970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3971 if eval "test \"\${$as_ac_Header+set}\" = set"; then4478 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3972 4481 echo $ECHO_N "(cached) $ECHO_C" >&6 3973 4482 else … … 3983 4492 _ACEOF 3984 4493 rm -f conftest.$ac_objext 3985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3986 (eval $ac_compile) 2>conftest.er1 4494 if { (ac_try="$ac_compile" 4495 case "(($ac_try" in 4496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4497 *) ac_try_echo=$ac_try;; 4498 esac 4499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4500 (eval "$ac_compile") 2>conftest.er1 3987 4501 ac_status=$? 3988 4502 grep -v '^ *+' conftest.er1 >conftest.err … … 3990 4504 cat conftest.err >&5 3991 4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3992 (exit $ac_status); } && 3993 { ac_try='test -z "$ac_c_werror_flag" 3994 || test ! -s conftest.err' 3995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3996 (eval $ac_try) 2>&5 3997 ac_status=$? 3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3999 (exit $ac_status); }; } && 4000 { ac_try='test -s conftest.$ac_objext' 4001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4002 (eval $ac_try) 2>&5 4003 ac_status=$? 4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4005 (exit $ac_status); }; }; then 4506 (exit $ac_status); } && { 4507 test -z "$ac_c_werror_flag" || 4508 test ! -s conftest.err 4509 } && test -s conftest.$ac_objext; then 4006 4510 eval "$as_ac_Header=yes" 4007 4511 else … … 4009 4513 sed 's/^/| /' conftest.$ac_ext >&5 4010 4514 4011 eval "$as_ac_Header=no" 4012 fi 4013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4014 fi 4015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4515 eval "$as_ac_Header=no" 4516 fi 4517 4518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4519 fi 4520 ac_res=`eval echo '${'$as_ac_Header'}'` 4521 { echo "$as_me:$LINENO: result: $ac_res" >&5 4522 echo "${ECHO_T}$ac_res" >&6; } 4017 4523 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4018 4524 cat >>confdefs.h <<_ACEOF … … 4033 4539 do 4034 4540 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4035 if eval "test \"\${$as_ac_Header+set}\" = set"; then4036 echo "$as_me:$LINENO: checking for $ac_header" >&54037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4038 if eval "test \"\${$as_ac_Header+set}\" = set"; then4541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4542 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4039 4545 echo $ECHO_N "(cached) $ECHO_C" >&6 4040 4546 fi 4041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4547 ac_res=`eval echo '${'$as_ac_Header'}'` 4548 { echo "$as_me:$LINENO: result: $ac_res" >&5 4549 echo "${ECHO_T}$ac_res" >&6; } 4043 4550 else 4044 4551 # Is the header compilable? 4045 echo "$as_me:$LINENO: checking $ac_header usability" >&54046 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4552 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 4553 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 4047 4554 cat >conftest.$ac_ext <<_ACEOF 4048 4555 /* confdefs.h. */ … … 4055 4562 _ACEOF 4056 4563 rm -f conftest.$ac_objext 4057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4058 (eval $ac_compile) 2>conftest.er1 4564 if { (ac_try="$ac_compile" 4565 case "(($ac_try" in 4566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4567 *) ac_try_echo=$ac_try;; 4568 esac 4569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4570 (eval "$ac_compile") 2>conftest.er1 4059 4571 ac_status=$? 4060 4572 grep -v '^ *+' conftest.er1 >conftest.err … … 4062 4574 cat conftest.err >&5 4063 4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4064 (exit $ac_status); } && 4065 { ac_try='test -z "$ac_c_werror_flag" 4066 || test ! -s conftest.err' 4067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4068 (eval $ac_try) 2>&5 4069 ac_status=$? 4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4071 (exit $ac_status); }; } && 4072 { ac_try='test -s conftest.$ac_objext' 4073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4074 (eval $ac_try) 2>&5 4075 ac_status=$? 4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4077 (exit $ac_status); }; }; then 4576 (exit $ac_status); } && { 4577 test -z "$ac_c_werror_flag" || 4578 test ! -s conftest.err 4579 } && test -s conftest.$ac_objext; then 4078 4580 ac_header_compiler=yes 4079 4581 else … … 4081 4583 sed 's/^/| /' conftest.$ac_ext >&5 4082 4584 4083 ac_header_compiler=no 4084 fi 4085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4086 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4087 echo "${ECHO_T}$ac_header_compiler" >&6 4585 ac_header_compiler=no 4586 fi 4587 4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4589 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4590 echo "${ECHO_T}$ac_header_compiler" >&6; } 4088 4591 4089 4592 # Is the header present? 4090 echo "$as_me:$LINENO: checking $ac_header presence" >&54091 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4593 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 4594 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 4092 4595 cat >conftest.$ac_ext <<_ACEOF 4093 4596 /* confdefs.h. */ … … 4098 4601 #include <$ac_header> 4099 4602 _ACEOF 4100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4101 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4603 if { (ac_try="$ac_cpp conftest.$ac_ext" 4604 case "(($ac_try" in 4605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4606 *) ac_try_echo=$ac_try;; 4607 esac 4608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4609 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4102 4610 ac_status=$? 4103 4611 grep -v '^ *+' conftest.er1 >conftest.err … … 4105 4613 cat conftest.err >&5 4106 4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4107 (exit $ac_status); } >/dev/null; then 4108 if test -s conftest.err; then 4109 ac_cpp_err=$ac_c_preproc_warn_flag 4110 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4111 else 4112 ac_cpp_err= 4113 fi 4114 else 4115 ac_cpp_err=yes 4116 fi 4117 if test -z "$ac_cpp_err"; then 4615 (exit $ac_status); } >/dev/null && { 4616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4617 test ! -s conftest.err 4618 }; then 4118 4619 ac_header_preproc=yes 4119 4620 else … … 4123 4624 ac_header_preproc=no 4124 4625 fi 4626 4125 4627 rm -f conftest.err conftest.$ac_ext 4126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54127 echo "${ECHO_T}$ac_header_preproc" >&6 4628 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4629 echo "${ECHO_T}$ac_header_preproc" >&6; } 4128 4630 4129 4631 # So? What about this header? … … 4149 4651 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4150 4652 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4151 ( 4152 cat <<\_ASBOX 4153 ## ------------------------------------------ ## 4154 ## Report this to the AC_PACKAGE_NAME lists. ## 4155 ## ------------------------------------------ ## 4156 _ASBOX 4157 ) | 4158 sed "s/^/$as_me: WARNING: /" >&2 4653 4159 4654 ;; 4160 4655 esac 4161 echo "$as_me:$LINENO: checking for $ac_header" >&54162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4163 if eval "test \"\${$as_ac_Header+set}\" = set"; then4656 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4658 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4164 4659 echo $ECHO_N "(cached) $ECHO_C" >&6 4165 4660 else 4166 4661 eval "$as_ac_Header=\$ac_header_preproc" 4167 4662 fi 4168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4663 ac_res=`eval echo '${'$as_ac_Header'}'` 4664 { echo "$as_me:$LINENO: result: $ac_res" >&5 4665 echo "${ECHO_T}$ac_res" >&6; } 4170 4666 4171 4667 fi … … 4184 4680 CFLAGS=${CFLAGS}\ ${FOO} 4185 4681 4186 echo "$as_me:$LINENO: checking for the perl xsubpp precompiler" >&54187 echo $ECHO_N "checking for the perl xsubpp precompiler... $ECHO_C" >&6 4682 { echo "$as_me:$LINENO: checking for the perl xsubpp precompiler" >&5 4683 echo $ECHO_N "checking for the perl xsubpp precompiler... $ECHO_C" >&6; } 4188 4684 XSUBPPDIR="`(perl -MExtUtils::MakeMaker -e 'print ExtUtils::MakeMaker->new({NAME => qw(owl)})->tool_xsubpp;') | grep \^XSUBPPDIR | sed -e 's/XSUBPPDIR = //g;'`" 4189 4685 if test -n "${XSUBPPDIR}"; then 4190 echo "$as_me:$LINENO: result: ${XSUBPPDIR}" >&54191 echo "${ECHO_T}${XSUBPPDIR}" >&6 4686 { echo "$as_me:$LINENO: result: ${XSUBPPDIR}" >&5 4687 echo "${ECHO_T}${XSUBPPDIR}" >&6; } 4192 4688 else 4193 4689 { { echo "$as_me:$LINENO: error: not found" >&5 … … 4200 4696 LDFLAGS=${LDFLAGS}\ ${FOO} 4201 4697 4202 echo "$as_me:$LINENO: checking for /usr/share/terminfo" >&54203 echo $ECHO_N "checking for /usr/share/terminfo... $ECHO_C" >&6 4698 { echo "$as_me:$LINENO: checking for /usr/share/terminfo" >&5 4699 echo $ECHO_N "checking for /usr/share/terminfo... $ECHO_C" >&6; } 4204 4700 if test "${ac_cv_file__usr_share_terminfo+set}" = set; then 4205 4701 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4215 4711 fi 4216 4712 fi 4217 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_terminfo" >&54218 echo "${ECHO_T}$ac_cv_file__usr_share_terminfo" >&6 4713 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_terminfo" >&5 4714 echo "${ECHO_T}$ac_cv_file__usr_share_terminfo" >&6; } 4219 4715 if test $ac_cv_file__usr_share_terminfo = yes; then 4220 4716 … … 4224 4720 4225 4721 else 4226 echo "$as_me:$LINENO: checking for /usr/share/lib/terminfo" >&54227 echo $ECHO_N "checking for /usr/share/lib/terminfo... $ECHO_C" >&6 4722 { echo "$as_me:$LINENO: checking for /usr/share/lib/terminfo" >&5 4723 echo $ECHO_N "checking for /usr/share/lib/terminfo... $ECHO_C" >&6; } 4228 4724 if test "${ac_cv_file__usr_share_lib_terminfo+set}" = set; then 4229 4725 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4239 4735 fi 4240 4736 fi 4241 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_lib_terminfo" >&54242 echo "${ECHO_T}$ac_cv_file__usr_share_lib_terminfo" >&6 4737 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_lib_terminfo" >&5 4738 echo "${ECHO_T}$ac_cv_file__usr_share_lib_terminfo" >&6; } 4243 4739 if test $ac_cv_file__usr_share_lib_terminfo = yes; then 4244 4740 … … 4259 4755 4260 4756 ac_aux_dir= 4261 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do4262 if test -f $ac_dir/install-sh; then4757 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 4758 if test -f "$ac_dir/install-sh"; then 4263 4759 ac_aux_dir=$ac_dir 4264 4760 ac_install_sh="$ac_aux_dir/install-sh -c" 4265 4761 break 4266 elif test -f $ac_dir/install.sh; then4762 elif test -f "$ac_dir/install.sh"; then 4267 4763 ac_aux_dir=$ac_dir 4268 4764 ac_install_sh="$ac_aux_dir/install.sh -c" 4269 4765 break 4270 elif test -f $ac_dir/shtool; then4766 elif test -f "$ac_dir/shtool"; then 4271 4767 ac_aux_dir=$ac_dir 4272 4768 ac_install_sh="$ac_aux_dir/shtool install -c" … … 4275 4771 done 4276 4772 if test -z "$ac_aux_dir"; then 4277 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&54278 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}4773 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 4774 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 4279 4775 { (exit 1); exit 1; }; } 4280 4776 fi 4281 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 4282 ac_config_sub="$SHELL $ac_aux_dir/config.sub"