Diff of /trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 245 by harbaum, Wed Dec 9 20:08:58 2009 UTC revision 246 by harbaum, Tue Jan 19 20:26:37 2010 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated by GNU Autoconf 2.63 for GPXView 0.9.1.  # Generated by GNU Autoconf 2.61 for GPXView 0.9.2.
4  #  #
5  # Report bugs to <till@harbaum.org>.  # Report bugs to <till@harbaum.org>.
6  #  #
7  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8  # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.  # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
10  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
11  ## --------------------- ##  ## --------------------- ##
# Line 17  DUALCASE=1; export DUALCASE # for MKS sh Line 17  DUALCASE=1; export DUALCASE # for MKS sh
17  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18    emulate sh    emulate sh
19    NULLCMD=:    NULLCMD=:
20    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
22    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
23    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
# Line 39  as_cr_Letters=$as_cr_letters$as_cr_LETTE Line 39  as_cr_Letters=$as_cr_letters$as_cr_LETTE
39  as_cr_digits='0123456789'  as_cr_digits='0123456789'
40  as_cr_alnum=$as_cr_Letters$as_cr_digits  as_cr_alnum=$as_cr_Letters$as_cr_digits
41    
 as_nl='  
 '  
 export as_nl  
 # Printing a long string crashes Solaris 7 /usr/bin/printf.  
 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'  
 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo  
 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo  
 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then  
   as_echo='printf %s\n'  
   as_echo_n='printf %s'  
 else  
   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then  
     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'  
     as_echo_n='/usr/ucb/echo -n'  
   else  
     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'  
     as_echo_n_body='eval  
       arg=$1;  
       case $arg in  
       *"$as_nl"*)  
         expr "X$arg" : "X\\(.*\\)$as_nl";  
         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;  
       esac;  
       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"  
     '  
     export as_echo_n_body  
     as_echo_n='sh -c $as_echo_n_body as_echo'  
   fi  
   export as_echo_body  
   as_echo='sh -c $as_echo_body as_echo'  
 fi  
   
42  # The user is always right.  # The user is always right.
43  if test "${PATH_SEPARATOR+set}" != set; then  if test "${PATH_SEPARATOR+set}" != set; then
44    PATH_SEPARATOR=:    echo "#! /bin/sh" >conf$$.sh
45    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {    echo  "exit 0"   >>conf$$.sh
46      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||    chmod +x conf$$.sh
47        PATH_SEPARATOR=';'    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48    }      PATH_SEPARATOR=';'
49      else
50        PATH_SEPARATOR=:
51      fi
52      rm -f conf$$.sh
53  fi  fi
54    
55  # Support unset when possible.  # Support unset when possible.
# Line 93  fi Line 65  fi
65  # there to prevent editors from complaining about space-tab.  # there to prevent editors from complaining about space-tab.
66  # (If _AS_PATH_WALK were called with IFS unset, it would disable word  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67  # splitting by setting IFS to empty value.)  # splitting by setting IFS to empty value.)
68    as_nl='
69    '
70  IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
71    
72  # Find who we are.  Look in the path if we contain no directory separator.  # Find who we are.  Look in the path if we contain no directory separator.
# Line 115  if test "x$as_myself" = x; then Line 89  if test "x$as_myself" = x; then
89    as_myself=$0    as_myself=$0
90  fi  fi
91  if test ! -f "$as_myself"; then  if test ! -f "$as_myself"; then
92    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2    echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93    { (exit 1); exit 1; }    { (exit 1); exit 1; }
94  fi  fi
95    
# Line 128  PS2='> ' Line 102  PS2='> '
102  PS4='+ '  PS4='+ '
103    
104  # NLS nuisances.  # NLS nuisances.
105  LC_ALL=C  for as_var in \
106  export LC_ALL    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107  LANGUAGE=C    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108  export LANGUAGE    LC_TELEPHONE LC_TIME
109    do
110      if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111        eval $as_var=C; export $as_var
112      else
113        ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114      fi
115    done
116    
117  # Required to use basename.  # Required to use basename.
118  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
# Line 153  as_me=`$as_basename -- "$0" || Line 134  as_me=`$as_basename -- "$0" ||
134  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
136           X"$0" : 'X\(/\)' \| . 2>/dev/null ||           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137  $as_echo X/"$0" |  echo X/"$0" |
138      sed '/^.*\/\([^/][^/]*\)\/*$/{      sed '/^.*\/\([^/][^/]*\)\/*$/{
139              s//\1/              s//\1/
140              q              q
# Line 179  else Line 160  else
160    as_have_required=no    as_have_required=no
161  fi  fi
162    
163    if test $as_have_required = yes &&     (eval ":    if test $as_have_required = yes &&     (eval ":
164  (as_func_return () {  (as_func_return () {
165    (exit \$1)    (exit \$1)
166  }  }
# Line 261  IFS=$as_save_IFS Line 242  IFS=$as_save_IFS
242  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243    emulate sh    emulate sh
244    NULLCMD=:    NULLCMD=:
245    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
247    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
248    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
# Line 282  _ASEOF Line 263  _ASEOF
263  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264    emulate sh    emulate sh
265    NULLCMD=:    NULLCMD=:
266    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
268    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
269    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
# Line 362  fi Line 343  fi
343    
344        if test "x$CONFIG_SHELL" != x; then        if test "x$CONFIG_SHELL" != x; then
345    for as_var in BASH_ENV ENV    for as_var in BASH_ENV ENV
346          do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var          do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347          done          done
348          export CONFIG_SHELL          export CONFIG_SHELL
349          exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}          exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350  fi  fi
351    
352    
# Line 434  fi Line 415  fi
415    
416  test \$exitcode = 0") || {  test \$exitcode = 0") || {
417    echo No shell found that supports shell functions.    echo No shell found that supports shell functions.
418    echo Please tell bug-autoconf@gnu.org about your system,    echo Please tell autoconf@gnu.org about your system,
419    echo including any error possibly output before this message.    echo including any error possibly output before this
420    echo This can help us improve future autoconf versions.    echo message
   echo Configuration will now proceed without shell functions.  
421  }  }
422    
423    
# Line 473  test \$exitcode = 0") || { Line 453  test \$exitcode = 0") || {
453        s/-\n.*//        s/-\n.*//
454      ' >$as_me.lineno &&      ' >$as_me.lineno &&
455    chmod +x "$as_me.lineno" ||    chmod +x "$as_me.lineno" ||
456      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2      { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
458    
459    # Don't try to exec as it changes $[0], causing all sort of problems    # Don't try to exec as it changes $[0], causing all sort of problems
# Line 501  case `echo -n x` in Line 481  case `echo -n x` in
481  *)  *)
482    ECHO_N='-n';;    ECHO_N='-n';;
483  esac  esac
484    
485  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
486     test "X`expr 00001 : '.*\(...\)'`" = X001; then     test "X`expr 00001 : '.*\(...\)'`" = X001; then
487    as_expr=expr    as_expr=expr
# Line 513  if test -d conf$$.dir; then Line 494  if test -d conf$$.dir; then
494    rm -f conf$$.dir/conf$$.file    rm -f conf$$.dir/conf$$.file
495  else  else
496    rm -f conf$$.dir    rm -f conf$$.dir
497    mkdir conf$$.dir 2>/dev/null    mkdir conf$$.dir
498  fi  fi
499  if (echo >conf$$.file) 2>/dev/null; then  echo >conf$$.file
500    if ln -s conf$$.file conf$$ 2>/dev/null; then  if ln -s conf$$.file conf$$ 2>/dev/null; then
501      as_ln_s='ln -s'    as_ln_s='ln -s'
502      # ... but there are two gotchas:    # ... but there are two gotchas:
503      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505      # In both cases, we have to default to `cp -p'.    # In both cases, we have to default to `cp -p'.
506      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
       as_ln_s='cp -p'  
   elif ln conf$$.file conf$$ 2>/dev/null; then  
     as_ln_s=ln  
   else  
507      as_ln_s='cp -p'      as_ln_s='cp -p'
508    fi  elif ln conf$$.file conf$$ 2>/dev/null; then
509      as_ln_s=ln
510  else  else
511    as_ln_s='cp -p'    as_ln_s='cp -p'
512  fi  fi
# Line 553  else Line 531  else
531    as_test_x='    as_test_x='
532      eval sh -c '\''      eval sh -c '\''
533        if test -d "$1"; then        if test -d "$1"; then
534          test -d "$1/.";          test -d "$1/.";
535        else        else
536          case $1 in          case $1 in
537          -*)set "./$1";;          -*)set "./$1";;
538          esac;          esac;
539          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540          ???[sx]*):;;*)false;;esac;fi          ???[sx]*):;;*)false;;esac;fi
# Line 596  SHELL=${CONFIG_SHELL-/bin/sh} Line 574  SHELL=${CONFIG_SHELL-/bin/sh}
574  # Identity of this package.  # Identity of this package.
575  PACKAGE_NAME='GPXView'  PACKAGE_NAME='GPXView'
576  PACKAGE_TARNAME='gpxview'  PACKAGE_TARNAME='gpxview'
577  PACKAGE_VERSION='0.9.1'  PACKAGE_VERSION='0.9.2'
578  PACKAGE_STRING='GPXView 0.9.1'  PACKAGE_STRING='GPXView 0.9.2'
579  PACKAGE_BUGREPORT='till@harbaum.org'  PACKAGE_BUGREPORT='till@harbaum.org'
580    
581  ac_unique_file="src/main.c"  ac_unique_file="src/main.c"
582  ac_subst_vars='LTLIBOBJS  # Factoring default headers for most tests.
583  LIBOBJS  ac_includes_default="\
584  INSTALL_PLATTFORM  #include <stdio.h>
585  ICON  #ifdef HAVE_SYS_TYPES_H
586  EXTRA_OBJS  # include <sys/types.h>
587  gnome2_LIBS  #endif
588  gnome2_CFLAGS  #ifdef HAVE_SYS_STAT_H
589  gtk_LIBS  # include <sys/stat.h>
590  gtk_CFLAGS  #endif
591  MAEMO_VERSION_MAJOR  #ifdef STDC_HEADERS
592  liblocation_LIBS  # include <stdlib.h>
593  liblocation_CFLAGS  # include <stddef.h>
594  gpsbt_LIBS  #else
595  gpsbt_CFLAGS  # ifdef HAVE_STDLIB_H
596  hildon_help_LIBS  #  include <stdlib.h>
597  hildon_help_CFLAGS  # endif
598  sqlite3_LIBS  #endif
599  sqlite3_CFLAGS  #ifdef HAVE_STRING_H
600  hildon_fm_2_LIBS  # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601  hildon_fm_2_CFLAGS  #  include <memory.h>
602  osso_LIBS  # endif
603  osso_CFLAGS  # include <string.h>
604  hildon_LIBS  #endif
605  hildon_CFLAGS  #ifdef HAVE_STRINGS_H
606  libgtkhtml3_8_LIBS  # include <strings.h>
607  libgtkhtml3_8_CFLAGS  #endif
608  libgtkhtml3_14_LIBS  #ifdef HAVE_INTTYPES_H
609  libgtkhtml3_14_CFLAGS  # include <inttypes.h>
610  libsoup22_LIBS  #endif
611  libsoup22_CFLAGS  #ifdef HAVE_STDINT_H
612  libsoup24_LIBS  # include <stdint.h>
613  libsoup24_CFLAGS  #endif
614  libcurl_LIBS  #ifdef HAVE_UNISTD_H
615  libcurl_CFLAGS  # include <unistd.h>
616  libxml2_LIBS  #endif"
617  libxml2_CFLAGS  
618  gnome_vfs_module_LIBS  ac_subst_vars='SHELL
 gnome_vfs_module_CFLAGS  
 PKG_CONFIG  
 SET_MAKE  
 LN_S  
 INSTALL_DATA  
 INSTALL_SCRIPT  
 INSTALL_PROGRAM  
 OBJEXT  
 EXEEXT  
 ac_ct_CC  
 CPPFLAGS  
 LDFLAGS  
 CFLAGS  
 CC  
 PACKAGE  
 target_alias  
 host_alias  
 build_alias  
 LIBS  
 ECHO_T  
 ECHO_N  
 ECHO_C  
 DEFS  
 mandir  
 localedir  
 libdir  
 psdir  
 pdfdir  
 dvidir  
 htmldir  
 infodir  
 docdir  
 oldincludedir  
 includedir  
 localstatedir  
 sharedstatedir  
 sysconfdir  
 datadir  
 datarootdir  
 libexecdir  
 sbindir  
 bindir  
 program_transform_name  
 prefix  
 exec_prefix  
 PACKAGE_BUGREPORT  
 PACKAGE_STRING  
 PACKAGE_VERSION  
 PACKAGE_TARNAME  
 PACKAGE_NAME  
619  PATH_SEPARATOR  PATH_SEPARATOR
620  SHELL'  PACKAGE_NAME
621    PACKAGE_TARNAME
622    PACKAGE_VERSION
623    PACKAGE_STRING
624    PACKAGE_BUGREPORT
625    exec_prefix
626    prefix
627    program_transform_name
628    bindir
629    sbindir
630    libexecdir
631    datarootdir
632    datadir
633    sysconfdir
634    sharedstatedir
635    localstatedir
636    includedir
637    oldincludedir
638    docdir
639    infodir
640    htmldir
641    dvidir
642    pdfdir
643    psdir
644    libdir
645    localedir
646    mandir
647    DEFS
648    ECHO_C
649    ECHO_N
650    ECHO_T
651    LIBS
652    build_alias
653    host_alias
654    target_alias
655    PACKAGE
656    CC
657    CFLAGS
658    LDFLAGS
659    CPPFLAGS
660    ac_ct_CC
661    EXEEXT
662    OBJEXT
663    INSTALL_PROGRAM
664    INSTALL_SCRIPT
665    INSTALL_DATA
666    LN_S
667    SET_MAKE
668    PKG_CONFIG
669    gnome_vfs_module_CFLAGS
670    gnome_vfs_module_LIBS
671    libxml2_CFLAGS
672    libxml2_LIBS
673    libcurl_CFLAGS
674    libcurl_LIBS
675    CPP
676    GREP
677    EGREP
678    libsoup24_CFLAGS
679    libsoup24_LIBS
680    libsoup22_CFLAGS
681    libsoup22_LIBS
682    libgtkhtml3_14_CFLAGS
683    libgtkhtml3_14_LIBS
684    libgtkhtml3_8_CFLAGS
685    libgtkhtml3_8_LIBS
686    hildon_CFLAGS
687    hildon_LIBS
688    osso_CFLAGS
689    osso_LIBS
690    hildon_fm_2_CFLAGS
691    hildon_fm_2_LIBS
692    sqlite3_CFLAGS
693    sqlite3_LIBS
694    hildon_help_CFLAGS
695    hildon_help_LIBS
696    gpsbt_CFLAGS
697    gpsbt_LIBS
698    liblocation_CFLAGS
699    liblocation_LIBS
700    MAEMO_VERSION_MAJOR
701    gtk_CFLAGS
702    gtk_LIBS
703    gnome2_CFLAGS
704    gnome2_LIBS
705    EXTRA_OBJS
706    ICON
707    INSTALL_PLATTFORM
708    LIBOBJS
709    LTLIBOBJS'
710  ac_subst_files=''  ac_subst_files=''
 ac_user_opts='  
 enable_option_checking  
 '  
711        ac_precious_vars='build_alias        ac_precious_vars='build_alias
712  host_alias  host_alias
713  target_alias  target_alias
# Line 709  libxml2_CFLAGS Line 723  libxml2_CFLAGS
723  libxml2_LIBS  libxml2_LIBS
724  libcurl_CFLAGS  libcurl_CFLAGS
725  libcurl_LIBS  libcurl_LIBS
726    CPP
727  libsoup24_CFLAGS  libsoup24_CFLAGS
728  libsoup24_LIBS  libsoup24_LIBS
729  libsoup22_CFLAGS  libsoup22_CFLAGS
# Line 740  gnome2_LIBS' Line 755  gnome2_LIBS'
755  # Initialize some variables set by options.  # Initialize some variables set by options.
756  ac_init_help=  ac_init_help=
757  ac_init_version=false  ac_init_version=false
 ac_unrecognized_opts=  
 ac_unrecognized_sep=  
758  # The variables have the same names as the options, with  # The variables have the same names as the options, with
759  # dashes changed to underlines.  # dashes changed to underlines.
760  cache_file=/dev/null  cache_file=/dev/null
# Line 840  do Line 853  do
853      datarootdir=$ac_optarg ;;      datarootdir=$ac_optarg ;;
854    
855    -disable-* | --disable-*)    -disable-* | --disable-*)
856      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
857      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
858      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
859        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
860     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
861      ac_useropt_orig=$ac_useropt      ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
862      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      eval enable_$ac_feature=no ;;
     case $ac_user_opts in  
       *"  
 "enable_$ac_useropt"  
 "*) ;;  
       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"  
          ac_unrecognized_sep=', ';;  
     esac  
     eval enable_$ac_useropt=no ;;  
863    
864    -docdir | --docdir | --docdi | --doc | --do)    -docdir | --docdir | --docdi | --doc | --do)
865      ac_prev=docdir ;;      ac_prev=docdir ;;
# Line 867  do Line 872  do
872      dvidir=$ac_optarg ;;      dvidir=$ac_optarg ;;
873    
874    -enable-* | --enable-*)    -enable-* | --enable-*)
875      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
876      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
877      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
878        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
879     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
880      ac_useropt_orig=$ac_useropt      ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
881      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      eval enable_$ac_feature=\$ac_optarg ;;
     case $ac_user_opts in  
       *"  
 "enable_$ac_useropt"  
 "*) ;;  
       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"  
          ac_unrecognized_sep=', ';;  
     esac  
     eval enable_$ac_useropt=\$ac_optarg ;;  
882    
883    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
884    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 1072  do Line 1069  do
1069      ac_init_version=: ;;      ac_init_version=: ;;
1070    
1071    -with-* | --with-*)    -with-* | --with-*)
1072      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1073      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1074      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1075        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2        { echo "$as_me: error: invalid package name: $ac_package" >&2
1076     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1077      ac_useropt_orig=$ac_useropt      ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1078      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      eval with_$ac_package=\$ac_optarg ;;
     case $ac_user_opts in  
       *"  
 "with_$ac_useropt"  
 "*) ;;  
       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"  
          ac_unrecognized_sep=', ';;  
     esac  
     eval with_$ac_useropt=\$ac_optarg ;;  
1079    
1080    -without-* | --without-*)    -without-* | --without-*)
1081      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1082      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1083      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1084        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2        { echo "$as_me: error: invalid package name: $ac_package" >&2
1085     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1086      ac_useropt_orig=$ac_useropt      ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1087      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      eval with_$ac_package=no ;;
     case $ac_user_opts in  
       *"  
 "with_$ac_useropt"  
 "*) ;;  
       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"  
          ac_unrecognized_sep=', ';;  
     esac  
     eval with_$ac_useropt=no ;;  
1088    
1089    --x)    --x)
1090      # Obsolete; use --with-x.      # Obsolete; use --with-x.
# Line 1123  do Line 1104  do
1104    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1105      x_libraries=$ac_optarg ;;      x_libraries=$ac_optarg ;;
1106    
1107    -*) { $as_echo "$as_me: error: unrecognized option: $ac_option    -*) { echo "$as_me: error: unrecognized option: $ac_option
1108  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information." >&2
1109     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1110      ;;      ;;
# Line 1132  Try \`$0 --help' for more information." Line 1113  Try \`$0 --help' for more information."
1113      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1114      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1115      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1116        { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1117     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1118      eval $ac_envvar=\$ac_optarg      eval $ac_envvar=\$ac_optarg
1119      export $ac_envvar ;;      export $ac_envvar ;;
1120    
1121    *)    *)
1122      # FIXME: should be removed in autoconf 3.0.      # FIXME: should be removed in autoconf 3.0.
1123      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1124      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1126      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1127      ;;      ;;
1128    
# Line 1150  done Line 1131  done
1131    
1132  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
1133    ac_option=--`echo $ac_prev | sed 's/_/-/g'`    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1134    { $as_echo "$as_me: error: missing argument to $ac_option" >&2    { echo "$as_me: error: missing argument to $ac_option" >&2
1135     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1136  fi  fi
1137    
1138  if test -n "$ac_unrecognized_opts"; then  # Be sure to have absolute directory names.
   case $enable_option_checking in  
     no) ;;  
     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2  
    { (exit 1); exit 1; }; } ;;  
     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;  
   esac  
 fi  
   
 # Check all directory arguments for consistency.  
