Changeset 24

Show
Ignore:
Timestamp:
20/02/2007 23:33:33 (2 years ago)
Author:
nextime
Message:

Fixing compilation on sid

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • packages/astronomy/qastrocam/trunk/config.guess

    r18 r24  
    44#   2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 
    55 
    6 timestamp='2005-08-03' 
     6timestamp='2006-02-23' 
    77 
    88# This file is free software; you can redistribute it and/or modify it 
     
    107107trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; 
    108108: ${TMPDIR=/tmp} ; 
    109  { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || 
     109 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || 
    110110 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || 
    111111 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || 
     
    207207        echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} 
    208208        exit ;; 
     209    *:SolidBSD:*:*) 
     210        echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} 
     211        exit ;; 
    209212    macppc:MirBSD:*:*) 
    210213        echo powerppc-unknown-mirbsd${UNAME_RELEASE} 
     
    765768        exit ;; 
    766769    *:FreeBSD:*:*) 
    767         echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` 
     770        case ${UNAME_MACHINE} in 
     771            pc98) 
     772                echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 
     773            *) 
     774                echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; 
     775        esac 
    768776        exit ;; 
    769777    i*:CYGWIN*:*) 
     
    771779        exit ;; 
    772780    i*:MINGW*:*) 
     781        echo ${UNAME_MACHINE}-pc-mingw32 
     782        exit ;; 
     783    i*:MSYS_NT-*:*:*) 
    773784        echo ${UNAME_MACHINE}-pc-mingw32 
    774785        exit ;; 
     
    780791        echo ${UNAME_MACHINE}-pc-pw32 
    781792        exit ;; 
    782     x86:Interix*:[34]*) 
    783         echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' 
     793    x86:Interix*:[345]*) 
     794        echo i586-pc-interix${UNAME_RELEASE} 
     795        exit ;; 
     796    EM64T:Interix*:[345]*) 
     797        echo x86_64-unknown-interix${UNAME_RELEASE} 
    784798        exit ;; 
    785799    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 
     
    852866        #endif 
    853867EOF 
    854         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 
     868        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' 
     869            /^CPU/{ 
     870                s: ::g 
     871                p 
     872            }'`" 
    855873        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 
    856874        ;; 
     
    871889        #endif 
    872890EOF 
    873         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 
     891        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' 
     892            /^CPU/{ 
     893                s: ::g 
     894                p 
     895            }'`" 
    874896        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } 
    875897        ;; 
     
    919941    sparc:Linux:*:* | sparc64:Linux:*:*) 
    920942        echo ${UNAME_MACHINE}-unknown-linux-gnu 
     943        exit ;; 
     944    vax:Linux:*:*) 
     945        echo ${UNAME_MACHINE}-dec-linux-gnu 
    921946        exit ;; 
    922947    x86_64:Linux:*:*) 
     
    965990        # endif 
    966991        #else 
    967         #ifdef __INTEL_COMPILER 
     992        #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__sun) 
    968993        LIBC=gnu 
    969994        #else 
     
    9751000        #endif 
    9761001EOF 
    977         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` 
     1002        eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' 
     1003            /^LIBC/{ 
     1004                s: ::g 
     1005                p 
     1006            }'`" 
    9781007        test x"${LIBC}" != x && { 
    9791008                echo "${UNAME_MACHINE}-pc-linux-${LIBC}" 
     
    11861215        UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown 
    11871216        case $UNAME_PROCESSOR in 
    1188             *86) UNAME_PROCESSOR=i686 ;; 
    11891217            unknown) UNAME_PROCESSOR=powerpc ;; 
    11901218        esac 
     
    12641292    i*86:skyos:*:*) 
    12651293        echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' 
     1294        exit ;; 
     1295    i*86:rdos:*:*) 
     1296        echo ${UNAME_MACHINE}-pc-rdos 
    12661297        exit ;; 
    12671298esac 
  • packages/astronomy/qastrocam/trunk/config.status

    r18 r24  
    2020  # is contrary to our usage.  Disable this feature. 
    2121  alias -g '${1+"$@"}'='"$@"' 
    22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
    23   set -o posix 
    24 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 
    2527DUALCASE=1; export DUALCASE # for MKS sh 
    2628 
    27 # Support unset when possible. 
    28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 
    29   as_unset=unset 
    30 else 
    31   as_unset=false 
    32 fi 
    33  
    34  
    35 # Work around bugs in pre-3.0 UWIN ksh. 
    36 $as_unset ENV MAIL MAILPATH 
    37 PS1='$ ' 
    38 PS2='> ' 
    39 PS4='+ ' 
    40  
    41 # NLS nuisances. 
    42 for as_var in \ 
    43   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 
    44   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 
    45   LC_TELEPHONE LC_TIME 
    46 do 
    47   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 
    48     eval $as_var=C; export $as_var 
    49   else 
    50     $as_unset $as_var 
    51   fi 
    52 done 
    53  
    54 # Required to use basename. 
    55 if expr a : '\(a\)' >/dev/null 2>&1; then 
    56   as_expr=expr 
    57 else 
    58   as_expr=false 
    59 fi 
    60  
    61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 
    62   as_basename=basename 
    63 else 
    64   as_basename=false 
    65 fi 
    66  
    67  
    68 # Name of the executable. 
    69 as_me=`$as_basename "$0" || 
    70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
    71          X"$0" : 'X\(//\)$' \| \ 
    72          X"$0" : 'X\(/\)$' \| \ 
    73          .     : '\(.\)' 2>/dev/null || 
    74 echo X/"$0" | 
    75     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 
    76           /^X\/\(\/\/\)$/{ s//\1/; q; } 
    77           /^X\/\(\/\).*/{ s//\1/; q; } 
    78           s/.*/./; q'` 
    79  
    80  
    81 # PATH needs CR, and LINENO needs CR and PATH. 
     29 
     30# PATH needs CR 
    8231# Avoid depending upon Character Ranges. 
    8332as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     
    10049fi 
    10150 
    102  
    103   as_lineno_1=$LINENO 
    104   as_lineno_2=$LINENO 
    105   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
    106   test "x$as_lineno_1" != "x$as_lineno_2" && 
    107   test "x$as_lineno_3"  = "x$as_lineno_2"  || { 
    108   # Find who we are.  Look in the path if we contain no path at all 
    109   # relative or not. 
    110   case $0 in 
    111     *[\\/]* ) as_myself=$0 ;; 
    112     *) 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 
    11372for as_dir in $PATH 
    11473do 
     
    11776  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
    11877done 
    119  
    120        ;; 
    121   esac 
    122   # We did not find ourselves, most probably we were run as `sh COMMAND' 
    123   # in which case we are not to be found in the path. 
    124   if test "x$as_myself" = x; then 
    125     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 
    126110  fi 
    127   if test ! -f "$as_myself"; then 
    128     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 
    129 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 
    130    { (exit 1); exit 1; }; } 
    131   fi 
    132   case $CONFIG_SHELL in 
    133   '') 
    134     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
    135 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
    136 do 
    137   IFS=$as_save_IFS 
    138   test -z "$as_dir" && as_dir=. 
    139   for as_base in sh bash ksh sh5; do 
    140          case $as_dir in 
    141          /*) 
    142            if ("$as_dir/$as_base" -c ' 
     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 
     152 
    143153  as_lineno_1=$LINENO 
    144154  as_lineno_2=$LINENO 
    145   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 
    146155  test "x$as_lineno_1" != "x$as_lineno_2" && 
    147   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then 
    148              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 
    149              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 
    150              CONFIG_SHELL=$as_dir/$as_base 
    151              export CONFIG_SHELL 
    152              exec "$CONFIG_SHELL" "$0" ${1+"$@"} 
    153            fi;; 
    154          esac 
    155        done 
    156 done 
    157 ;; 
    158   esac 
     156  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 
    159157 
    160158  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 
    161159  # uniformly replaced by the line number.  The first 'sed' inserts a 
    162   # line-number line before each line; the second 'sed' does the real 
    163   # work.  The second script uses 'N' to pair each line-number line 
    164   # with the numbered line, and appends trailing '-' during 
    165   # substitution so that $LINENO is not a special case at line end. 
     160  # line-number line after each line using $LINENO; the second 'sed' 
     161  # does the real work.  The second script uses 'N' to pair each 
     162  # line-number line with the line containing $LINENO, and appends 
     163  # trailing '-' during substitution so that $LINENO is not a special 
     164  # case at line end. 
    166165  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 
    167   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) 
    168   sed '=' <$as_myself | 
     166  # scripts with optimization help from Paolo Bonzini.  Blame Lee 
     167  # E. McMahon (1931-1989) for sed's syntax.  :-) 
     168  sed -n ' 
     169    p 
     170    /[$]LINENO/= 
     171  ' <$as_myself | 
    169172    sed ' 
     173      s/[$]LINENO.*/&-/ 
     174      t lineno 
     175      b 
     176      :lineno 
    170177      N 
    171       s,$,-, 
    172       : loop 
    173       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 
     178      :loop 
     179      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 
    174180      t loop 
    175       s,-$,, 
    176       s,^['$as_cr_digits']*\n,, 
     181      s/-\n.*// 
    177182    ' >$as_me.lineno && 
    178   chmod +x $as_me.lineno || 
    179     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 
    180 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 
     183  chmod +x "$as_me.lineno" || 
     184    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 
    181185   { (exit 1); exit 1; }; } 
    182186 
    183187  # Don't try to exec as it changes $[0], causing all sort of problems 
    184188  # (the dirname of $[0] is not the place where we might find the 
    185   # original and so on.  Autoconf is especially sensible to this). 
    186   . ./$as_me.lineno 
     189  # original and so on.  Autoconf is especially sensitive to this). 
     190  . "./$as_me.lineno" 
    187191  # Exit status is that of the last command. 
    188192  exit 
     
    190194 
    191195 
    192 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 
    193   *c*,-n*) ECHO_N= ECHO_C=' 
    194 ' ECHO_T='      ' ;; 
    195   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; 
    196   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; 
     196if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 
     197  as_dirname=dirname 
     198else 
     199  as_dirname=false 
     200fi 
     201 
     202ECHO_C= ECHO_N= ECHO_T= 
     203case `echo -n x` in 
     204-n*) 
     205  case `echo 'x\c'` in 
     206  *c*) ECHO_T=' ';;     # ECHO_T is single tab character. 
     207  *)   ECHO_C='\c';; 
     208  esac;; 
     209*) 
     210  ECHO_N='-n';; 
    197211esac 
    198212 
    199 if expr a : '\(a\)' >/dev/null 2>&1; then 
     213if expr a : '\(a\)' >/dev/null 2>&1 && 
     214   test "X`expr 00001 : '.*\(...\)'`" = X001; then 
    200215  as_expr=expr 
    201216else 
     
    204219 
    205220rm -f conf$$ conf$$.exe conf$$.file 
     221if test -d conf$$.dir; then 
     222  rm -f conf$$.dir/conf$$.file 
     223else 
     224  rm -f conf$$.dir 
     225  mkdir conf$$.dir 
     226fi 
    206227echo >conf$$.file 
    207228if ln -s conf$$.file conf$$ 2>/dev/null; then 
    208   # We could just check for DJGPP; but this test a) works b) is more generic 
    209   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 
    210   if test -f conf$$.exe; then 
    211     # Don't use ln at all; we don't have any links 
     229  as_ln_s='ln -s' 
     230  # ... but there are two gotchas: 
     231  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 
     232  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 
     233  # In both cases, we have to default to `cp -p'. 
     234  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 
    212235    as_ln_s='cp -p' 
    213   else 
    214     as_ln_s='ln -s' 
    215   fi 
    216236elif ln conf$$.file conf$$ 2>/dev/null; then 
    217237  as_ln_s=ln 
     
    219239  as_ln_s='cp -p' 
    220240fi 
    221 rm -f conf$$ conf$$.exe conf$$.file 
     241rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 
     242rmdir conf$$.dir 2>/dev/null 
    222243 
    223244if mkdir -p . 2>/dev/null; then 
     
    228249fi 
    229250 
    230 as_executable_p="test -f" 
     251# Find out whether ``test -x'' works.  Don't use a zero-byte file, as 
     252# systems may use methods other than mode bits to determine executability. 
     253cat >conf$$.file <<_ASEOF 
     254#! /bin/sh 
     255exit 0 
     256_ASEOF 
     257chmod +x conf$$.file 
     258if test -x conf$$.file >/dev/null 2>&1; then 
     259  as_executable_p="test -x" 
     260else 
     261  as_executable_p=: 
     262fi 
     263rm -f conf$$.file 
    231264 
    232265# Sed expression to map a string onto a valid CPP name. 
     
    237270 
    238271 
    239 # IFS 
    240 # We need space, tab and new line, in precisely that order. 
    241 as_nl=' 
    242 ' 
    243 IFS="   $as_nl" 
    244  
    245 # CDPATH. 
    246 $as_unset CDPATH 
    247  
    248272exec 6>&1 
    249273 
    250 # Open the log real soon, to keep \$[0] and so on meaningful, and to 
     274# Save the log message, to keep $[0] and so on meaningful, and to 
    251275# report actual input values of CONFIG_FILES etc. instead of their 
    252 # values after options handling.  Logging --version etc. is OK. 
    253 exec 5>>config.log 
    254 
    255   echo 
    256   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
    257 ## Running $as_me. ## 
    258 _ASBOX 
    259 } >&5 
    260 cat >&5 <<_CSEOF 
    261  
     276# values after options handling. 
     277ac_log=" 
    262278This file was extended by Qastrocam $as_me 3.6, which was 
    263 generated by GNU Autoconf 2.59.  Invocation command line was 
     279generated by GNU Autoconf 2.60.  Invocation command line was 
    264280 
    265281  CONFIG_FILES    = $CONFIG_FILES 
     
    269285  $ $0 $@ 
    270286 
    271 _CSEOF 
    272 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 
    273 echo >&5 
     287on `(hostname || uname -n) 2>/dev/null | sed 1q` 
     288
     289 
     290# Files that config.status was made for. 
    274291config_files=" Makefile.vars" 
    275292config_headers=" config.h" 
     
    298315 
    299316Report bugs to <bug-autoconf@gnu.org>." 
     317 
    300318ac_cs_version="\ 
    301319Qastrocam config.status 3.6 
    302 configured by ./configure, generated by GNU Autoconf 2.59
    303   with options \"\" 
    304  
    305 Copyright (C) 2003 Free Software Foundation, Inc. 
     320configured by ./configure, generated by GNU Autoconf 2.60
     321  with options \"'CXX=/usr/bin/g++-3.3'\" 
     322 
     323Copyright (C) 2006 Free Software Foundation, Inc. 
    306324This config.status script is free software; the Free Software Foundation 
    307325gives unlimited permission to copy, distribute and modify it." 
    308 srcdir=. 
     326 
     327ac_pwd='/home/autorepository/tmp/qastrocam' 
     328srcdir='.' 
    309329# If no file are specified by the user, then we need to provide default 
    310330# value.  By we need to know if files were specified by the user. 
     
    314334  case $1 in 
    315335  --*=*) 
    316     ac_option=`expr "x$1" : 'x\([^=]*\)='` 
    317     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 
     336    ac_option=`expr "X$1" : 'X\([^=]*\)='` 
     337    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 
    318338    ac_shift=: 
    319339    ;; 
    320   -*) 
     340  *) 
    321341    ac_option=$1 
    322342    ac_optarg=$2 
    323343    ac_shift=shift 
    324344    ;; 
    325   *) # This is not an option, so the user has probably given explicit 
    326      # arguments. 
    327      ac_option=$1 
    328      ac_need_defaults=false;; 
    329345  esac 
    330346 
     
    333349  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 
    334350    ac_cs_recheck=: ;; 
    335   --version | --vers* | -V ) 
    336     echo "$ac_cs_version"; exit 0 ;; 
    337   --he | --h) 
    338     # Conflict between --help and --header 
    339     { { echo "$as_me:$LINENO: error: ambiguous option: $1 
    340 Try \`$0 --help' for more information." >&5 
    341 echo "$as_me: error: ambiguous option: $1 
    342 Try \`$0 --help' for more information." >&2;} 
    343    { (exit 1); exit 1; }; };; 
    344   --help | --hel | -h ) 
    345     echo "$ac_cs_usage"; exit 0 ;; 
    346   --debug | --d* | -d ) 
     351  --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 
     352    echo "$ac_cs_version"; exit ;; 
     353  --debug | --debu | --deb | --de | --d | -d ) 
    347354    debug=: ;; 
    348355  --file | --fil | --fi | --f ) 
     
    354361    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 
    355362    ac_need_defaults=false;; 
     363  --he | --h) 
     364    # Conflict between --help and --header 
     365    { echo "$as_me: error: ambiguous option: $1 
     366Try \`$0 --help' for more information." >&2 
     367   { (exit 1); exit 1; }; };; 
     368  --help | --hel | -h ) 
     369    echo "$ac_cs_usage"; exit ;; 
    356370  -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
    357371  | -silent | --silent | --silen | --sile | --sil | --si | --s) 
     
    359373 
    360374  # This is an error. 
    361   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 
    362 Try \`$0 --help' for more information." >&5 
    363 echo "$as_me: error: unrecognized option: $1 
    364 Try \`$0 --help' for more information." >&2;} 
     375  -*) { echo "$as_me: error: unrecognized option: $1 
     376Try \`$0 --help' for more information." >&2 
    365377   { (exit 1); exit 1; }; } ;; 
    366378 
    367   *) ac_config_targets="$ac_config_targets $1" ;; 
     379  *) ac_config_targets="$ac_config_targets $1" 
     380     ac_need_defaults=false ;; 
    368381 
    369382  esac 
     
    379392 
    380393if $ac_cs_recheck; then 
    381   echo "running /bin/sh ./configure "  $ac_configure_extra_args " --no-create --no-recursion" >&6 
    382   exec /bin/sh ./configure  $ac_configure_extra_args --no-create --no-recursion 
    383 fi 
    384  
     394  echo "running CONFIG_SHELL=/bin/sh /bin/sh ./configure " 'CXX=/usr/bin/g++-3.3' $ac_configure_extra_args " --no-create --no-recursion" >&6 
     395  CONFIG_SHELL=/bin/sh 
     396  export CONFIG_SHELL 
     397  exec /bin/sh "./configure" 'CXX=/usr/bin/g++-3.3' $ac_configure_extra_args --no-create --no-recursion 
     398fi 
     399 
     400exec 5>>config.log 
     401
     402  echo 
     403  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 
     404## Running $as_me. ## 
     405_ASBOX 
     406  echo "$ac_log" 
     407} >&5 
     408 
     409 
     410# Handling of arguments. 
    385411for ac_config_target in $ac_config_targets 
    386412do 
    387   case "$ac_config_target" in 
    388   # Handling of arguments. 
    389   "Makefile.vars" ) CONFIG_FILES="$CONFIG_FILES Makefile.vars" ;; 
    390   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 
     413  case $ac_config_target in 
     414    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 
     415    "Makefile.vars") CONFIG_FILES="$CONFIG_FILES Makefile.vars" ;; 
     416 
    391417  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 
    392418echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 
     
    394420  esac 
    395421done 
     422 
    396423 
    397424# If the user did not use the arguments to specify the items to instantiate, 
     
    405432 
    406433# Have a temporary directory for convenience.  Make it in the build tree 
    407 # simply because there is no reason to put it here, and in addition, 
     434# simply because there is no reason against having it here, and in addition, 
    408435# creating and moving files from /tmp can sometimes cause problems. 
    409 # Create a temporary directory, and hook for its removal unless debugging. 
     436# Hook for its removal unless debugging. 
     437# Note that there is a small window in which the directory will not be cleaned: 
     438# after its creation but before its name has been assigned to `$tmp'. 
    410439$debug || 
    411440{ 
    412   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 
     441  tmp= 
     442  trap 'exit_status=$? 
     443  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 
     444' 0 
    413445  trap '{ (exit 1); exit 1; }' 1 2 13 15 
    414446} 
    415  
    416447# Create a (secure) tmp directory for tmp files. 
    417448 
    418449{ 
    419   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 
     450  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 
    420451  test -n "$tmp" && test -d "$tmp" 
    421452}  || 
    422453{ 
    423   tmp=./confstat$$-$RANDOM 
    424   (umask 077 && mkdir $tmp
     454  tmp=./conf$$-$RANDOM 
     455  (umask 077 && mkdir "$tmp"
    425456} || 
    426457{ 
     
    429460} 
    430461 
    431  
    432462# 
    433 # CONFIG_FILES section. 
     463# Set up the sed scripts for CONFIG_FILES section. 
    434464# 
    435465 
     
    437467# This happens for instance when ./config.status config.h 
    438468if test -n "$CONFIG_FILES"; then 
    439   # Protect against being on the right side of a sed subst in config.status. 
    440   sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g; 
    441    s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF 
    442 s,@SHELL@,/bin/sh,;t t 
    443 s,@PATH_SEPARATOR@,:,;t t 
    444 s,@PACKAGE_NAME@,Qastrocam,;t t 
    445 s,@PACKAGE_TARNAME@,qastrocam,;t t 
    446 s,@PACKAGE_VERSION@,3.6,;t t 
    447 s,@PACKAGE_STRING@,Qastrocam 3.6,;t t 
    448 s,@PACKAGE_BUGREPORT@,qastrocam@3demi.net,;t t 
    449 s,@exec_prefix@,${prefix},;t t 
    450 s,@prefix@,/usr/local,;t t 
    451 s,@program_transform_name@,s,x,x,,;t t 
    452 s,@bindir@,${exec_prefix}/bin,;t t 
    453 s,@sbindir@,${exec_prefix}/sbin,;t t 
    454 s,@libexecdir@,${exec_prefix}/libexec,;t t 
    455 s,@datadir@,${prefix}/share,;t t 
    456 s,@sysconfdir@,${prefix}/etc,;t t 
    457 s,@sharedstatedir@,${prefix}/com,;t t 
    458 s,@localstatedir@,${prefix}/var,;t t 
    459 s,@libdir@,${exec_prefix}/lib,;t t 
    460 s,@includedir@,${prefix}/include,;t t 
    461 s,@oldincludedir@,/usr/include,;t t 
    462 s,@infodir@,${prefix}/info,;t t 
    463 s,@mandir@,${prefix}/man,;t t 
    464 s,@build_alias@,,;t t 
    465 s,@host_alias@,,;t t 
    466 s,@target_alias@,,;t t 
    467 s,@DEFS@,-DHAVE_CONFIG_H,;t t 
    468 s,@ECHO_C@,,;t t 
    469 s,@ECHO_N@,-n,;t t 
    470 s,@ECHO_T@,,;t t 
    471 s,@LIBS@,,;t t 
    472 s,@CXX@,g++,;t t 
    473 s,@CC@,gcc,;t t 
    474 s,@build@,i686-pc-linux-gnu,;t t 
    475 s,@build_cpu@,i686,;t t 
    476 s,@build_vendor@,pc,;t t 
    477 s,@build_os@,linux-gnu,;t t 
    478 s,@host@,i686-pc-linux-gnu,;t t 
    479 s,@host_cpu@,i686,;t t 
    480 s,@host_vendor@,pc,;t t 
    481 s,@host_os@,linux-gnu,;t t 
    482 s,@ARCHTYPE@,ia32,;t t 
    483 s,@MOC@,/usr/share/qt3//bin/moc,;t t 
    484 s,@QT_INC_DIR@,/usr/share/qt3//include,;t t 
    485 s,@QT_LIB_DIR@,/usr/share/qt3//lib,;t t 
    486 s,@QT_LIBS@,-lqt-mt,;t t 
    487 s,@SDLCONFIG@,/usr/bin/sdl-config,;t t 
    488 s,@AVICONFIG@,/usr/bin/avifile-config,;t t 
    489 s,@CXXFLAGS@, -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/avifile-0.7,;t t 
    490 s,@LDFLAGS@, -L/usr/lib -lSDL -lpthread -Wl,-rpath,/usr/lib -laviplay,;t t 
    491 s,@CPPFLAGS@, -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/avifile-0.7,;t t 
    492 s,@ac_ct_CXX@,,;t t 
    493 s,@EXEEXT@,,;t t 
    494 s,@OBJEXT@,o,;t t 
    495 s,@CXXCPP@,g++ -E,;t t 
    496 s,@EGREP@,grep -E,;t t 
    497 s,@LIBOBJS@,,;t t 
    498 s,@LTLIBOBJS@,,;t t 
     469 
     470cat >"$tmp/subs-1.sed" <<\CEOF 
     471/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 
     472s,@SHELL@,|#_!!_#|/bin/sh,g 
     473s,@PATH_SEPARATOR@,|#_!!_#|:,g 
     474s,@PACKAGE_NAME@,|#_!!_#|Qastrocam,g 
     475s,@PACKAGE_TARNAME@,|#_!!_#|qastrocam,g 
     476s,@PACKAGE_VERSION@,|#_!!_#|3.6,g 
     477s,@PACKAGE_STRING@,|#_!!_#|Qastrocam 3.6,g 
     478s,@PACKAGE_BUGREPORT@,|#_!!_#|qastrocam@|#_!!_#|3demi.net,g 
     479s,@exec_prefix@,|#_!!_#|${prefix},g 
     480s,@prefix@,|#_!!_#|/usr/local,g 
     481s,@program_transform_name@,|#_!!_#|s\,x\,x\,,g 
     482s,@bindir@,|#_!!_#|${exec_prefix}/bin,g 
     483s,@sbindir@,|#_!!_#|${exec_prefix}/sbin,g 
     484s,@libexecdir@,|#_!!_#|${exec_prefix}/libexec,g 
     485s,@datarootdir@,|#_!!_#|${prefix}/share,g 
     486s,@datadir@,|#_!!_#|${datarootdir},g 
     487s,@sysconfdir@,|#_!!_#|${prefix}/etc,g 
     488s,@sharedstatedir@,|#_!!_#|${prefix}/com,g 
     489s,@localstatedir@,|#_!!_#|${prefix}/var,g 
     490s,@includedir@,|#_!!_#|${prefix}/include,g 
     491s,@oldincludedir@,|#_!!_#|/usr/include,g 
     492s,@docdir@,|#_!!_#|${datarootdir}/doc/${PACKAGE_TARNAME},g 
     493s,@infodir@,|#_!!_#|${datarootdir}/info,g 
     494s,@htmldir@,|#_!!_#|${docdir},g 
     495s,@dvidir@,|#_!!_#|${docdir},g 
     496s,@pdfdir@,|#_!!_#|${docdir},g 
     497s,@psdir@,|#_!!_#|${docdir},g 
     498s,@libdir@,|#_!!_#|${exec_prefix}/lib,g 
     499s,@localedir@,|#_!!_#|${datarootdir}/locale,g 
     500s,@mandir@,|#_!!_#|${datarootdir}/man,g 
     501s,@DEFS@,|#_!!_#|-DHAVE_CONFIG_H,g 
     502s,@ECHO_C@,|#_!!_#|,g 
     503s,@ECHO_N@,|#_!!_#|-n,g 
     504s,@ECHO_T@,|#_!!_#|,g 
     505s,@LIBS@,|#_!!_#|,g 
     506s,@build_alias@,|#_!!_#|,g 
     507s,@host_alias@,|#_!!_#|,g 
     508s,@target_alias@,|#_!!_#|,g 
     509s,@CXX@,|#_!!_#|/usr/bin/g++-3.3,g 
     510s,@CC@,|#_!!_#|/usr/bin/gcc-3.3,g 
     511s,@build@,|#_!!_#|i686-pc-linux-gnu,g 
     512s,@build_cpu@,|#_!!_#|i686,g 
     513s,@build_vendor@,|#_!!_#|pc,g 
     514s,@build_os@,|#_!!_#|linux-gnu,g 
     515s,@host@,|#_!!_#|i686-pc-linux-gnu,g 
     516s,@host_cpu@,|#_!!_#|i686,g 
     517s,@host_vendor@,|#_!!_#|pc,g 
     518s,@host_os@,|#_!!_#|linux-gnu,g 
     519s,@ARCHTYPE@,|#_!!_#|ia32,g 
     520s,@MOC@,|#_!!_#|/usr/share/qt3//bin/moc,g 
     521s,@QT_INC_DIR@,|#_!!_#|/usr/share/qt3//include,g 
     522s,@QT_LIB_DIR@,|#_!!_#|/usr/share/qt3//lib,g 
     523s,@QT_LIBS@,|#_!!_#|-lqt-mt,g 
     524s,@SDLCONFIG@,|#_!!_#|/usr/bin/sdl-config,g 
     525s,@AVICONFIG@,|#_!!_#|/usr/bin/avifile-config,g 
     526s,@CXXFLAGS@,|#_!!_#| -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/avifile-0.7,g 
     527s,@LDFLAGS@,|#_!!_#| -L/usr/lib -lSDL -lpthread -Wl\,-rpath\,/usr/lib -laviplay,g 
     528s,@CPPFLAGS@,|#_!!_#| -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/avifile-0.7,g 
     529s,@ac_ct_CXX@,|#_!!_#|,g 
     530s,@EXEEXT@,|#_!!_#|,g 
     531s,@OBJEXT@,|#_!!_#|o,g 
     532s,@CXXCPP@,|#_!!_#|/usr/bin/g++-3.3 -E,g 
     533s,@GREP@,|#_!!_#|/bin/grep,g 
     534s,@EGREP@,|#_!!_#|/bin/grep -E,g 
     535s,@LIBOBJS@,|#_!!_#|,g 
     536s,@LTLIBOBJS@,|#_!!_#|,g 
     537:end 
     538s/|#_!!_#|//g 
    499539CEOF 
    500  
    501   # Split the substitutions into bite-sized pieces for seds with 
    502   # small command number limits, like on Digital OSF/1 and HP-UX. 
    503   ac_max_sed_lines=48 
    504   ac_sed_frag=1 # Number of current file. 
    505   ac_beg=1 # First line for current file. 
    506   ac_end=$ac_max_sed_lines # Line after last line for current file. 
    507   ac_more_lines=: 
    508   ac_sed_cmds= 
    509   while $ac_more_lines; do 
    510     if test $ac_beg -gt 1; then 
    511       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 
    512     else 
    513       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 
     540fi # test -n "$CONFIG_FILES" 
     541 
     542 
     543for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS 
     544do 
     545  case $ac_tag in 
     546  :[FHLC]) ac_mode=$ac_tag; continue;; 
     547  esac 
     548  case $ac_mode$ac_tag in 
     549  :[FHL]*:*);; 
     550  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 
     551echo "$as_me: error: Invalid tag $ac_tag." >&2;} 
     552   { (exit 1); exit 1; }; };; 
     553  :[FH]-) ac_tag=-:-;; 
     554  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     555  esac 
     556  ac_save_IFS=$IFS 
     557  IFS=: 
     558  set x $ac_tag 
     559  IFS=$ac_save_IFS 
     560  shift 
     561  ac_file=$1 
     562  shift 
     563 
     564  case $ac_mode in 
     565  :L) ac_source=$1;; 
     566  :[FH]) 
     567    ac_file_inputs= 
     568    for ac_f 
     569    do 
     570      case $ac_f in 
     571      -) ac_f="$tmp/stdin";; 
     572      *) # Look for the file first in the build tree, then in the source tree 
     573         # (if the path is not absolute).  The absolute path cannot be DOS-style, 
     574         # because $ac_f cannot contain `:'. 
     575         test -f "$ac_f" || 
     576           case $ac_f in 
     577           [\\/$]*) false;; 
     578           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
     579           esac || 
     580           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 
     581echo "$as_me: error: cannot find input file: $ac_f" >&2;} 
     582   { (exit 1); exit 1; }; };; 
     583      esac 
     584      ac_file_inputs="$ac_file_inputs $ac_f" 
     585    done 
     586 
     587    # Let's still pretend it is `configure' which instantiates (i.e., don't 
     588    # use $as_me), people would be surprised to read: 
     589    #    /* config.h.  Generated by config.status.  */ 
     590    configure_input="Generated from "`IFS=: 
     591          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 
     592    if test x"$ac_file" != x-; then 
     593      configure_input="$ac_file.  $configure_input" 
     594      { echo "$as_me:$LINENO: creating $ac_file" >&5 
     595echo "$as_me: creating $ac_file" >&6;} 
    514596    fi 
    515     if test ! -s $tmp/subs.frag; then 
    516       ac_more_lines=false 
    517     else 
    518       # The purpose of the label and of the branching condition is to 
    519       # speed up the sed processing (if there are no `@' at all, there 
    520       # is no need to browse any of the substitutions). 
    521       # These are the two extra sed commands mentioned above. 
    522       (echo ':t 
    523   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 
    524       if test -z "$ac_sed_cmds"; then 
    525         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 
    526       else 
    527         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 
    528       fi 
    529       ac_sed_frag=`expr $ac_sed_frag + 1` 
    530       ac_beg=$ac_end 
    531       ac_end=`expr $ac_end + $ac_max_sed_lines` 
    532     fi 
    533   done 
    534   if test -z "$ac_sed_cmds"; then 
    535     ac_sed_cmds=cat 
    536   fi 
    537 fi # test -n "$CONFIG_FILES" 
    538  
    539 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 
    540   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 
    541   case $ac_file in 
    542   - | *:- | *:-:* ) # input from stdin 
    543         cat >$tmp/stdin 
    544         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
    545         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
    546   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 
    547         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 
    548   * )   ac_file_in=$ac_file.in ;; 
     597 
     598    case $ac_tag in 
     599    *:-:* | *:-) cat >"$tmp/stdin";; 
     600    esac 
     601    ;; 
    549602  esac 
    550603 
    551   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 
    552   ac_dir=`(dirname "$ac_file") 2>/dev/null || 
     604  ac_dir=`$as_dirname -- "$ac_file" || 
    553605$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    554606         X"$ac_file" : 'X\(//\)[^/]' \| \ 
    555607         X"$ac_file" : 'X\(//\)$' \| \ 
    556          X"$ac_file" : 'X\(/\)' \| \ 
    557          .     : '\(.\)' 2>/dev/null || 
     608         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 
    558609echo X"$ac_file" | 
    559     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
    560           /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
    561           /^X\(\/\/\)$/{ s//\1/; q; } 
    562           /^X\(\/\).*/{ s//\1/; q; } 
    563           s/.*/./; q'` 
    564   { if $as_mkdir_p; then 
    565     mkdir -p "$ac_dir" 
    566   else 
    567     as_dir="$ac_dir" 
     610    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     611            s//\1/ 
     612            q 
     613          } 
     614          /^X\(\/\/\)[^/].*/{ 
     615            s//\1/ 
     616            q 
     617          } 
     618          /^X\(\/\/\)$/{ 
     619            s//\1/ 
     620            q 
     621          } 
     622          /^X\(\/\).*/{ 
     623            s//\1/ 
     624            q 
     625          } 
     626          s/.*/./; q'` 
     627  { as_dir="$ac_dir" 
     628  case $as_dir in #( 
     629  -*) as_dir=./$as_dir;; 
     630  esac 
     631  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 
    568632    as_dirs= 
    569     while test ! -d "$as_dir"; do 
    570       as_dirs="$as_dir $as_dirs" 
    571       as_dir=`(dirname "$as_dir") 2>/dev/null || 
     633    while :; do 
     634      case $as_dir in #( 
     635      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 
     636      *) as_qdir=$as_dir;; 
     637      esac 
     638      as_dirs="'$as_qdir' $as_dirs" 
     639      as_dir=`$as_dirname -- "$as_dir" || 
    572640$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
    573641         X"$as_dir" : 'X\(//\)[^/]' \| \ 
    574642         X"$as_dir" : 'X\(//\)$' \| \ 
    575          X"$as_dir" : 'X\(/\)' \| \ 
    576          .     : '\(.\)' 2>/dev/null || 
     643         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 
    577644echo X"$as_dir" | 
    578     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
    579           /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
    580           /^X\(\/\/\)$/{ s//\1/; q; } 
    581           /^X\(\/\).*/{ s//\1/; q; } 
    582           s/.*/./; q'` 
     645    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 
     646            s//\1/ 
     647            q 
     648          } 
     649          /^X\(\/\/\)[^/].*/{ 
     650            s//\1/ 
     651            q 
     652          } 
     653          /^X\(\/\/\)$/{ 
     654            s//\1/ 
     655            q 
     656          } 
     657          /^X\(\/\).*/{ 
     658            s//\1/ 
     659            q 
     660          } 
     661          s/.*/./; q'` 
     662      test -d "$as_dir" && break 
    583663    done 
    584     test ! -n "$as_dirs" || mkdir $as_dirs 
    585   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 
    586 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 
     664    test -z "$as_dirs" || eval "mkdir $as_dirs" 
     665  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 
     666echo "$as_me: error: cannot create directory $as_dir" >&2;} 
    587667   { (exit 1); exit 1; }; }; } 
    588  
    589668  ac_builddir=. 
    590669 
    591 if test "$ac_dir" != .; then 
     670case "$ac_dir" in 
     671.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     672*) 
    592673  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
    593   # A "../" for each directory in $ac_dir_suffix. 
    594   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
    595 else 
    596   ac_dir_suffix= ac_top_builddir= 
    597 fi 
     674  # A ".." for each directory in $ac_dir_suffix. 
     675  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 
     676  case $ac_top_builddir_sub in 
     677  "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 
     678  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;; 
     679  esac ;; 
     680esac 
     681ac_abs_top_builddir=$ac_pwd 
     682ac_abs_builddir=$ac_pwd$ac_dir_suffix 
     683# for backward compatibility: 
     684ac_top_builddir=$ac_top_build_prefix 
    598685 
    599686case $srcdir in 
    600   .)  # No --srcdir option.  We are building in place. 
     687  .)  # We are building in place. 
    601688    ac_srcdir=. 
    602     if test -z "$ac_top_builddir"; then 
    603        ac_top_srcdir=. 
    604     else 
    605        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 
    606     fi ;; 
    607   [\\/]* | ?:[\\/]* )  # Absolute path. 
     689    ac_top_srcdir=$ac_top_builddir_sub 
     690    ac_abs_top_srcdir=$ac_pwd ;; 
     691  [\\/]* | ?:[\\/]* )  # Absolute name. 
    608692    ac_srcdir=$srcdir$ac_dir_suffix; 
    609     ac_top_srcdir=$srcdir ;; 
    610   *) # Relative path. 
    611     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 
    612     ac_top_srcdir=$ac_top_builddir$srcdir ;; 
     693    ac_top_srcdir=$srcdir 
     694    ac_abs_top_srcdir=$srcdir ;; 
     695  *) # Relative name. 
     696    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 
     697    ac_top_srcdir=$ac_top_build_prefix$srcdir 
     698    ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 
    613699esac 
    614  
    615 # Do not use `cd foo && pwd` to compute absolute paths, because 
    616 # the directories may not exist. 
    617 case `pwd` in 
    618 .) ac_abs_builddir="$ac_dir";; 
    619 *) 
    620   case "$ac_dir" in 
    621   .) ac_abs_builddir=`pwd`;; 
    622   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 
    623   *) ac_abs_builddir=`pwd`/"$ac_dir";; 
    624   esac;; 
     700ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 
     701 
     702 
     703  case $ac_mode in 
     704  :F) 
     705  # 
     706  # CONFIG_FILE 
     707  # 
     708 
     709# If the template does not know about datarootdir, expand it. 
     710# FIXME: This hack should be removed a few years after 2.60. 
     711ac_datarootdir_hack=; ac_datarootdir_seen= 
     712 
     713case `sed -n '/datarootdir/ { 
     714  p 
     715  q 
     716
     717/@datadir@/p 
     718/@docdir@/p 
     719/@infodir@/p 
     720/@localedir@/p 
     721/@mandir@/p 
     722' $ac_file_inputs` in 
     723*datarootdir*) ac_datarootdir_seen=yes;; 
     724*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 
     725  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 
     726echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 
     727  ac_datarootdir_hack=' 
     728  s&@datadir@&${datarootdir}&g 
     729  s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g 
     730  s&@infodir@&${datarootdir}/info&g 
     731  s&@localedir@&${datarootdir}/locale&g 
     732  s&@mandir@&${datarootdir}/man&g 
     733    s&\${datarootdir}&${prefix}/share&g' ;; 
    625734esac 
    626 case $ac_abs_builddir in 
    627 .) ac_abs_top_builddir=${ac_top_builddir}.;; 
    628 *) 
    629   case ${ac_top_builddir}. in 
    630   .) ac_abs_top_builddir=$ac_abs_builddir;; 
    631   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 
    632   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 
    633   esac;; 
    634 esac 
    635 case $ac_abs_builddir in 
    636 .) ac_abs_srcdir=$ac_srcdir;; 
    637&