Changeset 102

Show
Ignore:
Timestamp:
05/10/07 16:43:36 (20 months ago)
Author:
matthiasm
Message:

Added a new target to the Make system called 'libnewt' which creates a static newt library in 'build/libnewt.a'. This is verified to work on Ubuntu/Linux.

Location:
NEWT0/trunk
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • NEWT0/trunk/Makefile.in

    r96 r102  
    2626LDSHARED = @LIBNEWT_LDSHARED@ 
    2727 
     28# declarations needed to creat a static library 
     29LIBCOMMAND    = @LIBCOMMAND@ 
     30LIBEXT        = @LIBEXT@ 
     31 
    2832prefix = @prefix@ 
    2933exec_prefix = @exec_prefix@ 
     
    3842 
    3943NEWT          = $(build)/newt$(EXEEXT) 
     44 
     45LIBNEWT       = $(build)/libnewt$(LIBEXT) 
    4046 
    4147MAINOBJ       = $(objdir)/main.o 
     
    7278OBJS          = $(MAINOBJ) $(UTILSOBJS) $(PARSEROBJS) $(COREOBJS) 
    7379 
     80LIBOBJS       = $(UTILSOBJS) $(PARSEROBJS) $(COREOBJS) 
     81 
    7482 
    7583###### 
     
    102110    $(CC) $(LDFLAGS) $(LIBS) $(OBJS) $(LIBS) -o $@ 
    103111 
     112 
     113### LIBNEWT static library 
     114 
     115libnewt: $(build) $(objdir) $(yytmp) $(LIBNEWT) $(LDIMPORT) 
     116 
     117$(LIBNEWT): $(LIBOBJS) 
     118    $(LIBCOMMAND) $@ $(LIBOBJS)  
    104119 
    105120 
  • NEWT0/trunk/configure

    r81 r102  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.59 for FULL-PACKAGE-NAME VERSION. 
     3# Generated by GNU Autoconf 2.60 for FULL-PACKAGE-NAME VERSION. 
    44# 
    55# Report bugs to <BUG-REPORT-ADDRESS>. 
    66# 
    7 # Copyright (C) 2003 Free Software Foundation, Inc. 
     7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
     8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 
    89# This configure script is free software; the Free Software Foundation 
    910# gives unlimited permission to copy, distribute and modify it. 
     
    1920  # is contrary to our usage.  Disable this feature. 
    2021  alias -g '${1+"$@"}'='"$@"' 
    21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
    22   set -o posix 
    23 fi 
     22  setopt NO_GLOB_SUBST 
     23else 
     24  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 
     25fi 
     26BIN_SH=xpg4; export BIN_SH # for Tru64 
    2427DUALCASE=1; export DUALCASE # for MKS sh 
    2528 
    26 # Support unset when possible. 
    27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    28   as_unset=unset 
    29 else 
    30   as_unset=false 
    31 fi 
    32  
    33  
    34 # Work around bugs in pre-3.0 UWIN ksh. 
    35 $as_unset ENV MAIL MAILPATH 
    36 PS1='$ ' 
    37 PS2='> ' 
    38 PS4='+ ' 
    39  
    40 # NLS nuisances. 
    41 for as_var in \ 
    42   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
    43   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
    44   LC_TELEPHONE LC_TIME 
    45 do 
    46   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    47     eval $as_var=C; export $as_var 
    48   else 
    49     $as_unset $as_var 
    50   fi 
    51 done 
    52  
    53 # Required to use basename. 
    54 if expr a : '\(a\)' >/dev/null 2>&1; then 
    55   as_expr=expr 
    56 else 
    57   as_expr=false 
    58 fi 
    59  
    60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 
    61   as_basename=basename 
    62 else 
    63   as_basename=false 
    64 fi 
    65  
    66  
    67 # Name of the executable. 
    68 as_me=`$as_basename "$0" || 
    69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    70      X"$0" : 'X\(//\)$' \| \ 
    71      X"$0" : 'X\(/\)$' \| \ 
    72      .     : '\(.\)' 2>/dev/null || 
    73 echo X/"$0" | 
    74     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 
    75       /^X\/\(\/\/\)$/{ s//\1/; q; } 
    76       /^X\/\(\/\).*/{ s//\1/; q; } 
    77       s/.*/./; q'` 
    78  
    79  
    80 # PATH needs CR, and LINENO needs CR and PATH. 
     29 
     30# PATH needs CR 
    8131# Avoid depending upon Character Ranges. 
    8232as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     
    9949fi 
    10050 
    101  
    102   as_lineno_1=$LINENO 
    103   as_lineno_2=$LINENO 
    104   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
    105   test "x$as_lineno_1" != "x$as_lineno_2" && 
    106   test "x$as_lineno_3"  = "x$as_lineno_2"  || { 
    107   # Find who we are.  Look in the path if we contain no path at all 
    108   # relative or not. 
    109   case $0 in 
    110     *[\\/]* ) as_myself=$0 ;; 
    111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     51# Support unset when possible. 
     52if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
     53  as_unset=unset 
     54else 
     55  as_unset=false 
     56fi 
     57 
     58 
     59# IFS 
     60# We need space, tab and new line, in precisely that order.  Quoting is 
     61# there to prevent editors from complaining about space-tab. 
     62# (If _AS_PATH_WALK were called with IFS unset, it would disable word 
     63# splitting by setting IFS to empty value.) 
     64as_nl=' 
     65' 
     66IFS=" ""    $as_nl" 
     67 
     68# Find who we are.  Look in the path if we contain no directory separator. 
     69case $0 in 
     70  *[\\/]* ) as_myself=$0 ;; 
     71  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    11272for as_dir in $PATH 
    11373do 
     
    11676  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    11777done 
    118  
    119        ;; 
    120   esac 
    121   # We did not find ourselves, most probably we were run as `sh COMMAND' 
    122   # in which case we are not to be found in the path. 
    123   if test "x$as_myself" = x; then 
    124     as_myself=$0 
     78IFS=$as_save_IFS 
     79 
     80     ;; 
     81esac 
     82# We did not find ourselves, most probably we were run as `sh COMMAND' 
     83# in which case we are not to be found in the path. 
     84if test "x$as_myself" = x; then 
     85  as_myself=$0 
     86fi 
     87if test ! -f "$as_myself"; then 
     88  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 
     89  { (exit 1); exit 1; } 
     90fi 
     91 
     92# Work around bugs in pre-3.0 UWIN ksh. 
     93for as_var in ENV MAIL MAILPATH 
     94do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     95done 
     96PS1='$ ' 
     97PS2='> ' 
     98PS4='+ ' 
     99 
     100# NLS nuisances. 
     101for as_var in \ 
     102  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
     103  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
     104  LC_TELEPHONE LC_TIME 
     105do 
     106  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
     107    eval $as_var=C; export $as_var 
     108  else 
     109    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
    125110  fi 
    126   if test ! -f "$as_myself"; then 
    127     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 
    128    { (exit 1); exit 1; }; } 
    129   fi 
    130   case $CONFIG_SHELL in 
    131   '') 
     111done 
     112 
     113# Required to use basename. 
     114if expr a : '\(a\)' >/dev/null 2>&1 && 
     115   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
     116  as_expr=expr 
     117else 
     118  as_expr=false 
     119fi 
     120 
     121if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 
     122  as_basename=basename 
     123else 
     124  as_basename=false 
     125fi 
     126 
     127 
     128# Name of the executable. 
     129as_me=`$as_basename -- "$0" || 
     130$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
     131     X"$0" : 'X\(//\)$' \| \ 
     132     X"$0" : 'X\(/\)' \| . 2>/dev/null || 
     133echo X/"$0" | 
     134    sed '/^.*\/\([^/][^/]*\)\/*$/{ 
     135        s//\1/ 
     136        q 
     137      } 
     138      /^X\/\(\/\/\)$/{ 
     139        s//\1/ 
     140        q 
     141      } 
     142      /^X\/\(\/\).*/{ 
     143        s//\1/ 
     144        q 
     145      } 
     146      s/.*/./; q'` 
     147 
     148# CDPATH. 
     149$as_unset CDPATH 
     150 
     151 
     152if test "x$CONFIG_SHELL" = x; then 
     153  if (eval ":") 2>/dev/null; then 
     154  as_have_required=yes 
     155else 
     156  as_have_required=no 
     157fi 
     158 
     159  if test $as_have_required = yes &&     (eval ": 
     160(as_func_return () { 
     161  (exit \$1) 
     162} 
     163as_func_success () { 
     164  as_func_return 0 
     165} 
     166as_func_failure () { 
     167  as_func_return 1 
     168} 
     169as_func_ret_success () { 
     170  return 0 
     171} 
     172as_func_ret_failure () { 
     173  return 1 
     174} 
     175 
     176exitcode=0 
     177if as_func_success; then 
     178  : 
     179else 
     180  exitcode=1 
     181  echo as_func_success failed. 
     182fi 
     183 
     184if as_func_failure; then 
     185  exitcode=1 
     186  echo as_func_failure succeeded. 
     187fi 
     188 
     189if as_func_ret_success; then 
     190  : 
     191else 
     192  exitcode=1 
     193  echo as_func_ret_success failed. 
     194fi 
     195 
     196if as_func_ret_failure; then 
     197  exitcode=1 
     198  echo as_func_ret_failure succeeded. 
     199fi 
     200 
     201if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
     202  : 
     203else 
     204  exitcode=1 
     205  echo positional parameters were not saved. 
     206fi 
     207 
     208test \$exitcode = 0) || { (exit 1); exit 1; } 
     209 
     210( 
     211  as_lineno_1=\$LINENO 
     212  as_lineno_2=\$LINENO 
     213  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 
     214  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 
     215") 2> /dev/null; then 
     216  : 
     217else 
     218  as_candidate_shells= 
    132219    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
     220for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    134221do 
    135222  IFS=$as_save_IFS 
    136223  test -z "$as_dir" && as_dir=. 
    137   for as_base in sh bash ksh sh5; do 
    138      case $as_dir in 
     224  case $as_dir in 
    139225     /*) 
    140        if ("$as_dir/$as_base" -c ' 
     226       for as_base in sh bash ksh sh5; do 
     227         as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 
     228       done;; 
     229       esac 
     230done 
     231IFS=$as_save_IFS 
     232 
     233 
     234      for as_shell in $as_candidate_shells $SHELL; do 
     235     # Try only shells that exist, to save several forks. 
     236     if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 
     237        { ("$as_shell") 2> /dev/null <<\_ASEOF 
     238# Be Bourne compatible 
     239if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     240  emulate sh 
     241  NULLCMD=: 
     242  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     243  # is contrary to our usage.  Disable this feature. 
     244  alias -g '${1+"$@"}'='"$@"' 
     245  setopt NO_GLOB_SUBST 
     246else 
     247  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 
     248fi 
     249BIN_SH=xpg4; export BIN_SH # for Tru64 
     250DUALCASE=1; export DUALCASE # for MKS sh 
     251 
     252: 
     253_ASEOF 
     254}; then 
     255  CONFIG_SHELL=$as_shell 
     256           as_have_required=yes 
     257           if { "$as_shell" 2> /dev/null <<\_ASEOF 
     258# Be Bourne compatible 
     259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     260  emulate sh 
     261  NULLCMD=: 
     262  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     263  # is contrary to our usage.  Disable this feature. 
     264  alias -g '${1+"$@"}'='"$@"' 
     265  setopt NO_GLOB_SUBST 
     266else 
     267  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac 
     268fi 
     269BIN_SH=xpg4; export BIN_SH # for Tru64 
     270DUALCASE=1; export DUALCASE # for MKS sh 
     271 
     272: 
     273(as_func_return () { 
     274  (exit $1) 
     275} 
     276as_func_success () { 
     277  as_func_return 0 
     278} 
     279as_func_failure () { 
     280  as_func_return 1 
     281} 
     282as_func_ret_success () { 
     283  return 0 
     284} 
     285as_func_ret_failure () { 
     286  return 1 
     287} 
     288 
     289exitcode=0 
     290if as_func_success; then 
     291  : 
     292else 
     293  exitcode=1 
     294  echo as_func_success failed. 
     295fi 
     296 
     297if as_func_failure; then 
     298  exitcode=1 
     299  echo as_func_failure succeeded. 
     300fi 
     301 
     302if as_func_ret_success; then 
     303  : 
     304else 
     305  exitcode=1 
     306  echo as_func_ret_success failed. 
     307fi 
     308 
     309if as_func_ret_failure; then 
     310  exitcode=1 
     311  echo as_func_ret_failure succeeded. 
     312fi 
     313 
     314if ( set x; as_func_ret_success y && test x = "$1" ); then 
     315  : 
     316else 
     317  exitcode=1 
     318  echo positional parameters were not saved. 
     319fi 
     320 
     321test $exitcode = 0) || { (exit 1); exit 1; } 
     322 
     323( 
    141324  as_lineno_1=$LINENO 
    142325  as_lineno_2=$LINENO 
    143   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
    144326  test "x$as_lineno_1" != "x$as_lineno_2" && 
    145   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then 
    146          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 
    147          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 
    148          CONFIG_SHELL=$as_dir/$as_base 
    149          export CONFIG_SHELL 
    150          exec "$CONFIG_SHELL" "$0" ${1+"$@"} 
    151        fi;; 
    152      esac 
    153        done 
    154 done 
    155 ;; 
    156   esac 
     327  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 
     328 
     329_ASEOF 
     330}; then 
     331  break 
     332fi 
     333 
     334fi 
     335 
     336      done 
     337 
     338      if test "x$CONFIG_SHELL" != x; then 
     339  for as_var in BASH_ENV ENV 
     340        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 
     341        done 
     342        export CONFIG_SHELL 
     343        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 
     344fi 
     345 
     346 
     347    if test $as_have_required = no; then 
     348  echo This script requires a shell more modern than all the 
     349      echo shells that I found on your system.  Please install a 
     350      echo modern shell, or manually run the script under such a 
     351      echo shell if you do have one. 
     352      { (exit 1); exit 1; } 
     353fi 
     354 
     355 
     356fi 
     357 
     358fi 
     359 
     360 
     361 
     362(eval "as_func_return () { 
     363  (exit \$1) 
     364} 
     365as_func_success () { 
     366  as_func_return 0 
     367} 
     368as_func_failure () { 
     369  as_func_return 1 
     370} 
     371as_func_ret_success () { 
     372  return 0 
     373} 
     374as_func_ret_failure () { 
     375  return 1 
     376} 
     377 
     378exitcode=0 
     379if as_func_success; then 
     380  : 
     381else 
     382  exitcode=1 
     383  echo as_func_success failed. 
     384fi 
     385 
     386if as_func_failure; then 
     387  exitcode=1 
     388  echo as_func_failure succeeded. 
     389fi 
     390 
     391if as_func_ret_success; then 
     392  : 
     393else 
     394  exitcode=1 
     395  echo as_func_ret_success failed. 
     396fi 
     397 
     398if as_func_ret_failure; then 
     399  exitcode=1 
     400  echo as_func_ret_failure succeeded. 
     401fi 
     402 
     403if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 
     404  : 
     405else 
     406  exitcode=1 
     407  echo positional parameters were not saved. 
     408fi 
     409 
     410test \$exitcode = 0") || { 
     411  echo No shell found that supports shell functions. 
     412  echo Please tell autoconf@gnu.org about your system, 
     413  echo including any error possibly output before this 
     414  echo message 
     415} 
     416 
     417 
     418 
     419  as_lineno_1=$LINENO 
     420  as_lineno_2=$LINENO 
     421  test "x$as_lineno_1" != "x$as_lineno_2" && 
     422  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    157423 
    158424  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    159425  # uniformly replaced by the line number.  The first 'sed' inserts a 
    160   # line-number line before each line; the second 'sed' does the real 
    161   # work.  The second script uses 'N' to pair each line-number line 
    162   # with the numbered line, and appends trailing '-' during 
    163   # substitution so that $LINENO is not a special case at line end. 
     426  # line-number line after each line using $LINENO; the second 'sed' 
     427  # does the real work.  The second script uses 'N' to pair each 
     428  # line-number line with the line containing $LINENO, and appends 
     429  # trailing '-' during substitution so that $LINENO is not a special 
     430  # case at line end. 
    164431  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    165   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) 
    166   sed '=' <$as_myself | 
     432  # scripts with optimization help from Paolo Bonzini.  Blame Lee 
     433  # E. McMahon (1931-1989) for sed's syntax.  :-) 
     434  sed -n ' 
     435    p 
     436    /[$]LINENO/= 
     437  ' <$as_myself | 
    167438    sed ' 
     439      s/[$]LINENO.*/&-/ 
     440      t lineno 
     441      b 
     442      :lineno 
    168443      N 
    169       s,$,-, 
    170       : loop 
    171       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 
     444      :loop 
     445      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
    172446      t loop 
    173       s,-$,, 
    174       s,^['$as_cr_digits']*\n,, 
     447      s/-\n.*// 
    175448    ' >$as_me.lineno && 
    176   chmod +x $as_me.lineno || 
     449  chmod +x "$as_me.lineno" || 
    177450    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    178451   { (exit 1); exit 1; }; } 
     
    180453  # Don't try to exec as it changes $[0], causing all sort of problems 
    181454  # (the dirname of $[0] is not the place where we might find the 
    182   # original and so on.  Autoconf is especially sensible to this). 
    183   . ./$as_me.lineno 
     455  # original and so on.  Autoconf is especially sensitive to this). 
     456  . "./$as_me.lineno" 
    184457  # Exit status is that of the last command. 
    185458  exit 
     
    187460 
    188461 
    189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 
    190   *c*,-n*) ECHO_N= ECHO_C=' 
    191 ' ECHO_T='  ' ;; 
    192   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; 
    193   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; 
    194 esac 
    195  
    196 if expr a : '\(a\)' >/dev/null 2>&1; then 
     462if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     463  as_dirname=dirname 
     464else 
     465  as_dirname=false 
     466fi 
     467 
     468ECHO_C= ECHO_N= ECHO_T= 
     469case `echo -n x` in 
     470-n*) 
     471  case `echo 'x\c'` in 
     472  *c*) ECHO_T=' ';; # ECHO_T is single tab character. 
     473  *)   ECHO_C='\c';; 
     474  esac;; 
     475*) 
     476  ECHO_N='-n';; 
     477esac 
     478 
     479if expr a : '\(a\)' >/dev/null 2>&1 && 
     480   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    197481  as_expr=expr 
    198482else 
     
    201485 
    202486rm -f conf$$ conf$$.exe conf$$.file 
     487if test -d conf$$.dir; then 
     488  rm -f conf$$.dir/conf$$.file 
     489else 
     490  rm -f conf$$.dir 
     491  mkdir conf$$.dir 
     492fi 
    203493echo >conf$$.file 
    204494if ln -s conf$$.file conf$$ 2>/dev/null; then 
    205   # We could just check for DJGPP; but this test a) works b) is more generic 
    206   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 
    207   if test -f conf$$.exe; then 
    208     # Don't use ln at all; we don't have any links 
     495  as_ln_s='ln -s' 
     496  # ... but there are two gotchas: 
     497  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     498  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     499  # In both cases, we have to default to `cp -p'. 
     500  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    209501    as_ln_s='cp -p' 
    210   else 
    211     as_ln_s='ln -s' 
    212   fi 
    213502elif ln conf$$.file conf$$ 2>/dev/null; then 
    214503  as_ln_s=ln 
     
    216505  as_ln_s='cp -p' 
    217506fi 
    218 rm -f conf$$ conf$$.exe conf$$.file 
     507rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 
     508rmdir conf$$.dir 2>/dev/null 
    219509 
    220510if mkdir -p . 2>/dev/null; then 
     
    225515fi 
    226516 
    227 as_executable_p="test -f" 
     517# Find out whether ``test -x'' works.  Don't use a zero-byte file, as 
     518# systems may use methods other than mode bits to determine executability. 
     519cat >conf$$.file <<_ASEOF 
     520#! /bin/sh 
     521exit 0 
     522_ASEOF 
     523chmod +x conf$$.file 
     524if test -x conf$$.file >/dev/null 2>&1; then 
     525  as_executable_p="test -x" 
     526else 
     527  as_executable_p=: 
     528fi 
     529rm -f conf$$.file 
    228530 
    229531# Sed expression to map a string onto a valid CPP name. 
     
    234536 
    235537 
    236 # IFS 
    237 # We need space, tab and new line, in precisely that order. 
    238 as_nl=' 
    239 ' 
    240 IFS="   $as_nl" 
    241  
    242 # CDPATH. 
    243 $as_unset CDPATH 
    244  
     538 
     539exec 7<&0 </dev/null 6>&1 
    245540 
    246541# Name of the host. 
     
    249544ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 
    250545 
    251 exec 6>&1 
    252  
    253546# 
    254547# Initializations. 
    255548# 
    256549ac_default_prefix=/usr/local 
     550ac_clean_files= 
    257551ac_config_libobj_dir=. 
     552LIBOBJS= 
    258553cross_compiling=no 
    259554subdirs= 
     
    261556MAKEFLAGS= 
    262557SHELL=${CONFIG_SHELL-/bin/sh} 
    263  
    264 # Maximum number of lines to put in a shell here document. 
    265 # This variable seems obsolete.  It should probably be removed, and 
    266 # only ac_max_sed_lines should be used. 
    267 : ${ac_max_here_lines=38} 
    268558 
    269559# Identity of this package. 
     
    303593#if HAVE_INTTYPES_H 
    304594# include <inttypes.h> 
    305 #else 
    306 # if HAVE_STDINT_H 
    307 #  include <stdint.h> 
    308 # endif 
     595#endif 
     596#if HAVE_STDINT_H 
     597# include <stdint.h> 
    309598#endif 
    310599#if HAVE_UNISTD_H 
     
    312601#endif" 
    313602 
    314 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 YACC LEX LEXLIB LEX_OUTPUT_ROOT AR ac_ct_AR RANLIB ac_ct_RANLIB build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CPP EGREP LIBOBJS NEWT_LDIMPORT NEWT_LDFLAGS LIBNEWT_LDSHARED LINK_NEWT_APP_ DLEXT MAKE_EXT MAKE_CONTRIB BINDIR sitedir libffidir __NAMED_MAGIC_POINTER__ LIBREGEX LTLIBOBJS' 
     603ac_subst_vars='SHELL 
     604PATH_SEPARATOR 
     605PACKAGE_NAME 
     606PACKAGE_TARNAME 
     607PACKAGE_VERSION 
     608PACKAGE_STRING 
     609PACKAGE_BUGREPORT 
     610exec_prefix 
     611prefix 
     612program_transform_name 
     613bindir 
     614sbindir 
     615libexecdir 
     616datarootdir 
     617datadir 
     618sysconfdir 
     619sharedstatedir 
     620localstatedir 
     621includedir 
     622oldincludedir 
     623docdir 
     624infodir 
     625htmldir 
     626dvidir 
     627pdfdir 
     628psdir 
     629libdir 
     630localedir 
     631mandir 
     632DEFS 
     633ECHO_C 
     634ECHO_N 
     635ECHO_T 
     636LIBS 
     637build_alias 
     638host_alias 
     639target_alias 
     640CC 
     641CFLAGS 
     642LDFLAGS 
     643CPPFLAGS 
     644ac_ct_CC 
     645EXEEXT 
     646OBJEXT 
     647YACC 
     648YFLAGS 
     649LEX 
     650LEXLIB 
     651LEX_OUTPUT_ROOT 
     652AR 
     653RANLIB 
     654build 
     655build_cpu 
     656build_vendor 
     657build_os 
     658host 
     659host_cpu 
     660host_vendor 
     661host_os 
     662target 
     663target_cpu 
     664target_vendor 
     665