1139  for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \  for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1140                  datadir sysconfdir sharedstatedir localstatedir includedir \                  datadir sysconfdir sharedstatedir localstatedir includedir \
1141                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1142                  libdir localedir mandir                  libdir localedir mandir
1143  do  do
1144    eval ac_val=\$$ac_var    eval ac_val=\$$ac_var
   # Remove trailing slashes.  
   case $ac_val in  
     */ )  
       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`  
       eval $ac_var=\$ac_val;;  
   esac  
   # Be sure to have absolute directory names.  
1145    case $ac_val in    case $ac_val in
1146      [\\/$]* | ?:[\\/]* )  continue;;      [\\/$]* | ?:[\\/]* )  continue;;
1147      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1148    esac    esac
1149    { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2    { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1150     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1151  done  done
1152    
# Line 1196  target=$target_alias Line 1161  target=$target_alias
1161  if test "x$host_alias" != x; then  if test "x$host_alias" != x; then
1162    if test "x$build_alias" = x; then    if test "x$build_alias" = x; then
1163      cross_compiling=maybe      cross_compiling=maybe
1164      $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.      echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1165      If a cross compiler is detected then cross compile mode will be used." >&2      If a cross compiler is detected then cross compile mode will be used." >&2
1166    elif test "x$build_alias" != "x$host_alias"; then    elif test "x$build_alias" != "x$host_alias"; then
1167      cross_compiling=yes      cross_compiling=yes
# Line 1212  test "$silent" = yes && exec 6>/dev/null Line 1177  test "$silent" = yes && exec 6>/dev/null
1177  ac_pwd=`pwd` && test -n "$ac_pwd" &&  ac_pwd=`pwd` && test -n "$ac_pwd" &&
1178  ac_ls_di=`ls -di .` &&  ac_ls_di=`ls -di .` &&
1179  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1180    { $as_echo "$as_me: error: working directory cannot be determined" >&2    { echo "$as_me: error: Working directory cannot be determined" >&2
1181     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1182  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1183    { $as_echo "$as_me: error: pwd does not report name of working directory" >&2    { echo "$as_me: error: pwd does not report name of working directory" >&2
1184     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1185    
1186    
# Line 1223  test "X$ac_ls_di" = "X$ac_pwd_ls_di" || Line 1188  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1188  if test -z "$srcdir"; then  if test -z "$srcdir"; then
1189    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
1190    # Try the directory containing this script, then the parent directory.    # Try the directory containing this script, then the parent directory.
1191    ac_confdir=`$as_dirname -- "$as_myself" ||    ac_confdir=`$as_dirname -- "$0" ||
1192  $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1193           X"$as_myself" : 'X\(//\)[^/]' \| \           X"$0" : 'X\(//\)[^/]' \| \
1194           X"$as_myself" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
1195           X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1196  $as_echo X"$as_myself" |  echo X"$0" |
1197      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1198              s//\1/              s//\1/
1199              q              q
# Line 1255  else Line 1220  else
1220  fi  fi
1221  if test ! -r "$srcdir/$ac_unique_file"; then  if test ! -r "$srcdir/$ac_unique_file"; then
1222    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1223    { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1224     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1225  fi  fi
1226  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1227  ac_abs_confdir=`(  ac_abs_confdir=`(
1228          cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2          cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1229     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1230          pwd)`          pwd)`
1231  # When building in place, set srcdir=.  # When building in place, set srcdir=.
# Line 1287  if test "$ac_init_help" = "long"; then Line 1252  if test "$ac_init_help" = "long"; then
1252    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
1253    # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
1254    cat <<_ACEOF    cat <<_ACEOF
1255  \`configure' configures GPXView 0.9.1 to adapt to many kinds of systems.  \`configure' configures GPXView 0.9.2 to adapt to many kinds of systems.
1256    
1257  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
1258    
# Line 1309  Configuration: Line 1274  Configuration:
1274    
1275  Installation directories:  Installation directories:
1276    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
1277                            [$ac_default_prefix]                            [$ac_default_prefix]
1278    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1279                            [PREFIX]                            [PREFIX]
1280    
1281  By default, \`make install' will install all the files in  By default, \`make install' will install all the files in
1282  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 1321  for instance \`--prefix=\$HOME'. Line 1286  for instance \`--prefix=\$HOME'.
1286  For better control, use the options below.  For better control, use the options below.
1287    
1288  Fine tuning of the installation directories:  Fine tuning of the installation directories:
1289    --bindir=DIR            user executables [EPREFIX/bin]    --bindir=DIR           user executables [EPREFIX/bin]
1290    --sbindir=DIR           system admin executables [EPREFIX/sbin]    --sbindir=DIR          system admin executables [EPREFIX/sbin]
1291    --libexecdir=DIR        program executables [EPREFIX/libexec]    --libexecdir=DIR       program executables [EPREFIX/libexec]
1292    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]    --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1293    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]    --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1294    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]    --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1295    --libdir=DIR            object code libraries [EPREFIX/lib]    --libdir=DIR           object code libraries [EPREFIX/lib]
1296    --includedir=DIR        C header files [PREFIX/include]    --includedir=DIR       C header files [PREFIX/include]
1297    --oldincludedir=DIR     C header files for non-gcc [/usr/include]    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1298    --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]    --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1299    --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]    --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1300    --infodir=DIR           info documentation [DATAROOTDIR/info]    --infodir=DIR          info documentation [DATAROOTDIR/info]
1301    --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]    --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1302    --mandir=DIR            man documentation [DATAROOTDIR/man]    --mandir=DIR           man documentation [DATAROOTDIR/man]
1303    --docdir=DIR            documentation root [DATAROOTDIR/doc/gpxview]    --docdir=DIR           documentation root [DATAROOTDIR/doc/gpxview]
1304    --htmldir=DIR           html documentation [DOCDIR]    --htmldir=DIR          html documentation [DOCDIR]
1305    --dvidir=DIR            dvi documentation [DOCDIR]    --dvidir=DIR           dvi documentation [DOCDIR]
1306    --pdfdir=DIR            pdf documentation [DOCDIR]    --pdfdir=DIR           pdf documentation [DOCDIR]
1307    --psdir=DIR             ps documentation [DOCDIR]    --psdir=DIR            ps documentation [DOCDIR]
1308  _ACEOF  _ACEOF
1309    
1310    cat <<\_ACEOF    cat <<\_ACEOF
# Line 1348  fi Line 1313  fi
1313    
1314  if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
1315    case $ac_init_help in    case $ac_init_help in
1316       short | recursive ) echo "Configuration of GPXView 0.9.1:";;       short | recursive ) echo "Configuration of GPXView 0.9.2:";;
1317     esac     esac
1318    cat <<\_ACEOF    cat <<\_ACEOF
1319    
# Line 1373  Some influential environment variables: Line 1338  Some influential environment variables:
1338                C compiler flags for libcurl, overriding pkg-config                C compiler flags for libcurl, overriding pkg-config
1339    libcurl_LIBS    libcurl_LIBS
1340                linker flags for libcurl, overriding pkg-config                linker flags for libcurl, overriding pkg-config
1341      CPP         C preprocessor
1342    libsoup24_CFLAGS    libsoup24_CFLAGS
1343                C compiler flags for libsoup24, overriding pkg-config                C compiler flags for libsoup24, overriding pkg-config
1344    libsoup24_LIBS    libsoup24_LIBS
# Line 1430  fi Line 1396  fi
1396  if test "$ac_init_help" = "recursive"; then  if test "$ac_init_help" = "recursive"; then
1397    # If there are subdirs, report their specific --help.    # If there are subdirs, report their specific --help.
1398    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1399      test -d "$ac_dir" ||      test -d "$ac_dir" || continue
       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||  
       continue  
1400      ac_builddir=.      ac_builddir=.
1401    
1402  case "$ac_dir" in  case "$ac_dir" in
1403  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1404  *)  *)
1405    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1406    # A ".." for each directory in $ac_dir_suffix.    # A ".." for each directory in $ac_dir_suffix.
1407    ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`    ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1408    case $ac_top_builddir_sub in    case $ac_top_builddir_sub in
1409    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
# Line 1476  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ Line 1440  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
1440        echo &&        echo &&
1441        $SHELL "$ac_srcdir/configure" --help=recursive        $SHELL "$ac_srcdir/configure" --help=recursive
1442      else      else
1443        $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1444      fi || ac_status=$?      fi || ac_status=$?
1445      cd "$ac_pwd" || { ac_status=$?; break; }      cd "$ac_pwd" || { ac_status=$?; break; }
1446    done    done
# Line 1485  fi Line 1449  fi
1449  test -n "$ac_init_help" && exit $ac_status  test -n "$ac_init_help" && exit $ac_status
1450  if $ac_init_version; then  if $ac_init_version; then
1451    cat <<\_ACEOF    cat <<\_ACEOF
1452  GPXView configure 0.9.1  GPXView configure 0.9.2
1453  generated by GNU Autoconf 2.63  generated by GNU Autoconf 2.61
1454    
1455  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1456  2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.  2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1457  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1458  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1459  _ACEOF  _ACEOF
# Line 1499  cat >config.log <<_ACEOF Line 1463  cat >config.log <<_ACEOF
1463  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
1464  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1465    
1466  It was created by GPXView $as_me 0.9.1, which was  It was created by GPXView $as_me 0.9.2, which was
1467  generated by GNU Autoconf 2.63.  Invocation command line was  generated by GNU Autoconf 2.61.  Invocation command line was
1468    
1469    $ $0 $@    $ $0 $@
1470    
# Line 1536  for as_dir in $PATH Line 1500  for as_dir in $PATH
1500  do  do
1501    IFS=$as_save_IFS    IFS=$as_save_IFS
1502    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1503    $as_echo "PATH: $as_dir"    echo "PATH: $as_dir"
1504  done  done
1505  IFS=$as_save_IFS  IFS=$as_save_IFS
1506    
# Line 1571  do Line 1535  do
1535      | -silent | --silent | --silen | --sile | --sil)      | -silent | --silent | --silen | --sile | --sil)
1536        continue ;;        continue ;;
1537      *\'*)      *\'*)
1538        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1539      esac      esac
1540      case $ac_pass in      case $ac_pass in
1541      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
# Line 1623  _ASBOX Line 1587  _ASBOX
1587      case $ac_val in #(      case $ac_val in #(
1588      *${as_nl}*)      *${as_nl}*)
1589        case $ac_var in #(        case $ac_var in #(
1590        *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5        *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1591  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;  echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1592        esac        esac
1593        case $ac_var in #(        case $ac_var in #(
1594        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(  
1595        *) $as_unset $ac_var ;;        *) $as_unset $ac_var ;;
1596        esac ;;        esac ;;
1597      esac      esac
# Line 1658  _ASBOX Line 1621  _ASBOX
1621      do      do
1622        eval ac_val=\$$ac_var        eval ac_val=\$$ac_var
1623        case $ac_val in        case $ac_val in
1624        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1625        esac        esac
1626        $as_echo "$ac_var='\''$ac_val'\''"        echo "$ac_var='\''$ac_val'\''"
1627      done | sort      done | sort
1628      echo      echo
1629    
# Line 1675  _ASBOX Line 1638  _ASBOX
1638        do        do
1639          eval ac_val=\$$ac_var          eval ac_val=\$$ac_var
1640          case $ac_val in          case $ac_val in
1641          *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;          *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1642          esac          esac
1643          $as_echo "$ac_var='\''$ac_val'\''"          echo "$ac_var='\''$ac_val'\''"
1644        done | sort        done | sort
1645        echo        echo
1646      fi      fi
# Line 1693  _ASBOX Line 1656  _ASBOX
1656        echo        echo
1657      fi      fi
1658      test "$ac_signal" != 0 &&      test "$ac_signal" != 0 &&
1659        $as_echo "$as_me: caught signal $ac_signal"        echo "$as_me: caught signal $ac_signal"
1660      $as_echo "$as_me: exit $exit_status"      echo "$as_me: exit $exit_status"
1661    } >&5    } >&5
1662    rm -f core *.core core.conftest.* &&    rm -f core *.core core.conftest.* &&
1663      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
# Line 1736  _ACEOF Line 1699  _ACEOF
1699    
1700    
1701  # Let the site file select an alternate cache file if it wants to.  # Let the site file select an alternate cache file if it wants to.
1702  # Prefer an explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
 ac_site_file1=NONE  
 ac_site_file2=NONE  
1703  if test -n "$CONFIG_SITE"; then  if test -n "$CONFIG_SITE"; then
1704    ac_site_file1=$CONFIG_SITE    set x "$CONFIG_SITE"
1705  elif test "x$prefix" != xNONE; then  elif test "x$prefix" != xNONE; then
1706    ac_site_file1=$prefix/share/config.site    set x "$prefix/share/config.site" "$prefix/etc/config.site"
   ac_site_file2=$prefix/etc/config.site  
1707  else  else
1708    ac_site_file1=$ac_default_prefix/share/config.site    set x "$ac_default_prefix/share/config.site" \
1709    ac_site_file2=$ac_default_prefix/etc/config.site          "$ac_default_prefix/etc/config.site"
1710  fi  fi
1711  for ac_site_file in "$ac_site_file1" "$ac_site_file2"  shift
1712    for ac_site_file
1713  do  do
   test "x$ac_site_file" = xNONE && continue  
1714    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
1715      { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1716  $as_echo "$as_me: loading site script $ac_site_file" >&6;}  echo "$as_me: loading site script $ac_site_file" >&6;}
1717      sed 's/^/| /' "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
1718      . "$ac_site_file"      . "$ac_site_file"
1719    fi    fi
# Line 1763  if test -r "$cache_file"; then Line 1723  if test -r "$cache_file"; then
1723    # Some versions of bash will fail to source /dev/null (special    # Some versions of bash will fail to source /dev/null (special
1724    # files actually), so we avoid doing that.    # files actually), so we avoid doing that.
1725    if test -f "$cache_file"; then    if test -f "$cache_file"; then
1726      { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5      { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1727  $as_echo "$as_me: loading cache $cache_file" >&6;}  echo "$as_me: loading cache $cache_file" >&6;}
1728      case $cache_file in      case $cache_file in
1729        [\\/]* | ?:[\\/]* ) . "$cache_file";;        [\\/]* | ?:[\\/]* ) . "$cache_file";;
1730        *)                      . "./$cache_file";;        *)                      . "./$cache_file";;
1731      esac      esac
1732    fi    fi
1733  else  else
1734    { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5    { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1735  $as_echo "$as_me: creating cache $cache_file" >&6;}  echo "$as_me: creating cache $cache_file" >&6;}
1736    >$cache_file    >$cache_file
1737  fi  fi
1738    
# Line 1786  for ac_var in $ac_precious_vars; do Line 1746  for ac_var in $ac_precious_vars; do
1746    eval ac_new_val=\$ac_env_${ac_var}_value    eval ac_new_val=\$ac_env_${ac_var}_value
1747    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
1748      set,)      set,)
1749        { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5        { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1750  $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1751        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
1752      ,set)      ,set)
1753        { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5        { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1754  $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1755        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
1756      ,);;      ,);;
1757      *)      *)
1758        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1759          # differences in whitespace do not lead to failure.          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1760          ac_old_val_w=`echo x $ac_old_val`  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1761          ac_new_val_w=`echo x $ac_new_val`          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1762          if test "$ac_old_val_w" != "$ac_new_val_w"; then  echo "$as_me:   former value:  $ac_old_val" >&2;}
1763            { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1764  $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1765            ac_cache_corrupted=:          ac_cache_corrupted=:
         else  
           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5  
 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}  
           eval $ac_var=\$ac_old_val  
         fi  
         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5  
 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}  
         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5  
 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}  
