Changeset dab82f29


Ignore:
Timestamp:
Mar 28, 2009, 5:00:34 PM (12 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
owl
Children:
4de643d
Parents:
5189631
Message:
Don't crash on mobile device AIM messages [BZ 20]
Don't crash when sending to someone not on AIM buddy list [BZ 94]
Fix overflow vulerability in zwrite.c and zcrypt.c
Add stack protector and -D_FORTIFY_SOURCE=2 where possible
Fix hang [barnowl 4c46dfdebc294ca24fef59924f01688b8ee07dee]
Fix segfault on missing subs [barnowl 99dabeed7de6d19acb50f1e73aa0bfe5f9469c02]
Fix zcrypt bufffer size bug [barnowl 559076cd86edc3a8317819814dd5877b8bc7c3cb]
Fix double free [barnowl e97c4a306ae2c9d2147d83da29fee59918198e70]
Memory leak fix [barnowl c0a90c2c7ab97b9465c9873757faf312faa0021e]
Memory leak fix [barnowl 95caa16b2e9ba10770d87d0955198c14c2d0e16a]
Memory leak fix [barnowl 1716fed8c2650e46892cf6571555eac937266c6e]
Add getstyle command [barnowl 216c73421653e3ef0e957aa9a9804e208a77c80e]
Binary search for msgid [barnowl 0c8ab5eadbb6ecc97a120c91b9a824b33538c764]
File-handle leak [barnowl e78397d6ac5da0de31a4e269c0ba7f3d691857a3]
Fix delay in jump from top to bottom [barnowl 801b7ac63b962640debbcfd422cb9a60da5fea31]
Load subs in chunks [barnowl 93e883d60051b80bf6d35391f9d76fd7dfd198e3]
Load subs in chunks [barnowl f6050ee9b0a171a5031f84409eb181062afacd18]
Better zsig logging [barnowl d857b667a5a9b108b1a2a26b4a5513bef2b53f80]
free() -> owlfree() [barnowl d524c838ac7c115628424b8ac171c3489622ea3a]
Escape AIM users in smartfilters [barnowl af9b92e3e7ccb7de276a94b5c7e5861b24e71eff]
Better regex escape chars [barnowl 80e54a7631f091be8c9762adb9746bad38104738]
Deal with quotes in smart filters [barnowl 4099cf83702763fa8d1efc4f1582a605431bdb77]
Deal with 0 length zephyr fields [barnowl 128171aaf7cefa91a4bb1eada93a19d8fd0c355c]
Deal with 0 length zephyr fields [barnowl 50e29e35c64d64e223d378d350a7bc4f038d78f5]
Deal with 0 length zephyr fields [barnowl 804ab8af8b6d00bcd7e2402df892db8fbd61a3ec]
Leave curmsg on screen after resize [barnowl c0f9e3009bc03e80a44de64cd5f2b4033290236e]
Rip out brower stuff [barnowl 8e5935d11c699a7ce5a3e6e9a47799564c696d6a]
Rip out browser stuff [barnowl 4f15e8e9ceada0d4b2cc969ebf43b0a1fb3709ea]
No passwords in command history [barnowl 6e400cc71aa59e041dce677aadf50dc1f25228e2]
Format NOC mssages [barnowl a1bb1980e4bca23b8329cc0e7c0bd5027055ea0a]
Expand ~ in loadsubs [barnowl 27d8d835dc6d58c08fae10e75aae306c49215143]
Expand ~ in source [barnowl 10d67d57cb29221f63a43a30643c697fc7b38911]
Only use resizeterm() if it's available
Debian backports
Change license to GPLv3
Files:
1 added
56 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r0154e2d rdab82f29  
    11$Id$
    22
    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        
     32.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
    9402.1.11
    1041        Don't crash doing zlocate with bad tickets. [BZ 12]
  • Makefile.in

    rafbf668 rdab82f29  
    2424     keypress.c keymap.c keybinding.c cmd.c context.c zcrypt.c \
    2525     aim.c buddy.c buddylist.c timer.c style.c stylefunc.c errqueue.c \
    26      zbuddylist.c muxevents.c popexec.c
     26     zbuddylist.c popexec.c select.c
    2727OWL_SRC = owl.c
    2828TESTER_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
    125#include <stdio.h>
    226#include <stdio.h>
     
    239263{
    240264  if (message) {
    241     owl_function_error(message);
     265    owl_function_error("%s", message);
    242266  } else {
    243267    owl_function_error("Authentication error on login");
     
    948972 
    949973  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))) {
    951975      /* perror("memrequest: malloc"); */
    952976      return -1;
     
    954978    sprintf(filename, "%s/%s.ocm", priv->aimbinarypath, modname);
    955979  } else {
    956     if (!(filename = malloc(strlen(priv->aimbinarypath)+1+strlen(defaultmod)+1))) {
     980    if (!(filename = owl_malloc(strlen(priv->aimbinarypath)+1+strlen(defaultmod)+1))) {
    957981      /* perror("memrequest: malloc"); */
    958982      return -1;
     
    964988    if (!modname) {
    965989      /* perror("memrequest: stat"); */
    966       free(filename);
     990      owl_free(filename);
    967991      return -1;
    968992    }
     
    9861010    int i;
    9871011   
    988     free(filename); /* not needed */
     1012    owl_free(filename); /* not needed */
    9891013    owl_function_error("getaimdata memrequest: recieved invalid request for 0x%08lx bytes at 0x%08lx (file %s)\n", len, offset, modname);
    9901014    i = 8;
     
    9931017    }
    9941018   
    995     if (!(buf = malloc(i))) {
     1019    if (!(buf = owl_malloc(i))) {
    9961020      return -1;
    9971021    }
     
    10171041    *buflenret = i;
    10181042  } else {
    1019     if (!(buf = malloc(len))) {
    1020       free(filename);
     1043    if (!(buf = owl_malloc(len))) {
     1044      owl_free(filename);
    10211045      return -1;
    10221046    }
     
    10241048    if (!(f = fopen(filename, "r"))) {
    10251049      /* perror("memrequest: fopen"); */
    1026       free(filename);
    1027       free(buf);
     1050      owl_free(filename);
     1051      owl_free(buf);
    10281052      return -1;
    10291053    }
    10301054   
    1031     free(filename);
     1055    owl_free(filename);
    10321056   
    10331057    if (fseek(f, offset, SEEK_SET) == -1) {
    10341058      /* perror("memrequest: fseek"); */
    10351059      fclose(f);
    1036       free(buf);
     1060      owl_free(buf);
    10371061      return -1;
    10381062    }
     
    10411065      /* perror("memrequest: fread"); */
    10421066      fclose(f);
    1043       free(buf);
     1067      owl_free(buf);
    10441068      return -1;
    10451069    }
     
    10761100  if (priv->aimbinarypath && (getaimdata(sess, &buf, &buflen, offset, len, modname) == 0)) {
    10771101    aim_sendmemblock(sess, fr->conn, offset, buflen, buf, AIM_SENDMEMBLOCK_FLAG_ISREQUEST);
    1078     free(buf);
     1102    owl_free(buf);
    10791103  } else {
    10801104    owl_function_debugmsg("faimtest_memrequest: unable to use AIM binary (\"%s/%s\"), sending defaults...\n", priv->aimbinarypath, modname);
     
    13421366      int z;
    13431367     
    1344       newbuf = malloc(i+1);
     1368      newbuf = owl_malloc(i+1);
    13451369      for (z = 0; z < i; z++)
    13461370        newbuf[z] = (z % 10)+0x30;
    13471371      newbuf[i] = '\0';
    13481372      /* aim_send_im(sess, userinfo->sn, AIM_IMFLAGS_ACK | AIM_IMFLAGS_AWAY, newbuf); */
    1349       free(newbuf);
     1373      owl_free(newbuf);
    13501374    }
    13511375  } else if (strstr(tmpstr, "seticqstatus")) {
     
    14521476     *
    14531477     */
    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    }
    14551487  }
    14561488
     
    16971729 
    16981730  /* 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]);
    17001732 
    17011733  return 1;
     
    17141746 
    17151747  /* 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]);
    17171749
    17181750  if (reason==4) {
     
    17351767 
    17361768  /* 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]);
    17381770 
    17391771  return 1;
     
    23102342}
    23112343
     2344void owl_process_aim()
     2345{
     2346  if (owl_global_is_doaimevents(&g)) {
     2347    owl_aim_process_events();
     2348  }
     2349}
    23122350
    23132351/**********************************************************************************/
  • 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
    125#include "owl.h"
    226
  • 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
    125#include "owl.h"
    226
  • 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
    125#include <stdio.h>
    226#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
    125#include <stdio.h>
    226#include <stdlib.h>
     
    442466  OWLCMD_VOID("pop-message", owl_command_pop_message, OWL_CTX_RECWIN,
    443467              "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"),
    451468
    452469  OWLCMD_ARGS("zaway", owl_command_zaway, OWL_CTX_INTERACTIVE,
     
    704721              "getvar <varname>", ""),
    705722
     723  OWLCMD_ARGS("getstyle", owl_command_getstyle, OWL_CTX_INTERACTIVE,
     724              "returns the name of the style for the current view",
     725              "", ""),
     726
    706727  OWLCMD_ARGS("search", owl_command_search, OWL_CTX_INTERACTIVE,
    707728              "search messages for a particular string",
     
    15561577char *owl_command_multi(int argc, char **argv, char *buff)
    15571578{
    1558   char *lastrv = NULL, *newbuff;
     1579  char *lastrv = NULL, *dupbuff, *newbuff;
    15591580  char **commands;
    15601581  int  ncommands, i;
     
    15631584    return NULL;
    15641585  }
    1565   newbuff = owl_strdup(buff);
    1566   newbuff = skiptokens(newbuff, 1);
     1586  dupbuff = owl_strdup(buff);
     1587  newbuff = skiptokens(dupbuff, 1);
    15671588  if (!strcmp(argv[0], "(")) {
    15681589    for (i=strlen(newbuff)-1; i>=0; i--) {
     
    15841605    lastrv = owl_function_command(commands[i]);
    15851606  }
     1607  owl_free(dupbuff);
    15861608  atokenize_free(commands, ncommands);
    15871609  return lastrv;
     
    19761998      foo=owl_function_create_negative_filter(owl_view_get_filtname(owl_global_get_current_view(&g)));
    19771999      owl_function_change_currentview_filter(foo);
     2000      owl_free(foo);
    19782001      return(NULL);
    19792002    }
     
    21572180}
    21582181
    2159 void owl_command_openurl(void)
    2160 {
    2161   owl_function_openurl();
    2162 }
    2163 
    21642182char *owl_command_delete(int argc, char **argv, char *buff)
    21652183{
     
    23992417}
    24002418
     2419char *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
    24012431/*********************************************************************/
    24022432/************************** EDIT SPECIFIC ****************************/
     
    24092439  owl_function_makemsg("Command cancelled.");
    24102440
    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  }
    24142446
    24152447  owl_editwin_fullclear(e);
  • config.h.in

    r11a7c6a rdab82f29  
    6060#undef HAVE_DES_ECB_ENCRYPT_PROTO
    6161
     62#undef TERMINFO
    6263
    63 #undef TERMINFO
     64/* Define to 1 if you have the `resizeterm' function. */
     65#undef HAVE_RESIZETERM
     66
  • configure

    r8298425 rdab82f29  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59.
     3# Generated by GNU Autoconf 2.61.
    44#
    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.
    67# This configure script is free software; the Free Software Foundation
    78# gives unlimited permission to copy, distribute and modify it.
     
    1011## --------------------- ##
    1112
    12 # Be Bourne compatible
     13# Be more Bourne compatible
     14DUALCASE=1; export DUALCASE # for MKS sh
    1315if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    1416  emulate sh
     
    1719  # is contrary to our usage.  Disable this feature.
    1820  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
     22else
     23  case `(set -o) 2>/dev/null` in
     24  *posix*) set -o posix ;;
     25esac
     26
     27fi
     28
     29
     30
     31
     32# PATH needs CR
    7933# Avoid depending upon Character Ranges.
    8034as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    9751fi
    9852
    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.
     54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     55  as_unset=unset
     56else
     57  as_unset=false
     58fi
     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.)
     66as_nl='
     67'
     68IFS=" ""        $as_nl"
     69
     70# Find who we are.  Look in the path if we contain no directory separator.
     71case $0 in
     72  *[\\/]* ) as_myself=$0 ;;
     73  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    11074for as_dir in $PATH
    11175do
     
    11478  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    11579done
    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
     80IFS=$as_save_IFS
     81
     82     ;;
     83esac
     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.
     86if test "x$as_myself" = x; then
     87  as_myself=$0
     88fi
     89if 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; }
     92fi
     93
     94# Work around bugs in pre-3.0 UWIN ksh.
     95for as_var in ENV MAIL MAILPATH
     96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     97done
     98PS1='$ '
     99PS2='> '
     100PS4='+ '
     101
     102# NLS nuisances.
     103for 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
     107do
     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
    123112  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   '')
     113done
     114
     115# Required to use basename.
     116if expr a : '\(a\)' >/dev/null 2>&1 &&
     117   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     118  as_expr=expr
     119else
     120  as_expr=false
     121fi
     122
     123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     124  as_basename=basename
     125else
     126  as_basename=false
     127fi
     128
     129
     130# Name of the executable.
     131as_me=`$as_basename -- "$0" ||
     132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     133         X"$0" : 'X\(//\)$' \| \
     134         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     135echo 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
     154if test "x$CONFIG_SHELL" = x; then
     155  if (eval ":") 2>/dev/null; then
     156  as_have_required=yes
     157else
     158  as_have_required=no
     159fi
     160
     161  if test $as_have_required = yes &&     (eval ":
     162(as_func_return () {
     163  (exit \$1)
     164}
     165as_func_success () {
     166  as_func_return 0
     167}
     168as_func_failure () {
     169  as_func_return 1
     170}
     171as_func_ret_success () {
     172  return 0
     173}
     174as_func_ret_failure () {
     175  return 1
     176}
     177
     178exitcode=0
     179if as_func_success; then
     180  :
     181else
     182  exitcode=1
     183  echo as_func_success failed.
     184fi
     185
     186if as_func_failure; then
     187  exitcode=1
     188  echo as_func_failure succeeded.
     189fi
     190
     191if as_func_ret_success; then
     192  :
     193else
     194  exitcode=1
     195  echo as_func_ret_success failed.
     196fi
     197
     198if as_func_ret_failure; then
     199  exitcode=1
     200  echo as_func_ret_failure succeeded.
     201fi
     202
     203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     204  :
     205else
     206  exitcode=1
     207  echo positional parameters were not saved.
     208fi
     209
     210test \$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  :
     219else
     220  as_candidate_shells=
    130221    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     
    133224  IFS=$as_save_IFS
    134225  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
    137227         /*)
    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
     232done
     233IFS=$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
     240if 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
     247else
     248  case `(set -o) 2>/dev/null` in
     249  *posix*) set -o posix ;;
     250esac
     251
     252fi
     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
     261if 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
     268else
     269  case `(set -o) 2>/dev/null` in
     270  *posix*) set -o posix ;;
     271esac
     272
     273fi
     274
     275
     276:
     277(as_func_return () {
     278  (exit $1)
     279}
     280as_func_success () {
     281  as_func_return 0
     282}
     283as_func_failure () {
     284  as_func_return 1
     285}
     286as_func_ret_success () {
     287  return 0
     288}
     289as_func_ret_failure () {
     290  return 1
     291}
     292
     293exitcode=0
     294if as_func_success; then
     295  :
     296else
     297  exitcode=1
     298  echo as_func_success failed.
     299fi
     300
     301if as_func_failure; then
     302  exitcode=1
     303  echo as_func_failure succeeded.
     304fi
     305
     306if as_func_ret_success; then
     307  :
     308else
     309  exitcode=1
     310  echo as_func_ret_success failed.
     311fi
     312
     313if as_func_ret_failure; then
     314  exitcode=1
     315  echo as_func_ret_failure succeeded.
     316fi
     317
     318if ( set x; as_func_ret_success y && test x = "$1" ); then
     319  :
     320else
     321  exitcode=1
     322  echo positional parameters were not saved.
     323fi
     324
     325test $exitcode = 0) || { (exit 1); exit 1; }
     326
     327(
    139328  as_lineno_1=$LINENO
    140329  as_lineno_2=$LINENO
    141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142330  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
     336fi
     337
     338fi
     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+"$@"}
     348fi
     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; }
     357fi
     358
     359
     360fi
     361
     362fi
     363
     364
     365
     366(eval "as_func_return () {
     367  (exit \$1)
     368}
     369as_func_success () {
     370  as_func_return 0
     371}
     372as_func_failure () {
     373  as_func_return 1
     374}
     375as_func_ret_success () {
     376  return 0
     377}
     378as_func_ret_failure () {
     379  return 1
     380}
     381
     382exitcode=0
     383if as_func_success; then
     384  :
     385else
     386  exitcode=1
     387  echo as_func_success failed.
     388fi
     389
     390if as_func_failure; then
     391  exitcode=1
     392  echo as_func_failure succeeded.
     393fi
     394
     395if as_func_ret_success; then
     396  :
     397else
     398  exitcode=1
     399  echo as_func_ret_success failed.
     400fi
     401
     402if as_func_ret_failure; then
     403  exitcode=1
     404  echo as_func_ret_failure succeeded.
     405fi
     406
     407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     408  :
     409else
     410  exitcode=1
     411  echo positional parameters were not saved.
     412fi
     413
     414test \$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" || {
    155427
    156428  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157429  # 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.
    162435  # (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 |
    165442    sed '
     443      s/[$]LINENO.*/&-/
     444      t lineno
     445      b
     446      :lineno
    166447      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/
    170450      t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
     451      s/-\n.*//
    173452    ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
     453  chmod +x "$as_me.lineno" ||
    175454    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176455   { (exit 1); exit 1; }; }
     
    178457  # Don't try to exec as it changes $[0], causing all sort of problems
    179458  # (the dirname of $[0] is not the place where we might find the
    180   # original and so on.  Autoconf is especially sensible to this).
    181   . ./$as_me.lineno
     459  # original and so on.  Autoconf is especially sensitive to this).
     460  . "./$as_me.lineno"
    182461  # Exit status is that of the last command.
    183462  exit
     
    185464
    186465
    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
     466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     467  as_dirname=dirname
     468else
     469  as_dirname=false
     470fi
     471
     472ECHO_C= ECHO_N= ECHO_T=
     473case `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';;
     481esac
     482
     483if expr a : '\(a\)' >/dev/null 2>&1 &&
     484   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    195485  as_expr=expr
    196486else
     
    199489
    200490rm -f conf$$ conf$$.exe conf$$.file
     491if test -d conf$$.dir; then
     492  rm -f conf$$.dir/conf$$.file
     493else
     494  rm -f conf$$.dir
     495  mkdir conf$$.dir
     496fi
    201497echo >conf$$.file
    202498if 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 ||
    207505    as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210   fi
    211506elif ln conf$$.file conf$$ 2>/dev/null; then
    212507  as_ln_s=ln
     
    214509  as_ln_s='cp -p'
    215510fi
    216 rm -f conf$$ conf$$.exe conf$$.file
     511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     512rmdir conf$$.dir 2>/dev/null
    217513
    218514if mkdir -p . 2>/dev/null; then
     
    223519fi
    224520
    225 as_executable_p="test -f"
     521if test -x / >/dev/null 2>&1; then
     522  as_test_x='test -x'
     523else
     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  '
     541fi
     542as_executable_p=$as_test_x
    226543
    227544# Sed expression to map a string onto a valid CPP name.
     
    232549
    233550
    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
     552exec 7<&0 </dev/null 6>&1
    243553
    244554# Name of the host.
     
    247557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    248558
    249 exec 6>&1
    250 
    251559#
    252560# Initializations.
    253561#
    254562ac_default_prefix=/usr/local
     563ac_clean_files=
    255564ac_config_libobj_dir=.
     565LIBOBJS=
    256566cross_compiling=no
    257567subdirs=
     
    259569MAKEFLAGS=
    260570SHELL=${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, and
    264 # only ac_max_sed_lines should be used.
    265 : ${ac_max_here_lines=38}
    266571
    267572# Identity of this package.
     
    276581ac_includes_default="\
    277582#include <stdio.h>
    278 #if HAVE_SYS_TYPES_H
     583#ifdef HAVE_SYS_TYPES_H
    279584# include <sys/types.h>
    280585#endif
    281 #if HAVE_SYS_STAT_H
     586#ifdef HAVE_SYS_STAT_H
    282587# include <sys/stat.h>
    283588#endif
    284 #if STDC_HEADERS
     589#ifdef STDC_HEADERS
    285590# include <stdlib.h>
    286591# include <stddef.h>
    287592#else
    288 # if HAVE_STDLIB_H
     593# ifdef HAVE_STDLIB_H
    289594#  include <stdlib.h>
    290595# endif
    291596#endif
    292 #if HAVE_STRING_H
    293 # if !STDC_HEADERS && HAVE_MEMORY_H
     597#ifdef HAVE_STRING_H
     598# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    294599#  include <memory.h>
    295600# endif
    296601# include <string.h>
    297602#endif
    298 #if HAVE_STRINGS_H
     603#ifdef HAVE_STRINGS_H
    299604# include <strings.h>
    300605#endif
    301 #if HAVE_INTTYPES_H
     606#ifdef HAVE_INTTYPES_H
    302607# include <inttypes.h>
    303 #else
    304 # if HAVE_STDINT_H
    305 #  include <stdint.h>
    306 # endif
    307608#endif
    308 #if HAVE_UNISTD_H
     609#ifdef HAVE_STDINT_H
     610# include <stdint.h>
     611#endif
     612#ifdef HAVE_UNISTD_H
    309613# include <unistd.h>
    310614#endif"
    311615
    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'
     616ac_subst_vars='SHELL
     617PATH_SEPARATOR
     618PACKAGE_NAME
     619PACKAGE_TARNAME
     620PACKAGE_VERSION
     621PACKAGE_STRING
     622PACKAGE_BUGREPORT
     623exec_prefix
     624prefix
     625program_transform_name
     626bindir
     627sbindir
     628libexecdir
     629datarootdir
     630datadir
     631sysconfdir
     632sharedstatedir
     633localstatedir
     634includedir
     635oldincludedir
     636docdir
     637infodir
     638htmldir
     639dvidir
     640pdfdir
     641psdir
     642libdir
     643localedir
     644mandir
     645DEFS
     646ECHO_C
     647ECHO_N
     648ECHO_T
     649LIBS
     650build_alias
     651host_alias
     652target_alias
     653CC
     654CFLAGS
     655LDFLAGS
     656CPPFLAGS
     657ac_ct_CC
     658EXEEXT
     659OBJEXT
     660CPP
     661GREP
     662EGREP
     663XSUBPPDIR
     664INSTALL_PROGRAM
     665INSTALL_SCRIPT
     666INSTALL_DATA
     667subdirs
     668LIBOBJS
     669LTLIBOBJS'
    314670ac_subst_files=''
     671      ac_precious_vars='build_alias
     672host_alias
     673target_alias
     674CC
     675CFLAGS
     676LDFLAGS
     677LIBS
     678CPPFLAGS
     679CPP'
     680ac_subdirs_all='libfaim'
    315681
    316682# Initialize some variables set by options.
     
    339705# by default will actually change.
    340706# Use braces instead of parens because sh, perl, etc. also accept them.
     707# (The list follows the same order as the GNU Coding Standards.)
    341708bindir='${exec_prefix}/bin'
    342709sbindir='${exec_prefix}/sbin'
    343710libexecdir='${exec_prefix}/libexec'
    344 datadir='${prefix}/share'
     711datarootdir='${prefix}/share'
     712datadir='${datarootdir}'
    345713sysconfdir='${prefix}/etc'
    346714sharedstatedir='${prefix}/com'
    347715localstatedir='${prefix}/var'
    348 libdir='${exec_prefix}/lib'
    349716includedir='${prefix}/include'
    350717oldincludedir='/usr/include'
    351 infodir='${prefix}/info'
    352 mandir='${prefix}/man'
     718docdir='${datarootdir}/doc/${PACKAGE}'
     719infodir='${datarootdir}/info'
     720htmldir='${docdir}'
     721dvidir='${docdir}'
     722pdfdir='${docdir}'
     723psdir='${docdir}'
     724libdir='${exec_prefix}/lib'
     725localedir='${datarootdir}/locale'
     726mandir='${datarootdir}/man'
    353727
    354728ac_prev=
     729ac_dashdash=
    355730for ac_option
    356731do
    357732  # If the previous option needs an argument, assign it.
    358733  if test -n "$ac_prev"; then
    359     eval "$ac_prev=\$ac_option"
     734    eval $ac_prev=\$ac_option
    360735    ac_prev=
    361736    continue
    362737  fi
    363738
    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
    365743
    366744  # Accept the important Cygnus configure options, so we can diagnose typos.
    367745
    368   case $ac_option in
     746  case $ac_dashdash$ac_option in
     747  --)
     748    ac_dashdash=yes ;;
    369749
    370750  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    388768    cache_file=config.cache ;;
    389769
    390   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     770  -datadir | --datadir | --datadi | --datad)
    391771    ac_prev=datadir ;;
    392   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    393   | --da=*)
     772  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    394773    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 ;;
    395781
    396782  -disable-* | --disable-*)
    397783    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    398784    # 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 &&
    400786      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    401787   { (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 ;;
    404800
    405801  -enable-* | --enable-*)
    406802    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    407803    # 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 &&
    409805      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    410806   { (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 ;;
    417809
    418810  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    441833    host_alias=$ac_optarg ;;
    442834
     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
    443841  -includedir | --includedir | --includedi | --included | --include \
    444842  | --includ | --inclu | --incl | --inc)
     
    465863    libexecdir=$ac_optarg ;;
    466864
     865  -localedir | --localedir | --localedi | --localed | --locale)
     866    ac_prev=localedir ;;
     867  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     868    localedir=$ac_optarg ;;
     869
    467870  -localstatedir | --localstatedir | --localstatedi | --localstated \
    468   | --localstate | --localstat | --localsta | --localst \
    469   | --locals | --local | --loca | --loc | --lo)
     871  | --localstate | --localstat | --localsta | --localst | --locals)
    470872    ac_prev=localstatedir ;;
    471873  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    472   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    473   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     874  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    474875    localstatedir=$ac_optarg ;;
    475876
     
    536937    program_transform_name=$ac_optarg ;;
    537938
     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
    538949  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    539950  | -silent | --silent | --silen | --sile | --sil)
     
    588999    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5891000    # 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 &&
    5911002      { echo "$as_me: error: invalid package name: $ac_package" >&2
    5921003   { (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 ;;
    5991006
    6001007  -without-* | --without-*)
    6011008    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6021009    # 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 &&
    6041011      { echo "$as_me: error: invalid package name: $ac_package" >&2
    6051012   { (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 ;;
    6081015
    6091016  --x)
     
    6361043      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    6371044   { (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
    6401046    export $ac_envvar ;;
    6411047
     
    6571063fi
    6581064
    659 # Be sure to have absolute paths.
    660 for ac_var in exec_prefix prefix
     1065# Be sure to have absolute directory names.
     1066for 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
    6611070do
    662   eval ac_val=$`echo $ac_var`
     1071  eval ac_val=\$$ac_var
    6631072  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;;
    6671075  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; }; }
    6801078done
    6811079
     
    7041102
    7051103
     1104ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1105ac_ls_di=`ls -di .` &&
     1106ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1107  { echo "$as_me: error: Working directory cannot be determined" >&2
     1108   { (exit 1); exit 1; }; }
     1109test "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
    7061114# Find the source files, if location was not specified.
    7071115if test -z "$srcdir"; then
    7081116  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" ||
    7111119$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    7121120         X"$0" : 'X\(//\)[^/]' \| \
    7131121         X"$0" : 'X\(//\)$' \| \
    714          X"$0" : 'X\(/\)' \| \
    715          .     : '\(.\)' 2>/dev/null ||
     1122         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    7161123echo 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'`
    7221141  srcdir=$ac_confdir
    723   if test ! -r $srcdir/$ac_unique_file; then
     1142  if test ! -r "$srcdir/$ac_unique_file"; then
    7241143    srcdir=..
    7251144  fi
     
    7271146  ac_srcdir_defaulted=no
    7281147fi
    729 if test ! -r $srcdir/$ac_unique_file; then
    730   if test "$ac_srcdir_defaulted" = yes; then
    731     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     1148if 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
    7321151   { (exit 1); exit 1; }; }
    733   else
    734     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1152fi
     1153ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1154ac_abs_confdir=`(
     1155        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
    7351156   { (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=.
     1159if test "$ac_abs_confdir" = "$ac_pwd"; then
     1160  srcdir=.
     1161fi
     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.
     1165case $srcdir in
     1166*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1167esac
     1168for 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}
     1173done
    7741174
    7751175#
     
    8001200      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8011201
    802 _ACEOF
    803 
    804   cat <<_ACEOF
    8051202Installation directories:
    8061203  --prefix=PREFIX         install architecture-independent files in PREFIX
     
    8201217  --sbindir=DIR          system admin executables [EPREFIX/sbin]
    8211218  --libexecdir=DIR       program executables [EPREFIX/libexec]
    822   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    8231219  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    8241220  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     
    8271223  --includedir=DIR       C header files [PREFIX/include]
    8281224  --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]
    8311235_ACEOF
    8321236
     
    8441248  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    8451249              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>
    8481253  CPP         C preprocessor
    8491254
     
    8521257
    8531258_ACEOF
     1259ac_status=$?
    8541260fi
    8551261
    8561262if test "$ac_init_help" = "recursive"; then
    8571263  # If there are subdirs, report their specific --help.
    858   ac_popdir=`pwd`
    8591264  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    860     test -d $ac_dir || continue
     1265    test -d "$ac_dir" || continue
    8611266    ac_builddir=.
    8621267
    863 if test "$ac_dir" != .; then
     1268case "$ac_dir" in
     1269.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1270*)
    8641271  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 ;;
     1278esac
     1279ac_abs_top_builddir=$ac_pwd
     1280ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1281# for backward compatibility:
     1282ac_top_builddir=$ac_top_build_prefix
    8701283
    8711284case $srcdir in
    872   .)  # No --srcdir option.  We are building in place.
     1285  .)  # We are building in place.
    8731286    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.
    8801290    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 ;;
     1297esac
     1298ac_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
    9381308    else
    9391309      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    940     fi
    941     cd $ac_popdir
     1310    fi || ac_status=$?
     1311    cd "$ac_pwd" || { ac_status=$?; break; }
    9421312  done
    9431313fi
    9441314
    945 test -n "$ac_init_help" && exit 0
     1315test -n "$ac_init_help" && exit $ac_status
    9461316if $ac_init_version; then
    9471317  cat <<\_ACEOF
    948 
    949 Copyright (C) 2003 Free Software Foundation, Inc.
     1318configure
     1319generated by GNU Autoconf 2.61
     1320
     1321Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     13222002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    9501323This configure script is free software; the Free Software Foundation
    9511324gives unlimited permission to copy, distribute and modify it.
    9521325_ACEOF
    953   exit 0
    954 fi
    955 exec 5>config.log
    956 cat >&5 <<_ACEOF
     1326  exit
     1327fi
     1328cat >config.log <<_ACEOF
    9571329This file contains any messages produced by compilers while
    9581330running configure, to aid debugging if configure makes a mistake.
    9591331
    9601332It was created by $as_me, which was
    961 generated by GNU Autoconf 2.59.  Invocation command line was
     1333generated by GNU Autoconf 2.61.  Invocation command line was
    9621334
    9631335  $ $0 $@
    9641336
    9651337_ACEOF
     1338exec 5>>config.log
    9661339{
    9671340cat <<_ASUNAME
     
    9821355/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    9831356/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`
    9851358/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    9861359/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    9961369  echo "PATH: $as_dir"
    9971370done
     1371IFS=$as_save_IFS
    9981372
    9991373} >&5
     
    10171391ac_configure_args0=
    10181392ac_configure_args1=
    1019 ac_sep=
    10201393ac_must_keep_next=false
    10211394for ac_pass in 1 2
     
    10281401    | -silent | --silent | --silen | --sile | --sil)
    10291402      continue ;;
    1030     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1403    *\'*)
    10311404      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10321405    esac
     
    10501423        esac
    10511424      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'"
    10551426      ;;
    10561427    esac
     
    10631434# config.log.  We remove comments because anyway the quotes in there
    10641435# 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.
    10671438trap 'exit_status=$?
    10681439  # Save into config.log some information that might help in debugging.
     
    10771448    echo
    10781449    # 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
     1457echo "$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
    10801465  (set) 2>&1 |
    1081     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1082     *ac_space=\ *)
     1466    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1467    *${as_nl}ac_space=\ *)
    10831468      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"
    10861474      ;;
    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)
    10931478    echo
    10941479
     
    11011486    for ac_var in $ac_subst_vars
    11021487    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'\''"
    11051493    done | sort
    11061494    echo
     
    11081496    if test -n "$ac_subst_files"; then
    11091497      cat <<\_ASBOX
    1110 ## ------------- ##
    1111 ## Output files. ##
    1112 ## ------------- ##
     1498## ------------------- ##
     1499## File substitutions. ##
     1500## ------------------- ##
    11131501_ASBOX
    11141502      echo
    11151503      for ac_var in $ac_subst_files
    11161504      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'\''"
    11191510      done | sort
    11201511      echo
     
    11281519_ASBOX
    11291520      echo
    1130       sed "/^$/d" confdefs.h | sort
     1521      cat confdefs.h
    11311522      echo
    11321523    fi
     
    11351526    echo "$as_me: exit $exit_status"
    11361527  } >&5
    1137   rm -f core *.core &&
    1138   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1528  rm -f core *.core core.conftest.* &&
     1529    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11391530    exit $exit_status
    1140      ' 0
     1531' 0
    11411532for ac_signal in 1 2 13 15; do
    11421533  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     
    11451536
    11461537# 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
     1538rm -f -r conftest* confdefs.h
    11501539
    11511540# Predefined preprocessor variables.
     
    11781567# Let the site file select an alternate cache file if it wants to.
    11791568# 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
     1569if test -n "$CONFIG_SITE"; then
     1570  set x "$CONFIG_SITE"
     1571elif test "x$prefix" != xNONE; then
     1572  set x "$prefix/share/config.site" "$prefix/etc/config.site"
     1573else
     1574  set x "$ac_default_prefix/share/config.site" \
     1575        "$ac_default_prefix/etc/config.site"
     1576fi
     1577shift
     1578for ac_site_file
     1579do
    11881580  if test -r "$ac_site_file"; then
    11891581    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     
    12011593echo "$as_me: loading cache $cache_file" >&6;}
    12021594    case $cache_file in
    1203       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1204       *)                      . ./$cache_file;;
     1595      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     1596      *)                      . "./$cache_file";;
    12051597    esac
    12061598  fi
     
    12141606# value.
    12151607ac_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
     1608for ac_var in $ac_precious_vars; do
    12181609  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12191610  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
    12221613  case $ac_old_set,$ac_new_set in
    12231614    set,)
     
    12441635  if test "$ac_new_set" = set; then
    12451636    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"` ;;
    12481638    *) ac_arg=$ac_var=$ac_new_val ;;
    12491639    esac
     
    12621652fi
    12631653
     1654
     1655
     1656
     1657
     1658
     1659
     1660
     1661
     1662
     1663
     1664
     1665
     1666
     1667
     1668
     1669
    12641670ac_ext=c
    12651671ac_cpp='$CPP $CPPFLAGS'
     
    12701676
    12711677
    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"
     1678ac_config_headers="$ac_config_headers config.h"
    12901679
    12911680
     
    12981687  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    12991688set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1300 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1689{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1690echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    13021691if test "${ac_cv_prog_CC+set}" = set; then
    13031692  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    13121701  test -z "$as_dir" && as_dir=.
    13131702  for ac_exec_ext in '' $ac_executable_extensions; do
    1314   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1703  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    13151704    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    13161705    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    13191708done
    13201709done
     1710IFS=$as_save_IFS
    13211711
    13221712fi
     
    13241714CC=$ac_cv_prog_CC
    13251715if 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
     1717echo "${ECHO_T}$CC" >&6; }
     1718else
     1719  { echo "$as_me:$LINENO: result: no" >&5
     1720echo "${ECHO_T}no" >&6; }
     1721fi
     1722
    13321723
    13331724fi
     
    13361727  # Extract the first word of "gcc", so it can be a program name with args.
    13371728set dummy gcc; ac_word=$2
    1338 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1729{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1730echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    13401731if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    13411732  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    13501741  test -z "$as_dir" && as_dir=.
    13511742  for ac_exec_ext in '' $ac_executable_extensions; do
    1352   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1743  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    13531744    ac_cv_prog_ac_ct_CC="gcc"
    13541745    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    13571748done
    13581749done
     1750IFS=$as_save_IFS
    13591751
    13601752fi
     
    13621754ac_ct_CC=$ac_cv_prog_ac_ct_CC
    13631755if 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
     1757echo "${ECHO_T}$ac_ct_CC" >&6; }
     1758else
     1759  { echo "$as_me:$LINENO: result: no" >&5
     1760echo "${ECHO_T}no" >&6; }
     1761fi
     1762
     1763  if test "x$ac_ct_CC" = x; then
     1764    CC=""
     1765  else
     1766    case $cross_compiling:$ac_tool_warned in
     1767yes:)
     1768{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     1769whose name does not start with the host triplet.  If you think this
     1770configuration is useful to you, please write to autoconf@gnu.org." >&5
     1771echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     1772whose name does not start with the host triplet.  If you think this
     1773configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     1774ac_tool_warned=yes ;;
     1775esac
     1776    CC=$ac_ct_CC
     1777  fi
    13721778else
    13731779  CC="$ac_cv_prog_CC"
     
    13751781
    13761782if test -z "$CC"; then
    1377   if test -n "$ac_tool_prefix"; then
    1378   # 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.
    13791785set dummy ${ac_tool_prefix}cc; ac_word=$2
    1380 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1786{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1787echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    13821788if test "${ac_cv_prog_CC+set}" = set; then
    13831789  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    13921798  test -z "$as_dir" && as_dir=.
    13931799  for ac_exec_ext in '' $ac_executable_extensions; do
    1394   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1800  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    13951801    ac_cv_prog_CC="${ac_tool_prefix}cc"
    13961802    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    13991805done
    14001806done
     1807IFS=$as_save_IFS
    14011808
    14021809fi
     
    14041811CC=$ac_cv_prog_CC
    14051812if 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
     1814echo "${ECHO_T}$CC" >&6; }
     1815else
     1816  { echo "$as_me:$LINENO: result: no" >&5
     1817echo "${ECHO_T}no" >&6; }
     1818fi
     1819
     1820
    14361821  fi
    1437 done
    1438 done
    1439 
    1440 fi
    1441 fi
    1442 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1443 if test -n "$ac_ct_CC"; then
    1444   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1445 echo "${ECHO_T}$ac_ct_CC" >&6
    1446 else
    1447   echo "$as_me:$LINENO: result: no" >&5
    1448 echo "${ECHO_T}no" >&6
    1449 fi
    1450 
    1451   CC=$ac_ct_CC
    1452 else
    1453   CC="$ac_cv_prog_CC"
    1454 fi
    1455 
    14561822fi
    14571823if test -z "$CC"; then
    14581824  # Extract the first word of "cc", so it can be a program name with args.
    14591825set dummy cc; ac_word=$2
    1460 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1826{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1827echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    14621828if test "${ac_cv_prog_CC+set}" = set; then
    14631829  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    14731839  test -z "$as_dir" && as_dir=.
    14741840  for ac_exec_ext in '' $ac_executable_extensions; do
    1475   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1841  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14761842    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    14771843       ac_prog_rejected=yes
     
    14841850done
    14851851done
     1852IFS=$as_save_IFS
    14861853
    14871854if test $ac_prog_rejected = yes; then
     
    15011868CC=$ac_cv_prog_CC
    15021869if 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
     1871echo "${ECHO_T}$CC" >&6; }
     1872else
     1873  { echo "$as_me:$LINENO: result: no" >&5
     1874echo "${ECHO_T}no" >&6; }
     1875fi
     1876
    15091877
    15101878fi
    15111879if test -z "$CC"; then
    15121880  if test -n "$ac_tool_prefix"; then
    1513   for ac_prog in cl
     1881  for ac_prog in cl.exe
    15141882  do
    15151883    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    15161884set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1517 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1885{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1886echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15191887if test "${ac_cv_prog_CC+set}" = set; then
    15201888  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15291897  test -z "$as_dir" && as_dir=.
    15301898  for ac_exec_ext in '' $ac_executable_extensions; do
    1531   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1899  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15321900    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    15331901    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15361904done
    15371905done
     1906IFS=$as_save_IFS
    15381907
    15391908fi
     
    15411910CC=$ac_cv_prog_CC
    15421911if 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
     1913echo "${ECHO_T}$CC" >&6; }
     1914else
     1915  { echo "$as_me:$LINENO: result: no" >&5
     1916echo "${ECHO_T}no" >&6; }
     1917fi
     1918
    15491919
    15501920    test -n "$CC" && break
     
    15531923if test -z "$CC"; then
    15541924  ac_ct_CC=$CC
    1555   for ac_prog in cl
     1925  for ac_prog in cl.exe
    15561926do
    15571927  # Extract the first word of "$ac_prog", so it can be a program name with args.
    15581928set dummy $ac_prog; ac_word=$2
    1559 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1929{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1930echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    15611931if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    15621932  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    15711941  test -z "$as_dir" && as_dir=.
    15721942  for ac_exec_ext in '' $ac_executable_extensions; do
    1573   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1943  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15741944    ac_cv_prog_ac_ct_CC="$ac_prog"
    15751945    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    15781948done
    15791949done
     1950IFS=$as_save_IFS
    15801951
    15811952fi
     
    15831954ac_ct_CC=$ac_cv_prog_ac_ct_CC
    15841955if 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
     1957echo "${ECHO_T}$ac_ct_CC" >&6; }
     1958else
     1959  { echo "$as_me:$LINENO: result: no" >&5
     1960echo "${ECHO_T}no" >&6; }
     1961fi
     1962
    15911963
    15921964  test -n "$ac_ct_CC" && break
    15931965done
    15941966
    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
     1971yes:)
     1972{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     1973whose name does not start with the host triplet.  If you think this
     1974configuration is useful to you, please write to autoconf@gnu.org." >&5
     1975echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     1976whose name does not start with the host triplet.  If you think this
     1977configuration is useful to you, please write to autoconf@gnu.org." >&2;}
     1978ac_tool_warned=yes ;;
     1979esac
     1980    CC=$ac_ct_CC
     1981  fi
    15961982fi
    15971983
     
    16061992
    16071993# Provide some information about the compiler.
    1608 echo "$as_me:$LINENO:" \
    1609      "checking for C compiler version" >&5
     1994echo "$as_me:$LINENO: checking for C compiler version" >&5
    16101995ac_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"
     1997case "(($ac_try" in
     1998  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1999  *) ac_try_echo=$ac_try;;
     2000esac
     2001eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2002  (eval "$ac_compiler --version >&5") 2>&5
    16132003  ac_status=$?
    16142004  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16152005  (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"
     2007case "(($ac_try" in
     2008  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2009  *) ac_try_echo=$ac_try;;
     2010esac
     2011eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2012  (eval "$ac_compiler -v >&5") 2>&5
    16182013  ac_status=$?
    16192014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16202015  (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"
     2017case "(($ac_try" in
     2018  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2019  *) ac_try_echo=$ac_try;;
     2020esac
     2021eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2022  (eval "$ac_compiler -V >&5") 2>&5
    16232023  ac_status=$?
    16242024  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    16452045# It will help us diagnose broken compilers, and finding out an intuition
    16462046# of exeext.
    1647 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1648 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
     2048echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
    16492049ac_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.
     2054ac_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.
     2059ac_rmfiles=
     2060for ac_file in $ac_files
     2061do
     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
     2066done
     2067rm -f $ac_rmfiles
     2068
     2069if { (ac_try="$ac_link_default"
     2070case "(($ac_try" in
     2071  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2072  *) ac_try_echo=$ac_try;;
     2073esac
     2074eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2075  (eval "$ac_link_default") 2>&5
    16522076  ac_status=$?
    16532077  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16542078  (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.
     2084for ac_file in $ac_files ''
    16642085do
    16652086  test -f "$ac_file" || continue
    16662087  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 )
    16712089        ;;
    16722090    [ab].out )
     
    16752093        break;;
    16762094    *.* )
    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.
    16822104        break;;
    16832105    * )
     
    16852107  esac
    16862108done
    1687 else
     2109test "$ac_cv_exeext" = no && ac_cv_exeext=
     2110
     2111else
     2112  ac_file=''
     2113fi
     2114
     2115{ echo "$as_me:$LINENO: result: $ac_file" >&5
     2116echo "${ECHO_T}$ac_file" >&6; }
     2117if test -z "$ac_file"; then
    16882118  echo "$as_me: failed program was:" >&5
    16892119sed 's/^/| /' conftest.$ac_ext >&5
     
    16972127
    16982128ac_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
    17032131# the compiler is broken, or we cross compile.
    1704 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1705 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
     2132{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2133echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    17062134# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    17072135# If not cross compiling, check that we can run a simple program.
    17082136if test "$cross_compiling" != yes; then
    17092137  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;;
     2141esac
     2142eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2143  (eval "$ac_try") 2>&5
    17122144  ac_status=$?
    17132145  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    17282160  fi
    17292161fi
    1730 echo "$as_me:$LINENO: result: yes" >&5
    1731 echo "${ECHO_T}yes" >&6
     2162{ echo "$as_me:$LINENO: result: yes" >&5
     2163echo "${ECHO_T}yes" >&6; }
    17322164
    17332165rm -f a.out a.exe conftest$ac_cv_exeext b.out
    17342166ac_clean_files=$ac_clean_files_save
    1735 # Check the compiler produces executables we can run.  If not, either
     2167# Check that the compiler produces executables we can run.  If not, either
    17362168# 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
     2170echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
     2171{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2172echo "${ECHO_T}$cross_compiling" >&6; }
     2173
     2174{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2175echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
     2176if { (ac_try="$ac_link"
     2177case "(($ac_try" in
     2178  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2179  *) ac_try_echo=$ac_try;;
     2180esac
     2181eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2182  (eval "$ac_link") 2>&5
    17462183  ac_status=$?
    17472184  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    17542191  test -f "$ac_file" || continue
    17552192  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 ) ;;
    17572194    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1758           export ac_cv_exeext
    17592195          break;;
    17602196    * ) break;;
     
    17702206
    17712207rm -f conftest$ac_cv_exeext
    1772 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    1773 echo "${ECHO_T}$ac_cv_exeext" >&6
     2208{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2209echo "${ECHO_T}$ac_cv_exeext" >&6; }
    17742210
    17752211rm -f conftest.$ac_ext
    17762212EXEEXT=$ac_cv_exeext
    17772213ac_exeext=$EXEEXT
    1778 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    1779 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
     2214{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2215echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    17802216if test "${ac_cv_objext+set}" = set; then
    17812217  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    17972233_ACEOF
    17982234rm -f conftest.o conftest.obj
    1799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1800   (eval $ac_compile) 2>&5
     2235if { (ac_try="$ac_compile"
     2236case "(($ac_try" in
     2237  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2238  *) ac_try_echo=$ac_try;;
     2239esac
     2240eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2241  (eval "$ac_compile") 2>&5
    18012242  ac_status=$?
    18022243  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    18032244  (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;
    18052247  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 ) ;;
    18072249    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    18082250       break;;
     
    18222264rm -f conftest.$ac_cv_objext conftest.$ac_ext
    18232265fi
    1824 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    1825 echo "${ECHO_T}$ac_cv_objext" >&6
     2266{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2267echo "${ECHO_T}$ac_cv_objext" >&6; }
    18262268OBJEXT=$ac_cv_objext
    18272269ac_objext=$OBJEXT
    1828 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    1829 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
     2271echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    18302272if test "${ac_cv_c_compiler_gnu+set}" = set; then
    18312273  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    18502292_ACEOF
    18512293rm -f conftest.$ac_objext
    1852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1853   (eval $ac_compile) 2>conftest.er1
     2294if { (ac_try="$ac_compile"
     2295case "(($ac_try" in
     2296  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2297  *) ac_try_echo=$ac_try;;
     2298esac
     2299eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2300  (eval "$ac_compile") 2>conftest.er1
    18542301  ac_status=$?
    18552302  grep -v '^ *+' conftest.er1 >conftest.err
     
    18572304  cat conftest.err >&5
    18582305  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
    18732310  ac_compiler_gnu=yes
    18742311else
     
    18762313sed 's/^/| /' conftest.$ac_ext >&5
    18772314
    1878 ac_compiler_gnu=no
    1879 fi
    1880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2315        ac_compiler_gnu=no
     2316fi
     2317
     2318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    18812319ac_cv_c_compiler_gnu=$ac_compiler_gnu
    18822320
    18832321fi
    1884 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    1885 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
     2322{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2323echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
    18862324GCC=`test $ac_compiler_gnu = yes && echo yes`
    18872325ac_test_CFLAGS=${CFLAGS+set}
    18882326ac_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
     2328echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    18922329if test "${ac_cv_prog_cc_g+set}" = set; then
    18932330  echo $ECHO_N "(cached) $ECHO_C" >&6
    18942331else
    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
    18962337/* confdefs.h.  */
    18972338_ACEOF
     
    19092350_ACEOF
    19102351rm -f conftest.$ac_objext
    1911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1912   (eval $ac_compile) 2>conftest.er1
     2352if { (ac_try="$ac_compile"
     2353case "(($ac_try" in
     2354  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2355  *) ac_try_echo=$ac_try;;
     2356esac
     2357eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2358  (eval "$ac_compile") 2>conftest.er1
    19132359  ac_status=$?
    19142360  grep -v '^ *+' conftest.er1 >conftest.err
     
    19162362  cat conftest.err >&5
    19172363  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
    19322368  ac_cv_prog_cc_g=yes
    19332369else
     
    19352371sed 's/^/| /' conftest.$ac_ext >&5
    19362372
    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
     2377cat confdefs.h >>conftest.$ac_ext
     2378cat >>conftest.$ac_ext <<_ACEOF
     2379/* end confdefs.h.  */
     2380
     2381int
     2382main ()
     2383{
     2384
     2385  ;
     2386  return 0;
     2387}
     2388_ACEOF
     2389rm -f conftest.$ac_objext
     2390if { (ac_try="$ac_compile"
     2391case "(($ac_try" in
     2392  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2393  *) ac_try_echo=$ac_try;;
     2394esac
     2395eval "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  :
     2407else
     2408  echo "$as_me: failed program was:" >&5
     2409sed '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
     2416cat confdefs.h >>conftest.$ac_ext
     2417cat >>conftest.$ac_ext <<_ACEOF
     2418/* end confdefs.h.  */
     2419
     2420int
     2421main ()
     2422{
     2423
     2424  ;
     2425  return 0;
     2426}
     2427_ACEOF
     2428rm -f conftest.$ac_objext
     2429if { (ac_try="$ac_compile"
     2430case "(($ac_try" in
     2431  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2432  *) ac_try_echo=$ac_try;;
     2433esac
     2434eval "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
     2446else
     2447  echo "$as_me: failed program was:" >&5
     2448sed 's/^/| /' conftest.$ac_ext >&5
     2449
     2450
     2451fi
     2452
     2453rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2454fi
     2455
     2456rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2457fi
     2458
     2459rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2460   ac_c_werror_flag=$ac_save_c_werror_flag
     2461fi
     2462{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2463echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
    19432464if test "$ac_test_CFLAGS" = set; then
    19442465  CFLAGS=$ac_save_CFLAGS
     
    19562477  fi
    19572478fi
    1958 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    1959 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    1960 if test "${ac_cv_prog_cc_stdc+set}" = set; then
     2479{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     2480echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
     2481if test "${ac_cv_prog_cc_c89+set}" = set; then
    19612482  echo $ECHO_N "(cached) $ECHO_C" >&6
    19622483else
    1963   ac_cv_prog_cc_stdc=no
     2484  ac_cv_prog_cc_c89=no
    19642485ac_save_CC=$CC
    19652486cat >conftest.$ac_ext <<_ACEOF
     
    19952516   function prototypes and stuff, but not '\xHH' hex character constants.
    19962517   These don't provoke an error unfortunately, instead are silently treated
    1997    as 'x'.  The following induces an error, until -std1 is added to get
     2518   as 'x'.  The following induces an error, until -std is added to get
    19982519   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    19992520   array size at least.  It's necessary to write '\x00'==0 to get something
    2000    that's true only with -std1.  */
     2521   that's true only with -std.  */
    20012522int 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'
     2527int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    20022528
    20032529int test (int i, double x);
     
    20152541}
    20162542_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__"
     2543for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     2544        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    20252545do
    20262546  CC="$ac_save_CC $ac_arg"
    20272547  rm -f conftest.$ac_objext
    2028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2029   (eval $ac_compile) 2>conftest.er1
     2548if { (ac_try="$ac_compile"
     2549case "(($ac_try" in
     2550  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2551  *) ac_try_echo=$ac_try;;
     2552esac
     2553eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2554  (eval "$ac_compile") 2>conftest.er1
    20302555  ac_status=$?
    20312556  grep -v '^ *+' conftest.er1 >conftest.err
     
    20332558  cat conftest.err >&5
    20342559  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
    20512565else
    20522566  echo "$as_me: failed program was:" >&5
    20532567sed 's/^/| /' conftest.$ac_ext >&5
    20542568
    2055 fi
    2056 rm -f conftest.err conftest.$ac_objext
     2569
     2570fi
     2571
     2572rm -f core conftest.err conftest.$ac_objext
     2573  test "x$ac_cv_prog_cc_c89" != "xno" && break
    20572574done
    2058 rm -f conftest.$ac_ext conftest.$ac_objext
     2575rm -f conftest.$ac_ext
    20592576CC=$ac_save_CC
    20602577
    20612578fi
    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
     2580case "x$ac_cv_prog_cc_c89" in
     2581  x)
     2582    { echo "$as_me:$LINENO: result: none needed" >&5
     2583echo "${ECHO_T}none needed" >&6; } ;;
     2584  xno)
     2585    { echo "$as_me:$LINENO: result: unsupported" >&5
     2586echo "${ECHO_T}unsupported" >&6; } ;;
    20672587  *)
    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
     2590echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
     2591esac
     2592
     2593
     2594ac_ext=c
     2595ac_cpp='$CPP $CPPFLAGS'
     2596ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2597ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2598ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2599
     2600
     2601if test "$GCC" = yes; then
     2602     CFLAGS="$CFLAGS -Wall -g -D_FORTIFY_SOURCE=2";
     2603fi
     2604
     2605{ echo "$as_me:$LINENO: checking for /usr/athena/include" >&5
     2606echo $ECHO_N "checking for /usr/athena/include... $ECHO_C" >&6; }
     2607if 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
     2611echo "${ECHO_T}yes" >&6; }
     2612else
     2613        { echo "$as_me:$LINENO: result: no" >&5
     2614echo "${ECHO_T}no" >&6; }
     2615fi
     2616{ echo "$as_me:$LINENO: checking for /usr/athena/lib" >&5
     2617echo $ECHO_N "checking for /usr/athena/lib... $ECHO_C" >&6; }
     2618if test -d /usr/athena/lib; then
     2619        LDFLAGS=-L/usr/athena/lib\ ${LDFLAGS}
     2620        { echo "$as_me:$LINENO: result: yes" >&5
     2621echo "${ECHO_T}yes" >&6; }
     2622else
     2623        { echo "$as_me:$LINENO: result: no" >&5
     2624echo "${ECHO_T}no" >&6; }
     2625fi
     2626
     2627{ echo "$as_me:$LINENO: checking for /usr/include/kerberosIV" >&5
     2628echo $ECHO_N "checking for /usr/include/kerberosIV... $ECHO_C" >&6; }
     2629if 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
     2633echo "${ECHO_T}yes" >&6; }
     2634else
     2635        { echo "$as_me:$LINENO: result: no" >&5
     2636echo "${ECHO_T}no" >&6; }
     2637fi
     2638
     2639PROTECT_CFLAGS=${PROTECT_CFLAGS-"-fstack-protector"}
     2640SAVE_CFLAGS=$CFLAGS
     2641CFLAGS="$CFLAGS $PROTECT_CFLAGS"
     2642{ echo "$as_me:$LINENO: checking whether protection cflags work" >&5
     2643echo $ECHO_N "checking whether protection cflags work... $ECHO_C" >&6; }
     2644
    20772645cat >conftest.$ac_ext <<_ACEOF
    2078 #ifndef __cplusplus
    2079   choke me
    2080 #endif
     2646int i;
    20812647_ACEOF
    20822648rm -f conftest.$ac_objext
    2083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2084   (eval $ac_compile) 2>conftest.er1
     2649if { (ac_try="$ac_compile"
     2650case "(($ac_try" in
     2651  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2652  *) ac_try_echo=$ac_try;;
     2653esac
     2654eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2655  (eval "$ac_compile") 2>conftest.er1
    20852656  ac_status=$?
    20862657  grep -v '^ *+' conftest.er1 >conftest.err
     
    20882659  cat conftest.err >&5
    20892660  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
     2666echo "${ECHO_T}yes" >&6; }
     2667else
     2668  echo "$as_me: failed program was:" >&5
     2669sed 's/^/| /' conftest.$ac_ext >&5
     2670
     2671        { echo "$as_me:$LINENO: result: no" >&5
     2672echo "${ECHO_T}no" >&6; }
     2673    CFLAGS=$SAVE_CFLAGS
     2674fi
     2675
     2676rm -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
     2680echo $ECHO_N "checking for __stack_chk_guard in -lssp... $ECHO_C" >&6; }
     2681if test "${ac_cv_lib_ssp___stack_chk_guard+set}" = set; then
     2682  echo $ECHO_N "(cached) $ECHO_C" >&6
     2683else
     2684  ac_check_lib_save_LIBS=$LIBS
     2685LIBS="-lssp  $LIBS"
     2686cat >conftest.$ac_ext <<_ACEOF
    21132687/* confdefs.h.  */
    21142688_ACEOF
     
    21162690cat >>conftest.$ac_ext <<_ACEOF
    21172691/* 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
     2697extern "C"
     2698#endif
     2699char __stack_chk_guard ();
    21202700int
    21212701main ()
    21222702{
    2123 exit (42);
     2703return __stack_chk_guard ();
    21242704  ;
    21252705  return 0;
    21262706}
    21272707_ACEOF
    2128 rm -f conftest.$ac_objext
    2129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2130   (eval $ac_compile) 2>conftest.er1
     2708rm -f conftest.$ac_objext conftest$ac_exeext
     2709if { (ac_try="$ac_link"
     2710case "(($ac_try" in
     2711  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2712  *) ac_try_echo=$ac_try;;
     2713esac
     2714eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2715  (eval "$ac_link") 2>conftest.er1
    21312716  ac_status=$?
    21322717  grep -v '^ *+' conftest.er1 >conftest.err
     
    21342719  cat conftest.err >&5
    21352720  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
    21512727else
    21522728  echo "$as_me: failed program was:" >&5
    21532729sed 's/^/| /' conftest.$ac_ext >&5
    21542730
    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
     2732fi
     2733
     2734rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     2735      conftest$ac_exeext conftest.$ac_ext
     2736LIBS=$ac_check_lib_save_LIBS
     2737fi
     2738{ echo "$as_me:$LINENO: result: $ac_cv_lib_ssp___stack_chk_guard" >&5
     2739echo "${ECHO_T}$ac_cv_lib_ssp___stack_chk_guard" >&6; }
     2740if 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
     2747fi
     2748
     2749
     2750{ echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
     2751echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; }
     2752if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
     2753  echo $ECHO_N "(cached) $ECHO_C" >&6
     2754else
     2755  ac_check_lib_save_LIBS=$LIBS
     2756LIBS="-lncurses  $LIBS"
     2757cat >conftest.$ac_ext <<_ACEOF
    21592758/* confdefs.h.  */
    21602759_ACEOF
     
    21622761cat >>conftest.$ac_ext <<_ACEOF
    21632762/* 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
     2768extern "C"
     2769#endif
     2770char initscr ();
    21652771int
    21662772main ()
    21672773{
    2168 exit (42);
     2774return initscr ();
    21692775  ;
    21702776  return 0;
    21712777}
    21722778_ACEOF
    2173 rm -f conftest.$ac_objext
    2174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2175   (eval $ac_compile) 2>conftest.er1
     2779rm -f conftest.$ac_objext conftest$ac_exeext
     2780if { (ac_try="$ac_link"
     2781case "(($ac_try" in
     2782  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2783  *) ac_try_echo=$ac_try;;
     2784esac
     2785eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2786  (eval "$ac_link") 2>conftest.er1
    21762787  ac_status=$?
    21772788  grep -v '^ *+' conftest.er1 >conftest.err
     
    21792790  cat conftest.err >&5
    21802791  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
    21962798else
    21972799  echo "$as_me: failed program was:" >&5
    21982800sed 's/^/| /' conftest.$ac_ext >&5
    21992801
    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
     2803fi
     2804
     2805rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     2806      conftest$ac_exeext conftest.$ac_ext
     2807LIBS=$ac_check_lib_save_LIBS
     2808fi
     2809{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
     2810echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
     2811if 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
     2818else
     2819
     2820{ echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
     2821echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
     2822if test "${ac_cv_lib_curses_initscr+set}" = set; then
    22662823  echo $ECHO_N "(cached) $ECHO_C" >&6
    22672824else
    22682825  ac_check_lib_save_LIBS=$LIBS
    2269 LIBS="-lncurses  $LIBS"
     2826LIBS="-lcurses  $LIBS"
    22702827cat >conftest.$ac_ext <<_ACEOF
    22712828/* confdefs.h.  */
     
    22752832/* end confdefs.h.  */
    22762833
    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.  */
    22782837#ifdef __cplusplus
    22792838extern "C"
    22802839#endif
    2281 /* We use char because int might match the return type of a gcc2
    2282    builtin and then its argument prototype would still apply.  */
    22832840char initscr ();
    22842841int
    22852842main ()
    22862843{
    2287 initscr ();
     2844return initscr ();
    22882845  ;
    22892846  return 0;
     
    22912848_ACEOF
    22922849rm -f conftest.$ac_objext conftest$ac_exeext
    2293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2294   (eval $ac_link) 2>conftest.er1
     2850if { (ac_try="$ac_link"
     2851case "(($ac_try" in
     2852  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2853  *) ac_try_echo=$ac_try;;
     2854esac
     2855eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2856  (eval "$ac_link") 2>conftest.er1
    22952857  ac_status=$?
    22962858  grep -v '^ *+' conftest.er1 >conftest.err
     
    22982860  cat conftest.err >&5
    22992861  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
    23152868else
    23162869  echo "$as_me: failed program was:" >&5
    23172870sed 's/^/| /' conftest.$ac_ext >&5
    23182871
    2319 ac_cv_lib_ncurses_initscr=no
    2320 fi
    2321 rm -f conftest.err conftest.$ac_objext \
     2872        ac_cv_lib_curses_initscr=no
     2873fi
     2874
     2875rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    23222876      conftest$ac_exeext conftest.$ac_ext
    23232877LIBS=$ac_check_lib_save_LIBS
    23242878fi
    2325 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
    2326 echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6
    2327 if test $ac_cv_lib_ncurses_initscr = yes; then
     2879{ echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
     2880echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
     2881if test $ac_cv_lib_curses_initscr = yes; then
    23282882  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
     2888else
     2889  { { echo "$as_me:$LINENO: error: No curses library found." >&5
     2890echo "$as_me: error: No curses library found." >&2;}
     2891   { (exit 1); exit 1; }; }
     2892fi
     2893
     2894fi
     2895
     2896
     2897{ echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
     2898echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; }
     2899if test "${ac_cv_lib_com_err_com_err+set}" = set; then
    23392900  echo $ECHO_N "(cached) $ECHO_C" >&6
    23402901else
    23412902  ac_check_lib_save_LIBS=$LIBS
    2342 LIBS="-lcurses  $LIBS"
    2343 
     2903LIBS="-lcom_err  $LIBS"
    23442904cat >conftest.$ac_ext <<_ACEOF
    23452905/* confdefs.h.  */
     
    23492909/* end confdefs.h.  */
    23502910
    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.  */
    23522914#ifdef __cplusplus
    23532915extern "C"
    23542916#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 ();
     2917char com_err ();
    23582918int
    23592919main ()
    23602920{
    2361 initscr ();
     2921return com_err ();
    23622922  ;
    23632923  return 0;
     
    23652925_ACEOF
    23662926rm -f conftest.$ac_objext conftest$ac_exeext
    2367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2368   (eval $ac_link) 2>conftest.er1
     2927if { (ac_try="$ac_link"
     2928case "(($ac_try" in
     2929  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2930  *) ac_try_echo=$ac_try;;
     2931esac
     2932eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     2933  (eval "$ac_link") 2>conftest.er1
    23692934  ac_status=$?
    23702935  grep -v '^ *+' conftest.er1 >conftest.err
     
    23722937  cat conftest.err >&5
    23732938  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
    23892945else
    23902946  echo "$as_me: failed program was:" >&5
    23912947sed 's/^/| /' conftest.$ac_ext >&5
    23922948
    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
     2950fi
     2951
     2952rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    23962953      conftest$ac_exeext conftest.$ac_ext
    23972954LIBS=$ac_check_lib_save_LIBS
    23982955fi
    2399 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
    2400 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6
    2401 if test $ac_cv_lib_curses_initscr = yes; then
     2956{ echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
     2957echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; }
     2958if test $ac_cv_lib_com_err_com_err = yes; then
    24022959  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
     2965fi
     2966
     2967
     2968{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
     2969echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
     2970if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
    24202971  echo $ECHO_N "(cached) $ECHO_C" >&6
    24212972else
    24222973  ac_check_lib_save_LIBS=$LIBS
    2423 LIBS="-lcom_err  $LIBS"
     2974LIBS="-lnsl  $LIBS"
    24242975cat >conftest.$ac_ext <<_ACEOF
    24252976/* confdefs.h.  */
     
    24292980/* end confdefs.h.  */
    24302981
    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.  */
    24322985#ifdef __cplusplus
    24332986extern "C"
    24342987#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 ();
     2988char gethostbyname ();
    24382989int
    24392990main ()
    24402991{
    2441 com_err ();
     2992return gethostbyname ();
    24422993  ;
    24432994  return 0;
     
    24452996_ACEOF
    24462997rm -f conftest.$ac_objext conftest$ac_exeext
    2447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2448   (eval $ac_link) 2>conftest.er1
     2998if { (ac_try="$ac_link"
     2999case "(($ac_try" in
     3000  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3001  *) ac_try_echo=$ac_try;;
     3002esac
     3003eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3004  (eval "$ac_link") 2>conftest.er1
    24493005  ac_status=$?
    24503006  grep -v '^ *+' conftest.er1 >conftest.err
     
    24523008  cat conftest.err >&5
    24533009  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
    24693016else
    24703017  echo "$as_me: failed program was:" >&5
    24713018sed 's/^/| /' conftest.$ac_ext >&5
    24723019
    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
     3021fi
     3022
     3023rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    24763024      conftest$ac_exeext conftest.$ac_ext
    24773025LIBS=$ac_check_lib_save_LIBS
    24783026fi
    2479 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
    2480 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
    2481 if test $ac_cv_lib_com_err_com_err = yes; then
     3027{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
     3028echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
     3029if test $ac_cv_lib_nsl_gethostbyname = yes; then
    24823030  cat >>confdefs.h <<_ACEOF
    2483 #define HAVE_LIBCOM_ERR 1
    2484 _ACEOF
    2485 
    2486   LIBS="-lcom_err $LIBS"
    2487 
    2488 fi
    2489 
    2490 
    2491 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
    2492 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
    2493 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
     3031#define HAVE_LIBNSL 1
     3032_ACEOF
     3033
     3034  LIBS="-lnsl $LIBS"
     3035
     3036fi
     3037
     3038
     3039{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
     3040echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
     3041if test "${ac_cv_lib_socket_socket+set}" = set; then
    24943042  echo $ECHO_N "(cached) $ECHO_C" >&6
    24953043else
    24963044  ac_check_lib_save_LIBS=$LIBS
    2497 LIBS="-lnsl  $LIBS"
     3045LIBS="-lsocket  $LIBS"
    24983046cat >conftest.$ac_ext <<_ACEOF
    24993047/* confdefs.h.  */
     
    25033051/* end confdefs.h.  */
    25043052
    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.  */
    25063056#ifdef __cplusplus
    25073057extern "C"
    25083058#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 ();
     3059char socket ();
    25123060int
    25133061main ()
    25143062{
    2515 gethostbyname ();
     3063return socket ();
    25163064  ;
    25173065  return 0;
     
    25193067_ACEOF
    25203068rm -f conftest.$ac_objext conftest$ac_exeext
    2521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2522   (eval $ac_link) 2>conftest.er1
     3069if { (ac_try="$ac_link"
     3070case "(($ac_try" in
     3071  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3072  *) ac_try_echo=$ac_try;;
     3073esac
     3074eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3075  (eval "$ac_link") 2>conftest.er1
    25233076  ac_status=$?
    25243077  grep -v '^ *+' conftest.er1 >conftest.err
     
    25263079  cat conftest.err >&5
    25273080  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
    25433087else
    25443088  echo "$as_me: failed program was:" >&5
    25453089sed 's/^/| /' conftest.$ac_ext >&5
    25463090
    2547 ac_cv_lib_nsl_gethostbyname=no
    2548 fi
    2549 rm -f conftest.err conftest.$ac_objext \
     3091        ac_cv_lib_socket_socket=no
     3092fi
     3093
     3094rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    25503095      conftest$ac_exeext conftest.$ac_ext
    25513096LIBS=$ac_check_lib_save_LIBS
    25523097fi
    2553 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
    2554 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
    2555 if test $ac_cv_lib_nsl_gethostbyname = yes; then
     3098{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
     3099echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
     3100if test $ac_cv_lib_socket_socket = yes; then
    25563101  cat >>confdefs.h <<_ACEOF
    2557 #define HAVE_LIBNSL 1
    2558 _ACEOF
    2559 
    2560   LIBS="-lnsl $LIBS"
    2561 
    2562 fi
    2563 
    2564 
    2565 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
    2566 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
    2567 if test "${ac_cv_lib_socket_socket+set}" = set; then
     3102#define HAVE_LIBSOCKET 1
     3103_ACEOF
     3104
     3105  LIBS="-lsocket $LIBS"
     3106
     3107fi
     3108
     3109
     3110{ echo "$as_me:$LINENO: checking for krb5_derive_key in -lk5crypto" >&5
     3111echo $ECHO_N "checking for krb5_derive_key in -lk5crypto... $ECHO_C" >&6; }
     3112if test "${ac_cv_lib_k5crypto_krb5_derive_key+set}" = set; then
    25683113  echo $ECHO_N "(cached) $ECHO_C" >&6
    25693114else
    25703115  ac_check_lib_save_LIBS=$LIBS
    2571 LIBS="-lsocket  $LIBS"
     3116LIBS="-lk5crypto  $LIBS"
    25723117cat >conftest.$ac_ext <<_ACEOF
    25733118/* confdefs.h.  */
     
    25773122/* end confdefs.h.  */
    25783123
    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.  */
    25803127#ifdef __cplusplus
    25813128extern "C"
    25823129#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 ();
     3130char krb5_derive_key ();
    25863131int
    25873132main ()
    25883133{
    2589 socket ();
     3134return krb5_derive_key ();
    25903135  ;
    25913136  return 0;
     
    25933138_ACEOF
    25943139rm -f conftest.$ac_objext conftest$ac_exeext
    2595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2596   (eval $ac_link) 2>conftest.er1
     3140if { (ac_try="$ac_link"
     3141case "(($ac_try" in
     3142  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3143  *) ac_try_echo=$ac_try;;
     3144esac
     3145eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3146  (eval "$ac_link") 2>conftest.er1
    25973147  ac_status=$?
    25983148  grep -v '^ *+' conftest.er1 >conftest.err
     
    26003150  cat conftest.err >&5
    26013151  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
    26173158else
    26183159  echo "$as_me: failed program was:" >&5
    26193160sed 's/^/| /' conftest.$ac_ext >&5
    26203161
    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
     3163fi
     3164
     3165rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    26243166      conftest$ac_exeext conftest.$ac_ext
    26253167LIBS=$ac_check_lib_save_LIBS
    26263168fi
    2627 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
    2628 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
    2629 if test $ac_cv_lib_socket_socket = yes; then
     3169{ echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_krb5_derive_key" >&5
     3170echo "${ECHO_T}$ac_cv_lib_k5crypto_krb5_derive_key" >&6; }
     3171if test $ac_cv_lib_k5crypto_krb5_derive_key = yes; then
    26303172  cat >>confdefs.h <<_ACEOF
    2631 #define HAVE_LIBSOCKET 1
    2632 _ACEOF
    2633 
    2634   LIBS="-lsocket $LIBS"
    2635 
    2636 fi
    2637 
    2638 
    2639 echo "$as_me:$LINENO: checking for krb5_derive_key in -lk5crypto" >&5
    2640 echo $ECHO_N "checking for krb5_derive_key in -lk5crypto... $ECHO_C" >&6
    2641 if test "${ac_cv_lib_k5crypto_krb5_derive_key+set}" = set; then
     3173#define HAVE_LIBK5CRYPTO 1
     3174_ACEOF
     3175
     3176  LIBS="-lk5crypto $LIBS"
     3177
     3178fi
     3179
     3180
     3181{ echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
     3182echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; }
     3183if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
    26423184  echo $ECHO_N "(cached) $ECHO_C" >&6
    26433185else
    26443186  ac_check_lib_save_LIBS=$LIBS
    2645 LIBS="-lk5crypto  $LIBS"
     3187LIBS="-ldes425  $LIBS"
    26463188cat >conftest.$ac_ext <<_ACEOF
    26473189/* confdefs.h.  */
     
    26513193/* end confdefs.h.  */
    26523194
    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.  */
    26543198#ifdef __cplusplus
    26553199extern "C"
    26563200#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 ();
     3201char des_cbc_encrypt ();
    26603202int
    26613203main ()
    26623204{
    2663 krb5_derive_key ();
     3205return des_cbc_encrypt ();
    26643206  ;
    26653207  return 0;
     
    26673209_ACEOF
    26683210rm -f conftest.$ac_objext conftest$ac_exeext
    2669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2670   (eval $ac_link) 2>conftest.er1
     3211if { (ac_try="$ac_link"
     3212case "(($ac_try" in
     3213  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3214  *) ac_try_echo=$ac_try;;
     3215esac
     3216eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3217  (eval "$ac_link") 2>conftest.er1
    26713218  ac_status=$?
    26723219  grep -v '^ *+' conftest.er1 >conftest.err
     
    26743221  cat conftest.err >&5
    26753222  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
    26913229else
    26923230  echo "$as_me: failed program was:" >&5
    26933231sed 's/^/| /' conftest.$ac_ext >&5
    26943232
    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
     3234fi
     3235
     3236rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    26983237      conftest$ac_exeext conftest.$ac_ext
    26993238LIBS=$ac_check_lib_save_LIBS
    27003239fi
    2701 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_krb5_derive_key" >&5
    2702 echo "${ECHO_T}$ac_cv_lib_k5crypto_krb5_derive_key" >&6
    2703 if test $ac_cv_lib_k5crypto_krb5_derive_key = yes; then
     3240{ echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
     3241echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
     3242if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
    27043243  cat >>confdefs.h <<_ACEOF
    2705 #define HAVE_LIBK5CRYPTO 1
    2706 _ACEOF
    2707 
    2708   LIBS="-lk5crypto $LIBS"
    2709 
    2710 fi
    2711 
    2712 
    2713 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
    2714 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
    2715 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
     3244#define HAVE_LIBDES425 1
     3245_ACEOF
     3246
     3247  LIBS="-ldes425 $LIBS"
     3248
     3249fi
     3250
     3251
     3252{ echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
     3253echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; }
     3254if test "${ac_cv_lib_resolv_res_search+set}" = set; then
    27163255  echo $ECHO_N "(cached) $ECHO_C" >&6
    27173256else
    27183257  ac_check_lib_save_LIBS=$LIBS
    2719 LIBS="-ldes425  $LIBS"
     3258LIBS="-lresolv  $LIBS"
    27203259cat >conftest.$ac_ext <<_ACEOF
    27213260/* confdefs.h.  */
     
    27253264/* end confdefs.h.  */
    27263265
    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.  */
    27283269#ifdef __cplusplus
    27293270extern "C"
    27303271#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 ();
     3272char res_search ();
    27343273int
    27353274main ()
    27363275{
    2737 des_cbc_encrypt ();
     3276return res_search ();
    27383277  ;
    27393278  return 0;
     
    27413280_ACEOF
    27423281rm -f conftest.$ac_objext conftest$ac_exeext
    2743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2744   (eval $ac_link) 2>conftest.er1
     3282if { (ac_try="$ac_link"
     3283case "(($ac_try" in
     3284  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3285  *) ac_try_echo=$ac_try;;
     3286esac
     3287eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3288  (eval "$ac_link") 2>conftest.er1
    27453289  ac_status=$?
    27463290  grep -v '^ *+' conftest.er1 >conftest.err
     
    27483292  cat conftest.err >&5
    27493293  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
    27653300else
    27663301  echo "$as_me: failed program was:" >&5
    27673302sed 's/^/| /' conftest.$ac_ext >&5
    27683303
    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
     3305fi
     3306
     3307rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    27723308      conftest$ac_exeext conftest.$ac_ext
    27733309LIBS=$ac_check_lib_save_LIBS
    27743310fi
    2775 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
    2776 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
    2777 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
     3311{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
     3312echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; }
     3313if test $ac_cv_lib_resolv_res_search = yes; then
    27783314  cat >>confdefs.h <<_ACEOF
    2779 #define HAVE_LIBDES425 1
    2780 _ACEOF
    2781 
    2782   LIBS="-ldes425 $LIBS"
    2783 
    2784 fi
    2785 
    2786 
    2787 echo "$as_me:$LINENO: checking for des_quad_cksum in -ldes" >&5
    2788 echo $ECHO_N "checking for des_quad_cksum in -ldes... $ECHO_C" >&6
    2789 if test "${ac_cv_lib_des_des_quad_cksum+set}" = set; then
     3315#define HAVE_LIBRESOLV 1
     3316_ACEOF
     3317
     3318  LIBS="-lresolv $LIBS"
     3319
     3320fi
     3321
     3322
     3323{ echo "$as_me:$LINENO: checking for krb5_get_credentials in -lkrb5" >&5
     3324echo $ECHO_N "checking for krb5_get_credentials in -lkrb5... $ECHO_C" >&6; }
     3325if test "${ac_cv_lib_krb5_krb5_get_credentials+set}" = set; then
    27903326  echo $ECHO_N "(cached) $ECHO_C" >&6
    27913327else
    27923328  ac_check_lib_save_LIBS=$LIBS
    2793 LIBS="-ldes  $LIBS"
     3329LIBS="-lkrb5  $LIBS"
    27943330cat >conftest.$ac_ext <<_ACEOF
    27953331/* confdefs.h.  */
     
    27993335/* end confdefs.h.  */
    28003336
    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.  */
    28023340#ifdef __cplusplus
    28033341extern "C"
    28043342#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 ();
     3343char krb5_get_credentials ();
    28083344int
    28093345main ()
    28103346{
    2811 des_quad_cksum ();
     3347return krb5_get_credentials ();
    28123348  ;
    28133349  return 0;
     
    28153351_ACEOF
    28163352rm -f conftest.$ac_objext conftest$ac_exeext
    2817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2818   (eval $ac_link) 2>conftest.er1
     3353if { (ac_try="$ac_link"
     3354case "(($ac_try" in
     3355  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3356  *) ac_try_echo=$ac_try;;
     3357esac
     3358eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3359  (eval "$ac_link") 2>conftest.er1
    28193360  ac_status=$?
    28203361  grep -v '^ *+' conftest.er1 >conftest.err
     
    28223363  cat conftest.err >&5
    28233364  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
    28393371else
    28403372  echo "$as_me: failed program was:" >&5
    28413373sed 's/^/| /' conftest.$ac_ext >&5
    28423374
    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
     3376fi
     3377
     3378rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    28463379      conftest$ac_exeext conftest.$ac_ext
    28473380LIBS=$ac_check_lib_save_LIBS
    28483381fi
    2849 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_quad_cksum" >&5
    2850 echo "${ECHO_T}$ac_cv_lib_des_des_quad_cksum" >&6
    2851 if test $ac_cv_lib_des_des_quad_cksum = yes; then
     3382{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_get_credentials" >&5
     3383echo "${ECHO_T}$ac_cv_lib_krb5_krb5_get_credentials" >&6; }
     3384if test $ac_cv_lib_krb5_krb5_get_credentials = yes; then
    28523385  cat >>confdefs.h <<_ACEOF
    2853 #define HAVE_LIBDES 1
    2854 _ACEOF
    2855 
    2856   LIBS="-ldes $LIBS"
    2857 
    2858 fi
    2859 
    2860 
    2861 echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
    2862 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6
    2863 if test "${ac_cv_lib_resolv_res_search+set}" = set; then
     3386#define HAVE_LIBKRB5 1
     3387_ACEOF
     3388
     3389  LIBS="-lkrb5 $LIBS"
     3390
     3391fi
     3392
     3393
     3394{ echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb4" >&5
     3395echo $ECHO_N "checking for krb_sendauth in -lkrb4... $ECHO_C" >&6; }
     3396if test "${ac_cv_lib_krb4_krb_sendauth+set}" = set; then
    28643397  echo $ECHO_N "(cached) $ECHO_C" >&6
    28653398else
    28663399  ac_check_lib_save_LIBS=$LIBS
    2867 LIBS="-lresolv  $LIBS"
     3400LIBS="-lkrb4  $LIBS"
    28683401cat >conftest.$ac_ext <<_ACEOF
    28693402/* confdefs.h.  */
     
    28733406/* end confdefs.h.  */
    28743407
    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.  */
    28763411#ifdef __cplusplus
    28773412extern "C"
    28783413#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 ();
     3414char krb_sendauth ();
    28823415int
    28833416main ()
    28843417{
    2885 res_search ();
     3418return krb_sendauth ();
    28863419  ;
    28873420  return 0;
     
    28893422_ACEOF
    28903423rm -f conftest.$ac_objext conftest$ac_exeext
    2891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2892   (eval $ac_link) 2>conftest.er1
     3424if { (ac_try="$ac_link"
     3425case "(($ac_try" in
     3426  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3427  *) ac_try_echo=$ac_try;;
     3428esac
     3429eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3430  (eval "$ac_link") 2>conftest.er1
    28933431  ac_status=$?
    28943432  grep -v '^ *+' conftest.er1 >conftest.err
     
    28963434  cat conftest.err >&5
    28973435  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
    29133442else
    29143443  echo "$as_me: failed program was:" >&5
    29153444sed 's/^/| /' conftest.$ac_ext >&5
    29163445
    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
     3447fi
     3448
     3449rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    29203450      conftest$ac_exeext conftest.$ac_ext
    29213451LIBS=$ac_check_lib_save_LIBS
    29223452fi
    2923 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
    2924 echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6
    2925 if test $ac_cv_lib_resolv_res_search = yes; then
     3453{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_sendauth" >&5
     3454echo "${ECHO_T}$ac_cv_lib_krb4_krb_sendauth" >&6; }
     3455if test $ac_cv_lib_krb4_krb_sendauth = yes; then
    29263456  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
     3462else
     3463
     3464{ echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb" >&5
     3465echo $ECHO_N "checking for krb_sendauth in -lkrb... $ECHO_C" >&6; }
     3466if test "${ac_cv_lib_krb_krb_sendauth+set}" = set; then
    29383467  echo $ECHO_N "(cached) $ECHO_C" >&6
    29393468else
    29403469  ac_check_lib_save_LIBS=$LIBS
    2941 LIBS="-lkrb5  $LIBS"
     3470LIBS="-lkrb  $LIBS"
    29423471cat >conftest.$ac_ext <<_ACEOF
    29433472/* confdefs.h.  */
     
    29473476/* end confdefs.h.  */
    29483477
    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.  */
    29503481#ifdef __cplusplus
    29513482extern "C"
    29523483#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 ();
     3484char krb_sendauth ();
    29563485int
    29573486main ()
    29583487{
    2959 krb5_get_credentials ();
     3488return krb_sendauth ();
    29603489  ;
    29613490  return 0;
     
    29633492_ACEOF
    29643493rm -f conftest.$ac_objext conftest$ac_exeext
    2965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2966   (eval $ac_link) 2>conftest.er1
     3494if { (ac_try="$ac_link"
     3495case "(($ac_try" in
     3496  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3497  *) ac_try_echo=$ac_try;;
     3498esac
     3499eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3500  (eval "$ac_link") 2>conftest.er1
    29673501  ac_status=$?
    29683502  grep -v '^ *+' conftest.er1 >conftest.err
     
    29703504  cat conftest.err >&5
    29713505  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
    29873512else
    29883513  echo "$as_me: failed program was:" >&5
    29893514sed 's/^/| /' conftest.$ac_ext >&5
    29903515
    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
     3517fi
     3518
     3519rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    29943520      conftest$ac_exeext conftest.$ac_ext
    29953521LIBS=$ac_check_lib_save_LIBS
    29963522fi
    2997 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_get_credentials" >&5
    2998 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_get_credentials" >&6
    2999 if test $ac_cv_lib_krb5_krb5_get_credentials = yes; then
     3523{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_sendauth" >&5
     3524echo "${ECHO_T}$ac_cv_lib_krb_krb_sendauth" >&6; }
     3525if test $ac_cv_lib_krb_krb_sendauth = yes; then
    30003526  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
     3532fi
     3533
     3534fi
     3535
     3536
     3537{ echo "$as_me:$LINENO: checking for ZGetSender in -lzephyr" >&5
     3538echo $ECHO_N "checking for ZGetSender in -lzephyr... $ECHO_C" >&6; }
     3539if test "${ac_cv_lib_zephyr_ZGetSender+set}" = set; then
    30123540  echo $ECHO_N "(cached) $ECHO_C" >&6
    30133541else
    30143542  ac_check_lib_save_LIBS=$LIBS
    3015 LIBS="-lkrb4  $LIBS"
     3543LIBS="-lzephyr  $LIBS"
    30163544cat >conftest.$ac_ext <<_ACEOF
    30173545/* confdefs.h.  */
     
    30213549/* end confdefs.h.  */
    30223550
    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.  */
    30243554#ifdef __cplusplus
    30253555extern "C"
    30263556#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 ();
     3557char ZGetSender ();
    30303558int
    30313559main ()
    30323560{
    3033 krb_sendauth ();
     3561return ZGetSender ();
    30343562  ;
    30353563  return 0;
     
    30373565_ACEOF
    30383566rm -f conftest.$ac_objext conftest$ac_exeext
    3039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3040   (eval $ac_link) 2>conftest.er1
     3567if { (ac_try="$ac_link"
     3568case "(($ac_try" in
     3569  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3570  *) ac_try_echo=$ac_try;;
     3571esac
     3572eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3573  (eval "$ac_link") 2>conftest.er1
    30413574  ac_status=$?
    30423575  grep -v '^ *+' conftest.er1 >conftest.err
     
    30443577  cat conftest.err >&5
    30453578  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
    30613585else
    30623586  echo "$as_me: failed program was:" >&5
    30633587sed 's/^/| /' conftest.$ac_ext >&5
    30643588
    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
     3590fi
     3591
     3592rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    30683593      conftest$ac_exeext conftest.$ac_ext
    30693594LIBS=$ac_check_lib_save_LIBS
    30703595fi
    3071 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_sendauth" >&5
    3072 echo "${ECHO_T}$ac_cv_lib_krb4_krb_sendauth" >&6
    3073 if test $ac_cv_lib_krb4_krb_sendauth = yes; then
     3596{ echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZGetSender" >&5
     3597echo "${ECHO_T}$ac_cv_lib_zephyr_ZGetSender" >&6; }
     3598if test $ac_cv_lib_zephyr_ZGetSender = yes; then
    30743599  cat >>confdefs.h <<_ACEOF
    3075 #define HAVE_LIBKRB4 1
    3076 _ACEOF
    3077 
    3078   LIBS="-lkrb4 $LIBS"
    3079 
    3080 else
    3081 
    3082 echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb" >&5
    3083 echo $ECHO_N "checking for krb_sendauth in -lkrb... $ECHO_C" >&6
    3084 if test "${ac_cv_lib_krb_krb_sendauth+set}" = set; then
     3600#define HAVE_LIBZEPHYR 1
     3601_ACEOF
     3602
     3603  LIBS="-lzephyr $LIBS"
     3604
     3605fi
     3606
     3607{ echo "$as_me:$LINENO: checking for ZInitLocationInfo in -lzephyr" >&5
     3608echo $ECHO_N "checking for ZInitLocationInfo in -lzephyr... $ECHO_C" >&6; }
     3609if test "${ac_cv_lib_zephyr_ZInitLocationInfo+set}" = set; then
    30853610  echo $ECHO_N "(cached) $ECHO_C" >&6
    30863611else
    30873612  ac_check_lib_save_LIBS=$LIBS
    3088 LIBS="-lkrb  $LIBS"
     3613LIBS="-lzephyr  $LIBS"
    30893614cat >conftest.$ac_ext <<_ACEOF
    30903615/* confdefs.h.  */
     
    30943619/* end confdefs.h.  */
    30953620
    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.  */
    30973624#ifdef __cplusplus
    30983625extern "C"
    30993626#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 ();
     3627char ZInitLocationInfo ();
    31033628int
    31043629main ()
    31053630{
    3106 krb_sendauth ();
     3631return ZInitLocationInfo ();
    31073632  ;
    31083633  return 0;
     
    31103635_ACEOF
    31113636rm -f conftest.$ac_objext conftest$ac_exeext
    3112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3113   (eval $ac_link) 2>conftest.er1
     3637if { (ac_try="$ac_link"
     3638case "(($ac_try" in
     3639  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3640  *) ac_try_echo=$ac_try;;
     3641esac
     3642eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3643  (eval "$ac_link") 2>conftest.er1
    31143644  ac_status=$?
    31153645  grep -v '^ *+' conftest.er1 >conftest.err
     
    31173647  cat conftest.err >&5
    31183648  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
    31343655else
    31353656  echo "$as_me: failed program was:" >&5
    31363657sed 's/^/| /' conftest.$ac_ext >&5
    31373658
    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
     3660fi
     3661
     3662rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    31413663      conftest$ac_exeext conftest.$ac_ext
    31423664LIBS=$ac_check_lib_save_LIBS
    31433665fi
    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
     3667echo "${ECHO_T}$ac_cv_lib_zephyr_ZInitLocationInfo" >&6; }
    32953668if test $ac_cv_lib_zephyr_ZInitLocationInfo = yes; then
    32963669
     
    33063679
    33073680
    3308 for ac_func in use_default_colors des_string_to_key des_key_sched des_ecb_encrypt
     3681
     3682for ac_func in use_default_colors resizeterm des_string_to_key des_key_sched des_ecb_encrypt
    33093683do
    33103684as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    3311 echo "$as_me:$LINENO: checking for $ac_func" >&5
    3312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    3313 if eval "test \"\${$as_ac_var+set}\" = set"; then
     3685{ echo "$as_me:$LINENO: checking for $ac_func" >&5
     3686echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
     3687if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    33143688  echo $ECHO_N "(cached) $ECHO_C" >&6
    33153689else
     
    33373711#undef $ac_func
    33383712
    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.  */
    33403716#ifdef __cplusplus
    33413717extern "C"
    3342 {
    33433718#endif
    3344 /* We use char because int might match the return type of a gcc2
    3345    builtin and then its argument prototype would still apply.  */
    33463719char $ac_func ();
    33473720/* The GNU C library defines this for functions which it implements
    33483721    to always fail with ENOSYS.  Some functions are actually named
    33493722    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
    33513724choke me
    3352 #else
    3353 char (*f) () = $ac_func;
    3354 #endif
    3355 #ifdef __cplusplus
    3356 }
    33573725#endif
    33583726
     
    33603728main ()
    33613729{
    3362 return f != $ac_func;
     3730return $ac_func ();
    33633731  ;
    33643732  return 0;
     
    33663734_ACEOF
    33673735rm -f conftest.$ac_objext conftest$ac_exeext
    3368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3369   (eval $ac_link) 2>conftest.er1
     3736if { (ac_try="$ac_link"
     3737case "(($ac_try" in
     3738  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3739  *) ac_try_echo=$ac_try;;
     3740esac
     3741eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3742  (eval "$ac_link") 2>conftest.er1
    33703743  ac_status=$?
    33713744  grep -v '^ *+' conftest.er1 >conftest.err
     
    33733746  cat conftest.err >&5
    33743747  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
    33893753  eval "$as_ac_var=yes"
    33903754else
     
    33923756sed 's/^/| /' conftest.$ac_ext >&5
    33933757
    3394 eval "$as_ac_var=no"
    3395 fi
    3396 rm -f conftest.err conftest.$ac_objext \
     3758        eval "$as_ac_var=no"
     3759fi
     3760
     3761rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    33973762      conftest$ac_exeext conftest.$ac_ext
    33983763fi
    3399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    3400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     3764ac_res=`eval echo '${'$as_ac_var'}'`
     3765               { echo "$as_me:$LINENO: result: $ac_res" >&5
     3766echo "${ECHO_T}$ac_res" >&6; }
    34013767if test `eval echo '${'$as_ac_var'}'` = yes; then
    34023768  cat >>confdefs.h <<_ACEOF
     
    34083774
    34093775
    3410 echo "$as_me:$LINENO: checking for des_ecb_encrypt prototype" >&5
    3411 echo $ECHO_N "checking for des_ecb_encrypt prototype... $ECHO_C" >&6
     3776{ echo "$as_me:$LINENO: checking for des_ecb_encrypt prototype" >&5
     3777echo $ECHO_N "checking for des_ecb_encrypt prototype... $ECHO_C" >&6; }
    34123778cat >conftest.$ac_ext <<_ACEOF
    34133779/* confdefs.h.  */
     
    34273793_ACEOF
    34283794rm -f conftest.$ac_objext
    3429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3430   (eval $ac_compile) 2>conftest.er1
     3795if { (ac_try="$ac_compile"
     3796case "(($ac_try" in
     3797  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3798  *) ac_try_echo=$ac_try;;
     3799esac
     3800eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3801  (eval "$ac_compile") 2>conftest.er1
    34313802  ac_status=$?
    34323803  grep -v '^ *+' conftest.er1 >conftest.err
     
    34343805  cat conftest.err >&5
    34353806  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
    34503811  ac_cv_des_ecb_encrypt_proto=no
    34513812else
     
    34533814sed 's/^/| /' conftest.$ac_ext >&5
    34543815
    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
     3817fi
     3818
     3819rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3820{ echo "$as_me:$LINENO: result: $ac_cv_des_ecb_encrypt_proto" >&5
     3821echo "${ECHO_T}$ac_cv_des_ecb_encrypt_proto" >&6; }
    34603822if test "$ac_cv_des_ecb_encrypt_proto" = yes; then
    34613823
     
    34713833ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    34723834ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3473 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3474 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
     3836echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
    34753837# On Suns, sometimes $CPP names a directory.
    34763838if test -n "$CPP" && test -d "$CPP"; then
     
    35063868                     Syntax error
    35073869_ACEOF
    3508 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3509   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3870if { (ac_try="$ac_cpp conftest.$ac_ext"
     3871case "(($ac_try" in
     3872  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3873  *) ac_try_echo=$ac_try;;
     3874esac
     3875eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3876  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    35103877  ac_status=$?
    35113878  grep -v '^ *+' conftest.er1 >conftest.err
     
    35133880  cat conftest.err >&5
    35143881  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
    35263886  :
    35273887else
     
    35323892continue
    35333893fi
     3894
    35343895rm -f conftest.err conftest.$ac_ext
    35353896
    3536   # OK, works on sane cases.  Now check whether non-existent headers
     3897  # OK, works on sane cases.  Now check whether nonexistent headers
    35373898  # can be detected and how.
    35383899  cat >conftest.$ac_ext <<_ACEOF
     
    35443905#include <ac_nonexistent.h>
    35453906_ACEOF
    3546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3547   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3907if { (ac_try="$ac_cpp conftest.$ac_ext"
     3908case "(($ac_try" in
     3909  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3910  *) ac_try_echo=$ac_try;;
     3911esac
     3912eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3913  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    35483914  ac_status=$?
    35493915  grep -v '^ *+' conftest.er1 >conftest.err
     
    35513917  cat conftest.err >&5
    35523918  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
    35643923  # Broken: success on invalid input.
    35653924continue
     
    35723931break
    35733932fi
     3933
    35743934rm -f conftest.err conftest.$ac_ext
    35753935
     
    35893949  ac_cv_prog_CPP=$CPP
    35903950fi
    3591 echo "$as_me:$LINENO: result: $CPP" >&5
    3592 echo "${ECHO_T}$CPP" >&6
     3951{ echo "$as_me:$LINENO: result: $CPP" >&5
     3952echo "${ECHO_T}$CPP" >&6; }
    35933953ac_preproc_ok=false
    35943954for ac_c_preproc_warn_flag in '' yes
     
    36133973                     Syntax error
    36143974_ACEOF
    3615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3616   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3975if { (ac_try="$ac_cpp conftest.$ac_ext"
     3976case "(($ac_try" in
     3977  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3978  *) ac_try_echo=$ac_try;;
     3979esac
     3980eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     3981  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    36173982  ac_status=$?
    36183983  grep -v '^ *+' conftest.er1 >conftest.err
     
    36203985  cat conftest.err >&5
    36213986  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
    36333991  :
    36343992else
     
    36393997continue
    36403998fi
     3999
    36414000rm -f conftest.err conftest.$ac_ext
    36424001
    3643   # OK, works on sane cases.  Now check whether non-existent headers
     4002  # OK, works on sane cases.  Now check whether nonexistent headers
    36444003  # can be detected and how.
    36454004  cat >conftest.$ac_ext <<_ACEOF
     
    36514010#include <ac_nonexistent.h>
    36524011_ACEOF
    3653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3654   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4012if { (ac_try="$ac_cpp conftest.$ac_ext"
     4013case "(($ac_try" in
     4014  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4015  *) ac_try_echo=$ac_try;;
     4016esac
     4017eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4018  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    36554019  ac_status=$?
    36564020  grep -v '^ *+' conftest.er1 >conftest.err
     
    36584022  cat conftest.err >&5
    36594023  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
    36714028  # Broken: success on invalid input.
    36724029continue
     
    36794036break
    36804037fi
     4038
    36814039rm -f conftest.err conftest.$ac_ext
    36824040
     
    37014059
    37024060
    3703 echo "$as_me:$LINENO: checking for egrep" >&5
    3704 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3705 if test "${ac_cv_prog_egrep+set}" = set; then
     4061{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     4062echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
     4063if test "${ac_cv_path_GREP+set}" = set; then
    37064064  echo $ECHO_N "(cached) $ECHO_C" >&6
    37074065else
    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
     4067if test -z "$GREP"; then
     4068set dummy grep ggrep; ac_prog_name=$2
     4069if test "${ac_cv_path_GREP+set}" = set; then
     4070  echo $ECHO_N "(cached) $ECHO_C" >&6
     4071else
     4072  ac_path_GREP_found=false
     4073# Loop through the user's path and test for each of PROGNAME-LIST
     4074as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4075for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4076do
     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
     4085case `"$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
    37114104    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;;
     4109esac
     4110
     4111
     4112    $ac_path_GREP_found && break 3
     4113  done
     4114done
     4115
     4116done
     4117IFS=$as_save_IFS
     4118
     4119
     4120fi
     4121
     4122GREP="$ac_cv_path_GREP"
     4123if 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
     4125echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4126   { (exit 1); exit 1; }; }
     4127fi
     4128
     4129else
     4130  ac_cv_path_GREP=$GREP
     4131fi
     4132
     4133
     4134fi
     4135{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     4136echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
     4137 GREP="$ac_cv_path_GREP"
     4138
     4139
     4140{ echo "$as_me:$LINENO: checking for egrep" >&5
     4141echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
     4142if test "${ac_cv_path_EGREP+set}" = set; then
     4143  echo $ECHO_N "(cached) $ECHO_C" >&6
     4144else
     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
     4149if test -z "$EGREP"; then
     4150set dummy egrep; ac_prog_name=$2
     4151if test "${ac_cv_path_EGREP+set}" = set; then
     4152  echo $ECHO_N "(cached) $ECHO_C" >&6
     4153else
     4154  ac_path_EGREP_found=false
     4155# Loop through the user's path and test for each of PROGNAME-LIST
     4156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4157for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4158do
     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
     4167case `"$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;;
     4191esac
     4192
     4193
     4194    $ac_path_EGREP_found && break 3
     4195  done
     4196done
     4197
     4198done
     4199IFS=$as_save_IFS
     4200
     4201
     4202fi
     4203
     4204EGREP="$ac_cv_path_EGREP"
     4205if 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
     4207echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     4208   { (exit 1); exit 1; }; }
     4209fi
     4210
     4211else
     4212  ac_cv_path_EGREP=$EGREP
     4213fi
     4214
     4215
     4216   fi
     4217fi
     4218{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     4219echo "${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
     4224echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    37204225if test "${ac_cv_header_stdc+set}" = set; then
    37214226  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    37414246_ACEOF
    37424247rm -f conftest.$ac_objext
    3743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3744   (eval $ac_compile) 2>conftest.er1
     4248if { (ac_try="$ac_compile"
     4249case "(($ac_try" in
     4250  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4251  *) ac_try_echo=$ac_try;;
     4252esac
     4253eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4254  (eval "$ac_compile") 2>conftest.er1
    37454255  ac_status=$?
    37464256  grep -v '^ *+' conftest.er1 >conftest.err
     
    37484258  cat conftest.err >&5
    37494259  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
    37644264  ac_cv_header_stdc=yes
    37654265else
     
    37674267sed 's/^/| /' conftest.$ac_ext >&5
    37684268
    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
     4270fi
     4271
     4272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    37724273
    37734274if test $ac_cv_header_stdc = yes; then
     
    38254326/* end confdefs.h.  */
    38264327#include <ctype.h>
     4328#include <stdlib.h>
    38274329#if ((' ' & 0x0FF) == 0x020)
    38284330# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    38444346    if (XOR (islower (i), ISLOWER (i))
    38454347        || toupper (i) != TOUPPER (i))
    3846       exit(2);
    3847   exit (0);
     4348      return 2;
     4349  return 0;
    38484350}
    38494351_ACEOF
    38504352rm -f conftest$ac_exeext
    3851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3852   (eval $ac_link) 2>&5
     4353if { (ac_try="$ac_link"
     4354case "(($ac_try" in
     4355  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4356  *) ac_try_echo=$ac_try;;
     4357esac
     4358eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4359  (eval "$ac_link") 2>&5
    38534360  ac_status=$?
    38544361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    38554362  (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;;
     4366esac
     4367eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4368  (eval "$ac_try") 2>&5
    38584369  ac_status=$?
    38594370  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     
    38684379ac_cv_header_stdc=no
    38694380fi
    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
     4381rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     4382fi
     4383
     4384
     4385fi
     4386fi
     4387{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     4388echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    38764389if test $ac_cv_header_stdc = yes; then
    38774390
     
    38824395fi
    38834396
    3884 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
    3885 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
     4398echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
    38864399if test "${ac_cv_header_sys_wait_h+set}" = set; then
    38874400  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    38964409#include <sys/wait.h>
    38974410#ifndef WEXITSTATUS
    3898 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
     4411# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
    38994412#endif
    39004413#ifndef WIFEXITED
     
    39134426_ACEOF
    39144427rm -f conftest.$ac_objext
    3915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3916   (eval $ac_compile) 2>conftest.er1
     4428if { (ac_try="$ac_compile"
     4429case "(($ac_try" in
     4430  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4431  *) ac_try_echo=$ac_try;;
     4432esac
     4433eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4434  (eval "$ac_compile") 2>conftest.er1
    39174435  ac_status=$?
    39184436  grep -v '^ *+' conftest.er1 >conftest.err
     
    39204438  cat conftest.err >&5
    39214439  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
    39364444  ac_cv_header_sys_wait_h=yes
    39374445else
     
    39394447sed 's/^/| /' conftest.$ac_ext >&5
    39404448
    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
     4450fi
     4451
     4452rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4453fi
     4454{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
     4455echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
    39474456if test $ac_cv_header_sys_wait_h = yes; then
    39484457
     
    39674476do
    39684477as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3969 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4478{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     4479echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4480if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    39724481  echo $ECHO_N "(cached) $ECHO_C" >&6
    39734482else
     
    39834492_ACEOF
    39844493rm -f conftest.$ac_objext
    3985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3986   (eval $ac_compile) 2>conftest.er1
     4494if { (ac_try="$ac_compile"
     4495case "(($ac_try" in
     4496  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4497  *) ac_try_echo=$ac_try;;
     4498esac
     4499eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4500  (eval "$ac_compile") 2>conftest.er1
    39874501  ac_status=$?
    39884502  grep -v '^ *+' conftest.er1 >conftest.err
     
    39904504  cat conftest.err >&5
    39914505  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
    40064510  eval "$as_ac_Header=yes"
    40074511else
     
    40094513sed 's/^/| /' conftest.$ac_ext >&5
    40104514
    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"
     4516fi
     4517
     4518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4519fi
     4520ac_res=`eval echo '${'$as_ac_Header'}'`
     4521               { echo "$as_me:$LINENO: result: $ac_res" >&5
     4522echo "${ECHO_T}$ac_res" >&6; }
    40174523if test `eval echo '${'$as_ac_Header'}'` = yes; then
    40184524  cat >>confdefs.h <<_ACEOF
     
    40334539do
    40344540as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    4035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4036   echo "$as_me:$LINENO: checking for $ac_header" >&5
    4037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4541if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     4542  { echo "$as_me:$LINENO: checking for $ac_header" >&5
     4543echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4544if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    40394545  echo $ECHO_N "(cached) $ECHO_C" >&6
    40404546fi
    4041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4547ac_res=`eval echo '${'$as_ac_Header'}'`
     4548               { echo "$as_me:$LINENO: result: $ac_res" >&5
     4549echo "${ECHO_T}$ac_res" >&6; }
    40434550else
    40444551  # Is the header compilable?
    4045 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    4046 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4552{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4553echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    40474554cat >conftest.$ac_ext <<_ACEOF
    40484555/* confdefs.h.  */
     
    40554562_ACEOF
    40564563rm -f conftest.$ac_objext
    4057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4058   (eval $ac_compile) 2>conftest.er1
     4564if { (ac_try="$ac_compile"
     4565case "(($ac_try" in
     4566  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4567  *) ac_try_echo=$ac_try;;
     4568esac
     4569eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4570  (eval "$ac_compile") 2>conftest.er1
    40594571  ac_status=$?
    40604572  grep -v '^ *+' conftest.er1 >conftest.err
     
    40624574  cat conftest.err >&5
    40634575  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
    40784580  ac_header_compiler=yes
    40794581else
     
    40814583sed 's/^/| /' conftest.$ac_ext >&5
    40824584
    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
     4586fi
     4587
     4588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4589{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4590echo "${ECHO_T}$ac_header_compiler" >&6; }
    40884591
    40894592# Is the header present?
    4090 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    4091 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4593{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4594echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    40924595cat >conftest.$ac_ext <<_ACEOF
    40934596/* confdefs.h.  */
     
    40984601#include <$ac_header>
    40994602_ACEOF
    4100 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4101   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4603if { (ac_try="$ac_cpp conftest.$ac_ext"
     4604case "(($ac_try" in
     4605  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4606  *) ac_try_echo=$ac_try;;
     4607esac
     4608eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
     4609  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    41024610  ac_status=$?
    41034611  grep -v '^ *+' conftest.er1 >conftest.err
     
    41054613  cat conftest.err >&5
    41064614  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
    41184619  ac_header_preproc=yes
    41194620else
     
    41234624  ac_header_preproc=no
    41244625fi
     4626
    41254627rm -f conftest.err conftest.$ac_ext
    4126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4127 echo "${ECHO_T}$ac_header_preproc" >&6
     4628{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4629echo "${ECHO_T}$ac_header_preproc" >&6; }
    41284630
    41294631# So?  What about this header?
     
    41494651    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    41504652echo "$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
    41594654    ;;
    41604655esac
    4161 echo "$as_me:$LINENO: checking for $ac_header" >&5
    4162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    4163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4656{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     4657echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
     4658if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    41644659  echo $ECHO_N "(cached) $ECHO_C" >&6
    41654660else
    41664661  eval "$as_ac_Header=\$ac_header_preproc"
    41674662fi
    4168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4663ac_res=`eval echo '${'$as_ac_Header'}'`
     4664               { echo "$as_me:$LINENO: result: $ac_res" >&5
     4665echo "${ECHO_T}$ac_res" >&6; }
    41704666
    41714667fi
     
    41844680CFLAGS=${CFLAGS}\ ${FOO}
    41854681
    4186 echo "$as_me:$LINENO: checking for the perl xsubpp precompiler" >&5
    4187 echo $ECHO_N "checking for the perl xsubpp precompiler... $ECHO_C" >&6
     4682{ echo "$as_me:$LINENO: checking for the perl xsubpp precompiler" >&5
     4683echo $ECHO_N "checking for the perl xsubpp precompiler... $ECHO_C" >&6; }
    41884684XSUBPPDIR="`(perl -MExtUtils::MakeMaker -e 'print ExtUtils::MakeMaker->new({NAME => qw(owl)})->tool_xsubpp;') | grep \^XSUBPPDIR | sed -e 's/XSUBPPDIR = //g;'`"
    41894685if test -n "${XSUBPPDIR}"; then
    4190    echo "$as_me:$LINENO: result: ${XSUBPPDIR}" >&5
    4191 echo "${ECHO_T}${XSUBPPDIR}" >&6
     4686   { echo "$as_me:$LINENO: result: ${XSUBPPDIR}" >&5
     4687echo "${ECHO_T}${XSUBPPDIR}" >&6; }
    41924688else
    41934689   { { echo "$as_me:$LINENO: error: not found" >&5
     
    42004696LDFLAGS=${LDFLAGS}\ ${FOO}
    42014697
    4202 echo "$as_me:$LINENO: checking for /usr/share/terminfo" >&5
    4203 echo $ECHO_N "checking for /usr/share/terminfo... $ECHO_C" >&6
     4698{ echo "$as_me:$LINENO: checking for /usr/share/terminfo" >&5
     4699echo $ECHO_N "checking for /usr/share/terminfo... $ECHO_C" >&6; }
    42044700if test "${ac_cv_file__usr_share_terminfo+set}" = set; then
    42054701  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42154711fi
    42164712fi
    4217 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_terminfo" >&5
    4218 echo "${ECHO_T}$ac_cv_file__usr_share_terminfo" >&6
     4713{ echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_terminfo" >&5
     4714echo "${ECHO_T}$ac_cv_file__usr_share_terminfo" >&6; }
    42194715if test $ac_cv_file__usr_share_terminfo = yes; then
    42204716
     
    42244720
    42254721else
    4226   echo "$as_me:$LINENO: checking for /usr/share/lib/terminfo" >&5
    4227 echo $ECHO_N "checking for /usr/share/lib/terminfo... $ECHO_C" >&6
     4722  { echo "$as_me:$LINENO: checking for /usr/share/lib/terminfo" >&5
     4723echo $ECHO_N "checking for /usr/share/lib/terminfo... $ECHO_C" >&6; }
    42284724if test "${ac_cv_file__usr_share_lib_terminfo+set}" = set; then
    42294725  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    42394735fi
    42404736fi
    4241 echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_lib_terminfo" >&5
    4242 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
     4738echo "${ECHO_T}$ac_cv_file__usr_share_lib_terminfo" >&6; }
    42434739if test $ac_cv_file__usr_share_lib_terminfo = yes; then
    42444740
     
    42594755
    42604756ac_aux_dir=
    4261 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    4262   if test -f $ac_dir/install-sh; then
     4757for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     4758  if test -f "$ac_dir/install-sh"; then
    42634759    ac_aux_dir=$ac_dir
    42644760    ac_install_sh="$ac_aux_dir/install-sh -c"
    42654761    break
    4266   elif test -f $ac_dir/install.sh; then
     4762  elif test -f "$ac_dir/install.sh"; then
    42674763    ac_aux_dir=$ac_dir
    42684764    ac_install_sh="$ac_aux_dir/install.sh -c"
    42694765    break
    4270   elif test -f $ac_dir/shtool; then
     4766  elif test -f "$ac_dir/shtool"; then
    42714767    ac_aux_dir=$ac_dir
    42724768    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    42754771done
    42764772if test -z "$ac_aux_dir"; then
    4277   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    4278 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
     4774echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    42794775   { (exit 1); exit 1; }; }
    42804776fi
    4281 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    4282 ac_config_sub="$SHELL $ac_aux_dir/config.sub"