1766        fi;;        fi;;
1767    esac    esac
1768    # Pass precious variables to config.status.    # Pass precious variables to config.status.
1769    if test "$ac_new_set" = set; then    if test "$ac_new_set" = set; then
1770      case $ac_new_val in      case $ac_new_val in
1771      *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;      *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1772      *) ac_arg=$ac_var=$ac_new_val ;;      *) ac_arg=$ac_var=$ac_new_val ;;
1773      esac      esac
1774      case " $ac_configure_args " in      case " $ac_configure_args " in
# Line 1827  $as_echo "$as_me:   current value: \`$ac Line 1778  $as_echo "$as_me:   current value: \`$ac
1778    fi    fi
1779  done  done
1780  if $ac_cache_corrupted; then  if $ac_cache_corrupted; then
1781    { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5    { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1782  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1783    { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5    { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1784  $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5  
 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}  
1785     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1786  fi  fi
1787    
# Line 1882  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1831  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1831  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
1832    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1833  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
1834  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1835  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1836  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1837    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1838  else  else
1839    if test -n "$CC"; then    if test -n "$CC"; then
1840    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 1898  do Line 1847  do
1847    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1848    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1849      ac_cv_prog_CC="${ac_tool_prefix}gcc"      ac_cv_prog_CC="${ac_tool_prefix}gcc"
1850      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1851      break 2      break 2
1852    fi    fi
1853  done  done
# Line 1909  fi Line 1858  fi
1858  fi  fi
1859  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1860  if test -n "$CC"; then  if test -n "$CC"; then
1861    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
1862  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
1863  else  else
1864    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
1865  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
1866  fi  fi
1867    
1868    
# Line 1922  if test -z "$ac_cv_prog_CC"; then Line 1871  if test -z "$ac_cv_prog_CC"; then
1871    ac_ct_CC=$CC    ac_ct_CC=$CC
1872    # Extract the first word of "gcc", so it can be a program name with args.    # Extract the first word of "gcc", so it can be a program name with args.
1873  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1874  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1875  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1876  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1877    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1878  else  else
1879    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
1880    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
# Line 1938  do Line 1887  do
1887    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1888    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1889      ac_cv_prog_ac_ct_CC="gcc"      ac_cv_prog_ac_ct_CC="gcc"
1890      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1891      break 2      break 2
1892    fi    fi
1893  done  done
# Line 1949  fi Line 1898  fi
1898  fi  fi
1899  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1900  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1901    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1902  $as_echo "$ac_ct_CC" >&6; }  echo "${ECHO_T}$ac_ct_CC" >&6; }
1903  else  else
1904    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
1905  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
1906  fi  fi
1907    
1908    if test "x$ac_ct_CC" = x; then    if test "x$ac_ct_CC" = x; then
# Line 1961  fi Line 1910  fi
1910    else    else
1911      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
1912  yes:)  yes:)
1913  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5  { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1914  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  whose name does not start with the host triplet.  If you think this
1915    configuration is useful to you, please write to autoconf@gnu.org." >&5
1916    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1917    whose name does not start with the host triplet.  If you think this
1918    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1919  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
1920  esac  esac
1921      CC=$ac_ct_CC      CC=$ac_ct_CC
# Line 1975  if test -z "$CC"; then Line 1928  if test -z "$CC"; then
1928            if test -n "$ac_tool_prefix"; then            if test -n "$ac_tool_prefix"; then
1929      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1930  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
1931  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1932  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1933  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1934    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1935  else  else
1936    if test -n "$CC"; then    if test -n "$CC"; then
1937    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 1991  do Line 1944  do
1944    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1945    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1946      ac_cv_prog_CC="${ac_tool_prefix}cc"      ac_cv_prog_CC="${ac_tool_prefix}cc"
1947      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1948      break 2      break 2
1949    fi    fi
1950  done  done
# Line 2002  fi Line 1955  fi
1955  fi  fi
1956  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1957  if test -n "$CC"; then  if test -n "$CC"; then
1958    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
1959  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
1960  else  else
1961    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
1962  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
1963  fi  fi
1964    
1965    
# Line 2015  fi Line 1968  fi
1968  if test -z "$CC"; then  if test -z "$CC"; then
1969    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
1970  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1971  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1972  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1973  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1974    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1975  else  else
1976    if test -n "$CC"; then    if test -n "$CC"; then
1977    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 2036  do Line 1989  do
1989         continue         continue
1990       fi       fi
1991      ac_cv_prog_CC="cc"      ac_cv_prog_CC="cc"
1992      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993      break 2      break 2
1994    fi    fi
1995  done  done
# Line 2059  fi Line 2012  fi
2012  fi  fi
2013  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2014  if test -n "$CC"; then  if test -n "$CC"; then
2015    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
2016  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
2017  else  else
2018    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2019  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2020  fi  fi
2021    
2022    
# Line 2074  if test -z "$CC"; then Line 2027  if test -z "$CC"; then
2027    do    do
2028      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2029  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2030  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2031  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2032  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2033    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2034  else  else
2035    if test -n "$CC"; then    if test -n "$CC"; then
2036    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 2090  do Line 2043  do
2043    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2044    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2045      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2046      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2047      break 2      break 2
2048    fi    fi
2049  done  done
# Line 2101  fi Line 2054  fi
2054  fi  fi
2055  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2056  if test -n "$CC"; then  if test -n "$CC"; then
2057    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
2058  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
2059  else  else
2060    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2061  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2062  fi  fi
2063    
2064    
# Line 2118  if test -z "$CC"; then Line 2071  if test -z "$CC"; then
2071  do  do
2072    # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
2073  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2074  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2075  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2076  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2077    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2078  else  else
2079    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
2080    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
# Line 2134  do Line 2087  do
2087    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2088    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2089      ac_cv_prog_ac_ct_CC="$ac_prog"      ac_cv_prog_ac_ct_CC="$ac_prog"
2090      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2091      break 2      break 2
2092    fi    fi
2093  done  done
# Line 2145  fi Line 2098  fi
2098  fi  fi
2099  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2100  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2101    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2102  $as_echo "$ac_ct_CC" >&6; }  echo "${ECHO_T}$ac_ct_CC" >&6; }
2103  else  else
2104    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2105  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2106  fi  fi
2107    
2108    
# Line 2161  done Line 2114  done
2114    else    else
2115      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2116  yes:)  yes:)
2117  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5  { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2118  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  whose name does not start with the host triplet.  If you think this
2119    configuration is useful to you, please write to autoconf@gnu.org." >&5
2120    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2121    whose name does not start with the host triplet.  If you think this
2122    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2123  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2124  esac  esac
2125      CC=$ac_ct_CC      CC=$ac_ct_CC
# Line 2172  fi Line 2129  fi
2129  fi  fi
2130    
2131    
2132  test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH  
2133  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2134  $as_echo "$as_me: error: no acceptable C compiler found in \$PATH  echo "$as_me: error: no acceptable C compiler found in \$PATH
2135  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2136     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
2137    
2138  # Provide some information about the compiler.  # Provide some information about the compiler.
2139  $as_echo "$as_me:$LINENO: checking for C compiler version" >&5  echo "$as_me:$LINENO: checking for C compiler version" >&5
2140  set X $ac_compile  ac_compiler=`set X $ac_compile; echo $2`
 ac_compiler=$2  
2141  { (ac_try="$ac_compiler --version >&5"  { (ac_try="$ac_compiler --version >&5"
2142  case "(($ac_try" in  case "(($ac_try" in
2143    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2144    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2145  esac  esac
2146  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2147    (eval "$ac_compiler --version >&5") 2>&5    (eval "$ac_compiler --version >&5") 2>&5
2148    ac_status=$?    ac_status=$?
2149    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2150    (exit $ac_status); }    (exit $ac_status); }
2151  { (ac_try="$ac_compiler -v >&5"  { (ac_try="$ac_compiler -v >&5"
2152  case "(($ac_try" in  case "(($ac_try" in
2153    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2154    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2155  esac  esac
2156  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2157    (eval "$ac_compiler -v >&5") 2>&5    (eval "$ac_compiler -v >&5") 2>&5
2158    ac_status=$?    ac_status=$?
2159    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160    (exit $ac_status); }    (exit $ac_status); }
2161  { (ac_try="$ac_compiler -V >&5"  { (ac_try="$ac_compiler -V >&5"
2162  case "(($ac_try" in  case "(($ac_try" in
2163    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2164    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2165  esac  esac
2166  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2167    (eval "$ac_compiler -V >&5") 2>&5    (eval "$ac_compiler -V >&5") 2>&5
2168    ac_status=$?    ac_status=$?
2169    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170    (exit $ac_status); }    (exit $ac_status); }
2171    
2172  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
# Line 2234  main () Line 2185  main ()
2185  }  }
2186  _ACEOF  _ACEOF
2187  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
2188  ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"  ac_clean_files="$ac_clean_files a.out a.exe b.out"
2189  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2190  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2191  # of exeext.  # of exeext.
2192  { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5  { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2193  $as_echo_n "checking for C compiler default output file name... " >&6; }  echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2194  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2195    #
2196  # The possible output files:  # List of possible output files, starting from the most likely.
2197  ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"  # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2198    # only as a last resort.  b.out is created by i960 compilers.
2199    ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2200    #
2201    # The IRIX 6 linker writes into existing files which may not be
2202    # executable, retaining their permissions.  Remove them first so a
2203    # subsequent execution test works.
2204  ac_rmfiles=  ac_rmfiles=
2205  for ac_file in $ac_files  for ac_file in $ac_files
2206  do  do
2207    case $ac_file in    case $ac_file in
2208      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2209      * ) ac_rmfiles="$ac_rmfiles $ac_file";;      * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2210    esac    esac
2211  done  done
# Line 2260  case "(($ac_try" in Line 2216  case "(($ac_try" in
2216    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2217    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2218  esac  esac
2219  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2220    (eval "$ac_link_default") 2>&5    (eval "$ac_link_default") 2>&5
2221    ac_status=$?    ac_status=$?
2222    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223    (exit $ac_status); }; then    (exit $ac_status); }; then
2224    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2225  # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'  # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
# Line 2275  for ac_file in $ac_files '' Line 2230  for ac_file in $ac_files ''
2230  do  do
2231    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2232    case $ac_file in    case $ac_file in
2233      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2234          ;;          ;;
2235      [ab].out )      [ab].out )
2236          # We found the default executable, but exeext='' is most          # We found the default executable, but exeext='' is most
# Line 2302  else Line 2257  else
2257    ac_file=''    ac_file=''
2258  fi  fi
2259    
2260  { $as_echo "$as_me:$LINENO: result: $ac_file" >&5  { echo "$as_me:$LINENO: result: $ac_file" >&5
2261  $as_echo "$ac_file" >&6; }  echo "${ECHO_T}$ac_file" >&6; }
2262  if test -z "$ac_file"; then  if test -z "$ac_file"; then
2263    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2264  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2265    
2266  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  { { echo "$as_me:$LINENO: error: C compiler cannot create executables
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables  
2267  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2268  $as_echo "$as_me: error: C compiler cannot create executables  echo "$as_me: error: C compiler cannot create executables
2269  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2270     { (exit 77); exit 77; }; }; }     { (exit 77); exit 77; }; }
2271  fi  fi
2272    
2273  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2274    
2275  # Check that the compiler produces executables we can run.  If not, either  # Check that the compiler produces executables we can run.  If not, either
2276  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2277  { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5  { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2278  $as_echo_n "checking whether the C compiler works... " >&6; }  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2279  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2280  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
2281  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
# Line 2331  if test "$cross_compiling" != yes; then Line 2284  if test "$cross_compiling" != yes; then
2284    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2285    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2286  esac  esac
2287  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2288    (eval "$ac_try") 2>&5    (eval "$ac_try") 2>&5
2289    ac_status=$?    ac_status=$?
2290    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2292      cross_compiling=no      cross_compiling=no
2293    else    else
2294      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
2295          cross_compiling=yes          cross_compiling=yes
2296      else      else
2297          { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5          { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.  
2298  If you meant to cross compile, use \`--host'.  If you meant to cross compile, use \`--host'.
2299  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2300  $as_echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
2301  If you meant to cross compile, use \`--host'.  If you meant to cross compile, use \`--host'.
2302  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2303     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
2304      fi      fi
2305    fi    fi
2306  fi  fi
2307  { $as_echo "$as_me:$LINENO: result: yes" >&5  { echo "$as_me:$LINENO: result: yes" >&5
2308  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
2309    
2310  rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out  rm -f a.out a.exe conftest$ac_cv_exeext b.out
2311  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2312  # Check that the compiler produces executables we can run.  If not, either  # Check that the compiler produces executables we can run.  If not, either
2313  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2314  { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5  { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2315  $as_echo_n "checking whether we are cross compiling... " >&6; }  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2316  { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5  { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2317  $as_echo "$cross_compiling" >&6; }  echo "${ECHO_T}$cross_compiling" >&6; }
2318    
2319  { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5  { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2320  $as_echo_n "checking for suffix of executables... " >&6; }  echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2321  if { (ac_try="$ac_link"  if { (ac_try="$ac_link"
2322  case "(($ac_try" in  case "(($ac_try" in
2323    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2324    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2325  esac  esac
2326  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2327    (eval "$ac_link") 2>&5    (eval "$ac_link") 2>&5
2328    ac_status=$?    ac_status=$?
2329    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330    (exit $ac_status); }; then    (exit $ac_status); }; then
2331    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2332  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 2386  $as_echo "$ac_try_echo") >&5 Line 2335  $as_echo "$ac_try_echo") >&5
2335  for ac_file in conftest.exe conftest conftest.*; do  for ac_file in conftest.exe conftest conftest.*; do
2336    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2337    case $ac_file in    case $ac_file in
2338      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2339      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2340            break;;            break;;
2341      * ) break;;      * ) break;;
2342    esac    esac
2343  done  done
2344  else  else
2345    { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5    { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link  
2346  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2347  $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link  echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2348  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2349     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
2350  fi  fi
2351    
2352  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
2353  { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5  { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2354  $as_echo "$ac_cv_exeext" >&6; }  echo "${ECHO_T}$ac_cv_exeext" >&6; }
2355    
2356  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2357  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2358  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2359  { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5  { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2360  $as_echo_n "checking for suffix of object files... " >&6; }  echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2361  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
2362    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2363  else  else
2364    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2365  /* confdefs.h.  */  /* confdefs.h.  */
# Line 2435  case "(($ac_try" in Line 2382  case "(($ac_try" in
2382    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2383    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2384  esac  esac
2385  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2386    (eval "$ac_compile") 2>&5    (eval "$ac_compile") 2>&5
2387    ac_status=$?    ac_status=$?
2388    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389    (exit $ac_status); }; then    (exit $ac_status); }; then
2390    for ac_file in conftest.o conftest.obj conftest.*; do    for ac_file in conftest.o conftest.obj conftest.*; do
2391    test -f "$ac_file" || continue;    test -f "$ac_file" || continue;
2392    case $ac_file in    case $ac_file in
2393      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2394      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2395         break;;         break;;
2396    esac    esac
2397  done  done
2398  else  else
2399    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2400  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2401    
2402  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile  
2403  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2404  $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile  echo "$as_me: error: cannot compute suffix of object files: cannot compile
2405  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2406     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
2407  fi  fi
2408    
2409  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2410  fi  fi
2411  { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5  { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2412  $as_echo "$ac_cv_objext" >&6; }  echo "${ECHO_T}$ac_cv_objext" >&6; }
2413  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2414  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2415  { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5  { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2416  $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2417  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2418    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2419  else  else
2420    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2421  /* confdefs.h.  */  /* confdefs.h.  */
# Line 2497  case "(($ac_try" in Line 2441  case "(($ac_try" in
2441    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2442    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2443  esac  esac
2444  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2445    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2446    ac_status=$?    ac_status=$?
2447    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2448    rm -f conftest.er1    rm -f conftest.er1
2449    cat conftest.err >&5    cat conftest.err >&5
2450    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451    (exit $ac_status); } && {    (exit $ac_status); } && {
2452           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2453           test ! -s conftest.err           test ! -s conftest.err
2454         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2455    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2456  else  else
2457    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2458  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2459    
2460          ac_compiler_gnu=no          ac_compiler_gnu=no
# Line 2521  rm -f core conftest.err conftest.$ac_obj Line 2464  rm -f core conftest.err conftest.$ac_obj
2464  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2465    
2466  fi  fi
2467  { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5  { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2468  $as_echo "$ac_cv_c_compiler_gnu" >&6; }  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2469  if test $ac_compiler_gnu = yes; then  GCC=`test $ac_compiler_gnu = yes && echo yes`
   GCC=yes  
 else  
   GCC=  
 fi  
2470  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2471  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2472  { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5  { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2473  $as_echo_n "checking whether $CC accepts -g... " >&6; }  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2474  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2475    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2476  else  else
2477    ac_save_c_werror_flag=$ac_c_werror_flag    ac_save_c_werror_flag=$ac_c_werror_flag
2478     ac_c_werror_flag=yes     ac_c_werror_flag=yes
# Line 2560  case "(($ac_try" in Line 2499  case "(($ac_try" in
2499    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2500    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2501  esac  esac
2502  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2503    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2504    ac_status=$?    ac_status=$?
2505    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2506    rm -f conftest.er1    rm -f conftest.er1
2507    cat conftest.err >&5    cat conftest.err >&5
2508    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509    (exit $ac_status); } && {    (exit $ac_status); } && {
2510           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2511           test ! -s conftest.err           test ! -s conftest.err
2512         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2513    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2514  else  else
2515    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2516  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2517    
2518          CFLAGS=""          CFLAGS=""
# Line 2599  case "(($ac_try" in Line 2537  case "(($ac_try" in
2537    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2539  esac  esac
2540  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2541    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2542    ac_status=$?    ac_status=$?
2543    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2544    rm -f conftest.er1    rm -f conftest.er1
2545    cat conftest.err >&5    cat conftest.err >&5
2546    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547    (exit $ac_status); } && {    (exit $ac_status); } && {
2548           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2549           test ! -s conftest.err           test ! -s conftest.err
2550         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2551    :    :
2552  else  else
2553    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2554  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2555    
2556          ac_c_werror_flag=$ac_save_c_werror_flag          ac_c_werror_flag=$ac_save_c_werror_flag
# Line 2639  case "(($ac_try" in Line 2576  case "(($ac_try" in
2576    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2577    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2578  esac  esac
2579  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2580    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2581    ac_status=$?    ac_status=$?
2582    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2583    rm -f conftest.er1    rm -f conftest.er1
2584    cat conftest.err >&5    cat conftest.err >&5
2585    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586    (exit $ac_status); } && {    (exit $ac_status); } && {
2587           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2588           test ! -s conftest.err           test ! -s conftest.err
2589         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2590    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2591  else  else
2592    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2593  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2594    
2595    
# Line 2668  fi Line 2604  fi
2604  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2605     ac_c_werror_flag=$ac_save_c_werror_flag     ac_c_werror_flag=$ac_save_c_werror_flag
2606  fi  fi
2607  { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2608  $as_echo "$ac_cv_prog_cc_g" >&6; }  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2609  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2610    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
2611  elif test $ac_cv_prog_cc_g = yes; then  elif test $ac_cv_prog_cc_g = yes; then
# Line 2685  else Line 2621  else
2621      CFLAGS=      CFLAGS=
2622    fi    fi
2623  fi  fi
2624  { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5  { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2625  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }  echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2626  if test "${ac_cv_prog_cc_c89+set}" = set; then  if test "${ac_cv_prog_cc_c89+set}" = set; then
2627    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2628  else  else
2629    ac_cv_prog_cc_c89=no    ac_cv_prog_cc_c89=no
2630  ac_save_CC=$CC  ac_save_CC=$CC
# Line 2759  case "(($ac_try" in Line 2695  case "(($ac_try" in
2695    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2696    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2697  esac  esac
2698  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2699    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2700    ac_status=$?    ac_status=$?
2701    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2702    rm -f conftest.er1    rm -f conftest.er1
2703    cat conftest.err >&5    cat conftest.err >&5
2704    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705    (exit $ac_status); } && {    (exit $ac_status); } && {
2706           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2707           test ! -s conftest.err           test ! -s conftest.err
2708         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2709    ac_cv_prog_cc_c89=$ac_arg    ac_cv_prog_cc_c89=$ac_arg
2710  else  else
2711    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2712  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2713    
2714    
# Line 2789  fi Line 2724  fi
2724  # AC_CACHE_VAL  # AC_CACHE_VAL
2725  case "x$ac_cv_prog_cc_c89" in  case "x$ac_cv_prog_cc_c89" in
2726    x)    x)
2727      { $as_echo "$as_me:$LINENO: result: none needed" >&5      { echo "$as_me:$LINENO: result: none needed" >&5
2728  $as_echo "none needed" >&6; } ;;  echo "${ECHO_T}none needed" >&6; } ;;
2729    xno)    xno)
2730      { $as_echo "$as_me:$LINENO: result: unsupported" >&5      { echo "$as_me:$LINENO: result: unsupported" >&5
2731  $as_echo "unsupported" >&6; } ;;  echo "${ECHO_T}unsupported" >&6; } ;;
2732    *)    *)
2733      CC="$CC $ac_cv_prog_cc_c89"      CC="$CC $ac_cv_prog_cc_c89"
2734      { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5      { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2735  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;  echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2736  esac  esac
2737    
2738    
# Line 2824  for ac_dir in "$srcdir" "$srcdir/.." "$s Line 2759  for ac_dir in "$srcdir" "$srcdir/.." "$s
2759    fi    fi
2760  done  done
2761  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
2762    { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5    { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2763  $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}  echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2764     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2765  fi  fi
2766    
# Line 2851  ac_configure="$SHELL $ac_aux_dir/configu Line 2786  ac_configure="$SHELL $ac_aux_dir/configu
2786  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2787  # OS/2's system install, which has a completely different semantic  # OS/2's system install, which has a completely different semantic
2788  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2789  # Reject install programs that cannot install multiple files.  { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2790  { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 $as_echo_n "checking for a BSD-compatible install... " >&6; }  
2791  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
2792  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
2793    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2794  else  else
2795    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2796  for as_dir in $PATH  for as_dir in $PATH
# Line 2885  case $as_dir/ in Line 2819  case $as_dir/ in
2819              # program-specific install script used by HP pwplus--don't use.              # program-specific install script used by HP pwplus--don't use.
2820              :              :
2821            else            else
2822              rm -rf conftest.one conftest.two conftest.dir              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2823              echo one > conftest.one              break 3
             echo two > conftest.two  
             mkdir conftest.dir  
             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&  
               test -s conftest.one && test -s conftest.two &&  
               test -s conftest.dir/conftest.one &&  
               test -s conftest.dir/conftest.two  
             then  
               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"  
               break 3  
             fi  
2824            fi            fi
2825          fi          fi
2826        done        done
2827      done      done
2828      ;;      ;;
2829  esac  esac
   
2830  done  done
2831  IFS=$as_save_IFS  IFS=$as_save_IFS
2832    
 rm -rf conftest.one conftest.two conftest.dir  
2833    
2834  fi  fi
2835    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
# Line 2920  fi Line 2842  fi
2842      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
2843    fi    fi
2844  fi  fi
2845  { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5  { echo "$as_me:$LINENO: result: $INSTALL" >&5
2846  $as_echo "$INSTALL" >&6; }  echo "${ECHO_T}$INSTALL" >&6; }
2847    
2848  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2849  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
# Line 2931  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 2853  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2853    
2854  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2855    
2856  { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5  { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2857  $as_echo_n "checking whether ln -s works... " >&6; }  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2858  LN_S=$as_ln_s  LN_S=$as_ln_s
2859  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
2860    { $as_echo "$as_me:$LINENO: result: yes" >&5    { echo "$as_me:$LINENO: result: yes" >&5
2861  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
2862  else  else
2863    { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5    { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2864  $as_echo "no, using $LN_S" >&6; }  echo "${ECHO_T}no, using $LN_S" >&6; }
2865  fi  fi
2866    
2867  { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2868  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2869  set x ${MAKE-make}  set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`  
2870  if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then  if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2871    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2872  else  else
2873    cat >conftest.make <<\_ACEOF    cat >conftest.make <<\_ACEOF
2874  SHELL = /bin/sh  SHELL = /bin/sh
# Line 2964  esac Line 2885  esac
2885  rm -f conftest.make  rm -f conftest.make
2886  fi  fi
2887  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2888    { $as_echo "$as_me:$LINENO: result: yes" >&5    { echo "$as_me:$LINENO: result: yes" >&5
2889  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
2890    SET_MAKE=    SET_MAKE=
2891  else  else
2892    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2893  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2894    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
2895  fi  fi
2896    
# Line 3002  if test "x$ac_cv_env_PKG_CONFIG_set" != Line 2923  if test "x$ac_cv_env_PKG_CONFIG_set" !=
2923          if test -n "$ac_tool_prefix"; then          if test -n "$ac_tool_prefix"; then
2924    # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2925  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2926  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2927  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2928  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2929    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2930  else  else
2931    case $PKG_CONFIG in    case $PKG_CONFIG in
2932    [\\/]* | ?:[\\/]*)    [\\/]* | ?:[\\/]*)
# Line 3020  do Line 2941  do
2941    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2942    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2943      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2944      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2945      break 2      break 2
2946    fi    fi
2947  done  done
# Line 3032  esac Line 2953  esac
2953  fi  fi
2954  PKG_CONFIG=$ac_cv_path_PKG_CONFIG  PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2955  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
2956    { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5    { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2957  $as_echo "$PKG_CONFIG" >&6; }  echo "${ECHO_T}$PKG_CONFIG" >&6; }
2958  else  else
2959    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2960  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2961  fi  fi
2962    
2963    
# Line 3045  if test -z "$ac_cv_path_PKG_CONFIG"; the Line 2966  if test -z "$ac_cv_path_PKG_CONFIG"; the
2966    ac_pt_PKG_CONFIG=$PKG_CONFIG    ac_pt_PKG_CONFIG=$PKG_CONFIG
2967    # Extract the first word of "pkg-config", so it can be a program name with args.    # Extract the first word of "pkg-config", so it can be a program name with args.
2968  set dummy pkg-config; ac_word=$2  set dummy pkg-config; ac_word=$2
2969  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2970  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2971  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2972    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2973  else  else
2974    case $ac_pt_PKG_CONFIG in    case $ac_pt_PKG_CONFIG in
2975    [\\/]* | ?:[\\/]*)    [\\/]* | ?:[\\/]*)
# Line 3063  do Line 2984  do
2984    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2985    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986      ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2987      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2988      break 2      break 2
2989    fi    fi
2990  done  done
# Line 3075  esac Line 2996  esac
2996  fi  fi
2997  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2998  if test -n "$ac_pt_PKG_CONFIG"; then  if test -n "$ac_pt_PKG_CONFIG"; then
2999    { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5    { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3000  $as_echo "$ac_pt_PKG_CONFIG" >&6; }  echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3001  else  else
3002    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
3003  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3004  fi  fi
3005    
3006    if test "x$ac_pt_PKG_CONFIG" = x; then    if test "x$ac_pt_PKG_CONFIG" = x; then
# Line 3087  fi Line 3008  fi
3008    else    else
3009      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
3010  yes:)  yes:)
3011  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5  { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3012  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  whose name does not start with the host triplet.  If you think this
3013    configuration is useful to you, please write to autoconf@gnu.org." >&5
3014    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3015    whose name does not start with the host triplet.  If you think this
3016    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3017  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
3018  esac  esac
3019      PKG_CONFIG=$ac_pt_PKG_CONFIG      PKG_CONFIG=$ac_pt_PKG_CONFIG
# Line 3100  fi Line 3025  fi
3025  fi  fi
3026  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3027          _pkg_min_version=0.9.0          _pkg_min_version=0.9.0
3028          { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5          { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3029  $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }  echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3030          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3031                  { $as_echo "$as_me:$LINENO: result: yes" >&5                  { echo "$as_me:$LINENO: result: yes" >&5
3032  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3033          else          else
3034                  { $as_echo "$as_me:$LINENO: result: no" >&5                  { echo "$as_me:$LINENO: result: no" >&5
3035  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3036                  PKG_CONFIG=""                  PKG_CONFIG=""
3037          fi          fi
3038    
3039  fi  fi
3040    
3041  pkg_failed=no  pkg_failed=no
3042  { $as_echo "$as_me:$LINENO: checking for gnome_vfs_module" >&5  { echo "$as_me:$LINENO: checking for gnome_vfs_module" >&5
3043  $as_echo_n "checking for gnome_vfs_module... " >&6; }  echo $ECHO_N "checking for gnome_vfs_module... $ECHO_C" >&6; }
3044    
3045  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3046      if test -n "$gnome_vfs_module_CFLAGS"; then      if test -n "$gnome_vfs_module_CFLAGS"; then
3047          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"
3048      else      else
3049          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3050      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5
3051    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3052    ac_status=$?    ac_status=$?
3053    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054    (exit $ac_status); }; then    (exit $ac_status); }; then
3055    pkg_cv_gnome_vfs_module_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-module-2.0" 2>/dev/null`    pkg_cv_gnome_vfs_module_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-module-2.0" 2>/dev/null`
3056  else  else
# Line 3140  if test -n "$PKG_CONFIG"; then Line 3065  if test -n "$PKG_CONFIG"; then
3065          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"
3066      else      else
3067          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3068      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5
3069    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3070    ac_status=$?    ac_status=$?
3071    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072    (exit $ac_status); }; then    (exit $ac_status); }; then
3073    pkg_cv_gnome_vfs_module_LIBS=`$PKG_CONFIG --libs "gnome-vfs-module-2.0" 2>/dev/null`    pkg_cv_gnome_vfs_module_LIBS=`$PKG_CONFIG --libs "gnome-vfs-module-2.0" 2>/dev/null`
3074  else  else
# Line 3171  fi Line 3096  fi
3096          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3097          echo "$gnome_vfs_module_PKG_ERRORS" >&5          echo "$gnome_vfs_module_PKG_ERRORS" >&5
3098    
3099          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3100  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3101                  { { $as_echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5                  { { echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5
3102  $as_echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}  echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}
3103     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3104  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3105          { { $as_echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5          { { echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5
3106  $as_echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}  echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}
3107     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3108  else  else
3109          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS
3110          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS
3111          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3112  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3113          :          :
3114  fi  fi
3115  CFLAGS="$CFLAGS $gnome_vfs_module_CFLAGS"  CFLAGS="$CFLAGS $gnome_vfs_module_CFLAGS"
# Line 3193  LIBS="$LIBS $gnome_vfs_module_LIBS" Line 3118  LIBS="$LIBS $gnome_vfs_module_LIBS"
3118  # check for libxml-2.0  # check for libxml-2.0
3119    
3120  pkg_failed=no  pkg_failed=no
3121  { $as_echo "$as_me:$LINENO: checking for libxml2" >&5  { echo "$as_me:$LINENO: checking for libxml2" >&5
3122  $as_echo_n "checking for libxml2... " >&6; }  echo $ECHO_N "checking for libxml2... $ECHO_C" >&6; }
3123    
3124  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3125      if test -n "$libxml2_CFLAGS"; then      if test -n "$libxml2_CFLAGS"; then
3126          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"
3127      else      else
3128          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3129      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
3130    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3131    ac_status=$?    ac_status=$?
3132    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133    (exit $ac_status); }; then    (exit $ac_status); }; then
3134    pkg_cv_libxml2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`    pkg_cv_libxml2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
3135  else  else
# Line 3219  if test -n "$PKG_CONFIG"; then Line 3144  if test -n "$PKG_CONFIG"; then
3144          pkg_cv_libxml2_LIBS="$libxml2_LIBS"          pkg_cv_libxml2_LIBS="$libxml2_LIBS"
3145      else      else
3146          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3147      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
3148    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3149    ac_status=$?    ac_status=$?
3150    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151    (exit $ac_status); }; then    (exit $ac_status); }; then
3152    pkg_cv_libxml2_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`    pkg_cv_libxml2_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
3153  else  else
# Line 3250  fi Line 3175  fi
3175          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3176          echo "$libxml2_PKG_ERRORS" >&5          echo "$libxml2_PKG_ERRORS" >&5
3177    
3178          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3179  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3180                  { { $as_echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5                  { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5
3181  $as_echo "$as_me: error: libxml-2.0 missing" >&2;}  echo "$as_me: error: libxml-2.0 missing" >&2;}
3182     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3183  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3184          { { $as_echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5          { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5
3185  $as_echo "$as_me: error: libxml-2.0 missing" >&2;}  echo "$as_me: error: libxml-2.0 missing" >&2;}
3186     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3187  else  else
3188          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS
3189          libxml2_LIBS=$pkg_cv_libxml2_LIBS          libxml2_LIBS=$pkg_cv_libxml2_LIBS
3190          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3191  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3192          :          :
3193  fi  fi
3194  CFLAGS="$CFLAGS $libxml2_CFLAGS"  CFLAGS="$CFLAGS $libxml2_CFLAGS"
# Line 3272  LIBS="$LIBS $libxml2_LIBS" Line 3197  LIBS="$LIBS $libxml2_LIBS"
3197  # check for libcurl  # check for libcurl
3198    
3199  pkg_failed=no  pkg_failed=no
3200  { $as_echo "$as_me:$LINENO: checking for libcurl" >&5  { echo "$as_me:$LINENO: checking for libcurl" >&5
3201  $as_echo_n "checking for libcurl... " >&6; }  echo $ECHO_N "checking for libcurl... $ECHO_C" >&6; }
3202    
3203  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3204      if test -n "$libcurl_CFLAGS"; then      if test -n "$libcurl_CFLAGS"; then
3205          pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"          pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
3206      else      else
3207          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3208      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
3209    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3210    ac_status=$?    ac_status=$?
3211    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212    (exit $ac_status); }; then    (exit $ac_status); }; then
3213    pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`    pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
3214  else  else
# Line 3298  if test -n "$PKG_CONFIG"; then Line 3223  if test -n "$PKG_CONFIG"; then
3223          pkg_cv_libcurl_LIBS="$libcurl_LIBS"          pkg_cv_libcurl_LIBS="$libcurl_LIBS"
3224      else      else
3225          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3226      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
3227    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3228    ac_status=$?    ac_status=$?
3229    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230    (exit $ac_status); }; then    (exit $ac_status); }; then
3231    pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`    pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
3232  else  else
# Line 3329  fi Line 3254  fi
3254          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3255          echo "$libcurl_PKG_ERRORS" >&5          echo "$libcurl_PKG_ERRORS" >&5
3256    
3257          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3258  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3259                  { { $as_echo "$as_me:$LINENO: error: libcurl missing" >&5                  { { echo "$as_me:$LINENO: error: libcurl missing" >&5
3260  $as_echo "$as_me: error: libcurl missing" >&2;}  echo "$as_me: error: libcurl missing" >&2;}
3261     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3262  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3263          { { $as_echo "$as_me:$LINENO: error: libcurl missing" >&5          { { echo "$as_me:$LINENO: error: libcurl missing" >&5
3264  $as_echo "$as_me: error: libcurl missing" >&2;}  echo "$as_me: error: libcurl missing" >&2;}
3265     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3266  else  else
3267          libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS          libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
3268          libcurl_LIBS=$pkg_cv_libcurl_LIBS          libcurl_LIBS=$pkg_cv_libcurl_LIBS
3269          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3270  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3271          :          :
3272  fi  fi
3273  CFLAGS="$CFLAGS $libcurl_CFLAGS"  CFLAGS="$CFLAGS $libcurl_CFLAGS"
3274  LIBS="$LIBS $libcurl_LIBS"  LIBS="$LIBS $libcurl_LIBS"
3275    
3276  # check for libsoup  # check for libespeak (consider moving this to maemo5)
   
 pkg_failed=no  
 { $as_echo "$as_me:$LINENO: checking for libsoup24" >&5  
 $as_echo_n "checking for libsoup24... " >&6; }  
3277    
3278  if test -n "$PKG_CONFIG"; then  ac_ext=c
3279      if test -n "$libsoup24_CFLAGS"; then  ac_cpp='$CPP $CPPFLAGS'
3280          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3281      else  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3282          if test -n "$PKG_CONFIG" && \  ac_compiler_gnu=$ac_cv_c_compiler_gnu
3283      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5  { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3284    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3285    ac_status=$?  # On Suns, sometimes $CPP names a directory.
3286    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5  if test -n "$CPP" && test -d "$CPP"; then
3287    (exit $ac_status); }; then    CPP=
3288    pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`  fi
3289  else  if test -z "$CPP"; then
3290    pkg_failed=yes    if test "${ac_cv_prog_CPP+set}" = set; then
3291  fi    echo $ECHO_N "(cached) $ECHO_C" >&6
     fi  
3292  else  else
3293          pkg_failed=untried        # Double quotes because CPP needs to be expanded
3294  fi      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3295  if test -n "$PKG_CONFIG"; then      do
3296      if test -n "$libsoup24_LIBS"; then        ac_preproc_ok=false
3297          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"  for ac_c_preproc_warn_flag in '' yes
3298      else  do
3299      # Use a header file that comes with gcc, so configuring glibc
3300      # with a fresh cross-compiler works.
3301      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3302      # <limits.h> exists even on freestanding compilers.
3303      # On the NeXT, cc -E runs the code through the compiler's parser,
3304      # not just through cpp. "Syntax error" is here to catch this case.
3305      cat >conftest.$ac_ext <<_ACEOF
3306    /* confdefs.h.  */
3307    _ACEOF
3308    cat confdefs.h >>conftest.$ac_ext
3309    cat >>conftest.$ac_ext <<_ACEOF
3310    /* end confdefs.h.  */
3311    #ifdef __STDC__
3312    # include <limits.h>
3313    #else
3314    # include <assert.h>
3315    #endif
3316                         Syntax error
3317    _ACEOF
3318    if { (ac_try="$ac_cpp conftest.$ac_ext"
3319    case "(($ac_try" in
3320      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321      *) ac_try_echo=$ac_try;;
3322    esac
3323    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3324      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3325      ac_status=$?
3326      grep -v '^ *+' conftest.er1 >conftest.err
3327      rm -f conftest.er1
3328      cat conftest.err >&5
3329      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330      (exit $ac_status); } >/dev/null && {
3331             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3332             test ! -s conftest.err
3333           }; then
3334      :
3335    else
3336      echo "$as_me: failed program was:" >&5
3337    sed 's/^/| /' conftest.$ac_ext >&5
3338    
3339      # Broken: fails on valid input.
3340    continue
3341    fi
3342    
3343    rm -f conftest.err conftest.$ac_ext
3344    
3345      # OK, works on sane cases.  Now check whether nonexistent headers
3346      # can be detected and how.
3347      cat >conftest.$ac_ext <<_ACEOF
3348    /* confdefs.h.  */
3349    _ACEOF
3350    cat confdefs.h >>conftest.$ac_ext
3351    cat >>conftest.$ac_ext <<_ACEOF
3352    /* end confdefs.h.  */
3353    #include <ac_nonexistent.h>
3354    _ACEOF
3355    if { (ac_try="$ac_cpp conftest.$ac_ext"
3356    case "(($ac_try" in
3357      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358      *) ac_try_echo=$ac_try;;
3359    esac
3360    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3361      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3362      ac_status=$?
3363      grep -v '^ *+' conftest.er1 >conftest.err
3364      rm -f conftest.er1
3365      cat conftest.err >&5
3366      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367      (exit $ac_status); } >/dev/null && {
3368             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3369             test ! -s conftest.err
3370           }; then
3371      # Broken: success on invalid input.
3372    continue
3373    else
3374      echo "$as_me: failed program was:" >&5
3375    sed 's/^/| /' conftest.$ac_ext >&5
3376    
3377      # Passes both tests.
3378    ac_preproc_ok=:
3379    break
3380    fi
3381    
3382    rm -f conftest.err conftest.$ac_ext
3383    
3384    done
3385    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3386    rm -f conftest.err conftest.$ac_ext
3387    if $ac_preproc_ok; then
3388      break
3389    fi
3390    
3391        done
3392        ac_cv_prog_CPP=$CPP
3393    
3394    fi
3395      CPP=$ac_cv_prog_CPP
3396    else
3397      ac_cv_prog_CPP=$CPP
3398    fi
3399    { echo "$as_me:$LINENO: result: $CPP" >&5
3400    echo "${ECHO_T}$CPP" >&6; }
3401    ac_preproc_ok=false
3402    for ac_c_preproc_warn_flag in '' yes
3403    do
3404      # Use a header file that comes with gcc, so configuring glibc
3405      # with a fresh cross-compiler works.
3406      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3407      # <limits.h> exists even on freestanding compilers.
3408      # On the NeXT, cc -E runs the code through the compiler's parser,
3409      # not just through cpp. "Syntax error" is here to catch this case.
3410      cat >conftest.$ac_ext <<_ACEOF
3411    /* confdefs.h.  */
3412    _ACEOF
3413    cat confdefs.h >>conftest.$ac_ext
3414    cat >>conftest.$ac_ext <<_ACEOF
3415    /* end confdefs.h.  */
3416    #ifdef __STDC__
3417    # include <limits.h>
3418    #else
3419    # include <assert.h>
3420    #endif
3421                         Syntax error
3422    _ACEOF
3423    if { (ac_try="$ac_cpp conftest.$ac_ext"
3424    case "(($ac_try" in
3425      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426      *) ac_try_echo=$ac_try;;
3427    esac
3428    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3429      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3430      ac_status=$?
3431      grep -v '^ *+' conftest.er1 >conftest.err
3432      rm -f conftest.er1
3433      cat conftest.err >&5
3434      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435      (exit $ac_status); } >/dev/null && {
3436             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3437             test ! -s conftest.err
3438           }; then
3439      :
3440    else
3441      echo "$as_me: failed program was:" >&5
3442    sed 's/^/| /' conftest.$ac_ext >&5
3443    
3444      # Broken: fails on valid input.
3445    continue
3446    fi
3447    
3448    rm -f conftest.err conftest.$ac_ext
3449    
3450      # OK, works on sane cases.  Now check whether nonexistent headers
3451      # can be detected and how.
3452      cat >conftest.$ac_ext <<_ACEOF
3453    /* confdefs.h.  */
3454    _ACEOF
3455    cat confdefs.h >>conftest.$ac_ext
3456    cat >>conftest.$ac_ext <<_ACEOF
3457    /* end confdefs.h.  */
3458    #include <ac_nonexistent.h>
3459    _ACEOF
3460    if { (ac_try="$ac_cpp conftest.$ac_ext"
3461    case "(($ac_try" in
3462      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3463      *) ac_try_echo=$ac_try;;
3464    esac
3465    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3466      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3467      ac_status=$?
3468      grep -v '^ *+' conftest.er1 >conftest.err
3469      rm -f conftest.er1
3470      cat conftest.err >&5
3471      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472      (exit $ac_status); } >/dev/null && {
3473             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3474             test ! -s conftest.err
3475           }; then
3476      # Broken: success on invalid input.
3477    continue
3478    else
3479      echo "$as_me: failed program was:" >&5
3480    sed 's/^/| /' conftest.$ac_ext >&5
3481    
3482      # Passes both tests.
3483    ac_preproc_ok=:
3484    break
3485    fi
3486    
3487    rm -f conftest.err conftest.$ac_ext
3488    
3489    done
3490    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3491    rm -f conftest.err conftest.$ac_ext
3492    if $ac_preproc_ok; then
3493      :
3494    else
3495      { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3496    See \`config.log' for more details." >&5
3497    echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3498    See \`config.log' for more details." >&2;}
3499       { (exit 1); exit 1; }; }
3500    fi
3501    
3502    ac_ext=c
3503    ac_cpp='$CPP $CPPFLAGS'
3504    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3505    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3506    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3507    
3508    
3509    { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3510    echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3511    if test "${ac_cv_path_GREP+set}" = set; then
3512      echo $ECHO_N "(cached) $ECHO_C" >&6
3513    else
3514      # Extract the first word of "grep ggrep" to use in msg output
3515    if test -z "$GREP"; then
3516    set dummy grep ggrep; ac_prog_name=$2
3517    if test "${ac_cv_path_GREP+set}" = set; then
3518      echo $ECHO_N "(cached) $ECHO_C" >&6
3519    else
3520      ac_path_GREP_found=false
3521    # Loop through the user's path and test for each of PROGNAME-LIST
3522    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523    for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3524    do
3525      IFS=$as_save_IFS
3526      test -z "$as_dir" && as_dir=.
3527      for ac_prog in grep ggrep; do
3528      for ac_exec_ext in '' $ac_executable_extensions; do
3529        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3530        { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3531        # Check for GNU ac_path_GREP and select it if it is found.
3532      # Check for GNU $ac_path_GREP
3533    case `"$ac_path_GREP" --version 2>&1` in
3534    *GNU*)
3535      ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3536    *)
3537      ac_count=0
3538      echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3539      while :
3540      do
3541        cat "conftest.in" "conftest.in" >"conftest.tmp"
3542        mv "conftest.tmp" "conftest.in"
3543        cp "conftest.in" "conftest.nl"
3544        echo 'GREP' >> "conftest.nl"
3545        "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3546        diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3547        ac_count=`expr $ac_count + 1`
3548        if test $ac_count -gt ${ac_path_GREP_max-0}; then
3549          # Best one so far, save it but keep looking for a better one
3550          ac_cv_path_GREP="$ac_path_GREP"
3551          ac_path_GREP_max=$ac_count
3552        fi
3553        # 10*(2^10) chars as input seems more than enough
3554        test $ac_count -gt 10 && break
3555      done
3556      rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3557    esac
3558    
3559    
3560        $ac_path_GREP_found && break 3
3561      done
3562    done
3563    
3564    done
3565    IFS=$as_save_IFS
3566    
3567    
3568    fi
3569    
3570    GREP="$ac_cv_path_GREP"
3571    if test -z "$GREP"; then
3572      { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3573    echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3574       { (exit 1); exit 1; }; }
3575    fi
3576    
3577    else
3578      ac_cv_path_GREP=$GREP
3579    fi
3580    
3581    
3582    fi
3583    { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3584    echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3585     GREP="$ac_cv_path_GREP"
3586    
3587    
3588    { echo "$as_me:$LINENO: checking for egrep" >&5
3589    echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3590    if test "${ac_cv_path_EGREP+set}" = set; then
3591      echo $ECHO_N "(cached) $ECHO_C" >&6
3592    else
3593      if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3594       then ac_cv_path_EGREP="$GREP -E"
3595       else
3596         # Extract the first word of "egrep" to use in msg output
3597    if test -z "$EGREP"; then
3598    set dummy egrep; ac_prog_name=$2
3599    if test "${ac_cv_path_EGREP+set}" = set; then
3600      echo $ECHO_N "(cached) $ECHO_C" >&6
3601    else
3602      ac_path_EGREP_found=false
3603    # Loop through the user's path and test for each of PROGNAME-LIST
3604    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3605    for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3606    do
3607      IFS=$as_save_IFS
3608      test -z "$as_dir" && as_dir=.
3609      for ac_prog in egrep; do
3610      for ac_exec_ext in '' $ac_executable_extensions; do
3611        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3612        { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3613        # Check for GNU ac_path_EGREP and select it if it is found.
3614      # Check for GNU $ac_path_EGREP
3615    case `"$ac_path_EGREP" --version 2>&1` in
3616    *GNU*)
3617      ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3618    *)
3619      ac_count=0
3620      echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3621      while :
3622      do
3623        cat "conftest.in" "conftest.in" >"conftest.tmp"
3624        mv "conftest.tmp" "conftest.in"
3625        cp "conftest.in" "conftest.nl"
3626        echo 'EGREP' >> "conftest.nl"
3627        "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3628        diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3629        ac_count=`expr $ac_count + 1`
3630        if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3631          # Best one so far, save it but keep looking for a better one
3632          ac_cv_path_EGREP="$ac_path_EGREP"
3633          ac_path_EGREP_max=$ac_count
3634        fi
3635        # 10*(2^10) chars as input seems more than enough
3636        test $ac_count -gt 10 && break
3637      done
3638      rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3639    esac
3640    
3641    
3642        $ac_path_EGREP_found && break 3
3643      done
3644    done
3645    
3646    done
3647    IFS=$as_save_IFS
3648    
3649    
3650    fi
3651    
3652    EGREP="$ac_cv_path_EGREP"
3653    if test -z "$EGREP"; then
3654      { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3655    echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3656       { (exit 1); exit 1; }; }
3657    fi
3658    
3659    else
3660      ac_cv_path_EGREP=$EGREP
3661    fi
3662    
3663    
3664       fi
3665    fi
3666    { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3667    echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3668     EGREP="$ac_cv_path_EGREP"
3669    
3670    
3671    { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3672    echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3673    if test "${ac_cv_header_stdc+set}" = set; then
3674      echo $ECHO_N "(cached) $ECHO_C" >&6
3675    else
3676      cat >conftest.$ac_ext <<_ACEOF
3677    /* confdefs.h.  */
3678    _ACEOF
3679    cat confdefs.h >>conftest.$ac_ext
3680    cat >>conftest.$ac_ext <<_ACEOF
3681    /* end confdefs.h.  */
3682    #include <stdlib.h>
3683    #include <stdarg.h>
3684    #include <string.h>
3685    #include <float.h>
3686    
3687    int
3688    main ()
3689    {
3690    
3691      ;
3692      return 0;
3693    }
3694    _ACEOF
3695    rm -f conftest.$ac_objext
3696    if { (ac_try="$ac_compile"
3697    case "(($ac_try" in
3698      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3699      *) ac_try_echo=$ac_try;;
3700    esac
3701    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3702      (eval "$ac_compile") 2>conftest.er1
3703      ac_status=$?
3704      grep -v '^ *+' conftest.er1 >conftest.err
3705      rm -f conftest.er1
3706      cat conftest.err >&5
3707      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708      (exit $ac_status); } && {
3709             test -z "$ac_c_werror_flag" ||
3710             test ! -s conftest.err
3711           } && test -s conftest.$ac_objext; then
3712      ac_cv_header_stdc=yes
3713    else
3714      echo "$as_me: failed program was:" >&5
3715    sed 's/^/| /' conftest.$ac_ext >&5
3716    
3717            ac_cv_header_stdc=no
3718    fi
3719    
3720    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721    
3722    if test $ac_cv_header_stdc = yes; then
3723      # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3724      cat >conftest.$ac_ext <<_ACEOF
3725    /* confdefs.h.  */
3726    _ACEOF
3727    cat confdefs.h >>conftest.$ac_ext
3728    cat >>conftest.$ac_ext <<_ACEOF
3729    /* end confdefs.h.  */
3730    #include <string.h>
3731    
3732    _ACEOF
3733    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3734      $EGREP "memchr" >/dev/null 2>&1; then
3735      :
3736    else
3737      ac_cv_header_stdc=no
3738    fi
3739    rm -f conftest*
3740    
3741    fi
3742    
3743    if test $ac_cv_header_stdc = yes; then
3744      # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3745      cat >conftest.$ac_ext <<_ACEOF
3746    /* confdefs.h.  */
3747    _ACEOF
3748    cat confdefs.h >>conftest.$ac_ext
3749    cat >>conftest.$ac_ext <<_ACEOF
3750    /* end confdefs.h.  */
3751    #include <stdlib.h>
3752    
3753    _ACEOF
3754    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3755      $EGREP "free" >/dev/null 2>&1; then
3756      :
3757    else
3758      ac_cv_header_stdc=no
3759    fi
3760    rm -f conftest*
3761    
3762    fi
3763    
3764    if test $ac_cv_header_stdc = yes; then
3765      # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3766      if test "$cross_compiling" = yes; then
3767      :
3768    else
3769      cat >conftest.$ac_ext <<_ACEOF
3770    /* confdefs.h.  */
3771    _ACEOF
3772    cat confdefs.h >>conftest.$ac_ext
3773    cat >>conftest.$ac_ext <<_ACEOF
3774    /* end confdefs.h.  */
3775    #include <ctype.h>
3776    #include <stdlib.h>
3777    #if ((' ' & 0x0FF) == 0x020)
3778    # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3779    # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3780    #else
3781    # define ISLOWER(c) \
3782                       (('a' <= (c) && (c) <= 'i') \
3783                         || ('j' <= (c) && (c) <= 'r') \
3784                         || ('s' <= (c) && (c) <= 'z'))
3785    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3786    #endif
3787    
3788    #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3789    int
3790    main ()
3791    {
3792      int i;
3793      for (i = 0; i < 256; i++)
3794        if (XOR (islower (i), ISLOWER (i))
3795            || toupper (i) != TOUPPER (i))
3796          return 2;
3797      return 0;
3798    }
3799    _ACEOF
3800    rm -f conftest$ac_exeext
3801    if { (ac_try="$ac_link"
3802    case "(($ac_try" in
3803      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3804      *) ac_try_echo=$ac_try;;
3805    esac
3806    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3807      (eval "$ac_link") 2>&5
3808      ac_status=$?
3809      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3811      { (case "(($ac_try" in
3812      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813      *) ac_try_echo=$ac_try;;
3814    esac
3815    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3816      (eval "$ac_try") 2>&5
3817      ac_status=$?
3818      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819      (exit $ac_status); }; }; then
3820      :
3821    else
3822      echo "$as_me: program exited with status $ac_status" >&5
3823    echo "$as_me: failed program was:" >&5
3824    sed 's/^/| /' conftest.$ac_ext >&5
3825    
3826    ( exit $ac_status )
3827    ac_cv_header_stdc=no
3828    fi
3829    rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3830    fi
3831    
3832    
3833    fi
3834    fi
3835    { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3836    echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3837    if test $ac_cv_header_stdc = yes; then
3838    
3839    cat >>confdefs.h <<\_ACEOF
3840    #define STDC_HEADERS 1
3841    _ACEOF
3842    
3843    fi
3844    
3845    # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3846    
3847    
3848    
3849    
3850    
3851    
3852    
3853    
3854    
3855    for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3856                      inttypes.h stdint.h unistd.h
3857    do
3858    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3859    { echo "$as_me:$LINENO: checking for $ac_header" >&5
3860    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3861    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3862      echo $ECHO_N "(cached) $ECHO_C" >&6
3863    else
3864      cat >conftest.$ac_ext <<_ACEOF
3865    /* confdefs.h.  */
3866    _ACEOF
3867    cat confdefs.h >>conftest.$ac_ext
3868    cat >>conftest.$ac_ext <<_ACEOF
3869    /* end confdefs.h.  */
3870    $ac_includes_default
3871    
3872    #include <$ac_header>
3873    _ACEOF
3874    rm -f conftest.$ac_objext
3875    if { (ac_try="$ac_compile"
3876    case "(($ac_try" in
3877      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3878      *) ac_try_echo=$ac_try;;
3879    esac
3880    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3881      (eval "$ac_compile") 2>conftest.er1
3882      ac_status=$?
3883      grep -v '^ *+' conftest.er1 >conftest.err
3884      rm -f conftest.er1
3885      cat conftest.err >&5
3886      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887      (exit $ac_status); } && {
3888             test -z "$ac_c_werror_flag" ||
3889             test ! -s conftest.err
3890           } && test -s conftest.$ac_objext; then
3891      eval "$as_ac_Header=yes"
3892    else
3893      echo "$as_me: failed program was:" >&5
3894    sed 's/^/| /' conftest.$ac_ext >&5
3895    
3896            eval "$as_ac_Header=no"
3897    fi
3898    
3899    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900    fi
3901    ac_res=`eval echo '${'$as_ac_Header'}'`
3902                   { echo "$as_me:$LINENO: result: $ac_res" >&5
3903    echo "${ECHO_T}$ac_res" >&6; }
3904    if test `eval echo '${'$as_ac_Header'}'` = yes; then
3905      cat >>confdefs.h <<_ACEOF
3906    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3907    _ACEOF
3908    
3909    fi
3910    
3911    done
3912    
3913    
3914    
3915    for ac_header in espeak/speak_lib.h
3916    do
3917    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3918    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3919      { echo "$as_me:$LINENO: checking for $ac_header" >&5
3920    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3921    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3922      echo $ECHO_N "(cached) $ECHO_C" >&6
3923    fi
3924    ac_res=`eval echo '${'$as_ac_Header'}'`
3925                   { echo "$as_me:$LINENO: result: $ac_res" >&5
3926    echo "${ECHO_T}$ac_res" >&6; }
3927    else
3928      # Is the header compilable?
3929    { echo "$as_me:$LINENO: checking $ac_header usability" >&5
3930    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3931    cat >conftest.$ac_ext <<_ACEOF
3932    /* confdefs.h.  */
3933    _ACEOF
3934    cat confdefs.h >>conftest.$ac_ext
3935    cat >>conftest.$ac_ext <<_ACEOF
3936    /* end confdefs.h.  */
3937    $ac_includes_default
3938    #include <$ac_header>
3939    _ACEOF
3940    rm -f conftest.$ac_objext
3941    if { (ac_try="$ac_compile"
3942    case "(($ac_try" in
3943      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3944      *) ac_try_echo=$ac_try;;
3945    esac
3946    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3947      (eval "$ac_compile") 2>conftest.er1
3948      ac_status=$?
3949      grep -v '^ *+' conftest.er1 >conftest.err
3950      rm -f conftest.er1
3951      cat conftest.err >&5
3952      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953      (exit $ac_status); } && {
3954             test -z "$ac_c_werror_flag" ||
3955             test ! -s conftest.err
3956           } && test -s conftest.$ac_objext; then
3957      ac_header_compiler=yes
3958    else
3959      echo "$as_me: failed program was:" >&5
3960    sed 's/^/| /' conftest.$ac_ext >&5
3961    
3962            ac_header_compiler=no
3963    fi
3964    
3965    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3966    { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3967    echo "${ECHO_T}$ac_header_compiler" >&6; }
3968    
3969    # Is the header present?
3970    { echo "$as_me:$LINENO: checking $ac_header presence" >&5
3971    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3972    cat >conftest.$ac_ext <<_ACEOF
3973    /* confdefs.h.  */
3974    _ACEOF
3975    cat confdefs.h >>conftest.$ac_ext
3976    cat >>conftest.$ac_ext <<_ACEOF
3977    /* end confdefs.h.  */
3978    #include <$ac_header>
3979    _ACEOF
3980    if { (ac_try="$ac_cpp conftest.$ac_ext"
3981    case "(($ac_try" in
3982      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3983      *) ac_try_echo=$ac_try;;
3984    esac
3985    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3986      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3987      ac_status=$?
3988      grep -v '^ *+' conftest.er1 >conftest.err
3989      rm -f conftest.er1
3990      cat conftest.err >&5
3991      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992      (exit $ac_status); } >/dev/null && {
3993             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3994             test ! -s conftest.err
3995           }; then
3996      ac_header_preproc=yes
3997    else
3998      echo "$as_me: failed program was:" >&5
3999    sed 's/^/| /' conftest.$ac_ext >&5
4000    
4001      ac_header_preproc=no
4002    fi
4003    
4004    rm -f conftest.err conftest.$ac_ext
4005    { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4006    echo "${ECHO_T}$ac_header_preproc" >&6; }
4007    
4008    # So?  What about this header?
4009    case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4010      yes:no: )
4011        { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4012    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4013        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4014    echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4015        ac_header_preproc=yes
4016        ;;
4017      no:yes:* )
4018        { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4019    echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4020        { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4021    echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4022        { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4023    echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4024        { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4025    echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4026        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4027    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4028        { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4029    echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4030        ( cat <<\_ASBOX
4031    ## ------------------------------- ##
4032    ## Report this to till@harbaum.org ##
4033    ## ------------------------------- ##
4034    _ASBOX
4035         ) | sed "s/^/$as_me: WARNING:     /" >&2
4036        ;;
4037    esac
4038    { echo "$as_me:$LINENO: checking for $ac_header" >&5
4039    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4040    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4041      echo $ECHO_N "(cached) $ECHO_C" >&6
4042    else
4043      eval "$as_ac_Header=\$ac_header_preproc"
4044    fi
4045    ac_res=`eval echo '${'$as_ac_Header'}'`
4046                   { echo "$as_me:$LINENO: result: $ac_res" >&5
4047    echo "${ECHO_T}$ac_res" >&6; }
4048    
4049    fi
4050    if test `eval echo '${'$as_ac_Header'}'` = yes; then
4051      cat >>confdefs.h <<_ACEOF
4052    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4053    _ACEOF
4054    
4055    CFLAGS="$CFLAGS -DESPEAK"
4056    LIBS="$LIBS -lespeak"
4057    
4058    fi
4059    
4060    done
4061    
4062    
4063    # check for libsoup
4064    
4065    pkg_failed=no
4066    { echo "$as_me:$LINENO: checking for libsoup24" >&5
4067    echo $ECHO_N "checking for libsoup24... $ECHO_C" >&6; }
4068    
4069    if test -n "$PKG_CONFIG"; then
4070        if test -n "$libsoup24_CFLAGS"; then
4071            pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"
4072        else
4073            if test -n "$PKG_CONFIG" && \
4074        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
4075      ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
4076      ac_status=$?
4077      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078      (exit $ac_status); }; then
4079      pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
4080    else
4081      pkg_failed=yes
4082    fi
4083        fi
4084    else
4085            pkg_failed=untried
4086    fi
4087    if test -n "$PKG_CONFIG"; then
4088        if test -n "$libsoup24_LIBS"; then
4089            pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"
4090        else
4091          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4092      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
4093    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
4094    ac_status=$?    ac_status=$?
4095    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096    (exit $ac_status); }; then    (exit $ac_status); }; then
4097    pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`    pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
4098  else  else
# Line 3408  fi Line 4120  fi
4120          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4121          echo "$libsoup24_PKG_ERRORS" >&5          echo "$libsoup24_PKG_ERRORS" >&5
4122    
4123          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4124  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4125    
4126    
4127  pkg_failed=no  pkg_failed=no
4128  { $as_echo "$as_me:$LINENO: checking for libsoup22" >&5  { echo "$as_me:$LINENO: checking for libsoup22" >&5
4129  $as_echo_n "checking for libsoup22... " >&6; }  echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }
4130    
4131  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4132      if test -n "$libsoup22_CFLAGS"; then      if test -n "$libsoup22_CFLAGS"; then
4133          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
4134      else      else
4135          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4136      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
4137    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
4138    ac_status=$?    ac_status=$?
4139    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4140    (exit $ac_status); }; then    (exit $ac_status); }; then
4141    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
4142  else  else
# Line 3439  if test -n "$PKG_CONFIG"; then Line 4151  if test -n "$PKG_CONFIG"; then
4151          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
4152      else      else
4153          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4154      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
4155    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
4156    ac_status=$?    ac_status=$?
4157    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158    (exit $ac_status); }; then    (exit $ac_status); }; then
4159    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
4160  else  else
# Line 3470  fi Line 4182  fi
4182          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4183          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
4184    
4185          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4186  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4187    
4188      { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
4189  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
4190    
4191  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4192    
4193      { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
4194  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
4195    
4196  else  else
4197          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
4198          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
4199          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4200  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4201    
4202      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
4203      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
# Line 3497  elif test $pkg_failed = untried; then Line 4209  elif test $pkg_failed = untried; then
4209    
4210    
4211  pkg_failed=no  pkg_failed=no
4212  { $as_echo "$as_me:$LINENO: checking for libsoup22" >&5  { echo "$as_me:$LINENO: checking for libsoup22" >&5
4213  $as_echo_n "checking for libsoup22... " >&6; }  echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }
4214    
4215  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4216      if test -n "$libsoup22_CFLAGS"; then      if test -n "$libsoup22_CFLAGS"; then
4217          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
4218      else      else
4219          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4220      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
4221    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
4222    ac_status=$?    ac_status=$?
4223    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224    (exit $ac_status); }; then    (exit $ac_status); }; then
4225    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
4226  else  else
# Line 3523  if test -n "$PKG_CONFIG"; then Line 4235  if test -n "$PKG_CONFIG"; then
4235          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
4236      else      else
4237          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4238      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
4239    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
4240    ac_status=$?    ac_status=$?
4241    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242    (exit $ac_status); }; then    (exit $ac_status); }; then
4243    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
4244  else  else
# Line 3554  fi Line 4266  fi
4266          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4267          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
4268    
4269          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4270  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4271    
4272      { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
4273  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
4274    
4275  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4276    
4277      { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
4278  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
4279    
4280  else  else
4281          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
4282          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
4283          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4284  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4285    
4286      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
4287      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
# Line 3580  fi Line 4292  fi
4292  else  else
4293          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS
4294          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS
4295          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4296  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4297    
4298    EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"    EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
4299    CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"    CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"
# Line 3592  fi Line 4304  fi
4304  # check for gtkhtml-3.14  # check for gtkhtml-3.14
4305    
4306  pkg_failed=no  pkg_failed=no
4307  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5  { echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5
4308  $as_echo_n "checking for libgtkhtml3_14... " >&6; }  echo $ECHO_N "checking for libgtkhtml3_14... $ECHO_C" >&6; }
4309    
4310  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4311      if test -n "$libgtkhtml3_14_CFLAGS"; then      if test -n "$libgtkhtml3_14_CFLAGS"; then
4312          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"
4313      else      else
4314          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4315      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5
4316    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
4317    ac_status=$?    ac_status=$?
4318    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319    (exit $ac_status); }; then    (exit $ac_status); }; then
4320    pkg_cv_libgtkhtml3_14_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null`    pkg_cv_libgtkhtml3_14_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null`
4321  else  else
# Line 3618  if test -n "$PKG_CONFIG"; then Line 4330  if test -n "$PKG_CONFIG"; then
4330          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"
4331      else      else
4332          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4333      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5
4334    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
4335    ac_status=$?    ac_status=$?
4336    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337    (exit $ac_status); }; then    (exit $ac_status); }; then
4338    pkg_cv_libgtkhtml3_14_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null`    pkg_cv_libgtkhtml3_14_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null`
4339  else  else
# Line 3649  fi Line 4361  fi
4361          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4362          echo "$libgtkhtml3_14_PKG_ERRORS" >&5          echo "$libgtkhtml3_14_PKG_ERRORS" >&5
4363    
4364          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4365  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4366    
4367    # ok, we can also live with 3.8    # ok, we can also live with 3.8
4368    
4369  pkg_failed=no  pkg_failed=no
4370  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
4371  $as_echo_n "checking for libgtkhtml3_8... " >&6; }  echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }
4372    
4373  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4374      if test -n "$libgtkhtml3_8_CFLAGS"; then      if test -n "$libgtkhtml3_8_CFLAGS"; then
4375          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
4376      else      else
4377          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4378      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
4379    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
4380    ac_status=$?    ac_status=$?
4381    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382    (exit $ac_status); }; then    (exit $ac_status); }; then
4383    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
4384  else  else
# Line 3681  if test -n "$PKG_CONFIG"; then Line 4393  if test -n "$PKG_CONFIG"; then
4393          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
4394      else      else
4395          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4396      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
4397    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
4398    ac_status=$?    ac_status=$?
4399    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400    (exit $ac_status); }; then    (exit $ac_status); }; then
4401    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
4402  else  else
# Line 3712  fi Line 4424  fi
4424          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4425          echo "$libgtkhtml3_8_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
4426    
4427          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4428  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4429                  { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5                  { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
4430  $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  echo "$as_me: error: libgtkhtml-3 missing" >&2;}
4431     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4432  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4433          { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5          { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
4434  $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  echo "$as_me: error: libgtkhtml-3 missing" >&2;}
4435     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4436  else  else
4437          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
4438          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
4439          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4440  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4441    
4442      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
4443      LIBS="$LIBS $libgtkhtml3_8_LIBS"      LIBS="$LIBS $libgtkhtml3_8_LIBS"
# Line 3737  elif test $pkg_failed = untried; then Line 4449  elif test $pkg_failed = untried; then
4449    # ok, we can also live with 3.8    # ok, we can also live with 3.8
4450    
4451  pkg_failed=no  pkg_failed=no
4452  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
4453  $as_echo_n "checking for libgtkhtml3_8... " >&6; }  echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }
4454    
4455  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4456      if test -n "$libgtkhtml3_8_CFLAGS"; then      if test -n "$libgtkhtml3_8_CFLAGS"; then
4457          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
4458      else      else
4459          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4460      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
4461    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
4462    ac_status=$?    ac_status=$?
4463    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464    (exit $ac_status); }; then    (exit $ac_status); }; then
4465    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
4466  else  else
# Line 3763  if test -n "$PKG_CONFIG"; then Line 4475  if test -n "$PKG_CONFIG"; then
4475          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
4476      else      else
4477          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4478      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
4479    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
4480    ac_status=$?    ac_status=$?
4481    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482    (exit $ac_status); }; then    (exit $ac_status); }; then
4483    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
4484  else  else
# Line 3794  fi Line 4506  fi
4506          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4507          echo "$libgtkhtml3_8_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
4508    
4509          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4510  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4511                  { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5                  { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
4512  $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  echo "$as_me: error: libgtkhtml-3 missing" >&2;}
4513     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4514  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4515          { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5          { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
4516  $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  echo "$as_me: error: libgtkhtml-3 missing" >&2;}
4517     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4518  else  else
4519          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
4520          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
4521          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4522  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4523    
4524      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
4525      LIBS="$LIBS $libgtkhtml3_8_LIBS"      LIBS="$LIBS $libgtkhtml3_8_LIBS"
# Line 3817  fi Line 4529  fi
4529  else  else
4530          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS
4531          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS
4532          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4533  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4534    
4535    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"
4536    LIBS="$LIBS $libgtkhtml3_14_LIBS"    LIBS="$LIBS $libgtkhtml3_14_LIBS"
# Line 3826  $as_echo "yes" >&6; } Line 4538  $as_echo "yes" >&6; }
4538  fi  fi
4539    
4540  # check for maemo  # check for maemo
4541  { $as_echo "$as_me:$LINENO: checking for Maemo" >&5  { echo "$as_me:$LINENO: checking for Maemo" >&5
4542  $as_echo_n "checking for Maemo... " >&6; }  echo $ECHO_N "checking for Maemo... $ECHO_C" >&6; }
4543  if test -n "$PKG_CONFIG" && \  if test -n "$PKG_CONFIG" && \
4544      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5
4545    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
4546    ac_status=$?    ac_status=$?
4547    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548    (exit $ac_status); }; then    (exit $ac_status); }; then
4549    
4550    MAEMO="yes"    MAEMO="yes"
4551    { $as_echo "$as_me:$LINENO: result: yes" >&5    { echo "$as_me:$LINENO: result: yes" >&5
4552  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4553    
4554    
4555  pkg_failed=no  pkg_failed=no
4556  { $as_echo "$as_me:$LINENO: checking for hildon" >&5  { echo "$as_me:$LINENO: checking for hildon" >&5
4557  $as_echo_n "checking for hildon... " >&6; }  echo $ECHO_N "checking for hildon... $ECHO_C" >&6; }
4558    
4559  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4560      if test -n "$hildon_CFLAGS"; then      if test -n "$hildon_CFLAGS"; then
4561          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"
4562      else      else
4563          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4564      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
4565    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4566    ac_status=$?    ac_status=$?
4567    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568    (exit $ac_status); }; then    (exit $ac_status); }; then
4569    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
4570  else  else
# Line 3867  if test -n "$PKG_CONFIG"; then Line 4579  if test -n "$PKG_CONFIG"; then
4579          pkg_cv_hildon_LIBS="$hildon_LIBS"          pkg_cv_hildon_LIBS="$hildon_LIBS"
4580      else      else
4581          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4582      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
4583    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4584    ac_status=$?    ac_status=$?
4585    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586    (exit $ac_status); }; then    (exit $ac_status); }; then
4587    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
4588  else  else
# Line 3898  fi Line 4610  fi
4610          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4611          echo "$hildon_PKG_ERRORS" >&5          echo "$hildon_PKG_ERRORS" >&5
4612    
4613          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4614  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4615                  { { $as_echo "$as_me:$LINENO: error: hildon-1 missing" >&5                  { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
4616  $as_echo "$as_me: error: hildon-1 missing" >&2;}  echo "$as_me: error: hildon-1 missing" >&2;}
4617     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4618  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4619          { { $as_echo "$as_me:$LINENO: error: hildon-1 missing" >&5          { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
4620  $as_echo "$as_me: error: hildon-1 missing" >&2;}  echo "$as_me: error: hildon-1 missing" >&2;}
4621     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4622  else  else
4623          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS
4624          hildon_LIBS=$pkg_cv_hildon_LIBS          hildon_LIBS=$pkg_cv_hildon_LIBS
4625          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4626  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4627          :          :
4628  fi  fi
4629    CFLAGS="$CFLAGS  -DUSE_MAEMO $hildon_CFLAGS"    CFLAGS="$CFLAGS  -DUSE_MAEMO $hildon_CFLAGS"
# Line 3919  fi Line 4631  fi
4631    
4632    
4633  pkg_failed=no  pkg_failed=no
4634  { $as_echo "$as_me:$LINENO: checking for osso" >&5  { echo "$as_me:$LINENO: checking for osso" >&5
4635  $as_echo_n "checking for osso... " >&6; }  echo $ECHO_N "checking for osso... $ECHO_C" >&6; }
4636    
4637  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4638      if test -n "$osso_CFLAGS"; then      if test -n "$osso_CFLAGS"; then
4639          pkg_cv_osso_CFLAGS="$osso_CFLAGS"          pkg_cv_osso_CFLAGS="$osso_CFLAGS"
4640      else      else
4641          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4642      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
4643    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4644    ac_status=$?    ac_status=$?
4645    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646    (exit $ac_status); }; then    (exit $ac_status); }; then
4647    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`
4648  else  else
# Line 3945  if test -n "$PKG_CONFIG"; then Line 4657  if test -n "$PKG_CONFIG"; then
4657          pkg_cv_osso_LIBS="$osso_LIBS"          pkg_cv_osso_LIBS="$osso_LIBS"
4658      else      else
4659          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4660      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
4661    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4662    ac_status=$?    ac_status=$?
4663    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664    (exit $ac_status); }; then    (exit $ac_status); }; then
4665    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`
4666  else  else
# Line 3976  fi Line 4688  fi
4688          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4689          echo "$osso_PKG_ERRORS" >&5          echo "$osso_PKG_ERRORS" >&5
4690    
4691          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4692  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4693                  { { $as_echo "$as_me:$LINENO: error: libosso missing" >&5                  { { echo "$as_me:$LINENO: error: libosso missing" >&5
4694  $as_echo "$as_me: error: libosso missing" >&2;}  echo "$as_me: error: libosso missing" >&2;}
4695     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4696  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4697          { { $as_echo "$as_me:$LINENO: error: libosso missing" >&5          { { echo "$as_me:$LINENO: error: libosso missing" >&5
4698  $as_echo "$as_me: error: libosso missing" >&2;}  echo "$as_me: error: libosso missing" >&2;}
4699     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4700  else  else
4701          osso_CFLAGS=$pkg_cv_osso_CFLAGS          osso_CFLAGS=$pkg_cv_osso_CFLAGS
4702          osso_LIBS=$pkg_cv_osso_LIBS          osso_LIBS=$pkg_cv_osso_LIBS
4703          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4704  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4705          :          :
4706  fi  fi
4707    CFLAGS="$CFLAGS $osso_CFLAGS"    CFLAGS="$CFLAGS $osso_CFLAGS"
# Line 3997  fi Line 4709  fi
4709    
4710    
4711  pkg_failed=no  pkg_failed=no
4712  { $as_echo "$as_me:$LINENO: checking for hildon_fm_2" >&5  { echo "$as_me:$LINENO: checking for hildon_fm_2" >&5
4713  $as_echo_n "checking for hildon_fm_2... " >&6; }  echo $ECHO_N "checking for hildon_fm_2... $ECHO_C" >&6; }
4714    
4715  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4716      if test -n "$hildon_fm_2_CFLAGS"; then      if test -n "$hildon_fm_2_CFLAGS"; then
4717          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"
4718      else      else
4719          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4720      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
4721    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4722    ac_status=$?    ac_status=$?
4723    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724    (exit $ac_status); }; then    (exit $ac_status); }; then
4725    pkg_cv_hildon_fm_2_CFLAGS=`$PKG_CONFIG --cflags "hildon-fm-2" 2>/dev/null`    pkg_cv_hildon_fm_2_CFLAGS=`$PKG_CONFIG --cflags "hildon-fm-2" 2>/dev/null`
4726  else  else
# Line 4023  if test -n "$PKG_CONFIG"; then Line 4735  if test -n "$PKG_CONFIG"; then
4735          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"
4736      else      else
4737          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4738      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
4739    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4740    ac_status=$?    ac_status=$?
4741    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742    (exit $ac_status); }; then    (exit $ac_status); }; then
4743    pkg_cv_hildon_fm_2_LIBS=`$PKG_CONFIG --libs "hildon-fm-2" 2>/dev/null`    pkg_cv_hildon_fm_2_LIBS=`$PKG_CONFIG --libs "hildon-fm-2" 2>/dev/null`
4744  else  else
# Line 4054  fi Line 4766  fi
4766          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4767          echo "$hildon_fm_2_PKG_ERRORS" >&5          echo "$hildon_fm_2_PKG_ERRORS" >&5
4768    
4769          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4770  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4771                  { { $as_echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5                  { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
4772  $as_echo "$as_me: error: hildon-fm-2 missing" >&2;}  echo "$as_me: error: hildon-fm-2 missing" >&2;}
4773     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4774  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4775          { { $as_echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5          { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
4776  $as_echo "$as_me: error: hildon-fm-2 missing" >&2;}  echo "$as_me: error: hildon-fm-2 missing" >&2;}
4777     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4778  else  else
4779          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS
4780          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS
4781          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4782  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4783          :          :
4784  fi  fi
4785    CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"    CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"
# Line 4076  fi Line 4788  fi
4788    # check for sqlite3 for maemo mapper interface    # check for sqlite3 for maemo mapper interface
4789    
4790  pkg_failed=no  pkg_failed=no
4791  { $as_echo "$as_me:$LINENO: checking for sqlite3" >&5  { echo "$as_me:$LINENO: checking for sqlite3" >&5
4792  $as_echo_n "checking for sqlite3... " >&6; }  echo $ECHO_N "checking for sqlite3... $ECHO_C" >&6; }
4793    
4794  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4795      if test -n "$sqlite3_CFLAGS"; then      if test -n "$sqlite3_CFLAGS"; then
4796          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"
4797      else      else
4798          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4799      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
4800    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4801    ac_status=$?    ac_status=$?
4802    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803    (exit $ac_status); }; then    (exit $ac_status); }; then
4804    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
4805  else  else
# Line 4102  if test -n "$PKG_CONFIG"; then Line 4814  if test -n "$PKG_CONFIG"; then
4814          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"
4815      else      else
4816          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4817      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
4818    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4819    ac_status=$?    ac_status=$?
4820    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821    (exit $ac_status); }; then    (exit $ac_status); }; then
4822    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
4823  else  else
# Line 4133  fi Line 4845  fi
4845          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4846          echo "$sqlite3_PKG_ERRORS" >&5          echo "$sqlite3_PKG_ERRORS" >&5
4847    
4848          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4849  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4850                  { { $as_echo "$as_me:$LINENO: error: sqlite3 missing" >&5                  { { echo "$as_me:$LINENO: error: sqlite3 missing" >&5
4851  $as_echo "$as_me: error: sqlite3 missing" >&2;}  echo "$as_me: error: sqlite3 missing" >&2;}
4852     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4853  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4854          { { $as_echo "$as_me:$LINENO: error: sqlite3 missing" >&5          { { echo "$as_me:$LINENO: error: sqlite3 missing" >&5
4855  $as_echo "$as_me: error: sqlite3 missing" >&2;}  echo "$as_me: error: sqlite3 missing" >&2;}
4856     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4857  else  else
4858          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS
4859          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS
4860          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4861  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4862          :          :
4863  fi  fi
4864    CFLAGS="$CFLAGS $sqlite3_CFLAGS"    CFLAGS="$CFLAGS $sqlite3_CFLAGS"
# Line 4155  fi Line 4867  fi
4867    # check for hildon-help    # check for hildon-help
4868    
4869  pkg_failed=no  pkg_failed=no
4870  { $as_echo "$as_me:$LINENO: checking for hildon_help" >&5  { echo "$as_me:$LINENO: checking for hildon_help" >&5
4871  $as_echo_n "checking for hildon_help... " >&6; }  echo $ECHO_N "checking for hildon_help... $ECHO_C" >&6; }
4872    
4873  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4874      if test -n "$hildon_help_CFLAGS"; then      if test -n "$hildon_help_CFLAGS"; then
4875          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"
4876      else      else
4877          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4878      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5
4879    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4880    ac_status=$?    ac_status=$?
4881    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882    (exit $ac_status); }; then    (exit $ac_status); }; then
4883    pkg_cv_hildon_help_CFLAGS=`$PKG_CONFIG --cflags "hildon-help" 2>/dev/null`    pkg_cv_hildon_help_CFLAGS=`$PKG_CONFIG --cflags "hildon-help" 2>/dev/null`
4884  else  else
# Line 4181  if test -n "$PKG_CONFIG"; then Line 4893  if test -n "$PKG_CONFIG"; then
4893          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"
4894      else      else
4895          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4896      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5
4897    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4898    ac_status=$?    ac_status=$?
4899    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4900    (exit $ac_status); }; then    (exit $ac_status); }; then
4901    pkg_cv_hildon_help_LIBS=`$PKG_CONFIG --libs "hildon-help" 2>/dev/null`    pkg_cv_hildon_help_LIBS=`$PKG_CONFIG --libs "hildon-help" 2>/dev/null`
4902  else  else
# Line 4212  fi Line 4924  fi
4924          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4925          echo "$hildon_help_PKG_ERRORS" >&5          echo "$hildon_help_PKG_ERRORS" >&5
4926    
4927          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4928  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4929    
4930      { $as_echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5      { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5
4931  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}  echo "$as_me: WARNING: hildon-help missing" >&6;}
4932    
4933  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4934    
4935      { $as_echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5      { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5
4936  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}  echo "$as_me: WARNING: hildon-help missing" >&6;}
4937    
4938  else  else
4939          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS
4940          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS
4941          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4942  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4943    
4944      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"
4945      LIBS="$LIBS $hildon_help_LIBS"      LIBS="$LIBS $hildon_help_LIBS"
# Line 4237  fi Line 4949  fi
4949    # prefer gpsbt over liblocation as we got complaints regarding liblocation    # prefer gpsbt over liblocation as we got complaints regarding liblocation
4950    # stability    # stability
4951    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4952      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4953    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4954    ac_status=$?    ac_status=$?
4955    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956    (exit $ac_status); }; then    (exit $ac_status); }; then
4957    
4958    
4959  pkg_failed=no  pkg_failed=no
4960  { $as_echo "$as_me:$LINENO: checking for gpsbt" >&5  { echo "$as_me:$LINENO: checking for gpsbt" >&5
4961  $as_echo_n "checking for gpsbt... " >&6; }  echo $ECHO_N "checking for gpsbt... $ECHO_C" >&6; }
4962    
4963  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4964      if test -n "$gpsbt_CFLAGS"; then      if test -n "$gpsbt_CFLAGS"; then
4965          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"
4966      else      else
4967          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4968      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4969    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4970    ac_status=$?    ac_status=$?
4971    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972    (exit $ac_status); }; then    (exit $ac_status); }; then
4973    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`
4974  else  else
# Line 4271  if test -n "$PKG_CONFIG"; then Line 4983  if test -n "$PKG_CONFIG"; then
4983          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"
4984      else      else
4985          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4986      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4987    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4988    ac_status=$?    ac_status=$?
4989    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990    (exit $ac_status); }; then    (exit $ac_status); }; then
4991    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`
4992  else  else
# Line 4302  fi Line 5014  fi
5014          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5015          echo "$gpsbt_PKG_ERRORS" >&5          echo "$gpsbt_PKG_ERRORS" >&5
5016    
5017          { { $as_echo "$as_me:$LINENO: error: Package requirements (gpsbt) were not met:          { { echo "$as_me:$LINENO: error: Package requirements (gpsbt) were not met:
5018    
5019  $gpsbt_PKG_ERRORS  $gpsbt_PKG_ERRORS
5020    
# Line 4313  Alternatively, you may set the environme Line 5025  Alternatively, you may set the environme
5025  and gpsbt_LIBS to avoid the need to call pkg-config.  and gpsbt_LIBS to avoid the need to call pkg-config.
5026  See the pkg-config man page for more details.  See the pkg-config man page for more details.
5027  " >&5  " >&5
5028  $as_echo "$as_me: error: Package requirements (gpsbt) were not met:  echo "$as_me: error: Package requirements (gpsbt) were not met:
5029    
5030  $gpsbt_PKG_ERRORS  $gpsbt_PKG_ERRORS
5031    
# Line 4326  See the pkg-config man page for more det Line 5038  See the pkg-config man page for more det
5038  " >&2;}  " >&2;}
5039     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5040  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5041          { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5          { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it  
5042  is in your PATH or set the PKG_CONFIG environment variable to the full  is in your PATH or set the PKG_CONFIG environment variable to the full
5043  path to pkg-config.  path to pkg-config.
5044    
# Line 4338  See the pkg-config man page for more det Line 5048  See the pkg-config man page for more det
5048    
5049  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5050  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
5051  $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it  echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5052  is in your PATH or set the PKG_CONFIG environment variable to the full  is in your PATH or set the PKG_CONFIG environment variable to the full
5053  path to pkg-config.  path to pkg-config.
5054    
# Line 4348  See the pkg-config man page for more det Line 5058  See the pkg-config man page for more det
5058    
5059  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5060  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
5061     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
5062  else  else
5063          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS
5064          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS
5065          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
5066  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
5067          :          :
5068  fi  fi
5069      CFLAGS="$CFLAGS -DENABLE_GPSBT $gpsbt_CFLAGS"      CFLAGS="$CFLAGS -DENABLE_GPSBT $gpsbt_CFLAGS"
# Line 4361  fi Line 5071  fi
5071    
5072  else  else
5073    
5074      { $as_echo "$as_me:$LINENO: gpsbt not found, trying liblocation" >&5      { echo "$as_me:$LINENO: gpsbt not found, trying liblocation" >&5
5075  $as_echo "$as_me: gpsbt not found, trying liblocation" >&6;}  echo "$as_me: gpsbt not found, trying liblocation" >&6;}
5076    
5077      if test -n "$PKG_CONFIG" && \      if test -n "$PKG_CONFIG" && \
5078      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
5079    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
5080    ac_status=$?    ac_status=$?
5081    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082    (exit $ac_status); }; then    (exit $ac_status); }; then
5083    
5084    
5085  pkg_failed=no  pkg_failed=no
5086  { $as_echo "$as_me:$LINENO: checking for liblocation" >&5  { echo "$as_me:$LINENO: checking for liblocation" >&5
5087  $as_echo_n "checking for liblocation... " >&6; }  echo $ECHO_N "checking for liblocation... $ECHO_C" >&6; }
5088    
5089  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
5090      if test -n "$liblocation_CFLAGS"; then      if test -n "$liblocation_CFLAGS"; then
5091          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"
5092      else      else
5093          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5094      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
5095    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
5096    ac_status=$?    ac_status=$?
5097    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098    (exit $ac_status); }; then    (exit $ac_status); }; then
5099    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`
5100  else  else
# Line 4399  if test -n "$PKG_CONFIG"; then Line 5109  if test -n "$PKG_CONFIG"; then
5109          pkg_cv_liblocation_LIBS="$liblocation_LIBS"          pkg_cv_liblocation_LIBS="$liblocation_LIBS"
5110      else      else
5111          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5112      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
5113    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
5114    ac_status=$?    ac_status=$?
5115    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116    (exit $ac_status); }; then    (exit $ac_status); }; then
5117    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`
5118  else  else
# Line 4430  fi Line 5140  fi
5140          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5141          echo "$liblocation_PKG_ERRORS" >&5          echo "$liblocation_PKG_ERRORS" >&5
5142    
5143          { { $as_echo "$as_me:$LINENO: error: Package requirements (liblocation) were not met:          { { echo "$as_me:$LINENO: error: Package requirements (liblocation) were not met:
5144    
5145  $liblocation_PKG_ERRORS  $liblocation_PKG_ERRORS
5146    
# Line 4441  Alternatively, you may set the environme Line 5151  Alternatively, you may set the environme
5151  and liblocation_LIBS to avoid the need to call pkg-config.  and liblocation_LIBS to avoid the need to call pkg-config.
5152  See the pkg-config man page for more details.  See the pkg-config man page for more details.
5153  " >&5  " >&5
5154  $as_echo "$as_me: error: Package requirements (liblocation) were not met:  echo "$as_me: error: Package requirements (liblocation) were not met:
5155    
5156  $liblocation_PKG_ERRORS  $liblocation_PKG_ERRORS
5157    
# Line 4454  See the pkg-config man page for more det Line 5164  See the pkg-config man page for more det
5164  " >&2;}  " >&2;}
5165     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5166  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5167          { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5          { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it  
5168  is in your PATH or set the PKG_CONFIG environment variable to the full  is in your PATH or set the PKG_CONFIG environment variable to the full
5169  path to pkg-config.  path to pkg-config.
5170    
# Line 4466  See the pkg-config man page for more det Line 5174  See the pkg-config man page for more det
5174    
5175  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5176  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
5177  $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it  echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5178  is in your PATH or set the PKG_CONFIG environment variable to the full  is in your PATH or set the PKG_CONFIG environment variable to the full
5179  path to pkg-config.  path to pkg-config.
5180    
# Line 4476  See the pkg-config man page for more det Line 5184  See the pkg-config man page for more det
5184    
5185  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5186  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
5187     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
5188  else  else
5189          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS
5190          liblocation_LIBS=$pkg_cv_liblocation_LIBS          liblocation_LIBS=$pkg_cv_liblocation_LIBS
5191          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
5192  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
5193          :          :
5194  fi  fi
5195        CFLAGS="$CFLAGS -DENABLE_LIBLOCATION $liblocation_CFLAGS"        CFLAGS="$CFLAGS -DENABLE_LIBLOCATION $liblocation_CFLAGS"
# Line 4489  fi Line 5197  fi
5197    
5198  else  else
5199    
5200        { $as_echo "$as_me:$LINENO: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&5        { echo "$as_me:$LINENO: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&5
5201  $as_echo "$as_me: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&6;}  echo "$as_me: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&6;}
5202    
5203  fi  fi
5204    
5205  fi  fi
5206    
5207    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
5208      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tablet-browser-interface\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tablet-browser-interface\"") >&5
5209    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5
5210    ac_status=$?    ac_status=$?
5211    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212    (exit $ac_status); }; then    (exit $ac_status); }; then
5213    
5214      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"
5215    
5216  else  else
5217    { $as_echo "$as_me:$LINENO: WARNING: No tablet-browser-interface found, disabling microb interface!" >&5    { echo "$as_me:$LINENO: WARNING: No tablet-browser-interface found, disabling microb interface!" >&5
5218  $as_echo "$as_me: WARNING: No tablet-browser-interface found, disabling microb interface!" >&6;}  echo "$as_me: WARNING: No tablet-browser-interface found, disabling microb interface!" >&6;}
5219  fi  fi
5220    
5221    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
5222      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5
5223    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
5224    ac_status=$?    ac_status=$?
5225    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226    (exit $ac_status); }; then    (exit $ac_status); }; then
5227    
5228      VERSION=`pkg-config --modversion maemo-version`      VERSION=`pkg-config --modversion maemo-version`
5229      { $as_echo "$as_me:$LINENO: Configuring for Maemo $VERSION" >&5      { echo "$as_me:$LINENO: Configuring for Maemo $VERSION" >&5
5230  $as_echo "$as_me: Configuring for Maemo $VERSION" >&6;}  echo "$as_me: Configuring for Maemo $VERSION" >&6;}
5231      CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""      CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""
5232      MAJOR=`echo $VERSION | cut -b1 -`      MAJOR=`echo $VERSION | cut -b1 -`
5233      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"
# Line 4529  $as_echo "$as_me: Configuring for Maemo Line 5237  $as_echo "$as_me: Configuring for Maemo
5237    
5238  else  else
5239    
5240      { { $as_echo "$as_me:$LINENO: error: maemo-version not found" >&5      { { echo "$as_me:$LINENO: error: maemo-version not found" >&5
5241  $as_echo "$as_me: error: maemo-version not found" >&2;}  echo "$as_me: error: maemo-version not found" >&2;}
5242     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5243    
5244  fi  fi
# Line 4544  fi Line 5252  fi
5252       datarootdir=/opt       datarootdir=/opt
5253    else    else
5254       ICONNAME=26x26/gpxview.png       ICONNAME=26x26/gpxview.png
5255       { $as_echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5       { echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5
5256  $as_echo "$as_me: Enabling Maemo Mapper support" >&6;}  echo "$as_me: Enabling Maemo Mapper support" >&6;}
5257    fi    fi
5258    
5259    CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER"    CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER"
# Line 4554  $as_echo "$as_me: Enabling Maemo Mapper Line 5262  $as_echo "$as_me: Enabling Maemo Mapper
5262    # maemo uses dbus for ipc with maemo mapper    # maemo uses dbus for ipc with maemo mapper
5263    EXTRA_OBJS="$EXTRA_OBJS dbus.o"    EXTRA_OBJS="$EXTRA_OBJS dbus.o"
5264    
5265    { $as_echo "$as_me:$LINENO: Using application installer icon \"$ICONNAME\"" >&5    { echo "$as_me:$LINENO: Using application installer icon \"$ICONNAME\"" >&5
5266  $as_echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}  echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}
5267    
5268    # add icon entry to debian/control    # add icon entry to debian/control
5269    ICON=" Maemo icon $ICONNAME    ICON=" Maemo icon $ICONNAME
# Line 4569  XB-Maemo-Icon-26: Line 5277  XB-Maemo-Icon-26:
5277    
5278  else  else
5279    
5280    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
5281  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
5282    
5283    EXTRA_OBJS="$EXTRA_OBJS bct.o"    EXTRA_OBJS="$EXTRA_OBJS bct.o"
5284    CFLAGS="$CFLAGS -DBCT"    CFLAGS="$CFLAGS -DBCT"
# Line 4578  $as_echo "no" >&6; } Line 5286  $as_echo "no" >&6; }
5286    # check for gtk+-2.0    # check for gtk+-2.0
5287    
5288  pkg_failed=no  pkg_failed=no
5289  { $as_echo "$as_me:$LINENO: checking for gtk" >&5  { echo "$as_me:$LINENO: checking for gtk" >&5
5290  $as_echo_n "checking for gtk... " >&6; }  echo $ECHO_N "checking for gtk... $ECHO_C" >&6; }
5291    
5292  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
5293      if test -n "$gtk_CFLAGS"; then      if test -n "$gtk_CFLAGS"; then
5294          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
5295      else      else
5296          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5297      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
5298    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5299    ac_status=$?    ac_status=$?
5300    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5301    (exit $ac_status); }; then    (exit $ac_status); }; then
5302    pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`    pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
5303  else  else
# Line 4604  if test -n "$PKG_CONFIG"; then Line 5312  if test -n "$PKG_CONFIG"; then
5312          pkg_cv_gtk_LIBS="$gtk_LIBS"          pkg_cv_gtk_LIBS="$gtk_LIBS"
5313      else      else
5314          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5315      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
5316    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5317    ac_status=$?    ac_status=$?
5318    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319    (exit $ac_status); }; then    (exit $ac_status); }; then
5320    pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`    pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
5321  else  else
# Line 4635  fi Line 5343  fi
5343          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5344          echo "$gtk_PKG_ERRORS" >&5          echo "$gtk_PKG_ERRORS" >&5
5345    
5346          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
5347  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
5348                  { { $as_echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5                  { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
5349  $as_echo "$as_me: error: gtk+-2.0 missing!" >&2;}  echo "$as_me: error: gtk+-2.0 missing!" >&2;}
5350     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5351  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5352          { { $as_echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5          { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
5353  $as_echo "$as_me: error: gtk+-2.0 missing!" >&2;}  echo "$as_me: error: gtk+-2.0 missing!" >&2;}
5354     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5355  else  else
5356          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
5357          gtk_LIBS=$pkg_cv_gtk_LIBS          gtk_LIBS=$pkg_cv_gtk_LIBS
5358          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
5359  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
5360          :          :
5361  fi  fi
5362    CFLAGS="$CFLAGS $gtk_CFLAGS"    CFLAGS="$CFLAGS $gtk_CFLAGS"
# Line 4657  fi Line 5365  fi
5365    # non-maemo device use gnome to call the web browser    # non-maemo device use gnome to call the web browser
5366    
5367  pkg_failed=no  pkg_failed=no
5368  { $as_echo "$as_me:$LINENO: checking for gnome2" >&5  { echo "$as_me:$LINENO: checking for gnome2" >&5
5369  $as_echo_n "checking for gnome2... " >&6; }  echo $ECHO_N "checking for gnome2... $ECHO_C" >&6; }
5370    
5371  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
5372      if test -n "$gnome2_CFLAGS"; then      if test -n "$gnome2_CFLAGS"; then
5373          pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"          pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"
5374      else      else
5375          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5376      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5
5377    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5378    ac_status=$?    ac_status=$?
5379    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380    (exit $ac_status); }; then    (exit $ac_status); }; then
5381    pkg_cv_gnome2_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0" 2>/dev/null`    pkg_cv_gnome2_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0" 2>/dev/null`
5382  else  else
# Line 4683  if test -n "$PKG_CONFIG"; then Line 5391  if test -n "$PKG_CONFIG"; then
5391          pkg_cv_gnome2_LIBS="$gnome2_LIBS"          pkg_cv_gnome2_LIBS="$gnome2_LIBS"
5392      else      else
5393          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5394      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5
5395    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5396    ac_status=$?    ac_status=$?
5397    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398    (exit $ac_status); }; then    (exit $ac_status); }; then
5399    pkg_cv_gnome2_LIBS=`$PKG_CONFIG --libs "libgnome-2.0" 2>/dev/null`    pkg_cv_gnome2_LIBS=`$PKG_CONFIG --libs "libgnome-2.0" 2>/dev/null`
5400  else  else
# Line 4714  fi Line 5422  fi
5422          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5423          echo "$gnome2_PKG_ERRORS" >&5          echo "$gnome2_PKG_ERRORS" >&5
5424    
5425          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
5426  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
5427                  { { $as_echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5                  { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
5428  $as_echo "$as_me: error: libgnome-2.0 missing" >&2;}  echo "$as_me: error: libgnome-2.0 missing" >&2;}
5429     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5430  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5431          { { $as_echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5          { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
5432  $as_echo "$as_me: error: libgnome-2.0 missing" >&2;}  echo "$as_me: error: libgnome-2.0 missing" >&2;}
5433     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5434  else  else
5435          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS
5436          gnome2_LIBS=$pkg_cv_gnome2_LIBS          gnome2_LIBS=$pkg_cv_gnome2_LIBS
5437          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
5438  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
5439          :          :
5440  fi  fi
5441    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"
# Line 4772  _ACEOF Line 5480  _ACEOF
5480      case $ac_val in #(      case $ac_val in #(
5481      *${as_nl}*)      *${as_nl}*)
5482        case $ac_var in #(        case $ac_var in #(
5483        *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5        *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5484  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;  echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5485        esac        esac
5486        case $ac_var in #(        case $ac_var in #(
5487        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(  
5488        *) $as_unset $ac_var ;;        *) $as_unset $ac_var ;;
5489        esac ;;        esac ;;
5490      esac      esac
# Line 4810  $as_echo "$as_me: WARNING: cache variabl Line 5517  $as_echo "$as_me: WARNING: cache variabl
5517  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5518    if test -w "$cache_file"; then    if test -w "$cache_file"; then
5519      test "x$cache_file" != "x/dev/null" &&      test "x$cache_file" != "x/dev/null" &&
5520        { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5        { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5521  $as_echo "$as_me: updating cache $cache_file" >&6;}  echo "$as_me: updating cache $cache_file" >&6;}
5522      cat confcache >$cache_file      cat confcache >$cache_file
5523    else    else
5524      { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5      { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5525  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}  echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5526    fi    fi
5527  fi  fi
5528  rm -f confcache  rm -f confcache
# Line 4832  test "x$exec_prefix" = xNONE && exec_pre Line 5539  test "x$exec_prefix" = xNONE && exec_pre
5539  # take arguments), then branch to the quote section.  Otherwise,  # take arguments), then branch to the quote section.  Otherwise,
5540  # look for a macro that doesn't take arguments.  # look for a macro that doesn't take arguments.
5541  ac_script='  ac_script='
 :mline  
 /\\$/{  
  N  
  s,\\\n,,  
  b mline  
 }  
5542  t clear  t clear
5543  :clear  :clear
5544  s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g  s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
# Line 4867  ac_ltlibobjs= Line 5568  ac_ltlibobjs=
5568  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5569    # 1. Remove the extension, and $U if already installed.    # 1. Remove the extension, and $U if already installed.
5570    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5571    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`    ac_i=`echo "$ac_i" | sed "$ac_script"`
5572    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5573    #    will be set to the directory where LIBOBJS objects are built.    #    will be set to the directory where LIBOBJS objects are built.
5574    ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"    ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
# Line 4880  LTLIBOBJS=$ac_ltlibobjs Line 5581  LTLIBOBJS=$ac_ltlibobjs
5581    
5582    
5583  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
 ac_write_fail=0  
5584  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
5585  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5586  { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5  { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5587  $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
5588  cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >$CONFIG_STATUS <<_ACEOF
5589  #! $SHELL  #! $SHELL
5590  # Generated by $as_me.  # Generated by $as_me.
5591  # Run this file to recreate the current configuration.  # Run this file to recreate the current configuration.
# Line 4898  ac_cs_silent=false Line 5598  ac_cs_silent=false
5598  SHELL=\${CONFIG_SHELL-$SHELL}  SHELL=\${CONFIG_SHELL-$SHELL}
5599  _ACEOF  _ACEOF
5600    
5601  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
5602  ## --------------------- ##  ## --------------------- ##
5603  ## M4sh Initialization.  ##  ## M4sh Initialization.  ##
5604  ## --------------------- ##  ## --------------------- ##
# Line 4908  DUALCASE=1; export DUALCASE # for MKS sh Line 5608  DUALCASE=1; export DUALCASE # for MKS sh
5608  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5609    emulate sh    emulate sh
5610    NULLCMD=:    NULLCMD=:
5611    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5612    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
5613    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
5614    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
# Line 4930  as_cr_Letters=$as_cr_letters$as_cr_LETTE Line 5630  as_cr_Letters=$as_cr_letters$as_cr_LETTE
5630  as_cr_digits='0123456789'  as_cr_digits='0123456789'
5631  as_cr_alnum=$as_cr_Letters$as_cr_digits  as_cr_alnum=$as_cr_Letters$as_cr_digits
5632    
 as_nl='  
 '  
 export as_nl  
 # Printing a long string crashes Solaris 7 /usr/bin/printf.  
 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'  
 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo  
 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo  
 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then  
   as_echo='printf %s\n'  
   as_echo_n='printf %s'  
 else  
   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then  
     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'  
     as_echo_n='/usr/ucb/echo -n'  
   else  
     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'  
     as_echo_n_body='eval  
       arg=$1;  
       case $arg in  
       *"$as_nl"*)  
         expr "X$arg" : "X\\(.*\\)$as_nl";  
         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;  
       esac;  
       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"  
     '  
     export as_echo_n_body  
     as_echo_n='sh -c $as_echo_n_body as_echo'  
   fi  
   export as_echo_body  
   as_echo='sh -c $as_echo_body as_echo'  
 fi  
   
5633  # The user is always right.  # The user is always right.
5634  if test "${PATH_SEPARATOR+set}" != set; then  if test "${PATH_SEPARATOR+set}" != set; then
5635    PATH_SEPARATOR=:    echo "#! /bin/sh" >conf$$.sh
5636    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {    echo  "exit 0"   >>conf$$.sh
5637      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||    chmod +x conf$$.sh
5638        PATH_SEPARATOR=';'    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5639    }      PATH_SEPARATOR=';'
5640      else
5641        PATH_SEPARATOR=:
5642      fi
5643      rm -f conf$$.sh
5644  fi  fi
5645    
5646  # Support unset when possible.  # Support unset when possible.
# Line 4984  fi Line 5656  fi
5656  # there to prevent editors from complaining about space-tab.  # there to prevent editors from complaining about space-tab.
5657  # (If _AS_PATH_WALK were called with IFS unset, it would disable word  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5658  # splitting by setting IFS to empty value.)  # splitting by setting IFS to empty value.)
5659    as_nl='
5660    '
5661  IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
5662    
5663  # Find who we are.  Look in the path if we contain no directory separator.  # Find who we are.  Look in the path if we contain no directory separator.
# Line 5006  if test "x$as_myself" = x; then Line 5680  if test "x$as_myself" = x; then
5680    as_myself=$0    as_myself=$0
5681  fi  fi
5682  if test ! -f "$as_myself"; then  if test ! -f "$as_myself"; then
5683    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2    echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5684    { (exit 1); exit 1; }    { (exit 1); exit 1; }
5685  fi  fi
5686    
# Line 5019  PS2='> ' Line 5693  PS2='> '
5693  PS4='+ '  PS4='+ '
5694    
5695  # NLS nuisances.  # NLS nuisances.
5696  LC_ALL=C  for as_var in \
5697  export LC_ALL    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5698  LANGUAGE=C    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5699  export LANGUAGE    LC_TELEPHONE LC_TIME
5700    do
5701      if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5702        eval $as_var=C; export $as_var
5703      else
5704        ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5705      fi
5706    done
5707    
5708  # Required to use basename.  # Required to use basename.
5709  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
# Line 5044  as_me=`$as_basename -- "$0" || Line 5725  as_me=`$as_basename -- "$0" ||
5725  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5726           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
5727           X"$0" : 'X\(/\)' \| . 2>/dev/null ||           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5728  $as_echo X/"$0" |  echo X/"$0" |
5729      sed '/^.*\/\([^/][^/]*\)\/*$/{      sed '/^.*\/\([^/][^/]*\)\/*$/{
5730              s//\1/              s//\1/
5731              q              q
# Line 5095  $as_unset CDPATH Line 5776  $as_unset CDPATH
5776        s/-\n.*//        s/-\n.*//
5777      ' >$as_me.lineno &&      ' >$as_me.lineno &&
5778    chmod +x "$as_me.lineno" ||    chmod +x "$as_me.lineno" ||
5779      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2      { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5780     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5781    
5782    # Don't try to exec as it changes $[0], causing all sort of problems    # Don't try to exec as it changes $[0], causing all sort of problems
# Line 5123  case `echo -n x` in Line 5804  case `echo -n x` in
5804  *)  *)
5805    ECHO_N='-n';;    ECHO_N='-n';;
5806  esac  esac
5807    
5808  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
5809     test "X`expr 00001 : '.*\(...\)'`" = X001; then     test "X`expr 00001 : '.*\(...\)'`" = X001; then
5810    as_expr=expr    as_expr=expr
# Line 5135  if test -d conf$$.dir; then Line 5817  if test -d conf$$.dir; then
5817    rm -f conf$$.dir/conf$$.file    rm -f conf$$.dir/conf$$.file
5818  else  else
5819    rm -f conf$$.dir    rm -f conf$$.dir
5820    mkdir conf$$.dir 2>/dev/null    mkdir conf$$.dir
5821  fi  fi
5822  if (echo >conf$$.file) 2>/dev/null; then  echo >conf$$.file
5823    if ln -s conf$$.file conf$$ 2>/dev/null; then  if ln -s conf$$.file conf$$ 2>/dev/null; then
5824      as_ln_s='ln -s'    as_ln_s='ln -s'
5825      # ... but there are two gotchas:    # ... but there are two gotchas:
5826      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5827      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5828      # In both cases, we have to default to `cp -p'.    # In both cases, we have to default to `cp -p'.
5829      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
       as_ln_s='cp -p'  
   elif ln conf$$.file conf$$ 2>/dev/null; then  
     as_ln_s=ln  
   else  
5830      as_ln_s='cp -p'      as_ln_s='cp -p'
5831    fi  elif ln conf$$.file conf$$ 2>/dev/null; then
5832      as_ln_s=ln
5833  else  else
5834    as_ln_s='cp -p'    as_ln_s='cp -p'
5835  fi  fi
# Line 5175  else Line 5854  else
5854    as_test_x='    as_test_x='
5855      eval sh -c '\''      eval sh -c '\''
5856        if test -d "$1"; then        if test -d "$1"; then
5857          test -d "$1/.";          test -d "$1/.";
5858        else        else
5859          case $1 in          case $1 in
5860          -*)set "./$1";;          -*)set "./$1";;
5861          esac;          esac;
5862          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5863          ???[sx]*):;;*)false;;esac;fi          ???[sx]*):;;*)false;;esac;fi
# Line 5200  exec 6>&1 Line 5879  exec 6>&1
5879  # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
5880  # values after options handling.  # values after options handling.
5881  ac_log="  ac_log="
5882  This file was extended by GPXView $as_me 0.9.1, which was  This file was extended by GPXView $as_me 0.9.2, which was
5883  generated by GNU Autoconf 2.63.  Invocation command line was  generated by GNU Autoconf 2.61.  Invocation command line was
5884    
5885    CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
5886    CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 5214  on `(hostname || uname -n) 2>/dev/null | Line 5893  on `(hostname || uname -n) 2>/dev/null |
5893    
5894  _ACEOF  _ACEOF
5895    
5896  case $ac_config_files in *"  cat >>$CONFIG_STATUS <<_ACEOF
 "*) set x $ac_config_files; shift; ac_config_files=$*;;  
 esac  
   
   
   
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  
5897  # Files that config.status was made for.  # Files that config.status was made for.
5898  config_files="$ac_config_files"  config_files="$ac_config_files"
5899    
5900  _ACEOF  _ACEOF
5901    
5902  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
5903  ac_cs_usage="\  ac_cs_usage="\
5904  \`$as_me' instantiates files from templates according to the  \`$as_me' instantiates files from templates according to the
5905  current configuration.  current configuration.
5906    
5907  Usage: $0 [OPTION]... [FILE]...  Usage: $0 [OPTIONS] [FILE]...
5908    
5909    -h, --help       print this help, then exit    -h, --help       print this help, then exit
5910    -V, --version    print version number and configuration settings, then exit    -V, --version    print version number and configuration settings, then exit
5911    -q, --quiet, --silent    -q, --quiet      do not print progress messages
                    do not print progress messages  
5912    -d, --debug      don't remove temporary files    -d, --debug      don't remove temporary files
5913        --recheck    update $as_me by reconfiguring in the same conditions        --recheck    update $as_me by reconfiguring in the same conditions
5914        --file=FILE[:TEMPLATE]    --file=FILE[:TEMPLATE]
5915                     instantiate the configuration file FILE                     instantiate the configuration file FILE
5916    
5917  Configuration files:  Configuration files:
5918  $config_files  $config_files
# Line 5248  $config_files Line 5920  $config_files
5920  Report bugs to <bug-autoconf@gnu.org>."  Report bugs to <bug-autoconf@gnu.org>."
5921    
5922  _ACEOF  _ACEOF
5923  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
5924  ac_cs_version="\\  ac_cs_version="\\
5925  GPXView config.status 0.9.1  GPXView config.status 0.9.2
5926  configured by $0, generated by GNU Autoconf 2.63,  configured by $0, generated by GNU Autoconf 2.61,
5927    with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"    with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5928    
5929  Copyright (C) 2008 Free Software Foundation, Inc.  Copyright (C) 2006 Free Software Foundation, Inc.
5930  This config.status script is free software; the Free Software Foundation  This config.status script is free software; the Free Software Foundation
5931  gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
5932    
5933  ac_pwd='$ac_pwd'  ac_pwd='$ac_pwd'
5934  srcdir='$srcdir'  srcdir='$srcdir'
5935  INSTALL='$INSTALL'  INSTALL='$INSTALL'
 test -n "\$AWK" || AWK=awk  
5936  _ACEOF  _ACEOF
5937    
5938  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
5939  # The default lists apply if the user does not specify any file.  # If no file are specified by the user, then we need to provide default
5940    # value.  By we need to know if files were specified by the user.
5941  ac_need_defaults=:  ac_need_defaults=:
5942  while test $# != 0  while test $# != 0
5943  do  do
# Line 5287  do Line 5959  do
5959    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5960      ac_cs_recheck=: ;;      ac_cs_recheck=: ;;
5961    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5962      $as_echo "$ac_cs_version"; exit ;;      echo "$ac_cs_version"; exit ;;
5963    --debug | --debu | --deb | --de | --d | -d )    --debug | --debu | --deb | --de | --d | -d )
5964      debug=: ;;      debug=: ;;
5965    --file | --fil | --fi | --f )    --file | --fil | --fi | --f )
5966      $ac_shift      $ac_shift
5967      case $ac_optarg in      CONFIG_FILES="$CONFIG_FILES $ac_optarg"
     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;  
     esac  
     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"  
5968      ac_need_defaults=false;;      ac_need_defaults=false;;
5969    --he | --h |  --help | --hel | -h )    --he | --h |  --help | --hel | -h )
5970      $as_echo "$ac_cs_usage"; exit ;;      echo "$ac_cs_usage"; exit ;;
5971    -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5972    | -silent | --silent | --silen | --sile | --sil | --si | --s)    | -silent | --silent | --silen | --sile | --sil | --si | --s)
5973      ac_cs_silent=: ;;      ac_cs_silent=: ;;
5974    
5975    # This is an error.    # This is an error.
5976    -*) { $as_echo "$as_me: error: unrecognized option: $1    -*) { echo "$as_me: error: unrecognized option: $1
5977  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information." >&2
5978     { (exit 1); exit 1; }; } ;;     { (exit 1); exit 1; }; } ;;
5979    
# Line 5323  if $ac_cs_silent; then Line 5992  if $ac_cs_silent; then
5992  fi  fi
5993    
5994  _ACEOF  _ACEOF
5995  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
5996  if \$ac_cs_recheck; then  if \$ac_cs_recheck; then
5997    set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion    echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5998    shift    CONFIG_SHELL=$SHELL
   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6  
   CONFIG_SHELL='$SHELL'  
5999    export CONFIG_SHELL    export CONFIG_SHELL
6000    exec "\$@"    exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6001  fi  fi
6002    
6003  _ACEOF  _ACEOF
6004  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6005  exec 5>>config.log  exec 5>>config.log
6006  {  {
6007    echo    echo
6008    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6009  ## Running $as_me. ##  ## Running $as_me. ##
6010  _ASBOX  _ASBOX
6011    $as_echo "$ac_log"    echo "$ac_log"
6012  } >&5  } >&5
6013    
6014  _ACEOF  _ACEOF
6015  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
6016  _ACEOF  _ACEOF
6017    
6018  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6019    
6020  # Handling of arguments.  # Handling of arguments.
6021  for ac_config_target in $ac_config_targets  for ac_config_target in $ac_config_targets
# Line 5359  do Line 6026  do
6026      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
6027      "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;      "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;
6028    
6029    *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6030  $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6031     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
6032    esac    esac
6033  done  done
# Line 5399  $debug || Line 6066  $debug ||
6066    (umask 077 && mkdir "$tmp")    (umask 077 && mkdir "$tmp")
6067  } ||  } ||
6068  {  {
6069     $as_echo "$as_me: cannot create a temporary directory in ." >&2     echo "$me: cannot create a temporary directory in ." >&2
6070     { (exit 1); exit 1; }     { (exit 1); exit 1; }
6071  }  }
6072    
6073  # Set up the scripts for CONFIG_FILES section.  #
6074  # No need to generate them if there are no CONFIG_FILES.  # Set up the sed scripts for CONFIG_FILES section.
6075  # This happens for instance with `./config.status config.h'.  #
 if test -n "$CONFIG_FILES"; then  
   
6076    
6077  ac_cr=' '  # No need to generate the scripts if there are no CONFIG_FILES.
6078  ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`  # This happens for instance when ./config.status config.h
6079  if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then  if test -n "$CONFIG_FILES"; then
   ac_cs_awk_cr='\\r'  
 else  
   ac_cs_awk_cr=$ac_cr  
 fi  
6080    
 echo 'BEGIN {' >"$tmp/subs1.awk" &&  
6081  _ACEOF  _ACEOF
6082    
6083    
6084  {  
   echo "cat >conf$$subs.awk <<_ACEOF" &&  
   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&  
   echo "_ACEOF"  
 } >conf$$subs.sh ||  
   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5  
 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}  
    { (exit 1); exit 1; }; }  
 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`  
6085  ac_delim='%!_!# '  ac_delim='%!_!# '
6086  for ac_last_try in false false false false false :; do  for ac_last_try in false false false false false :; do
6087    . ./conf$$subs.sh ||    cat >conf$$subs.sed <<_ACEOF
6088      { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5  SHELL!$SHELL$ac_delim
6089  $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}  PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6090     { (exit 1); exit 1; }; }  PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6091    PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6092    PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6093    PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6094    PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6095    exec_prefix!$exec_prefix$ac_delim
6096    prefix!$prefix$ac_delim
6097    program_transform_name!$program_transform_name$ac_delim
6098    bindir!$bindir$ac_delim
6099    sbindir!$sbindir$ac_delim
6100    libexecdir!$libexecdir$ac_delim
6101    datarootdir!$datarootdir$ac_delim
6102    datadir!$datadir$ac_delim
6103    sysconfdir!$sysconfdir$ac_delim
6104    sharedstatedir!$sharedstatedir$ac_delim
6105    localstatedir!$localstatedir$ac_delim
6106    includedir!$includedir$ac_delim
6107    oldincludedir!$oldincludedir$ac_delim
6108    docdir!$docdir$ac_delim
6109    infodir!$infodir$ac_delim
6110    htmldir!$htmldir$ac_delim
6111    dvidir!$dvidir$ac_delim
6112    pdfdir!$pdfdir$ac_delim
6113    psdir!$psdir$ac_delim
6114    libdir!$libdir$ac_delim
6115    localedir!$localedir$ac_delim
6116    mandir!$mandir$ac_delim
6117    DEFS!$DEFS$ac_delim
6118    ECHO_C!$ECHO_C$ac_delim
6119    ECHO_N!$ECHO_N$ac_delim
6120    ECHO_T!$ECHO_T$ac_delim
6121    LIBS!$LIBS$ac_delim
6122    build_alias!$build_alias$ac_delim
6123    host_alias!$host_alias$ac_delim
6124    target_alias!$target_alias$ac_delim
6125    PACKAGE!$PACKAGE$ac_delim
6126    CC!$CC$ac_delim
6127    CFLAGS!$CFLAGS$ac_delim
6128    LDFLAGS!$LDFLAGS$ac_delim
6129    CPPFLAGS!$CPPFLAGS$ac_delim
6130    ac_ct_CC!$ac_ct_CC$ac_delim
6131    EXEEXT!$EXEEXT$ac_delim
6132    OBJEXT!$OBJEXT$ac_delim
6133    INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6134    INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6135    INSTALL_DATA!$INSTALL_DATA$ac_delim
6136    LN_S!$LN_S$ac_delim
6137    SET_MAKE!$SET_MAKE$ac_delim
6138    PKG_CONFIG!$PKG_CONFIG$ac_delim
6139    gnome_vfs_module_CFLAGS!$gnome_vfs_module_CFLAGS$ac_delim
6140    gnome_vfs_module_LIBS!$gnome_vfs_module_LIBS$ac_delim
6141    libxml2_CFLAGS!$libxml2_CFLAGS$ac_delim
6142    libxml2_LIBS!$libxml2_LIBS$ac_delim
6143    libcurl_CFLAGS!$libcurl_CFLAGS$ac_delim
6144    libcurl_LIBS!$libcurl_LIBS$ac_delim
6145    CPP!$CPP$ac_delim
6146    GREP!$GREP$ac_delim
6147    EGREP!$EGREP$ac_delim
6148    libsoup24_CFLAGS!$libsoup24_CFLAGS$ac_delim
6149    libsoup24_LIBS!$libsoup24_LIBS$ac_delim
6150    libsoup22_CFLAGS!$libsoup22_CFLAGS$ac_delim
6151    libsoup22_LIBS!$libsoup22_LIBS$ac_delim
6152    libgtkhtml3_14_CFLAGS!$libgtkhtml3_14_CFLAGS$ac_delim
6153    libgtkhtml3_14_LIBS!$libgtkhtml3_14_LIBS$ac_delim
6154    libgtkhtml3_8_CFLAGS!$libgtkhtml3_8_CFLAGS$ac_delim
6155    libgtkhtml3_8_LIBS!$libgtkhtml3_8_LIBS$ac_delim
6156    hildon_CFLAGS!$hildon_CFLAGS$ac_delim
6157    hildon_LIBS!$hildon_LIBS$ac_delim
6158    osso_CFLAGS!$osso_CFLAGS$ac_delim
6159    osso_LIBS!$osso_LIBS$ac_delim
6160    hildon_fm_2_CFLAGS!$hildon_fm_2_CFLAGS$ac_delim
6161    hildon_fm_2_LIBS!$hildon_fm_2_LIBS$ac_delim
6162    sqlite3_CFLAGS!$sqlite3_CFLAGS$ac_delim
6163    sqlite3_LIBS!$sqlite3_LIBS$ac_delim
6164    hildon_help_CFLAGS!$hildon_help_CFLAGS$ac_delim
6165    hildon_help_LIBS!$hildon_help_LIBS$ac_delim
6166    gpsbt_CFLAGS!$gpsbt_CFLAGS$ac_delim
6167    gpsbt_LIBS!$gpsbt_LIBS$ac_delim
6168    liblocation_CFLAGS!$liblocation_CFLAGS$ac_delim
6169    liblocation_LIBS!$liblocation_LIBS$ac_delim
6170    MAEMO_VERSION_MAJOR!$MAEMO_VERSION_MAJOR$ac_delim
6171    gtk_CFLAGS!$gtk_CFLAGS$ac_delim
6172    gtk_LIBS!$gtk_LIBS$ac_delim
6173    gnome2_CFLAGS!$gnome2_CFLAGS$ac_delim
6174    gnome2_LIBS!$gnome2_LIBS$ac_delim
6175    EXTRA_OBJS!$EXTRA_OBJS$ac_delim
6176    ICON!$ICON$ac_delim
6177    INSTALL_PLATTFORM!$INSTALL_PLATTFORM$ac_delim
6178    LIBOBJS!$LIBOBJS$ac_delim
6179    LTLIBOBJS!$LTLIBOBJS$ac_delim
6180    _ACEOF
6181    
6182    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`    if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then
   if test $ac_delim_n = $ac_delim_num; then  
6183      break      break
6184    elif $ac_last_try; then    elif $ac_last_try; then
6185      { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5      { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6186  $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}  echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6187     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
6188    else    else
6189      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6190    fi    fi
6191  done  done
 rm -f conf$$subs.sh  
6192    
6193  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6194  cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&  if test -n "$ac_eof"; then
6195      ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6196      ac_eof=`expr $ac_eof + 1`
6197    fi
6198    
6199    cat >>$CONFIG_STATUS <<_ACEOF
6200    cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6201    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6202    _ACEOF
6203    sed '
6204    s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6205    s/^/s,@/; s/!/@,|#_!!_#|/
6206    :n
6207    t n
6208    s/'"$ac_delim"'$/,g/; t
6209    s/$/\\/; p
6210    N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6211    ' >>$CONFIG_STATUS <conf$$subs.sed
6212    rm -f conf$$subs.sed
6213    cat >>$CONFIG_STATUS <<_ACEOF
6214    :end
6215    s/|#_!!_#|//g
6216    CEOF$ac_eof
6217  _ACEOF  _ACEOF
 sed -n '  
 h  
 s/^/S["/; s/!.*/"]=/  
 p  
 g  
 s/^[^!]*!//  
 :repl  
 t repl  
 s/'"$ac_delim"'$//  
 t delim  
 :nl  
 h  
 s/\(.\{148\}\).*/\1/  
 t more1  
 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/  
 p  
 n  
 b repl  
 :more1  
 s/["\\]/\\&/g; s/^/"/; s/$/"\\/  
 p  
 g  
 s/.\{148\}//  
 t nl  
 :delim  
 h  
 s/\(.\{148\}\).*/\1/  
 t more2  
 s/["\\]/\\&/g; s/^/"/; s/$/"/  
 p  
 b  
 :more2  
 s/["\\]/\\&/g; s/^/"/; s/$/"\\/  
 p  
 g  
 s/.\{148\}//  
 t delim  
 ' <conf$$subs.awk | sed '  
 /^[^""]/{  
   N  
   s/\n//  
 }  
 ' >>$CONFIG_STATUS || ac_write_fail=1  
 rm -f conf$$subs.awk  
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  
 _ACAWK  
 cat >>"\$tmp/subs1.awk" <<_ACAWK &&  
   for (key in S) S_is_set[key] = 1  
   FS = ""  
6218    
 }  
 {  
   line = $ 0  
   nfields = split(line, field, "@")  
   substed = 0  
   len = length(field[1])  
   for (i = 2; i < nfields; i++) {  
     key = field[i]  
     keylen = length(key)  
     if (S_is_set[key]) {  
       value = S[key]  
       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)  
       len += length(value) + length(field[++i])  
       substed = 1  
     } else  
       len += 1 + keylen  
   }  
   
   print line  
 }  
   
 _ACAWK  
 _ACEOF  
 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  
 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then  
   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"  
 else  
   cat  
 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \  
   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5  
 $as_echo "$as_me: error: could not setup config files machinery" >&2;}  
    { (exit 1); exit 1; }; }  
 _ACEOF  
6219    
6220  # VPATH may cause trouble with some makes, so we remove $(srcdir),  # VPATH may cause trouble with some makes, so we remove $(srcdir),
6221  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
# Line 5552  s/^[^=]*=[      ]*$// Line 6232  s/^[^=]*=[      ]*$//
6232  }'  }'
6233  fi  fi
6234    
6235  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6236  fi # test -n "$CONFIG_FILES"  fi # test -n "$CONFIG_FILES"
6237    
6238    
6239  eval set X "  :F $CONFIG_FILES      "  for ac_tag in  :F $CONFIG_FILES
 shift  
 for ac_tag  
6240  do  do
6241    case $ac_tag in    case $ac_tag in
6242    :[FHLC]) ac_mode=$ac_tag; continue;;    :[FHLC]) ac_mode=$ac_tag; continue;;
6243    esac    esac
6244    case $ac_mode$ac_tag in    case $ac_mode$ac_tag in
6245    :[FHL]*:*);;    :[FHL]*:*);;
6246    :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5    :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6247  $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}  echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6248     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
6249    :[FH]-) ac_tag=-:-;;    :[FH]-) ac_tag=-:-;;
6250    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
# Line 5595  $as_echo "$as_me: error: invalid tag $ac Line 6273  $as_echo "$as_me: error: invalid tag $ac
6273             [\\/$]*) false;;             [\\/$]*) false;;
6274             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6275             esac ||             esac ||
6276             { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5             { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6277  $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}  echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6278     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
6279        esac        esac
6280        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac        ac_file_inputs="$ac_file_inputs $ac_f"
       ac_file_inputs="$ac_file_inputs '$ac_f'"  
6281      done      done
6282    
6283      # Let's still pretend it is `configure' which instantiates (i.e., don't      # Let's still pretend it is `configure' which instantiates (i.e., don't
6284      # use $as_me), people would be surprised to read:      # use $as_me), people would be surprised to read:
6285      #    /* config.h.  Generated by config.status.  */      #    /* config.h.  Generated by config.status.  */
6286      configure_input='Generated from '`      configure_input="Generated from "`IFS=:
6287            $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'            echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
         `' by configure.'  
6288      if test x"$ac_file" != x-; then      if test x"$ac_file" != x-; then
6289        configure_input="$ac_file.  $configure_input"        configure_input="$ac_file.  $configure_input"
6290        { $as_echo "$as_me:$LINENO: creating $ac_file" >&5        { echo "$as_me:$LINENO: creating $ac_file" >&5
6291  $as_echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
6292      fi      fi
     # Neutralize special characters interpreted by sed in replacement strings.  
     case $configure_input in #(  
     *\&* | *\|* | *\\* )  
        ac_sed_conf_input=`$as_echo "$configure_input" |  
        sed 's/[\\\\&|]/\\\\&/g'`;; #(  
     *) ac_sed_conf_input=$configure_input;;  
     esac  
6293    
6294      case $ac_tag in      case $ac_tag in
6295      *:-:* | *:-) cat >"$tmp/stdin" \      *:-:* | *:-) cat >"$tmp/stdin";;
       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5  
 $as_echo "$as_me: error: could not create $ac_file" >&2;}  
    { (exit 1); exit 1; }; } ;;  
6296      esac      esac
6297      ;;      ;;
6298    esac    esac
# Line 5636  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^ Line 6302  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^
6302           X"$ac_file" : 'X\(//\)[^/]' \| \           X"$ac_file" : 'X\(//\)[^/]' \| \
6303           X"$ac_file" : 'X\(//\)$' \| \           X"$ac_file" : 'X\(//\)$' \| \
6304           X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||           X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6305  $as_echo X"$ac_file" |  echo X"$ac_file" |
6306      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6307              s//\1/              s//\1/
6308              q              q
# Line 5662  $as_echo X"$ac_file" | Line 6328  $as_echo X"$ac_file" |
6328      as_dirs=      as_dirs=
6329      while :; do      while :; do
6330        case $as_dir in #(        case $as_dir in #(
6331        *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(        *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6332        *) as_qdir=$as_dir;;        *) as_qdir=$as_dir;;
6333        esac        esac
6334        as_dirs="'$as_qdir' $as_dirs"        as_dirs="'$as_qdir' $as_dirs"
# Line 5671  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/ Line 6337  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/
6337           X"$as_dir" : 'X\(//\)[^/]' \| \           X"$as_dir" : 'X\(//\)[^/]' \| \
6338           X"$as_dir" : 'X\(//\)$' \| \           X"$as_dir" : 'X\(//\)$' \| \
6339           X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||           X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6340  $as_echo X"$as_dir" |  echo X"$as_dir" |
6341      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6342              s//\1/              s//\1/
6343              q              q
# Line 5692  $as_echo X"$as_dir" | Line 6358  $as_echo X"$as_dir" |
6358        test -d "$as_dir" && break        test -d "$as_dir" && break
6359      done      done
6360      test -z "$as_dirs" || eval "mkdir $as_dirs"      test -z "$as_dirs" || eval "mkdir $as_dirs"
6361    } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5    } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6362  $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}  echo "$as_me: error: cannot create directory $as_dir" >&2;}
6363     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }; }
6364    ac_builddir=.    ac_builddir=.
6365    
6366  case "$ac_dir" in  case "$ac_dir" in
6367  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6368  *)  *)
6369    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6370    # A ".." for each directory in $ac_dir_suffix.    # A ".." for each directory in $ac_dir_suffix.
6371    ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`    ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6372    case $ac_top_builddir_sub in    case $ac_top_builddir_sub in
6373    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6374    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
# Line 5742  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ Line 6408  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
6408    esac    esac
6409  _ACEOF  _ACEOF
6410    
6411  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6412  # If the template does not know about datarootdir, expand it.  # If the template does not know about datarootdir, expand it.
6413  # FIXME: This hack should be removed a few years after 2.60.  # FIXME: This hack should be removed a few years after 2.60.
6414  ac_datarootdir_hack=; ac_datarootdir_seen=  ac_datarootdir_hack=; ac_datarootdir_seen=
6415    
6416  ac_sed_dataroot='  case `sed -n '/datarootdir/ {
 /datarootdir/ {  
6417    p    p
6418    q    q
6419  }  }
# Line 5757  ac_sed_dataroot=' Line 6422  ac_sed_dataroot='
6422  /@infodir@/p  /@infodir@/p
6423  /@localedir@/p  /@localedir@/p
6424  /@mandir@/p  /@mandir@/p
6425  '  ' $ac_file_inputs` in
 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in  
6426  *datarootdir*) ac_datarootdir_seen=yes;;  *datarootdir*) ac_datarootdir_seen=yes;;
6427  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6428    { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5    { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6429  $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}  echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6430  _ACEOF  _ACEOF
6431  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
6432    ac_datarootdir_hack='    ac_datarootdir_hack='
6433    s&@datadir@&$datadir&g    s&@datadir@&$datadir&g
6434    s&@docdir@&$docdir&g    s&@docdir@&$docdir&g
# Line 5778  _ACEOF Line 6442  _ACEOF
6442  # Neutralize VPATH when `$srcdir' = `.'.  # Neutralize VPATH when `$srcdir' = `.'.
6443  # Shell code in configure.ac might set extrasub.  # Shell code in configure.ac might set extrasub.
6444  # FIXME: do we really want to maintain this feature?  # FIXME: do we really want to maintain this feature?
6445  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
6446  ac_sed_extra="$ac_vpsub    sed "$ac_vpsub
6447  $extrasub  $extrasub
6448  _ACEOF  _ACEOF
6449  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6450  :t  :t
6451  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6452  s|@configure_input@|$ac_sed_conf_input|;t t  s&@configure_input@&$configure_input&;t t
6453  s&@top_builddir@&$ac_top_builddir_sub&;t t  s&@top_builddir@&$ac_top_builddir_sub&;t t
 s&@top_build_prefix@&$ac_top_build_prefix&;t t  
6454  s&@srcdir@&$ac_srcdir&;t t  s&@srcdir@&$ac_srcdir&;t t
6455  s&@abs_srcdir@&$ac_abs_srcdir&;t t  s&@abs_srcdir@&$ac_abs_srcdir&;t t
6456  s&@top_srcdir@&$ac_top_srcdir&;t t  s&@top_srcdir@&$ac_top_srcdir&;t t
# Line 5797  s&@abs_builddir@&$ac_abs_builddir&;t t Line 6460  s&@abs_builddir@&$ac_abs_builddir&;t t
6460  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6461  s&@INSTALL@&$ac_INSTALL&;t t  s&@INSTALL@&$ac_INSTALL&;t t
6462  $ac_datarootdir_hack  $ac_datarootdir_hack
6463  "  " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \  
   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5  
 $as_echo "$as_me: error: could not create $ac_file" >&2;}  
    { (exit 1); exit 1; }; }  
6464    
6465  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6466    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6467    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6468    { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'    { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6469  which seems to be undefined.  Please make sure it is defined." >&5  which seems to be undefined.  Please make sure it is defined." >&5
6470  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'  echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6471  which seems to be undefined.  Please make sure it is defined." >&2;}  which seems to be undefined.  Please make sure it is defined." >&2;}
6472    
6473    rm -f "$tmp/stdin"    rm -f "$tmp/stdin"
6474    case $ac_file in    case $ac_file in
6475    -) cat "$tmp/out" && rm -f "$tmp/out";;    -) cat "$tmp/out"; rm -f "$tmp/out";;
6476    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;    *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6477    esac \    esac
   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5  
 $as_echo "$as_me: error: could not create $ac_file" >&2;}  
    { (exit 1); exit 1; }; }  
6478   ;;   ;;
6479    
6480    
# Line 5833  _ACEOF Line 6489  _ACEOF
6489  chmod +x $CONFIG_STATUS  chmod +x $CONFIG_STATUS
6490  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
6491    
 test $ac_write_fail = 0 ||  
   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5  
 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}  
    { (exit 1); exit 1; }; }  
   
6492    
6493  # configure is writing to config.log, and then calls config.status.  # configure is writing to config.log, and then calls config.status.
6494  # config.status does its own redirection, appending to config.log.  # config.status does its own redirection, appending to config.log.
# Line 5859  if test "$no_create" != yes; then Line 6510  if test "$no_create" != yes; then
6510    # would make configure fail if this is the last instruction.    # would make configure fail if this is the last instruction.
6511    $ac_cs_success || { (exit 1); exit 1; }    $ac_cs_success || { (exit 1); exit 1; }
6512  fi  fi
 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then  
   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5  
 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}  
 fi  
6513    

Legend:
Removed from v.245  
changed lines
  Added in v.246