Diff of /trunk/configure

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

revision 60 by harbaum, Mon Aug 17 19:44:00 2009 UTC revision 282 by harbaum, Wed May 26 19:21:47 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.8.4.  # Generated by GNU Autoconf 2.61 for GPXView 0.9.4.
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.8.4'  PACKAGE_VERSION='0.9.4'
578  PACKAGE_STRING='GPXView 0.8.4'  PACKAGE_STRING='GPXView 0.9.4'
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  EXTRA_OBJS  #ifdef HAVE_SYS_TYPES_H
586  gnome2_LIBS  # include <sys/types.h>
587  gnome2_CFLAGS  #endif
588  gtk_LIBS  #ifdef HAVE_SYS_STAT_H
589  gtk_CFLAGS  # include <sys/stat.h>
590  liblocation_LIBS  #endif
591  liblocation_CFLAGS  #ifdef STDC_HEADERS
592  gpsbt_LIBS  # include <stdlib.h>
593  gpsbt_CFLAGS  # include <stddef.h>
594  hildon_help_LIBS  #else
595  hildon_help_CFLAGS  # ifdef HAVE_STDLIB_H
596  sqlite3_LIBS  #  include <stdlib.h>
597  sqlite3_CFLAGS  # endif
598  hildon_fm_2_LIBS  #endif
599  hildon_fm_2_CFLAGS  #ifdef HAVE_STRING_H
600  osso_LIBS  # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601  osso_CFLAGS  #  include <memory.h>
602  hildon_LIBS  # endif
603  hildon_CFLAGS  # include <string.h>
604  libgtkhtml3_8_LIBS  #endif
605  libgtkhtml3_8_CFLAGS  #ifdef HAVE_STRINGS_H
606  libgtkhtml3_14_LIBS  # include <strings.h>
607  libgtkhtml3_14_CFLAGS  #endif
608  libsoup22_LIBS  #ifdef HAVE_INTTYPES_H
609  libsoup22_CFLAGS  # include <inttypes.h>
610  libsoup24_LIBS  #endif
611  libsoup24_CFLAGS  #ifdef HAVE_STDINT_H
612  libxml2_LIBS  # include <stdint.h>
613  libxml2_CFLAGS  #endif
614  gnome_vfs_module_LIBS  #ifdef HAVE_UNISTD_H
615  gnome_vfs_module_CFLAGS  # include <unistd.h>
616  PKG_CONFIG  #endif"
617  SET_MAKE  
618  LN_S  ac_subst_vars='SHELL
 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    libsoup24_CFLAGS
676    libsoup24_LIBS
677    libsoup22_CFLAGS
678    libsoup22_LIBS
679    libgtkhtml3_14_CFLAGS
680    libgtkhtml3_14_LIBS
681    libgtkhtml3_8_CFLAGS
682    libgtkhtml3_8_LIBS
683    hildon_CFLAGS
684    hildon_LIBS
685    osso_CFLAGS
686    osso_LIBS
687    hildon_fm_2_CFLAGS
688    hildon_fm_2_LIBS
689    sqlite3_CFLAGS
690    sqlite3_LIBS
691    hildon_help_CFLAGS
692    hildon_help_LIBS
693    gpsbt_CFLAGS
694    gpsbt_LIBS
695    liblocation_CFLAGS
696    liblocation_LIBS
697    MAEMO_VERSION_MAJOR
698    CPP
699    GREP
700    EGREP
701    gtk_CFLAGS
702    gtk_LIBS
703    gnome2_CFLAGS
704    gnome2_LIBS
705    gps_CFLAGS
706    gps_LIBS
707    EXTRA_OBJS
708    ICON
709    INSTALL_PLATTFORM
710    LIBOBJS
711    LTLIBOBJS'
712  ac_subst_files=''  ac_subst_files=''
 ac_user_opts='  
 enable_option_checking  
 '  
713        ac_precious_vars='build_alias        ac_precious_vars='build_alias
714  host_alias  host_alias
715  target_alias  target_alias
# Line 703  gnome_vfs_module_CFLAGS Line 723  gnome_vfs_module_CFLAGS
723  gnome_vfs_module_LIBS  gnome_vfs_module_LIBS
724  libxml2_CFLAGS  libxml2_CFLAGS
725  libxml2_LIBS  libxml2_LIBS
726    libcurl_CFLAGS
727    libcurl_LIBS
728  libsoup24_CFLAGS  libsoup24_CFLAGS
729  libsoup24_LIBS  libsoup24_LIBS
730  libsoup22_CFLAGS  libsoup22_CFLAGS
# Line 725  gpsbt_CFLAGS Line 747  gpsbt_CFLAGS
747  gpsbt_LIBS  gpsbt_LIBS
748  liblocation_CFLAGS  liblocation_CFLAGS
749  liblocation_LIBS  liblocation_LIBS
750    CPP
751  gtk_CFLAGS  gtk_CFLAGS
752  gtk_LIBS  gtk_LIBS
753  gnome2_CFLAGS  gnome2_CFLAGS
754  gnome2_LIBS'  gnome2_LIBS
755    gps_CFLAGS
756    gps_LIBS'
757    
758    
759  # Initialize some variables set by options.  # Initialize some variables set by options.
760  ac_init_help=  ac_init_help=
761  ac_init_version=false  ac_init_version=false
 ac_unrecognized_opts=  
 ac_unrecognized_sep=  
762  # The variables have the same names as the options, with  # The variables have the same names as the options, with
763  # dashes changed to underlines.  # dashes changed to underlines.
764  cache_file=/dev/null  cache_file=/dev/null
# Line 834  do Line 857  do
857      datarootdir=$ac_optarg ;;      datarootdir=$ac_optarg ;;
858    
859    -disable-* | --disable-*)    -disable-* | --disable-*)
860      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
861      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
862      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
863        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
864     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
865      ac_useropt_orig=$ac_useropt      ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
866      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 ;;  
867    
868    -docdir | --docdir | --docdi | --doc | --do)    -docdir | --docdir | --docdi | --doc | --do)
869      ac_prev=docdir ;;      ac_prev=docdir ;;
# Line 861  do Line 876  do
876      dvidir=$ac_optarg ;;      dvidir=$ac_optarg ;;
877    
878    -enable-* | --enable-*)    -enable-* | --enable-*)
879      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
881      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
882        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
883     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
884      ac_useropt_orig=$ac_useropt      ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
885      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 ;;  
886    
887    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
888    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 1066  do Line 1073  do
1073      ac_init_version=: ;;      ac_init_version=: ;;
1074    
1075    -with-* | --with-*)    -with-* | --with-*)
1076      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1077      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1078      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1079        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2        { echo "$as_me: error: invalid package name: $ac_package" >&2
1080     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1081      ac_useropt_orig=$ac_useropt      ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1082      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 ;;  
1083    
1084    -without-* | --without-*)    -without-* | --without-*)
1085      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1086      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1087      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1088        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2        { echo "$as_me: error: invalid package name: $ac_package" >&2
1089     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1090      ac_useropt_orig=$ac_useropt      ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1091      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 ;;  
1092    
1093    --x)    --x)
1094      # Obsolete; use --with-x.      # Obsolete; use --with-x.
# Line 1117  do Line 1108  do
1108    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1109      x_libraries=$ac_optarg ;;      x_libraries=$ac_optarg ;;
1110    
1111    -*) { $as_echo "$as_me: error: unrecognized option: $ac_option    -*) { echo "$as_me: error: unrecognized option: $ac_option
1112  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information." >&2
1113     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1114      ;;      ;;
# Line 1126  Try \`$0 --help' for more information." Line 1117  Try \`$0 --help' for more information."
1117      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1118      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1119      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1120        { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1121     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1122      eval $ac_envvar=\$ac_optarg      eval $ac_envvar=\$ac_optarg
1123      export $ac_envvar ;;      export $ac_envvar ;;
1124    
1125    *)    *)
1126      # FIXME: should be removed in autoconf 3.0.      # FIXME: should be removed in autoconf 3.0.
1127      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1128      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1129        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1130      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1131      ;;      ;;
1132    
# Line 1144  done Line 1135  done
1135    
1136  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
1137    ac_option=--`echo $ac_prev | sed 's/_/-/g'`    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1138    { $as_echo "$as_me: error: missing argument to $ac_option" >&2    { echo "$as_me: error: missing argument to $ac_option" >&2
1139     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1140  fi  fi
1141    
1142  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.  
1143  for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \  for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1144                  datadir sysconfdir sharedstatedir localstatedir includedir \                  datadir sysconfdir sharedstatedir localstatedir includedir \
1145                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1146                  libdir localedir mandir                  libdir localedir mandir
1147  do  do
1148    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.  
1149    case $ac_val in    case $ac_val in
1150      [\\/$]* | ?:[\\/]* )  continue;;      [\\/$]* | ?:[\\/]* )  continue;;
1151      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1152    esac    esac
1153    { $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
1154     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1155  done  done
1156    
# Line 1190  target=$target_alias Line 1165  target=$target_alias
1165  if test "x$host_alias" != x; then  if test "x$host_alias" != x; then
1166    if test "x$build_alias" = x; then    if test "x$build_alias" = x; then
1167      cross_compiling=maybe      cross_compiling=maybe
1168      $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.
1169      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
1170    elif test "x$build_alias" != "x$host_alias"; then    elif test "x$build_alias" != "x$host_alias"; then
1171      cross_compiling=yes      cross_compiling=yes
# Line 1206  test "$silent" = yes && exec 6>/dev/null Line 1181  test "$silent" = yes && exec 6>/dev/null
1181  ac_pwd=`pwd` && test -n "$ac_pwd" &&  ac_pwd=`pwd` && test -n "$ac_pwd" &&
1182  ac_ls_di=`ls -di .` &&  ac_ls_di=`ls -di .` &&
1183  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1184    { $as_echo "$as_me: error: working directory cannot be determined" >&2    { echo "$as_me: error: Working directory cannot be determined" >&2
1185     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1186  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1187    { $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
1188     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1189    
1190    
# Line 1217  test "X$ac_ls_di" = "X$ac_pwd_ls_di" || Line 1192  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1192  if test -z "$srcdir"; then  if test -z "$srcdir"; then
1193    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
1194    # Try the directory containing this script, then the parent directory.    # Try the directory containing this script, then the parent directory.
1195    ac_confdir=`$as_dirname -- "$as_myself" ||    ac_confdir=`$as_dirname -- "$0" ||
1196  $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1197           X"$as_myself" : 'X\(//\)[^/]' \| \           X"$0" : 'X\(//\)[^/]' \| \
1198           X"$as_myself" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
1199           X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1200  $as_echo X"$as_myself" |  echo X"$0" |
1201      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1202              s//\1/              s//\1/
1203              q              q
# Line 1249  else Line 1224  else
1224  fi  fi
1225  if test ! -r "$srcdir/$ac_unique_file"; then  if test ! -r "$srcdir/$ac_unique_file"; then
1226    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1227    { $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
1228     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1229  fi  fi
1230  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1231  ac_abs_confdir=`(  ac_abs_confdir=`(
1232          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
1233     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1234          pwd)`          pwd)`
1235  # When building in place, set srcdir=.  # When building in place, set srcdir=.
# Line 1281  if test "$ac_init_help" = "long"; then Line 1256  if test "$ac_init_help" = "long"; then
1256    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
1257    # 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.
1258    cat <<_ACEOF    cat <<_ACEOF
1259  \`configure' configures GPXView 0.8.4 to adapt to many kinds of systems.  \`configure' configures GPXView 0.9.4 to adapt to many kinds of systems.
1260    
1261  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
1262    
# Line 1303  Configuration: Line 1278  Configuration:
1278    
1279  Installation directories:  Installation directories:
1280    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
1281                            [$ac_default_prefix]                            [$ac_default_prefix]
1282    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1283                            [PREFIX]                            [PREFIX]
1284    
1285  By default, \`make install' will install all the files in  By default, \`make install' will install all the files in
1286  \`$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 1315  for instance \`--prefix=\$HOME'. Line 1290  for instance \`--prefix=\$HOME'.
1290  For better control, use the options below.  For better control, use the options below.
1291    
1292  Fine tuning of the installation directories:  Fine tuning of the installation directories:
1293    --bindir=DIR            user executables [EPREFIX/bin]    --bindir=DIR           user executables [EPREFIX/bin]
1294    --sbindir=DIR           system admin executables [EPREFIX/sbin]    --sbindir=DIR          system admin executables [EPREFIX/sbin]
1295    --libexecdir=DIR        program executables [EPREFIX/libexec]    --libexecdir=DIR       program executables [EPREFIX/libexec]
1296    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]    --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1297    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]    --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1298    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]    --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1299    --libdir=DIR            object code libraries [EPREFIX/lib]    --libdir=DIR           object code libraries [EPREFIX/lib]
1300    --includedir=DIR        C header files [PREFIX/include]    --includedir=DIR       C header files [PREFIX/include]
1301    --oldincludedir=DIR     C header files for non-gcc [/usr/include]    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1302    --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]    --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1303    --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]    --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1304    --infodir=DIR           info documentation [DATAROOTDIR/info]    --infodir=DIR          info documentation [DATAROOTDIR/info]
1305    --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]    --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1306    --mandir=DIR            man documentation [DATAROOTDIR/man]    --mandir=DIR           man documentation [DATAROOTDIR/man]
1307    --docdir=DIR            documentation root [DATAROOTDIR/doc/gpxview]    --docdir=DIR           documentation root [DATAROOTDIR/doc/gpxview]
1308    --htmldir=DIR           html documentation [DOCDIR]    --htmldir=DIR          html documentation [DOCDIR]
1309    --dvidir=DIR            dvi documentation [DOCDIR]    --dvidir=DIR           dvi documentation [DOCDIR]
1310    --pdfdir=DIR            pdf documentation [DOCDIR]    --pdfdir=DIR           pdf documentation [DOCDIR]
1311    --psdir=DIR             ps documentation [DOCDIR]    --psdir=DIR            ps documentation [DOCDIR]
1312  _ACEOF  _ACEOF
1313    
1314    cat <<\_ACEOF    cat <<\_ACEOF
# Line 1342  fi Line 1317  fi
1317    
1318  if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
1319    case $ac_init_help in    case $ac_init_help in
1320       short | recursive ) echo "Configuration of GPXView 0.8.4:";;       short | recursive ) echo "Configuration of GPXView 0.9.4:";;
1321     esac     esac
1322    cat <<\_ACEOF    cat <<\_ACEOF
1323    
# Line 1363  Some influential environment variables: Line 1338  Some influential environment variables:
1338                C compiler flags for libxml2, overriding pkg-config                C compiler flags for libxml2, overriding pkg-config
1339    libxml2_LIBS    libxml2_LIBS
1340                linker flags for libxml2, overriding pkg-config                linker flags for libxml2, overriding pkg-config
1341      libcurl_CFLAGS
1342                  C compiler flags for libcurl, overriding pkg-config
1343      libcurl_LIBS
1344                  linker flags for libcurl, overriding pkg-config
1345    libsoup24_CFLAGS    libsoup24_CFLAGS
1346                C compiler flags for libsoup24, overriding pkg-config                C compiler flags for libsoup24, overriding pkg-config
1347    libsoup24_LIBS    libsoup24_LIBS
# Line 1403  Some influential environment variables: Line 1382  Some influential environment variables:
1382                C compiler flags for liblocation, overriding pkg-config                C compiler flags for liblocation, overriding pkg-config
1383    liblocation_LIBS    liblocation_LIBS
1384                linker flags for liblocation, overriding pkg-config                linker flags for liblocation, overriding pkg-config
1385      CPP         C preprocessor
1386    gtk_CFLAGS  C compiler flags for gtk, overriding pkg-config    gtk_CFLAGS  C compiler flags for gtk, overriding pkg-config
1387    gtk_LIBS    linker flags for gtk, overriding pkg-config    gtk_LIBS    linker flags for gtk, overriding pkg-config
1388    gnome2_CFLAGS    gnome2_CFLAGS
1389                C compiler flags for gnome2, overriding pkg-config                C compiler flags for gnome2, overriding pkg-config
1390    gnome2_LIBS linker flags for gnome2, overriding pkg-config    gnome2_LIBS linker flags for gnome2, overriding pkg-config
1391      gps_CFLAGS  C compiler flags for gps, overriding pkg-config
1392      gps_LIBS    linker flags for gps, overriding pkg-config
1393    
1394  Use these variables to override the choices made by `configure' or to help  Use these variables to override the choices made by `configure' or to help
1395  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
# Line 1420  fi Line 1402  fi
1402  if test "$ac_init_help" = "recursive"; then  if test "$ac_init_help" = "recursive"; then
1403    # If there are subdirs, report their specific --help.    # If there are subdirs, report their specific --help.
1404    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
1405      test -d "$ac_dir" ||      test -d "$ac_dir" || continue
       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||  
       continue  
1406      ac_builddir=.      ac_builddir=.
1407    
1408  case "$ac_dir" in  case "$ac_dir" in
1409  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410  *)  *)
1411    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412    # A ".." for each directory in $ac_dir_suffix.    # A ".." for each directory in $ac_dir_suffix.
1413    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,/,,'`
1414    case $ac_top_builddir_sub in    case $ac_top_builddir_sub in
1415    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
# Line 1466  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ Line 1446  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
1446        echo &&        echo &&
1447        $SHELL "$ac_srcdir/configure" --help=recursive        $SHELL "$ac_srcdir/configure" --help=recursive
1448      else      else
1449        $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
1450      fi || ac_status=$?      fi || ac_status=$?
1451      cd "$ac_pwd" || { ac_status=$?; break; }      cd "$ac_pwd" || { ac_status=$?; break; }
1452    done    done
# Line 1475  fi Line 1455  fi
1455  test -n "$ac_init_help" && exit $ac_status  test -n "$ac_init_help" && exit $ac_status
1456  if $ac_init_version; then  if $ac_init_version; then
1457    cat <<\_ACEOF    cat <<\_ACEOF
1458  GPXView configure 0.8.4  GPXView configure 0.9.4
1459  generated by GNU Autoconf 2.63  generated by GNU Autoconf 2.61
1460    
1461  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462  2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.  2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1463  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1464  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1465  _ACEOF  _ACEOF
# Line 1489  cat >config.log <<_ACEOF Line 1469  cat >config.log <<_ACEOF
1469  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
1470  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1471    
1472  It was created by GPXView $as_me 0.8.4, which was  It was created by GPXView $as_me 0.9.4, which was
1473  generated by GNU Autoconf 2.63.  Invocation command line was  generated by GNU Autoconf 2.61.  Invocation command line was
1474    
1475    $ $0 $@    $ $0 $@
1476    
# Line 1526  for as_dir in $PATH Line 1506  for as_dir in $PATH
1506  do  do
1507    IFS=$as_save_IFS    IFS=$as_save_IFS
1508    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1509    $as_echo "PATH: $as_dir"    echo "PATH: $as_dir"
1510  done  done
1511  IFS=$as_save_IFS  IFS=$as_save_IFS
1512    
# Line 1561  do Line 1541  do
1541      | -silent | --silent | --silen | --sile | --sil)      | -silent | --silent | --silen | --sile | --sil)
1542        continue ;;        continue ;;
1543      *\'*)      *\'*)
1544        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545      esac      esac
1546      case $ac_pass in      case $ac_pass in
1547      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
# Line 1613  _ASBOX Line 1593  _ASBOX
1593      case $ac_val in #(      case $ac_val in #(
1594      *${as_nl}*)      *${as_nl}*)
1595        case $ac_var in #(        case $ac_var in #(
1596        *_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
1597  $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;} ;;
1598        esac        esac
1599        case $ac_var in #(        case $ac_var in #(
1600        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(  
1601        *) $as_unset $ac_var ;;        *) $as_unset $ac_var ;;
1602        esac ;;        esac ;;
1603      esac      esac
# Line 1648  _ASBOX Line 1627  _ASBOX
1627      do      do
1628        eval ac_val=\$$ac_var        eval ac_val=\$$ac_var
1629        case $ac_val in        case $ac_val in
1630        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631        esac        esac
1632        $as_echo "$ac_var='\''$ac_val'\''"        echo "$ac_var='\''$ac_val'\''"
1633      done | sort      done | sort
1634      echo      echo
1635    
# Line 1665  _ASBOX Line 1644  _ASBOX
1644        do        do
1645          eval ac_val=\$$ac_var          eval ac_val=\$$ac_var
1646          case $ac_val in          case $ac_val in
1647          *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;          *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648          esac          esac
1649          $as_echo "$ac_var='\''$ac_val'\''"          echo "$ac_var='\''$ac_val'\''"
1650        done | sort        done | sort
1651        echo        echo
1652      fi      fi
# Line 1683  _ASBOX Line 1662  _ASBOX
1662        echo        echo
1663      fi      fi
1664      test "$ac_signal" != 0 &&      test "$ac_signal" != 0 &&
1665        $as_echo "$as_me: caught signal $ac_signal"        echo "$as_me: caught signal $ac_signal"
1666      $as_echo "$as_me: exit $exit_status"      echo "$as_me: exit $exit_status"
1667    } >&5    } >&5
1668    rm -f core *.core core.conftest.* &&    rm -f core *.core core.conftest.* &&
1669      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
# Line 1726  _ACEOF Line 1705  _ACEOF
1705    
1706    
1707  # 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.
1708  # 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  
1709  if test -n "$CONFIG_SITE"; then  if test -n "$CONFIG_SITE"; then
1710    ac_site_file1=$CONFIG_SITE    set x "$CONFIG_SITE"
1711  elif test "x$prefix" != xNONE; then  elif test "x$prefix" != xNONE; then
1712    ac_site_file1=$prefix/share/config.site    set x "$prefix/share/config.site" "$prefix/etc/config.site"
   ac_site_file2=$prefix/etc/config.site  
1713  else  else
1714    ac_site_file1=$ac_default_prefix/share/config.site    set x "$ac_default_prefix/share/config.site" \
1715    ac_site_file2=$ac_default_prefix/etc/config.site          "$ac_default_prefix/etc/config.site"
1716  fi  fi
1717  for ac_site_file in "$ac_site_file1" "$ac_site_file2"  shift
1718    for ac_site_file
1719  do  do
   test "x$ac_site_file" = xNONE && continue  
1720    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
1721      { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722  $as_echo "$as_me: loading site script $ac_site_file" >&6;}  echo "$as_me: loading site script $ac_site_file" >&6;}
1723      sed 's/^/| /' "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
1724      . "$ac_site_file"      . "$ac_site_file"
1725    fi    fi
# Line 1753  if test -r "$cache_file"; then Line 1729  if test -r "$cache_file"; then
1729    # Some versions of bash will fail to source /dev/null (special    # Some versions of bash will fail to source /dev/null (special
1730    # files actually), so we avoid doing that.    # files actually), so we avoid doing that.
1731    if test -f "$cache_file"; then    if test -f "$cache_file"; then
1732      { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5      { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733  $as_echo "$as_me: loading cache $cache_file" >&6;}  echo "$as_me: loading cache $cache_file" >&6;}
1734      case $cache_file in      case $cache_file in
1735        [\\/]* | ?:[\\/]* ) . "$cache_file";;        [\\/]* | ?:[\\/]* ) . "$cache_file";;
1736        *)                      . "./$cache_file";;        *)                      . "./$cache_file";;
1737      esac      esac
1738    fi    fi
1739  else  else
1740    { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5    { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741  $as_echo "$as_me: creating cache $cache_file" >&6;}  echo "$as_me: creating cache $cache_file" >&6;}
1742    >$cache_file    >$cache_file
1743  fi  fi
1744    
# Line 1776  for ac_var in $ac_precious_vars; do Line 1752  for ac_var in $ac_precious_vars; do
1752    eval ac_new_val=\$ac_env_${ac_var}_value    eval ac_new_val=\$ac_env_${ac_var}_value
1753    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
1754      set,)      set,)
1755        { $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
1756  $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;}
1757        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
1758      ,set)      ,set)
1759        { $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
1760  $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;}
1761        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
1762      ,);;      ,);;
1763      *)      *)
1764        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1765          # differences in whitespace do not lead to failure.          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766          ac_old_val_w=`echo x $ac_old_val`  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767          ac_new_val_w=`echo x $ac_new_val`          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1768          if test "$ac_old_val_w" != "$ac_new_val_w"; then  echo "$as_me:   former value:  $ac_old_val" >&2;}
1769            { $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
1770  $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1771            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;}  
1772        fi;;        fi;;
1773    esac    esac
1774    # Pass precious variables to config.status.    # Pass precious variables to config.status.
1775    if test "$ac_new_set" = set; then    if test "$ac_new_set" = set; then
1776      case $ac_new_val in      case $ac_new_val in
1777      *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;      *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778      *) ac_arg=$ac_var=$ac_new_val ;;      *) ac_arg=$ac_var=$ac_new_val ;;
1779      esac      esac
1780      case " $ac_configure_args " in      case " $ac_configure_args " in
# Line 1817  $as_echo "$as_me:   current value: \`$ac Line 1784  $as_echo "$as_me:   current value: \`$ac
1784    fi    fi
1785  done  done
1786  if $ac_cache_corrupted; then  if $ac_cache_corrupted; then
1787    { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5    { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789    { $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
1790  $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;}  
1791     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1792  fi  fi
1793    
# Line 1872  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1837  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1837  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
1838    # 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.
1839  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
1840  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1841  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1842  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1843    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1844  else  else
1845    if test -n "$CC"; then    if test -n "$CC"; then
1846    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 1888  do Line 1853  do
1853    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1854    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
1855      ac_cv_prog_CC="${ac_tool_prefix}gcc"      ac_cv_prog_CC="${ac_tool_prefix}gcc"
1856      $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
1857      break 2      break 2
1858    fi    fi
1859  done  done
# Line 1899  fi Line 1864  fi
1864  fi  fi
1865  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1866  if test -n "$CC"; then  if test -n "$CC"; then
1867    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
1868  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
1869  else  else
1870    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
1871  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
1872  fi  fi
1873    
1874    
# Line 1912  if test -z "$ac_cv_prog_CC"; then Line 1877  if test -z "$ac_cv_prog_CC"; then
1877    ac_ct_CC=$CC    ac_ct_CC=$CC
1878    # 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.
1879  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1880  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1881  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1882  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1883    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1884  else  else
1885    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
1886    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 1928  do Line 1893  do
1893    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1894    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
1895      ac_cv_prog_ac_ct_CC="gcc"      ac_cv_prog_ac_ct_CC="gcc"
1896      $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
1897      break 2      break 2
1898    fi    fi
1899  done  done
# Line 1939  fi Line 1904  fi
1904  fi  fi
1905  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1906  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1907    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1908  $as_echo "$ac_ct_CC" >&6; }  echo "${ECHO_T}$ac_ct_CC" >&6; }
1909  else  else
1910    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
1911  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
1912  fi  fi
1913    
1914    if test "x$ac_ct_CC" = x; then    if test "x$ac_ct_CC" = x; then
# Line 1951  fi Line 1916  fi
1916    else    else
1917      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
1918  yes:)  yes:)
1919  { $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
1920  $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
1921    configuration is useful to you, please write to autoconf@gnu.org." >&5
1922    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1923    whose name does not start with the host triplet.  If you think this
1924    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1925  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
1926  esac  esac
1927      CC=$ac_ct_CC      CC=$ac_ct_CC
# Line 1965  if test -z "$CC"; then Line 1934  if test -z "$CC"; then
1934            if test -n "$ac_tool_prefix"; then            if test -n "$ac_tool_prefix"; then
1935      # 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.
1936  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
1937  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1938  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1939  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1940    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1941  else  else
1942    if test -n "$CC"; then    if test -n "$CC"; then
1943    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 1981  do Line 1950  do
1950    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1951    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
1952      ac_cv_prog_CC="${ac_tool_prefix}cc"      ac_cv_prog_CC="${ac_tool_prefix}cc"
1953      $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
1954      break 2      break 2
1955    fi    fi
1956  done  done
# Line 1992  fi Line 1961  fi
1961  fi  fi
1962  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1963  if test -n "$CC"; then  if test -n "$CC"; then
1964    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
1965  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
1966  else  else
1967    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
1968  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
1969  fi  fi
1970    
1971    
# Line 2005  fi Line 1974  fi
1974  if test -z "$CC"; then  if test -z "$CC"; then
1975    # 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.
1976  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1977  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1978  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1979  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1980    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1981  else  else
1982    if test -n "$CC"; then    if test -n "$CC"; then
1983    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 2026  do Line 1995  do
1995         continue         continue
1996       fi       fi
1997      ac_cv_prog_CC="cc"      ac_cv_prog_CC="cc"
1998      $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
1999      break 2      break 2
2000    fi    fi
2001  done  done
# Line 2049  fi Line 2018  fi
2018  fi  fi
2019  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2020  if test -n "$CC"; then  if test -n "$CC"; then
2021    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
2022  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
2023  else  else
2024    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2025  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2026  fi  fi
2027    
2028    
# Line 2064  if test -z "$CC"; then Line 2033  if test -z "$CC"; then
2033    do    do
2034      # 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.
2035  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2036  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2037  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2038  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2039    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2040  else  else
2041    if test -n "$CC"; then    if test -n "$CC"; then
2042    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 2080  do Line 2049  do
2049    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2050    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
2051      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2052      $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
2053      break 2      break 2
2054    fi    fi
2055  done  done
# Line 2091  fi Line 2060  fi
2060  fi  fi
2061  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2062  if test -n "$CC"; then  if test -n "$CC"; then
2063    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
2064  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
2065  else  else
2066    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2067  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2068  fi  fi
2069    
2070    
# Line 2108  if test -z "$CC"; then Line 2077  if test -z "$CC"; then
2077  do  do
2078    # 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.
2079  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2080  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2081  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2082  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2083    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2084  else  else
2085    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
2086    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 2124  do Line 2093  do
2093    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2094    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
2095      ac_cv_prog_ac_ct_CC="$ac_prog"      ac_cv_prog_ac_ct_CC="$ac_prog"
2096      $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
2097      break 2      break 2
2098    fi    fi
2099  done  done
# Line 2135  fi Line 2104  fi
2104  fi  fi
2105  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2106  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2107    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2108  $as_echo "$ac_ct_CC" >&6; }  echo "${ECHO_T}$ac_ct_CC" >&6; }
2109  else  else
2110    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2111  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2112  fi  fi
2113    
2114    
# Line 2151  done Line 2120  done
2120    else    else
2121      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2122  yes:)  yes:)
2123  { $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
2124  $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
2125    configuration is useful to you, please write to autoconf@gnu.org." >&5
2126    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2127    whose name does not start with the host triplet.  If you think this
2128    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2129  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2130  esac  esac
2131      CC=$ac_ct_CC      CC=$ac_ct_CC
# Line 2162  fi Line 2135  fi
2135  fi  fi
2136    
2137    
2138  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  
2139  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2140  $as_echo "$as_me: error: no acceptable C compiler found in \$PATH  echo "$as_me: error: no acceptable C compiler found in \$PATH
2141  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2142     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
2143    
2144  # Provide some information about the compiler.  # Provide some information about the compiler.
2145  $as_echo "$as_me:$LINENO: checking for C compiler version" >&5  echo "$as_me:$LINENO: checking for C compiler version" >&5
2146  set X $ac_compile  ac_compiler=`set X $ac_compile; echo $2`
 ac_compiler=$2  
2147  { (ac_try="$ac_compiler --version >&5"  { (ac_try="$ac_compiler --version >&5"
2148  case "(($ac_try" in  case "(($ac_try" in
2149    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2150    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2151  esac  esac
2152  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  
2153    (eval "$ac_compiler --version >&5") 2>&5    (eval "$ac_compiler --version >&5") 2>&5
2154    ac_status=$?    ac_status=$?
2155    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156    (exit $ac_status); }    (exit $ac_status); }
2157  { (ac_try="$ac_compiler -v >&5"  { (ac_try="$ac_compiler -v >&5"
2158  case "(($ac_try" in  case "(($ac_try" in
2159    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2160    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2161  esac  esac
2162  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  
2163    (eval "$ac_compiler -v >&5") 2>&5    (eval "$ac_compiler -v >&5") 2>&5
2164    ac_status=$?    ac_status=$?
2165    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166    (exit $ac_status); }    (exit $ac_status); }
2167  { (ac_try="$ac_compiler -V >&5"  { (ac_try="$ac_compiler -V >&5"
2168  case "(($ac_try" in  case "(($ac_try" in
2169    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2170    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2171  esac  esac
2172  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  
2173    (eval "$ac_compiler -V >&5") 2>&5    (eval "$ac_compiler -V >&5") 2>&5
2174    ac_status=$?    ac_status=$?
2175    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176    (exit $ac_status); }    (exit $ac_status); }
2177    
2178  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
# Line 2224  main () Line 2191  main ()
2191  }  }
2192  _ACEOF  _ACEOF
2193  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
2194  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"
2195  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2196  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2197  # of exeext.  # of exeext.
2198  { $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
2199  $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; }
2200  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2201    #
2202  # The possible output files:  # List of possible output files, starting from the most likely.
2203  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.*)
2204    # only as a last resort.  b.out is created by i960 compilers.
2205    ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2206    #
2207    # The IRIX 6 linker writes into existing files which may not be
2208    # executable, retaining their permissions.  Remove them first so a
2209    # subsequent execution test works.
2210  ac_rmfiles=  ac_rmfiles=
2211  for ac_file in $ac_files  for ac_file in $ac_files
2212  do  do
2213    case $ac_file in    case $ac_file in
2214      *.$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 ) ;;
2215      * ) ac_rmfiles="$ac_rmfiles $ac_file";;      * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2216    esac    esac
2217  done  done
# Line 2250  case "(($ac_try" in Line 2222  case "(($ac_try" in
2222    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2223    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2224  esac  esac
2225  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  
2226    (eval "$ac_link_default") 2>&5    (eval "$ac_link_default") 2>&5
2227    ac_status=$?    ac_status=$?
2228    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229    (exit $ac_status); }; then    (exit $ac_status); }; then
2230    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2231  # 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 2265  for ac_file in $ac_files '' Line 2236  for ac_file in $ac_files ''
2236  do  do
2237    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2238    case $ac_file in    case $ac_file in
2239      *.$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 )
2240          ;;          ;;
2241      [ab].out )      [ab].out )
2242          # We found the default executable, but exeext='' is most          # We found the default executable, but exeext='' is most
# Line 2292  else Line 2263  else
2263    ac_file=''    ac_file=''
2264  fi  fi
2265    
2266  { $as_echo "$as_me:$LINENO: result: $ac_file" >&5  { echo "$as_me:$LINENO: result: $ac_file" >&5
2267  $as_echo "$ac_file" >&6; }  echo "${ECHO_T}$ac_file" >&6; }
2268  if test -z "$ac_file"; then  if test -z "$ac_file"; then
2269    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2270  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2271    
2272  { { $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  
2273  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2274  $as_echo "$as_me: error: C compiler cannot create executables  echo "$as_me: error: C compiler cannot create executables
2275  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2276     { (exit 77); exit 77; }; }; }     { (exit 77); exit 77; }; }
2277  fi  fi
2278    
2279  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2280    
2281  # Check that the compiler produces executables we can run.  If not, either  # Check that the compiler produces executables we can run.  If not, either
2282  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2283  { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5  { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2284  $as_echo_n "checking whether the C compiler works... " >&6; }  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2285  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2286  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
2287  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
# Line 2321  if test "$cross_compiling" != yes; then Line 2290  if test "$cross_compiling" != yes; then
2290    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2291    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2292  esac  esac
2293  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  
2294    (eval "$ac_try") 2>&5    (eval "$ac_try") 2>&5
2295    ac_status=$?    ac_status=$?
2296    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2298      cross_compiling=no      cross_compiling=no
2299    else    else
2300      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
2301          cross_compiling=yes          cross_compiling=yes
2302      else      else
2303          { { $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.  
2304  If you meant to cross compile, use \`--host'.  If you meant to cross compile, use \`--host'.
2305  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2306  $as_echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
2307  If you meant to cross compile, use \`--host'.  If you meant to cross compile, use \`--host'.
2308  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2309     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
2310      fi      fi
2311    fi    fi
2312  fi  fi
2313  { $as_echo "$as_me:$LINENO: result: yes" >&5  { echo "$as_me:$LINENO: result: yes" >&5
2314  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
2315    
2316  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
2317  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2318  # Check that the compiler produces executables we can run.  If not, either  # Check that the compiler produces executables we can run.  If not, either
2319  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2320  { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5  { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2321  $as_echo_n "checking whether we are cross compiling... " >&6; }  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2322  { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5  { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2323  $as_echo "$cross_compiling" >&6; }  echo "${ECHO_T}$cross_compiling" >&6; }
2324    
2325  { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5  { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2326  $as_echo_n "checking for suffix of executables... " >&6; }  echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2327  if { (ac_try="$ac_link"  if { (ac_try="$ac_link"
2328  case "(($ac_try" in  case "(($ac_try" in
2329    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2330    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2331  esac  esac
2332  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  
2333    (eval "$ac_link") 2>&5    (eval "$ac_link") 2>&5
2334    ac_status=$?    ac_status=$?
2335    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336    (exit $ac_status); }; then    (exit $ac_status); }; then
2337    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2338  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 2376  $as_echo "$ac_try_echo") >&5 Line 2341  $as_echo "$ac_try_echo") >&5
2341  for ac_file in conftest.exe conftest conftest.*; do  for ac_file in conftest.exe conftest conftest.*; do
2342    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2343    case $ac_file in    case $ac_file in
2344      *.$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 ) ;;
2345      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2346            break;;            break;;
2347      * ) break;;      * ) break;;
2348    esac    esac
2349  done  done
2350  else  else
2351    { { $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  
2352  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2353  $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
2354  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2355     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
2356  fi  fi
2357    
2358  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
2359  { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5  { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2360  $as_echo "$ac_cv_exeext" >&6; }  echo "${ECHO_T}$ac_cv_exeext" >&6; }
2361    
2362  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2363  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2364  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2365  { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5  { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2366  $as_echo_n "checking for suffix of object files... " >&6; }  echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2367  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
2368    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2369  else  else
2370    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2371  /* confdefs.h.  */  /* confdefs.h.  */
# Line 2425  case "(($ac_try" in Line 2388  case "(($ac_try" in
2388    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2389    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2390  esac  esac
2391  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  
2392    (eval "$ac_compile") 2>&5    (eval "$ac_compile") 2>&5
2393    ac_status=$?    ac_status=$?
2394    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395    (exit $ac_status); }; then    (exit $ac_status); }; then
2396    for ac_file in conftest.o conftest.obj conftest.*; do    for ac_file in conftest.o conftest.obj conftest.*; do
2397    test -f "$ac_file" || continue;    test -f "$ac_file" || continue;
2398    case $ac_file in    case $ac_file in
2399      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2400      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2401         break;;         break;;
2402    esac    esac
2403  done  done
2404  else  else
2405    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2406  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2407    
2408  { { $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  
2409  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2410  $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
2411  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2412     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
2413  fi  fi
2414    
2415  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2416  fi  fi
2417  { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5  { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2418  $as_echo "$ac_cv_objext" >&6; }  echo "${ECHO_T}$ac_cv_objext" >&6; }
2419  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2420  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2421  { $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
2422  $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; }
2423  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2424    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2425  else  else
2426    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2427  /* confdefs.h.  */  /* confdefs.h.  */
# Line 2487  case "(($ac_try" in Line 2447  case "(($ac_try" in
2447    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2448    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2449  esac  esac
2450  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  
2451    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2452    ac_status=$?    ac_status=$?
2453    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2454    rm -f conftest.er1    rm -f conftest.er1
2455    cat conftest.err >&5    cat conftest.err >&5
2456    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457    (exit $ac_status); } && {    (exit $ac_status); } && {
2458           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2459           test ! -s conftest.err           test ! -s conftest.err
2460         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2461    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2462  else  else
2463    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2464  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2465    
2466          ac_compiler_gnu=no          ac_compiler_gnu=no
# Line 2511  rm -f core conftest.err conftest.$ac_obj Line 2470  rm -f core conftest.err conftest.$ac_obj
2470  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2471    
2472  fi  fi
2473  { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5  { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2474  $as_echo "$ac_cv_c_compiler_gnu" >&6; }  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2475  if test $ac_compiler_gnu = yes; then  GCC=`test $ac_compiler_gnu = yes && echo yes`
   GCC=yes  
 else  
   GCC=  
 fi  
2476  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2477  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2478  { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5  { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2479  $as_echo_n "checking whether $CC accepts -g... " >&6; }  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2480  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2481    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2482  else  else
2483    ac_save_c_werror_flag=$ac_c_werror_flag    ac_save_c_werror_flag=$ac_c_werror_flag
2484     ac_c_werror_flag=yes     ac_c_werror_flag=yes
# Line 2550  case "(($ac_try" in Line 2505  case "(($ac_try" in
2505    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2506    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2507  esac  esac
2508  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  
2509    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2510    ac_status=$?    ac_status=$?
2511    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2512    rm -f conftest.er1    rm -f conftest.er1
2513    cat conftest.err >&5    cat conftest.err >&5
2514    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515    (exit $ac_status); } && {    (exit $ac_status); } && {
2516           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2517           test ! -s conftest.err           test ! -s conftest.err
2518         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2519    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2520  else  else
2521    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2522  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2523    
2524          CFLAGS=""          CFLAGS=""
# Line 2589  case "(($ac_try" in Line 2543  case "(($ac_try" in
2543    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2544    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2545  esac  esac
2546  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  
2547    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2548    ac_status=$?    ac_status=$?
2549    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2550    rm -f conftest.er1    rm -f conftest.er1
2551    cat conftest.err >&5    cat conftest.err >&5
2552    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553    (exit $ac_status); } && {    (exit $ac_status); } && {
2554           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2555           test ! -s conftest.err           test ! -s conftest.err
2556         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2557    :    :
2558  else  else
2559    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2560  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2561    
2562          ac_c_werror_flag=$ac_save_c_werror_flag          ac_c_werror_flag=$ac_save_c_werror_flag
# Line 2629  case "(($ac_try" in Line 2582  case "(($ac_try" in
2582    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2584  esac  esac
2585  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  
2586    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2587    ac_status=$?    ac_status=$?
2588    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2589    rm -f conftest.er1    rm -f conftest.er1
2590    cat conftest.err >&5    cat conftest.err >&5
2591    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592    (exit $ac_status); } && {    (exit $ac_status); } && {
2593           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2594           test ! -s conftest.err           test ! -s conftest.err
2595         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2596    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2597  else  else
2598    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2599  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2600    
2601    
# Line 2658  fi Line 2610  fi
2610  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2611     ac_c_werror_flag=$ac_save_c_werror_flag     ac_c_werror_flag=$ac_save_c_werror_flag
2612  fi  fi
2613  { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2614  $as_echo "$ac_cv_prog_cc_g" >&6; }  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2615  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2616    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
2617  elif test $ac_cv_prog_cc_g = yes; then  elif test $ac_cv_prog_cc_g = yes; then
# Line 2675  else Line 2627  else
2627      CFLAGS=      CFLAGS=
2628    fi    fi
2629  fi  fi
2630  { $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
2631  $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; }
2632  if test "${ac_cv_prog_cc_c89+set}" = set; then  if test "${ac_cv_prog_cc_c89+set}" = set; then
2633    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2634  else  else
2635    ac_cv_prog_cc_c89=no    ac_cv_prog_cc_c89=no
2636  ac_save_CC=$CC  ac_save_CC=$CC
# Line 2749  case "(($ac_try" in Line 2701  case "(($ac_try" in
2701    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2703  esac  esac
2704  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  
2705    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2706    ac_status=$?    ac_status=$?
2707    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2708    rm -f conftest.er1    rm -f conftest.er1
2709    cat conftest.err >&5    cat conftest.err >&5
2710    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711    (exit $ac_status); } && {    (exit $ac_status); } && {
2712           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2713           test ! -s conftest.err           test ! -s conftest.err
2714         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2715    ac_cv_prog_cc_c89=$ac_arg    ac_cv_prog_cc_c89=$ac_arg
2716  else  else
2717    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2718  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2719    
2720    
# Line 2779  fi Line 2730  fi
2730  # AC_CACHE_VAL  # AC_CACHE_VAL
2731  case "x$ac_cv_prog_cc_c89" in  case "x$ac_cv_prog_cc_c89" in
2732    x)    x)
2733      { $as_echo "$as_me:$LINENO: result: none needed" >&5      { echo "$as_me:$LINENO: result: none needed" >&5
2734  $as_echo "none needed" >&6; } ;;  echo "${ECHO_T}none needed" >&6; } ;;
2735    xno)    xno)
2736      { $as_echo "$as_me:$LINENO: result: unsupported" >&5      { echo "$as_me:$LINENO: result: unsupported" >&5
2737  $as_echo "unsupported" >&6; } ;;  echo "${ECHO_T}unsupported" >&6; } ;;
2738    *)    *)
2739      CC="$CC $ac_cv_prog_cc_c89"      CC="$CC $ac_cv_prog_cc_c89"
2740      { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5      { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2741  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;  echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2742  esac  esac
2743    
2744    
# Line 2814  for ac_dir in "$srcdir" "$srcdir/.." "$s Line 2765  for ac_dir in "$srcdir" "$srcdir/.." "$s
2765    fi    fi
2766  done  done
2767  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
2768    { { $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
2769  $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;}
2770     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2771  fi  fi
2772    
# Line 2841  ac_configure="$SHELL $ac_aux_dir/configu Line 2792  ac_configure="$SHELL $ac_aux_dir/configu
2792  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2793  # OS/2's system install, which has a completely different semantic  # OS/2's system install, which has a completely different semantic
2794  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2795  # Reject install programs that cannot install multiple files.  { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2796  { $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; }  
2797  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
2798  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
2799    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2800  else  else
2801    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802  for as_dir in $PATH  for as_dir in $PATH
# Line 2875  case $as_dir/ in Line 2825  case $as_dir/ in
2825              # program-specific install script used by HP pwplus--don't use.              # program-specific install script used by HP pwplus--don't use.
2826              :              :
2827            else            else
2828              rm -rf conftest.one conftest.two conftest.dir              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2829              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  
2830            fi            fi
2831          fi          fi
2832        done        done
2833      done      done
2834      ;;      ;;
2835  esac  esac
   
2836  done  done
2837  IFS=$as_save_IFS  IFS=$as_save_IFS
2838    
 rm -rf conftest.one conftest.two conftest.dir  
2839    
2840  fi  fi
2841    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
# Line 2910  fi Line 2848  fi
2848      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
2849    fi    fi
2850  fi  fi
2851  { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5  { echo "$as_me:$LINENO: result: $INSTALL" >&5
2852  $as_echo "$INSTALL" >&6; }  echo "${ECHO_T}$INSTALL" >&6; }
2853    
2854  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2855  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
# Line 2921  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 2859  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2859    
2860  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2861    
2862  { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5  { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2863  $as_echo_n "checking whether ln -s works... " >&6; }  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2864  LN_S=$as_ln_s  LN_S=$as_ln_s
2865  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
2866    { $as_echo "$as_me:$LINENO: result: yes" >&5    { echo "$as_me:$LINENO: result: yes" >&5
2867  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
2868  else  else
2869    { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5    { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2870  $as_echo "no, using $LN_S" >&6; }  echo "${ECHO_T}no, using $LN_S" >&6; }
2871  fi  fi
2872    
2873  { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2874  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2875  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'`  
2876  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
2877    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2878  else  else
2879    cat >conftest.make <<\_ACEOF    cat >conftest.make <<\_ACEOF
2880  SHELL = /bin/sh  SHELL = /bin/sh
# Line 2954  esac Line 2891  esac
2891  rm -f conftest.make  rm -f conftest.make
2892  fi  fi
2893  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2894    { $as_echo "$as_me:$LINENO: result: yes" >&5    { echo "$as_me:$LINENO: result: yes" >&5
2895  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
2896    SET_MAKE=    SET_MAKE=
2897  else  else
2898    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2899  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2900    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
2901  fi  fi
2902    
# Line 2992  if test "x$ac_cv_env_PKG_CONFIG_set" != Line 2929  if test "x$ac_cv_env_PKG_CONFIG_set" !=
2929          if test -n "$ac_tool_prefix"; then          if test -n "$ac_tool_prefix"; then
2930    # 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.
2931  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2932  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2933  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2934  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2935    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2936  else  else
2937    case $PKG_CONFIG in    case $PKG_CONFIG in
2938    [\\/]* | ?:[\\/]*)    [\\/]* | ?:[\\/]*)
# Line 3010  do Line 2947  do
2947    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2948    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
2949      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2950      $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
2951      break 2      break 2
2952    fi    fi
2953  done  done
# Line 3022  esac Line 2959  esac
2959  fi  fi
2960  PKG_CONFIG=$ac_cv_path_PKG_CONFIG  PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2961  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
2962    { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5    { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2963  $as_echo "$PKG_CONFIG" >&6; }  echo "${ECHO_T}$PKG_CONFIG" >&6; }
2964  else  else
2965    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2966  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2967  fi  fi
2968    
2969    
# Line 3035  if test -z "$ac_cv_path_PKG_CONFIG"; the Line 2972  if test -z "$ac_cv_path_PKG_CONFIG"; the
2972    ac_pt_PKG_CONFIG=$PKG_CONFIG    ac_pt_PKG_CONFIG=$PKG_CONFIG
2973    # 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.
2974  set dummy pkg-config; ac_word=$2  set dummy pkg-config; ac_word=$2
2975  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2976  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2977  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2978    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2979  else  else
2980    case $ac_pt_PKG_CONFIG in    case $ac_pt_PKG_CONFIG in
2981    [\\/]* | ?:[\\/]*)    [\\/]* | ?:[\\/]*)
# Line 3053  do Line 2990  do
2990    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2991    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
2992      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"
2993      $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
2994      break 2      break 2
2995    fi    fi
2996  done  done
# Line 3065  esac Line 3002  esac
3002  fi  fi
3003  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3004  if test -n "$ac_pt_PKG_CONFIG"; then  if test -n "$ac_pt_PKG_CONFIG"; then
3005    { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5    { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3006  $as_echo "$ac_pt_PKG_CONFIG" >&6; }  echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3007  else  else
3008    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
3009  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3010  fi  fi
3011    
3012    if test "x$ac_pt_PKG_CONFIG" = x; then    if test "x$ac_pt_PKG_CONFIG" = x; then
# Line 3077  fi Line 3014  fi
3014    else    else
3015      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
3016  yes:)  yes:)
3017  { $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
3018  $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
3019    configuration is useful to you, please write to autoconf@gnu.org." >&5
3020    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3021    whose name does not start with the host triplet.  If you think this
3022    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3023  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
3024  esac  esac
3025      PKG_CONFIG=$ac_pt_PKG_CONFIG      PKG_CONFIG=$ac_pt_PKG_CONFIG
# Line 3090  fi Line 3031  fi
3031  fi  fi
3032  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3033          _pkg_min_version=0.9.0          _pkg_min_version=0.9.0
3034          { $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
3035  $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; }
3036          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3037                  { $as_echo "$as_me:$LINENO: result: yes" >&5                  { echo "$as_me:$LINENO: result: yes" >&5
3038  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3039          else          else
3040                  { $as_echo "$as_me:$LINENO: result: no" >&5                  { echo "$as_me:$LINENO: result: no" >&5
3041  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3042                  PKG_CONFIG=""                  PKG_CONFIG=""
3043          fi          fi
3044    
3045  fi  fi
3046    
3047  pkg_failed=no  pkg_failed=no
3048  { $as_echo "$as_me:$LINENO: checking for gnome_vfs_module" >&5  { echo "$as_me:$LINENO: checking for gnome_vfs_module" >&5
3049  $as_echo_n "checking for gnome_vfs_module... " >&6; }  echo $ECHO_N "checking for gnome_vfs_module... $ECHO_C" >&6; }
3050    
3051  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3052      if test -n "$gnome_vfs_module_CFLAGS"; then      if test -n "$gnome_vfs_module_CFLAGS"; then
3053          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"
3054      else      else
3055          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3056      { ($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
3057    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3058    ac_status=$?    ac_status=$?
3059    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060    (exit $ac_status); }; then    (exit $ac_status); }; then
3061    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`
3062  else  else
# Line 3130  if test -n "$PKG_CONFIG"; then Line 3071  if test -n "$PKG_CONFIG"; then
3071          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"
3072      else      else
3073          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3074      { ($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
3075    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3076    ac_status=$?    ac_status=$?
3077    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078    (exit $ac_status); }; then    (exit $ac_status); }; then
3079    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`
3080  else  else
# Line 3161  fi Line 3102  fi
3102          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3103          echo "$gnome_vfs_module_PKG_ERRORS" >&5          echo "$gnome_vfs_module_PKG_ERRORS" >&5
3104    
3105          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3106  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3107                  { { $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
3108  $as_echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}  echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}
3109     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3110  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3111          { { $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
3112  $as_echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}  echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}
3113     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3114  else  else
3115          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS
3116          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS
3117          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3118  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3119          :          :
3120  fi  fi
3121  CFLAGS="$CFLAGS $gnome_vfs_module_CFLAGS"  CFLAGS="$CFLAGS $gnome_vfs_module_CFLAGS"
# Line 3183  LIBS="$LIBS $gnome_vfs_module_LIBS" Line 3124  LIBS="$LIBS $gnome_vfs_module_LIBS"
3124  # check for libxml-2.0  # check for libxml-2.0
3125    
3126  pkg_failed=no  pkg_failed=no
3127  { $as_echo "$as_me:$LINENO: checking for libxml2" >&5  { echo "$as_me:$LINENO: checking for libxml2" >&5
3128  $as_echo_n "checking for libxml2... " >&6; }  echo $ECHO_N "checking for libxml2... $ECHO_C" >&6; }
3129    
3130  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3131      if test -n "$libxml2_CFLAGS"; then      if test -n "$libxml2_CFLAGS"; then
3132          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"
3133      else      else
3134          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3135      { ($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
3136    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3137    ac_status=$?    ac_status=$?
3138    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139    (exit $ac_status); }; then    (exit $ac_status); }; then
3140    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`
3141  else  else
# Line 3209  if test -n "$PKG_CONFIG"; then Line 3150  if test -n "$PKG_CONFIG"; then
3150          pkg_cv_libxml2_LIBS="$libxml2_LIBS"          pkg_cv_libxml2_LIBS="$libxml2_LIBS"
3151      else      else
3152          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3153      { ($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
3154    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3155    ac_status=$?    ac_status=$?
3156    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157    (exit $ac_status); }; then    (exit $ac_status); }; then
3158    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`
3159  else  else
# Line 3240  fi Line 3181  fi
3181          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3182          echo "$libxml2_PKG_ERRORS" >&5          echo "$libxml2_PKG_ERRORS" >&5
3183    
3184          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3185  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3186                  { { $as_echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5                  { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5
3187  $as_echo "$as_me: error: libxml-2.0 missing" >&2;}  echo "$as_me: error: libxml-2.0 missing" >&2;}
3188     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3189  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3190          { { $as_echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5          { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5
3191  $as_echo "$as_me: error: libxml-2.0 missing" >&2;}  echo "$as_me: error: libxml-2.0 missing" >&2;}
3192     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3193  else  else
3194          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS
3195          libxml2_LIBS=$pkg_cv_libxml2_LIBS          libxml2_LIBS=$pkg_cv_libxml2_LIBS
3196          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3197  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3198          :          :
3199  fi  fi
3200  CFLAGS="$CFLAGS $libxml2_CFLAGS"  CFLAGS="$CFLAGS $libxml2_CFLAGS"
3201  LIBS="$LIBS $libxml2_LIBS"  LIBS="$LIBS $libxml2_LIBS"
3202  # check for libsoup  
3203    # check for libcurl
3204    
3205  pkg_failed=no  pkg_failed=no
3206  { $as_echo "$as_me:$LINENO: checking for libsoup24" >&5  { echo "$as_me:$LINENO: checking for libcurl" >&5
3207  $as_echo_n "checking for libsoup24... " >&6; }  echo $ECHO_N "checking for libcurl... $ECHO_C" >&6; }
3208    
3209  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3210      if test -n "$libsoup24_CFLAGS"; then      if test -n "$libcurl_CFLAGS"; then
3211          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"          pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
3212      else      else
3213          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3214      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
3215    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3216    ac_status=$?    ac_status=$?
3217    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218    (exit $ac_status); }; then    (exit $ac_status); }; then
3219    pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`    pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
3220  else  else
3221    pkg_failed=yes    pkg_failed=yes
3222  fi  fi
# Line 3283  else Line 3225  else
3225          pkg_failed=untried          pkg_failed=untried
3226  fi  fi
3227  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3228      if test -n "$libsoup24_LIBS"; then      if test -n "$libcurl_LIBS"; then
3229          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"          pkg_cv_libcurl_LIBS="$libcurl_LIBS"
3230      else      else
3231          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3232      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
3233    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3234    ac_status=$?    ac_status=$?
3235    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236    (exit $ac_status); }; then    (exit $ac_status); }; then
3237    pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`    pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
3238  else  else
3239    pkg_failed=yes    pkg_failed=yes
3240  fi  fi
# Line 3311  else Line 3253  else
3253          _pkg_short_errors_supported=no          _pkg_short_errors_supported=no
3254  fi  fi
3255          if test $_pkg_short_errors_supported = yes; then          if test $_pkg_short_errors_supported = yes; then
3256                  libsoup24_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`                  libcurl_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl"`
3257          else          else
3258                  libsoup24_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`                  libcurl_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl"`
3259          fi          fi
3260          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3261          echo "$libsoup24_PKG_ERRORS" >&5          echo "$libcurl_PKG_ERRORS" >&5
3262    
3263          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3264  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3265                    { { echo "$as_me:$LINENO: error: libcurl missing" >&5
3266    echo "$as_me: error: libcurl missing" >&2;}
3267       { (exit 1); exit 1; }; }
3268    elif test $pkg_failed = untried; then
3269            { { echo "$as_me:$LINENO: error: libcurl missing" >&5
3270    echo "$as_me: error: libcurl missing" >&2;}
3271       { (exit 1); exit 1; }; }
3272    else
3273            libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
3274            libcurl_LIBS=$pkg_cv_libcurl_LIBS
3275            { echo "$as_me:$LINENO: result: yes" >&5
3276    echo "${ECHO_T}yes" >&6; }
3277            :
3278    fi
3279    CFLAGS="$CFLAGS $libcurl_CFLAGS"
3280    LIBS="$LIBS $libcurl_LIBS"
3281    
3282    # check for libsoup
3283    
3284  pkg_failed=no  pkg_failed=no
3285  { $as_echo "$as_me:$LINENO: checking for libsoup22" >&5  { echo "$as_me:$LINENO: checking for libsoup24" >&5
3286  $as_echo_n "checking for libsoup22... " >&6; }  echo $ECHO_N "checking for libsoup24... $ECHO_C" >&6; }
3287    
3288  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3289      if test -n "$libsoup22_CFLAGS"; then      if test -n "$libsoup24_CFLAGS"; then
3290          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"
3291      else      else
3292          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3293      { ($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.4\"") >&5
3294    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3295    ac_status=$?    ac_status=$?
3296    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297    (exit $ac_status); }; then    (exit $ac_status); }; then
3298    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
3299  else  else
3300    pkg_failed=yes    pkg_failed=yes
3301  fi  fi
# Line 3345  else Line 3304  else
3304          pkg_failed=untried          pkg_failed=untried
3305  fi  fi
3306  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3307      if test -n "$libsoup22_LIBS"; then      if test -n "$libsoup24_LIBS"; then
3308          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"
3309      else      else
3310          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3311      { ($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.4\"") >&5
3312    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3313    ac_status=$?    ac_status=$?
3314    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315      (exit $ac_status); }; then
3316      pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
3317    else
3318      pkg_failed=yes
3319    fi
3320        fi
3321    else
3322            pkg_failed=untried
3323    fi
3324    
3325    
3326    
3327    if test $pkg_failed = yes; then
3328    
3329    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3330            _pkg_short_errors_supported=yes
3331    else
3332            _pkg_short_errors_supported=no
3333    fi
3334            if test $_pkg_short_errors_supported = yes; then
3335                    libsoup24_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`
3336            else
3337                    libsoup24_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`
3338            fi
3339            # Put the nasty error message in config.log where it belongs
3340            echo "$libsoup24_PKG_ERRORS" >&5
3341    
3342            { echo "$as_me:$LINENO: result: no" >&5
3343    echo "${ECHO_T}no" >&6; }
3344    
3345    
3346    pkg_failed=no
3347    { echo "$as_me:$LINENO: checking for libsoup22" >&5
3348    echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }
3349    
3350    if test -n "$PKG_CONFIG"; then
3351        if test -n "$libsoup22_CFLAGS"; then
3352            pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3353        else
3354            if test -n "$PKG_CONFIG" && \
3355        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3356      ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3357      ac_status=$?
3358      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359      (exit $ac_status); }; then
3360      pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
3361    else
3362      pkg_failed=yes
3363    fi
3364        fi
3365    else
3366            pkg_failed=untried
3367    fi
3368    if test -n "$PKG_CONFIG"; then
3369        if test -n "$libsoup22_LIBS"; then
3370            pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3371        else
3372            if test -n "$PKG_CONFIG" && \
3373        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3374      ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3375      ac_status=$?
3376      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377    (exit $ac_status); }; then    (exit $ac_status); }; then
3378    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`
3379  else  else
# Line 3380  fi Line 3401  fi
3401          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3402          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
3403    
3404          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3405  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3406    
3407      { $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
3408  $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;}
3409    
3410  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3411    
3412      { $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
3413  $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;}
3414    
3415  else  else
3416          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3417          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3418          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3419  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3420    
3421      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o"      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3422      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
3423      LIBS="$LIBS $libsoup22_LIBS"      LIBS="$LIBS $libsoup22_LIBS"
3424    
# Line 3407  elif test $pkg_failed = untried; then Line 3428  elif test $pkg_failed = untried; then
3428    
3429    
3430  pkg_failed=no  pkg_failed=no
3431  { $as_echo "$as_me:$LINENO: checking for libsoup22" >&5  { echo "$as_me:$LINENO: checking for libsoup22" >&5
3432  $as_echo_n "checking for libsoup22... " >&6; }  echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }
3433    
3434  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3435      if test -n "$libsoup22_CFLAGS"; then      if test -n "$libsoup22_CFLAGS"; then
3436          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3437      else      else
3438          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3439      { ($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
3440    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3441    ac_status=$?    ac_status=$?
3442    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443    (exit $ac_status); }; then    (exit $ac_status); }; then
3444    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`
3445  else  else
# Line 3433  if test -n "$PKG_CONFIG"; then Line 3454  if test -n "$PKG_CONFIG"; then
3454          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3455      else      else
3456          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3457      { ($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
3458    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3459    ac_status=$?    ac_status=$?
3460    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461    (exit $ac_status); }; then    (exit $ac_status); }; then
3462    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`
3463  else  else
# Line 3464  fi Line 3485  fi
3485          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3486          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
3487    
3488          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3489  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3490    
3491      { $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
3492  $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;}
3493    
3494  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3495    
3496      { $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
3497  $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;}
3498    
3499  else  else
3500          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3501          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3502          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3503  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3504    
3505      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o"      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3506      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
3507      LIBS="$LIBS $libsoup22_LIBS"      LIBS="$LIBS $libsoup22_LIBS"
3508    
# Line 3490  fi Line 3511  fi
3511  else  else
3512          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS
3513          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS
3514          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3515  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3516    
3517    EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o"    EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3518    CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"    CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"
3519    LIBS="$LIBS $libsoup24_LIBS"    LIBS="$LIBS $libsoup24_LIBS"
3520    
# Line 3502  fi Line 3523  fi
3523  # check for gtkhtml-3.14  # check for gtkhtml-3.14
3524    
3525  pkg_failed=no  pkg_failed=no
3526  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5  { echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5
3527  $as_echo_n "checking for libgtkhtml3_14... " >&6; }  echo $ECHO_N "checking for libgtkhtml3_14... $ECHO_C" >&6; }
3528    
3529  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3530      if test -n "$libgtkhtml3_14_CFLAGS"; then      if test -n "$libgtkhtml3_14_CFLAGS"; then
3531          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"
3532      else      else
3533          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3534      { ($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
3535    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3536    ac_status=$?    ac_status=$?
3537    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538    (exit $ac_status); }; then    (exit $ac_status); }; then
3539    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`
3540  else  else
# Line 3528  if test -n "$PKG_CONFIG"; then Line 3549  if test -n "$PKG_CONFIG"; then
3549          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"
3550      else      else
3551          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3552      { ($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
3553    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3554    ac_status=$?    ac_status=$?
3555    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556    (exit $ac_status); }; then    (exit $ac_status); }; then
3557    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`
3558  else  else
# Line 3559  fi Line 3580  fi
3580          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3581          echo "$libgtkhtml3_14_PKG_ERRORS" >&5          echo "$libgtkhtml3_14_PKG_ERRORS" >&5
3582    
3583          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3584  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3585    
3586    # ok, we can also live with 3.8    # ok, we can also live with 3.8
3587    
3588  pkg_failed=no  pkg_failed=no
3589  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
3590  $as_echo_n "checking for libgtkhtml3_8... " >&6; }  echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }
3591    
3592  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3593      if test -n "$libgtkhtml3_8_CFLAGS"; then      if test -n "$libgtkhtml3_8_CFLAGS"; then
3594          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3595      else      else
3596          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3597      { ($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
3598    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3599    ac_status=$?    ac_status=$?
3600    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601    (exit $ac_status); }; then    (exit $ac_status); }; then
3602    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`
3603  else  else
# Line 3591  if test -n "$PKG_CONFIG"; then Line 3612  if test -n "$PKG_CONFIG"; then
3612          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3613      else      else
3614          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3615      { ($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
3616    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3617    ac_status=$?    ac_status=$?
3618    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619    (exit $ac_status); }; then    (exit $ac_status); }; then
3620    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`
3621  else  else
# Line 3622  fi Line 3643  fi
3643          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3644          echo "$libgtkhtml3_8_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3645    
3646          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3647  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3648                  { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5                  { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3649  $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3650     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3651  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3652          { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5          { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3653  $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3654     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3655  else  else
3656          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3657          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3658          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3659  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3660    
3661      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3662      LIBS="$LIBS $libgtkhtml3_8_LIBS"      LIBS="$LIBS $libgtkhtml3_8_LIBS"
# Line 3647  elif test $pkg_failed = untried; then Line 3668  elif test $pkg_failed = untried; then
3668    # ok, we can also live with 3.8    # ok, we can also live with 3.8
3669    
3670  pkg_failed=no  pkg_failed=no
3671  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
3672  $as_echo_n "checking for libgtkhtml3_8... " >&6; }  echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }
3673    
3674  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3675      if test -n "$libgtkhtml3_8_CFLAGS"; then      if test -n "$libgtkhtml3_8_CFLAGS"; then
3676          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3677      else      else
3678          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3679      { ($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
3680    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3681    ac_status=$?    ac_status=$?
3682    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683    (exit $ac_status); }; then    (exit $ac_status); }; then
3684    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`
3685  else  else
# Line 3673  if test -n "$PKG_CONFIG"; then Line 3694  if test -n "$PKG_CONFIG"; then
3694          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3695      else      else
3696          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3697      { ($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
3698    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3699    ac_status=$?    ac_status=$?
3700    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701    (exit $ac_status); }; then    (exit $ac_status); }; then
3702    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`
3703  else  else
# Line 3704  fi Line 3725  fi
3725          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3726          echo "$libgtkhtml3_8_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3727    
3728          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3729  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3730                  { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5                  { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3731  $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3732     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3733  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3734          { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5          { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3735  $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3736     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3737  else  else
3738          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3739          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3740          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3741  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3742    
3743      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3744      LIBS="$LIBS $libgtkhtml3_8_LIBS"      LIBS="$LIBS $libgtkhtml3_8_LIBS"
# Line 3727  fi Line 3748  fi
3748  else  else
3749          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS
3750          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS
3751          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3752  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3753    
3754    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"
3755    LIBS="$LIBS $libgtkhtml3_14_LIBS"    LIBS="$LIBS $libgtkhtml3_14_LIBS"
# Line 3736  $as_echo "yes" >&6; } Line 3757  $as_echo "yes" >&6; }
3757  fi  fi
3758    
3759  # check for maemo  # check for maemo
3760  { $as_echo "$as_me:$LINENO: checking for Maemo" >&5  { echo "$as_me:$LINENO: checking for Maemo" >&5
3761  $as_echo_n "checking for Maemo... " >&6; }  echo $ECHO_N "checking for Maemo... $ECHO_C" >&6; }
3762    
3763    ac_ext=c
3764    ac_cpp='$CPP $CPPFLAGS'
3765    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3766    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3767    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3768    { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3769    echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3770    # On Suns, sometimes $CPP names a directory.
3771    if test -n "$CPP" && test -d "$CPP"; then
3772      CPP=
3773    fi
3774    if test -z "$CPP"; then
3775      if test "${ac_cv_prog_CPP+set}" = set; then
3776      echo $ECHO_N "(cached) $ECHO_C" >&6
3777    else
3778          # Double quotes because CPP needs to be expanded
3779        for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3780        do
3781          ac_preproc_ok=false
3782    for ac_c_preproc_warn_flag in '' yes
3783    do
3784      # Use a header file that comes with gcc, so configuring glibc
3785      # with a fresh cross-compiler works.
3786      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3787      # <limits.h> exists even on freestanding compilers.
3788      # On the NeXT, cc -E runs the code through the compiler's parser,
3789      # not just through cpp. "Syntax error" is here to catch this case.
3790      cat >conftest.$ac_ext <<_ACEOF
3791    /* confdefs.h.  */
3792    _ACEOF
3793    cat confdefs.h >>conftest.$ac_ext
3794    cat >>conftest.$ac_ext <<_ACEOF
3795    /* end confdefs.h.  */
3796    #ifdef __STDC__
3797    # include <limits.h>
3798    #else
3799    # include <assert.h>
3800    #endif
3801                         Syntax error
3802    _ACEOF
3803    if { (ac_try="$ac_cpp conftest.$ac_ext"
3804    case "(($ac_try" in
3805      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806      *) ac_try_echo=$ac_try;;
3807    esac
3808    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3809      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3810      ac_status=$?
3811      grep -v '^ *+' conftest.er1 >conftest.err
3812      rm -f conftest.er1
3813      cat conftest.err >&5
3814      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815      (exit $ac_status); } >/dev/null && {
3816             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3817             test ! -s conftest.err
3818           }; then
3819      :
3820    else
3821      echo "$as_me: failed program was:" >&5
3822    sed 's/^/| /' conftest.$ac_ext >&5
3823    
3824      # Broken: fails on valid input.
3825    continue
3826    fi
3827    
3828    rm -f conftest.err conftest.$ac_ext
3829    
3830      # OK, works on sane cases.  Now check whether nonexistent headers
3831      # can be detected and how.
3832      cat >conftest.$ac_ext <<_ACEOF
3833    /* confdefs.h.  */
3834    _ACEOF
3835    cat confdefs.h >>conftest.$ac_ext
3836    cat >>conftest.$ac_ext <<_ACEOF
3837    /* end confdefs.h.  */
3838    #include <ac_nonexistent.h>
3839    _ACEOF
3840    if { (ac_try="$ac_cpp conftest.$ac_ext"
3841    case "(($ac_try" in
3842      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3843      *) ac_try_echo=$ac_try;;
3844    esac
3845    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3846      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3847      ac_status=$?
3848      grep -v '^ *+' conftest.er1 >conftest.err
3849      rm -f conftest.er1
3850      cat conftest.err >&5
3851      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852      (exit $ac_status); } >/dev/null && {
3853             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3854             test ! -s conftest.err
3855           }; then
3856      # Broken: success on invalid input.
3857    continue
3858    else
3859      echo "$as_me: failed program was:" >&5
3860    sed 's/^/| /' conftest.$ac_ext >&5
3861    
3862      # Passes both tests.
3863    ac_preproc_ok=:
3864    break
3865    fi
3866    
3867    rm -f conftest.err conftest.$ac_ext
3868    
3869    done
3870    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3871    rm -f conftest.err conftest.$ac_ext
3872    if $ac_preproc_ok; then
3873      break
3874    fi
3875    
3876        done
3877        ac_cv_prog_CPP=$CPP
3878    
3879    fi
3880      CPP=$ac_cv_prog_CPP
3881    else
3882      ac_cv_prog_CPP=$CPP
3883    fi
3884    { echo "$as_me:$LINENO: result: $CPP" >&5
3885    echo "${ECHO_T}$CPP" >&6; }
3886    ac_preproc_ok=false
3887    for ac_c_preproc_warn_flag in '' yes
3888    do
3889      # Use a header file that comes with gcc, so configuring glibc
3890      # with a fresh cross-compiler works.
3891      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3892      # <limits.h> exists even on freestanding compilers.
3893      # On the NeXT, cc -E runs the code through the compiler's parser,
3894      # not just through cpp. "Syntax error" is here to catch this case.
3895      cat >conftest.$ac_ext <<_ACEOF
3896    /* confdefs.h.  */
3897    _ACEOF
3898    cat confdefs.h >>conftest.$ac_ext
3899    cat >>conftest.$ac_ext <<_ACEOF
3900    /* end confdefs.h.  */
3901    #ifdef __STDC__
3902    # include <limits.h>
3903    #else
3904    # include <assert.h>
3905    #endif
3906                         Syntax error
3907    _ACEOF
3908    if { (ac_try="$ac_cpp conftest.$ac_ext"
3909    case "(($ac_try" in
3910      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911      *) ac_try_echo=$ac_try;;
3912    esac
3913    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3914      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3915      ac_status=$?
3916      grep -v '^ *+' conftest.er1 >conftest.err
3917      rm -f conftest.er1
3918      cat conftest.err >&5
3919      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920      (exit $ac_status); } >/dev/null && {
3921             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3922             test ! -s conftest.err
3923           }; then
3924      :
3925    else
3926      echo "$as_me: failed program was:" >&5
3927    sed 's/^/| /' conftest.$ac_ext >&5
3928    
3929      # Broken: fails on valid input.
3930    continue
3931    fi
3932    
3933    rm -f conftest.err conftest.$ac_ext
3934    
3935      # OK, works on sane cases.  Now check whether nonexistent headers
3936      # can be detected and how.
3937      cat >conftest.$ac_ext <<_ACEOF
3938    /* confdefs.h.  */
3939    _ACEOF
3940    cat confdefs.h >>conftest.$ac_ext
3941    cat >>conftest.$ac_ext <<_ACEOF
3942    /* end confdefs.h.  */
3943    #include <ac_nonexistent.h>
3944    _ACEOF
3945    if { (ac_try="$ac_cpp conftest.$ac_ext"
3946    case "(($ac_try" in
3947      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948      *) ac_try_echo=$ac_try;;
3949    esac
3950    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3951      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3952      ac_status=$?
3953      grep -v '^ *+' conftest.er1 >conftest.err
3954      rm -f conftest.er1
3955      cat conftest.err >&5
3956      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957      (exit $ac_status); } >/dev/null && {
3958             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3959             test ! -s conftest.err
3960           }; then
3961      # Broken: success on invalid input.
3962    continue
3963    else
3964      echo "$as_me: failed program was:" >&5
3965    sed 's/^/| /' conftest.$ac_ext >&5
3966    
3967      # Passes both tests.
3968    ac_preproc_ok=:
3969    break
3970    fi
3971    
3972    rm -f conftest.err conftest.$ac_ext
3973    
3974    done
3975    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3976    rm -f conftest.err conftest.$ac_ext
3977    if $ac_preproc_ok; then
3978      :
3979    else
3980      { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3981    See \`config.log' for more details." >&5
3982    echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3983    See \`config.log' for more details." >&2;}
3984       { (exit 1); exit 1; }; }
3985    fi
3986    
3987    ac_ext=c
3988    ac_cpp='$CPP $CPPFLAGS'
3989    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3990    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3991    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3992    
3993    
3994    { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3995    echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3996    if test "${ac_cv_path_GREP+set}" = set; then
3997      echo $ECHO_N "(cached) $ECHO_C" >&6
3998    else
3999      # Extract the first word of "grep ggrep" to use in msg output
4000    if test -z "$GREP"; then
4001    set dummy grep ggrep; ac_prog_name=$2
4002    if test "${ac_cv_path_GREP+set}" = set; then
4003      echo $ECHO_N "(cached) $ECHO_C" >&6
4004    else
4005      ac_path_GREP_found=false
4006    # Loop through the user's path and test for each of PROGNAME-LIST
4007    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4008    for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4009    do
4010      IFS=$as_save_IFS
4011      test -z "$as_dir" && as_dir=.
4012      for ac_prog in grep ggrep; do
4013      for ac_exec_ext in '' $ac_executable_extensions; do
4014        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4015        { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4016        # Check for GNU ac_path_GREP and select it if it is found.
4017      # Check for GNU $ac_path_GREP
4018    case `"$ac_path_GREP" --version 2>&1` in
4019    *GNU*)
4020      ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4021    *)
4022      ac_count=0
4023      echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4024      while :
4025      do
4026        cat "conftest.in" "conftest.in" >"conftest.tmp"
4027        mv "conftest.tmp" "conftest.in"
4028        cp "conftest.in" "conftest.nl"
4029        echo 'GREP' >> "conftest.nl"
4030        "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4031        diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4032        ac_count=`expr $ac_count + 1`
4033        if test $ac_count -gt ${ac_path_GREP_max-0}; then
4034          # Best one so far, save it but keep looking for a better one
4035          ac_cv_path_GREP="$ac_path_GREP"
4036          ac_path_GREP_max=$ac_count
4037        fi
4038        # 10*(2^10) chars as input seems more than enough
4039        test $ac_count -gt 10 && break
4040      done
4041      rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4042    esac
4043    
4044    
4045        $ac_path_GREP_found && break 3
4046      done
4047    done
4048    
4049    done
4050    IFS=$as_save_IFS
4051    
4052    
4053    fi
4054    
4055    GREP="$ac_cv_path_GREP"
4056    if test -z "$GREP"; then
4057      { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4058    echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4059       { (exit 1); exit 1; }; }
4060    fi
4061    
4062    else
4063      ac_cv_path_GREP=$GREP
4064    fi
4065    
4066    
4067    fi
4068    { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4069    echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4070     GREP="$ac_cv_path_GREP"
4071    
4072    
4073    { echo "$as_me:$LINENO: checking for egrep" >&5
4074    echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4075    if test "${ac_cv_path_EGREP+set}" = set; then
4076      echo $ECHO_N "(cached) $ECHO_C" >&6
4077    else
4078      if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4079       then ac_cv_path_EGREP="$GREP -E"
4080       else
4081         # Extract the first word of "egrep" to use in msg output
4082    if test -z "$EGREP"; then
4083    set dummy egrep; ac_prog_name=$2
4084    if test "${ac_cv_path_EGREP+set}" = set; then
4085      echo $ECHO_N "(cached) $ECHO_C" >&6
4086    else
4087      ac_path_EGREP_found=false
4088    # Loop through the user's path and test for each of PROGNAME-LIST
4089    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090    for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4091    do
4092      IFS=$as_save_IFS
4093      test -z "$as_dir" && as_dir=.
4094      for ac_prog in egrep; do
4095      for ac_exec_ext in '' $ac_executable_extensions; do
4096        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4097        { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4098        # Check for GNU ac_path_EGREP and select it if it is found.
4099      # Check for GNU $ac_path_EGREP
4100    case `"$ac_path_EGREP" --version 2>&1` in
4101    *GNU*)
4102      ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4103    *)
4104      ac_count=0
4105      echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4106      while :
4107      do
4108        cat "conftest.in" "conftest.in" >"conftest.tmp"
4109        mv "conftest.tmp" "conftest.in"
4110        cp "conftest.in" "conftest.nl"
4111        echo 'EGREP' >> "conftest.nl"
4112        "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4113        diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4114        ac_count=`expr $ac_count + 1`
4115        if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4116          # Best one so far, save it but keep looking for a better one
4117          ac_cv_path_EGREP="$ac_path_EGREP"
4118          ac_path_EGREP_max=$ac_count
4119        fi
4120        # 10*(2^10) chars as input seems more than enough
4121        test $ac_count -gt 10 && break
4122      done
4123      rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4124    esac
4125    
4126    
4127        $ac_path_EGREP_found && break 3
4128      done
4129    done
4130    
4131    done
4132    IFS=$as_save_IFS
4133    
4134    
4135    fi
4136    
4137    EGREP="$ac_cv_path_EGREP"
4138    if test -z "$EGREP"; then
4139      { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4140    echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4141       { (exit 1); exit 1; }; }
4142    fi
4143    
4144    else
4145      ac_cv_path_EGREP=$EGREP
4146    fi
4147    
4148    
4149       fi
4150    fi
4151    { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4152    echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4153     EGREP="$ac_cv_path_EGREP"
4154    
4155    
4156    { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4157    echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4158    if test "${ac_cv_header_stdc+set}" = set; then
4159      echo $ECHO_N "(cached) $ECHO_C" >&6
4160    else
4161      cat >conftest.$ac_ext <<_ACEOF
4162    /* confdefs.h.  */
4163    _ACEOF
4164    cat confdefs.h >>conftest.$ac_ext
4165    cat >>conftest.$ac_ext <<_ACEOF
4166    /* end confdefs.h.  */
4167    #include <stdlib.h>
4168    #include <stdarg.h>
4169    #include <string.h>
4170    #include <float.h>
4171    
4172    int
4173    main ()
4174    {
4175    
4176      ;
4177      return 0;
4178    }
4179    _ACEOF
4180    rm -f conftest.$ac_objext
4181    if { (ac_try="$ac_compile"
4182    case "(($ac_try" in
4183      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184      *) ac_try_echo=$ac_try;;
4185    esac
4186    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4187      (eval "$ac_compile") 2>conftest.er1
4188      ac_status=$?
4189      grep -v '^ *+' conftest.er1 >conftest.err
4190      rm -f conftest.er1
4191      cat conftest.err >&5
4192      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193      (exit $ac_status); } && {
4194             test -z "$ac_c_werror_flag" ||
4195             test ! -s conftest.err
4196           } && test -s conftest.$ac_objext; then
4197      ac_cv_header_stdc=yes
4198    else
4199      echo "$as_me: failed program was:" >&5
4200    sed 's/^/| /' conftest.$ac_ext >&5
4201    
4202            ac_cv_header_stdc=no
4203    fi
4204    
4205    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4206    
4207    if test $ac_cv_header_stdc = yes; then
4208      # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4209      cat >conftest.$ac_ext <<_ACEOF
4210    /* confdefs.h.  */
4211    _ACEOF
4212    cat confdefs.h >>conftest.$ac_ext
4213    cat >>conftest.$ac_ext <<_ACEOF
4214    /* end confdefs.h.  */
4215    #include <string.h>
4216    
4217    _ACEOF
4218    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4219      $EGREP "memchr" >/dev/null 2>&1; then
4220      :
4221    else
4222      ac_cv_header_stdc=no
4223    fi
4224    rm -f conftest*
4225    
4226    fi
4227    
4228    if test $ac_cv_header_stdc = yes; then
4229      # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4230      cat >conftest.$ac_ext <<_ACEOF
4231    /* confdefs.h.  */
4232    _ACEOF
4233    cat confdefs.h >>conftest.$ac_ext
4234    cat >>conftest.$ac_ext <<_ACEOF
4235    /* end confdefs.h.  */
4236    #include <stdlib.h>
4237    
4238    _ACEOF
4239    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4240      $EGREP "free" >/dev/null 2>&1; then
4241      :
4242    else
4243      ac_cv_header_stdc=no
4244    fi
4245    rm -f conftest*
4246    
4247    fi
4248    
4249    if test $ac_cv_header_stdc = yes; then
4250      # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4251      if test "$cross_compiling" = yes; then
4252      :
4253    else
4254      cat >conftest.$ac_ext <<_ACEOF
4255    /* confdefs.h.  */
4256    _ACEOF
4257    cat confdefs.h >>conftest.$ac_ext
4258    cat >>conftest.$ac_ext <<_ACEOF
4259    /* end confdefs.h.  */
4260    #include <ctype.h>
4261    #include <stdlib.h>
4262    #if ((' ' & 0x0FF) == 0x020)
4263    # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4264    # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4265    #else
4266    # define ISLOWER(c) \
4267                       (('a' <= (c) && (c) <= 'i') \
4268                         || ('j' <= (c) && (c) <= 'r') \
4269                         || ('s' <= (c) && (c) <= 'z'))
4270    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4271    #endif
4272    
4273    #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4274    int
4275    main ()
4276    {
4277      int i;
4278      for (i = 0; i < 256; i++)
4279        if (XOR (islower (i), ISLOWER (i))
4280            || toupper (i) != TOUPPER (i))
4281          return 2;
4282      return 0;
4283    }
4284    _ACEOF
4285    rm -f conftest$ac_exeext
4286    if { (ac_try="$ac_link"
4287    case "(($ac_try" in
4288      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289      *) ac_try_echo=$ac_try;;
4290    esac
4291    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4292      (eval "$ac_link") 2>&5
4293      ac_status=$?
4294      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4296      { (case "(($ac_try" in
4297      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4298      *) ac_try_echo=$ac_try;;
4299    esac
4300    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4301      (eval "$ac_try") 2>&5
4302      ac_status=$?
4303      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304      (exit $ac_status); }; }; then
4305      :
4306    else
4307      echo "$as_me: program exited with status $ac_status" >&5
4308    echo "$as_me: failed program was:" >&5
4309    sed 's/^/| /' conftest.$ac_ext >&5
4310    
4311    ( exit $ac_status )
4312    ac_cv_header_stdc=no
4313    fi
4314    rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4315    fi
4316    
4317    
4318    fi
4319    fi
4320    { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4321    echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4322    if test $ac_cv_header_stdc = yes; then
4323    
4324    cat >>confdefs.h <<\_ACEOF
4325    #define STDC_HEADERS 1
4326    _ACEOF
4327    
4328    fi
4329    
4330    # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4331    
4332    
4333    
4334    
4335    
4336    
4337    
4338    
4339    
4340    for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4341                      inttypes.h stdint.h unistd.h
4342    do
4343    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4344    { echo "$as_me:$LINENO: checking for $ac_header" >&5
4345    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4346    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4347      echo $ECHO_N "(cached) $ECHO_C" >&6
4348    else
4349      cat >conftest.$ac_ext <<_ACEOF
4350    /* confdefs.h.  */
4351    _ACEOF
4352    cat confdefs.h >>conftest.$ac_ext
4353    cat >>conftest.$ac_ext <<_ACEOF
4354    /* end confdefs.h.  */
4355    $ac_includes_default
4356    
4357    #include <$ac_header>
4358    _ACEOF
4359    rm -f conftest.$ac_objext
4360    if { (ac_try="$ac_compile"
4361    case "(($ac_try" in
4362      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4363      *) ac_try_echo=$ac_try;;
4364    esac
4365    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4366      (eval "$ac_compile") 2>conftest.er1
4367      ac_status=$?
4368      grep -v '^ *+' conftest.er1 >conftest.err
4369      rm -f conftest.er1
4370      cat conftest.err >&5
4371      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372      (exit $ac_status); } && {
4373             test -z "$ac_c_werror_flag" ||
4374             test ! -s conftest.err
4375           } && test -s conftest.$ac_objext; then
4376      eval "$as_ac_Header=yes"
4377    else
4378      echo "$as_me: failed program was:" >&5
4379    sed 's/^/| /' conftest.$ac_ext >&5
4380    
4381            eval "$as_ac_Header=no"
4382    fi
4383    
4384    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4385    fi
4386    ac_res=`eval echo '${'$as_ac_Header'}'`
4387                   { echo "$as_me:$LINENO: result: $ac_res" >&5
4388    echo "${ECHO_T}$ac_res" >&6; }
4389    if test `eval echo '${'$as_ac_Header'}'` = yes; then
4390      cat >>confdefs.h <<_ACEOF
4391    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4392    _ACEOF
4393    
4394    fi
4395    
4396    done
4397    
4398    
4399  if test -n "$PKG_CONFIG" && \  if test -n "$PKG_CONFIG" && \
4400      { ($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
4401    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
4402    ac_status=$?    ac_status=$?
4403    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404    (exit $ac_status); }; then    (exit $ac_status); }; then
4405    
4406    MAEMO="yes"    MAEMO="yes"
4407    { $as_echo "$as_me:$LINENO: result: yes" >&5    { echo "$as_me:$LINENO: result: yes" >&5
4408  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4409    
4410    
4411  pkg_failed=no  pkg_failed=no
4412  { $as_echo "$as_me:$LINENO: checking for hildon" >&5  { echo "$as_me:$LINENO: checking for hildon" >&5
4413  $as_echo_n "checking for hildon... " >&6; }  echo $ECHO_N "checking for hildon... $ECHO_C" >&6; }
4414    
4415  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4416      if test -n "$hildon_CFLAGS"; then      if test -n "$hildon_CFLAGS"; then
4417          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"
4418      else      else
4419          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4420      { ($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
4421    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4422    ac_status=$?    ac_status=$?
4423    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424    (exit $ac_status); }; then    (exit $ac_status); }; then
4425    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
4426  else  else
# Line 3777  if test -n "$PKG_CONFIG"; then Line 4435  if test -n "$PKG_CONFIG"; then
4435          pkg_cv_hildon_LIBS="$hildon_LIBS"          pkg_cv_hildon_LIBS="$hildon_LIBS"
4436      else      else
4437          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4438      { ($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
4439    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4440    ac_status=$?    ac_status=$?
4441    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442    (exit $ac_status); }; then    (exit $ac_status); }; then
4443    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
4444  else  else
# Line 3808  fi Line 4466  fi
4466          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4467          echo "$hildon_PKG_ERRORS" >&5          echo "$hildon_PKG_ERRORS" >&5
4468    
4469          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4470  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4471                  { { $as_echo "$as_me:$LINENO: error: hildon-1 missing" >&5                  { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
4472  $as_echo "$as_me: error: hildon-1 missing" >&2;}  echo "$as_me: error: hildon-1 missing" >&2;}
4473     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4474  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4475          { { $as_echo "$as_me:$LINENO: error: hildon-1 missing" >&5          { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
4476  $as_echo "$as_me: error: hildon-1 missing" >&2;}  echo "$as_me: error: hildon-1 missing" >&2;}
4477     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4478  else  else
4479          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS
4480          hildon_LIBS=$pkg_cv_hildon_LIBS          hildon_LIBS=$pkg_cv_hildon_LIBS
4481          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4482  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4483          :          :
4484  fi  fi
4485    CFLAGS="$CFLAGS  -DUSE_MAEMO $hildon_CFLAGS"    CFLAGS="$CFLAGS  -DUSE_MAEMO $hildon_CFLAGS"
# Line 3829  fi Line 4487  fi
4487    
4488    
4489  pkg_failed=no  pkg_failed=no
4490  { $as_echo "$as_me:$LINENO: checking for osso" >&5  { echo "$as_me:$LINENO: checking for osso" >&5
4491  $as_echo_n "checking for osso... " >&6; }  echo $ECHO_N "checking for osso... $ECHO_C" >&6; }
4492    
4493  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4494      if test -n "$osso_CFLAGS"; then      if test -n "$osso_CFLAGS"; then
4495          pkg_cv_osso_CFLAGS="$osso_CFLAGS"          pkg_cv_osso_CFLAGS="$osso_CFLAGS"
4496      else      else
4497          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4498      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
4499    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4500    ac_status=$?    ac_status=$?
4501    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502    (exit $ac_status); }; then    (exit $ac_status); }; then
4503    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`
4504  else  else
# Line 3855  if test -n "$PKG_CONFIG"; then Line 4513  if test -n "$PKG_CONFIG"; then
4513          pkg_cv_osso_LIBS="$osso_LIBS"          pkg_cv_osso_LIBS="$osso_LIBS"
4514      else      else
4515          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4516      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
4517    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4518    ac_status=$?    ac_status=$?
4519    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520    (exit $ac_status); }; then    (exit $ac_status); }; then
4521    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`
4522  else  else
# Line 3886  fi Line 4544  fi
4544          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4545          echo "$osso_PKG_ERRORS" >&5          echo "$osso_PKG_ERRORS" >&5
4546    
4547          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4548  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4549                  { { $as_echo "$as_me:$LINENO: error: libosso missing" >&5                  { { echo "$as_me:$LINENO: error: libosso missing" >&5
4550  $as_echo "$as_me: error: libosso missing" >&2;}  echo "$as_me: error: libosso missing" >&2;}
4551     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4552  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4553          { { $as_echo "$as_me:$LINENO: error: libosso missing" >&5          { { echo "$as_me:$LINENO: error: libosso missing" >&5
4554  $as_echo "$as_me: error: libosso missing" >&2;}  echo "$as_me: error: libosso missing" >&2;}
4555     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4556  else  else
4557          osso_CFLAGS=$pkg_cv_osso_CFLAGS          osso_CFLAGS=$pkg_cv_osso_CFLAGS
4558          osso_LIBS=$pkg_cv_osso_LIBS          osso_LIBS=$pkg_cv_osso_LIBS
4559          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4560  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4561          :          :
4562  fi  fi
4563    CFLAGS="$CFLAGS $osso_CFLAGS"    CFLAGS="$CFLAGS $osso_CFLAGS"
# Line 3907  fi Line 4565  fi
4565    
4566    
4567  pkg_failed=no  pkg_failed=no
4568  { $as_echo "$as_me:$LINENO: checking for hildon_fm_2" >&5  { echo "$as_me:$LINENO: checking for hildon_fm_2" >&5
4569  $as_echo_n "checking for hildon_fm_2... " >&6; }  echo $ECHO_N "checking for hildon_fm_2... $ECHO_C" >&6; }
4570    
4571  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4572      if test -n "$hildon_fm_2_CFLAGS"; then      if test -n "$hildon_fm_2_CFLAGS"; then
4573          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"
4574      else      else
4575          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4576      { ($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
4577    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4578    ac_status=$?    ac_status=$?
4579    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580    (exit $ac_status); }; then    (exit $ac_status); }; then
4581    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`
4582  else  else
# Line 3933  if test -n "$PKG_CONFIG"; then Line 4591  if test -n "$PKG_CONFIG"; then
4591          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"
4592      else      else
4593          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4594      { ($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
4595    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4596    ac_status=$?    ac_status=$?
4597    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598    (exit $ac_status); }; then    (exit $ac_status); }; then
4599    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`
4600  else  else
# Line 3964  fi Line 4622  fi
4622          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4623          echo "$hildon_fm_2_PKG_ERRORS" >&5          echo "$hildon_fm_2_PKG_ERRORS" >&5
4624    
4625          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4626  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4627                  { { $as_echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5                  { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
4628  $as_echo "$as_me: error: hildon-fm-2 missing" >&2;}  echo "$as_me: error: hildon-fm-2 missing" >&2;}
4629     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4630  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4631          { { $as_echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5          { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
4632  $as_echo "$as_me: error: hildon-fm-2 missing" >&2;}  echo "$as_me: error: hildon-fm-2 missing" >&2;}
4633     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4634  else  else
4635          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS
4636          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS
4637          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4638  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4639          :          :
4640  fi  fi
4641    CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"    CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"
# Line 3986  fi Line 4644  fi
4644    # check for sqlite3 for maemo mapper interface    # check for sqlite3 for maemo mapper interface
4645    
4646  pkg_failed=no  pkg_failed=no
4647  { $as_echo "$as_me:$LINENO: checking for sqlite3" >&5  { echo "$as_me:$LINENO: checking for sqlite3" >&5
4648  $as_echo_n "checking for sqlite3... " >&6; }  echo $ECHO_N "checking for sqlite3... $ECHO_C" >&6; }
4649    
4650  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4651      if test -n "$sqlite3_CFLAGS"; then      if test -n "$sqlite3_CFLAGS"; then
4652          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"
4653      else      else
4654          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4655      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
4656    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4657    ac_status=$?    ac_status=$?
4658    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659    (exit $ac_status); }; then    (exit $ac_status); }; then
4660    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
4661  else  else
# Line 4012  if test -n "$PKG_CONFIG"; then Line 4670  if test -n "$PKG_CONFIG"; then
4670          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"
4671      else      else
4672          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4673      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
4674    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4675    ac_status=$?    ac_status=$?
4676    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677    (exit $ac_status); }; then    (exit $ac_status); }; then
4678    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
4679  else  else
# Line 4043  fi Line 4701  fi
4701          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4702          echo "$sqlite3_PKG_ERRORS" >&5          echo "$sqlite3_PKG_ERRORS" >&5
4703    
4704          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4705  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4706                  { { $as_echo "$as_me:$LINENO: error: sqlite3 missing" >&5                  { { echo "$as_me:$LINENO: error: sqlite3 missing" >&5
4707  $as_echo "$as_me: error: sqlite3 missing" >&2;}  echo "$as_me: error: sqlite3 missing" >&2;}
4708     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4709  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4710          { { $as_echo "$as_me:$LINENO: error: sqlite3 missing" >&5          { { echo "$as_me:$LINENO: error: sqlite3 missing" >&5
4711  $as_echo "$as_me: error: sqlite3 missing" >&2;}  echo "$as_me: error: sqlite3 missing" >&2;}
4712     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4713  else  else
4714          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS
4715          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS
4716          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4717  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4718          :          :
4719  fi  fi
4720    CFLAGS="$CFLAGS $sqlite3_CFLAGS"    CFLAGS="$CFLAGS $sqlite3_CFLAGS"
# Line 4065  fi Line 4723  fi
4723    # check for hildon-help    # check for hildon-help
4724    
4725  pkg_failed=no  pkg_failed=no
4726  { $as_echo "$as_me:$LINENO: checking for hildon_help" >&5  { echo "$as_me:$LINENO: checking for hildon_help" >&5
4727  $as_echo_n "checking for hildon_help... " >&6; }  echo $ECHO_N "checking for hildon_help... $ECHO_C" >&6; }
4728    
4729  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4730      if test -n "$hildon_help_CFLAGS"; then      if test -n "$hildon_help_CFLAGS"; then
4731          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"
4732      else      else
4733          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4734      { ($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
4735    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4736    ac_status=$?    ac_status=$?
4737    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738    (exit $ac_status); }; then    (exit $ac_status); }; then
4739    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`
4740  else  else
# Line 4091  if test -n "$PKG_CONFIG"; then Line 4749  if test -n "$PKG_CONFIG"; then
4749          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"
4750      else      else
4751          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4752      { ($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
4753    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4754    ac_status=$?    ac_status=$?
4755    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756    (exit $ac_status); }; then    (exit $ac_status); }; then
4757    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`
4758  else  else
# Line 4122  fi Line 4780  fi
4780          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4781          echo "$hildon_help_PKG_ERRORS" >&5          echo "$hildon_help_PKG_ERRORS" >&5
4782    
4783          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4784  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4785    
4786      { $as_echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5      { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5
4787  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}  echo "$as_me: WARNING: hildon-help missing" >&6;}
4788    
4789  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4790    
4791      { $as_echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5      { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5
4792  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}  echo "$as_me: WARNING: hildon-help missing" >&6;}
4793    
4794  else  else
4795          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS
4796          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS
4797          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4798  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4799    
4800      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"
4801      LIBS="$LIBS $hildon_help_LIBS"      LIBS="$LIBS $hildon_help_LIBS"
# Line 4147  fi Line 4805  fi
4805    # prefer gpsbt over liblocation as we got complaints regarding liblocation    # prefer gpsbt over liblocation as we got complaints regarding liblocation
4806    # stability    # stability
4807    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4808      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4809    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4810    ac_status=$?    ac_status=$?
4811    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812    (exit $ac_status); }; then    (exit $ac_status); }; then
4813    
4814    
4815  pkg_failed=no  pkg_failed=no
4816  { $as_echo "$as_me:$LINENO: checking for gpsbt" >&5  { echo "$as_me:$LINENO: checking for gpsbt" >&5
4817  $as_echo_n "checking for gpsbt... " >&6; }  echo $ECHO_N "checking for gpsbt... $ECHO_C" >&6; }
4818    
4819  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4820      if test -n "$gpsbt_CFLAGS"; then      if test -n "$gpsbt_CFLAGS"; then
4821          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"
4822      else      else
4823          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4824      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4825    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4826    ac_status=$?    ac_status=$?
4827    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828    (exit $ac_status); }; then    (exit $ac_status); }; then
4829    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`
4830  else  else
# Line 4181  if test -n "$PKG_CONFIG"; then Line 4839  if test -n "$PKG_CONFIG"; then
4839          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"
4840      else      else
4841          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4842      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4843    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4844    ac_status=$?    ac_status=$?
4845    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846    (exit $ac_status); }; then    (exit $ac_status); }; then
4847    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`
4848  else  else
# Line 4212  fi Line 4870  fi
4870          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4871          echo "$gpsbt_PKG_ERRORS" >&5          echo "$gpsbt_PKG_ERRORS" >&5
4872    
4873          { { $as_echo "$as_me:$LINENO: error: Package requirements (gpsbt) were not met:          { { echo "$as_me:$LINENO: error: Package requirements (gpsbt) were not met:
4874    
4875  $gpsbt_PKG_ERRORS  $gpsbt_PKG_ERRORS
4876    
# Line 4223  Alternatively, you may set the environme Line 4881  Alternatively, you may set the environme
4881  and gpsbt_LIBS to avoid the need to call pkg-config.  and gpsbt_LIBS to avoid the need to call pkg-config.
4882  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4883  " >&5  " >&5
4884  $as_echo "$as_me: error: Package requirements (gpsbt) were not met:  echo "$as_me: error: Package requirements (gpsbt) were not met:
4885    
4886  $gpsbt_PKG_ERRORS  $gpsbt_PKG_ERRORS
4887    
# Line 4236  See the pkg-config man page for more det Line 4894  See the pkg-config man page for more det
4894  " >&2;}  " >&2;}
4895     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4896  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4897          { { $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  
4898  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
4899  path to pkg-config.  path to pkg-config.
4900    
# Line 4248  See the pkg-config man page for more det Line 4904  See the pkg-config man page for more det
4904    
4905  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4906  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
4907  $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
4908  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
4909  path to pkg-config.  path to pkg-config.
4910    
# Line 4258  See the pkg-config man page for more det Line 4914  See the pkg-config man page for more det
4914    
4915  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4916  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
4917     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
4918  else  else
4919          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS
4920          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS
4921          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4922  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4923          :          :
4924  fi  fi
4925      CFLAGS="$CFLAGS -DENABLE_GPSBT $gpsbt_CFLAGS"      CFLAGS="$CFLAGS -DENABLE_GPSBT $gpsbt_CFLAGS"
# Line 4271  fi Line 4927  fi
4927    
4928  else  else
4929    
4930      { $as_echo "$as_me:$LINENO: gpsbt not found, trying liblocation" >&5      { echo "$as_me:$LINENO: gpsbt not found, trying liblocation" >&5
4931  $as_echo "$as_me: gpsbt not found, trying liblocation" >&6;}  echo "$as_me: gpsbt not found, trying liblocation" >&6;}
4932    
4933      if test -n "$PKG_CONFIG" && \      if test -n "$PKG_CONFIG" && \
4934      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4935    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4936    ac_status=$?    ac_status=$?
4937    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938    (exit $ac_status); }; then    (exit $ac_status); }; then
4939    
4940    
4941  pkg_failed=no  pkg_failed=no
4942  { $as_echo "$as_me:$LINENO: checking for liblocation" >&5  { echo "$as_me:$LINENO: checking for liblocation" >&5
4943  $as_echo_n "checking for liblocation... " >&6; }  echo $ECHO_N "checking for liblocation... $ECHO_C" >&6; }
4944    
4945  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4946      if test -n "$liblocation_CFLAGS"; then      if test -n "$liblocation_CFLAGS"; then
4947          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"
4948      else      else
4949          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4950      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4951    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4952    ac_status=$?    ac_status=$?
4953    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954    (exit $ac_status); }; then    (exit $ac_status); }; then
4955    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`
4956  else  else
# Line 4309  if test -n "$PKG_CONFIG"; then Line 4965  if test -n "$PKG_CONFIG"; then
4965          pkg_cv_liblocation_LIBS="$liblocation_LIBS"          pkg_cv_liblocation_LIBS="$liblocation_LIBS"
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 \"liblocation\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4969    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 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_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`
4974  else  else
# Line 4340  fi Line 4996  fi
4996          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4997          echo "$liblocation_PKG_ERRORS" >&5          echo "$liblocation_PKG_ERRORS" >&5
4998    
4999          { { $as_echo "$as_me:$LINENO: error: Package requirements (liblocation) were not met:          { { echo "$as_me:$LINENO: error: Package requirements (liblocation) were not met:
5000    
5001  $liblocation_PKG_ERRORS  $liblocation_PKG_ERRORS
5002    
# Line 4351  Alternatively, you may set the environme Line 5007  Alternatively, you may set the environme
5007  and liblocation_LIBS to avoid the need to call pkg-config.  and liblocation_LIBS to avoid the need to call pkg-config.
5008  See the pkg-config man page for more details.  See the pkg-config man page for more details.
5009  " >&5  " >&5
5010  $as_echo "$as_me: error: Package requirements (liblocation) were not met:  echo "$as_me: error: Package requirements (liblocation) were not met:
5011    
5012  $liblocation_PKG_ERRORS  $liblocation_PKG_ERRORS
5013    
# Line 4364  See the pkg-config man page for more det Line 5020  See the pkg-config man page for more det
5020  " >&2;}  " >&2;}
5021     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5022  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5023          { { $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  
5024  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
5025  path to pkg-config.  path to pkg-config.
5026    
# Line 4376  See the pkg-config man page for more det Line 5030  See the pkg-config man page for more det
5030    
5031  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5032  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
5033  $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
5034  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
5035  path to pkg-config.  path to pkg-config.
5036    
# Line 4386  See the pkg-config man page for more det Line 5040  See the pkg-config man page for more det
5040    
5041  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5042  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
5043     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
5044  else  else
5045          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS
5046          liblocation_LIBS=$pkg_cv_liblocation_LIBS          liblocation_LIBS=$pkg_cv_liblocation_LIBS
5047          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
5048  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
5049          :          :
5050  fi  fi
5051        CFLAGS="$CFLAGS -DENABLE_LIBLOCATION $liblocation_CFLAGS"        CFLAGS="$CFLAGS -DENABLE_LIBLOCATION $liblocation_CFLAGS"
# Line 4399  fi Line 5053  fi
5053    
5054  else  else
5055    
5056        { $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
5057  $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;}
5058    
5059  fi  fi
5060    
5061  fi  fi
5062    
5063    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
5064      { ($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
5065    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5
5066    ac_status=$?    ac_status=$?
5067    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068    (exit $ac_status); }; then    (exit $ac_status); }; then
5069    
5070      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"
5071    
5072  else  else
5073    { $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
5074  $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;}
5075  fi  fi
5076    
5077    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
5078      { ($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
5079    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 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      VERSION=`pkg-config --modversion maemo-version`      VERSION=`pkg-config --modversion maemo-version`
5085      { $as_echo "$as_me:$LINENO: Configuring for Maemo $VERSION" >&5      { echo "$as_me:$LINENO: Configuring for Maemo $VERSION" >&5
5086  $as_echo "$as_me: Configuring for Maemo $VERSION" >&6;}  echo "$as_me: Configuring for Maemo $VERSION" >&6;}
5087      CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""      CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""
5088      MAJOR=`echo $VERSION | cut -b1 -`      MAJOR=`echo $VERSION | cut -b1 -`
5089      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"
5090    
5091        MAEMO_VERSION_MAJOR=$MAJOR
5092    
5093    
5094  else  else
5095    
5096      { { $as_echo "$as_me:$LINENO: error: maemo-version not found" >&5      { { echo "$as_me:$LINENO: error: maemo-version not found" >&5
5097  $as_echo "$as_me: error: maemo-version not found" >&2;}  echo "$as_me: error: maemo-version not found" >&2;}
5098     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5099    
5100  fi  fi
5101    
5102      INSTALL_PLATTFORM="install-maemo"
5103    
5104      # fremantle uses icons of 48x48 pixels for the app installer,
5105      # older versions used 26x26
5106      if [ "$MAJOR" == "5" ]; then
5107         ICONNAME=48x48/gpxview.png
5108         datarootdir=/opt
5109    
5110           # check for libespeak (broken in diablo, hence doing it here)
5111    
5112    for ac_header in espeak/speak_lib.h
5113    do
5114    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5115    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5116      { echo "$as_me:$LINENO: checking for $ac_header" >&5
5117    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5118    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5119      echo $ECHO_N "(cached) $ECHO_C" >&6
5120    fi
5121    ac_res=`eval echo '${'$as_ac_Header'}'`
5122                   { echo "$as_me:$LINENO: result: $ac_res" >&5
5123    echo "${ECHO_T}$ac_res" >&6; }
5124    else
5125      # Is the header compilable?
5126    { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5127    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5128    cat >conftest.$ac_ext <<_ACEOF
5129    /* confdefs.h.  */
5130    _ACEOF
5131    cat confdefs.h >>conftest.$ac_ext
5132    cat >>conftest.$ac_ext <<_ACEOF
5133    /* end confdefs.h.  */
5134    $ac_includes_default
5135    #include <$ac_header>
5136    _ACEOF
5137    rm -f conftest.$ac_objext
5138    if { (ac_try="$ac_compile"
5139    case "(($ac_try" in
5140      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5141      *) ac_try_echo=$ac_try;;
5142    esac
5143    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5144      (eval "$ac_compile") 2>conftest.er1
5145      ac_status=$?
5146      grep -v '^ *+' conftest.er1 >conftest.err
5147      rm -f conftest.er1
5148      cat conftest.err >&5
5149      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150      (exit $ac_status); } && {
5151             test -z "$ac_c_werror_flag" ||
5152             test ! -s conftest.err
5153           } && test -s conftest.$ac_objext; then
5154      ac_header_compiler=yes
5155    else
5156      echo "$as_me: failed program was:" >&5
5157    sed 's/^/| /' conftest.$ac_ext >&5
5158    
5159            ac_header_compiler=no
5160    fi
5161    
5162    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5163    { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5164    echo "${ECHO_T}$ac_header_compiler" >&6; }
5165    
5166    # Is the header present?
5167    { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5168    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5169    cat >conftest.$ac_ext <<_ACEOF
5170    /* confdefs.h.  */
5171    _ACEOF
5172    cat confdefs.h >>conftest.$ac_ext
5173    cat >>conftest.$ac_ext <<_ACEOF
5174    /* end confdefs.h.  */
5175    #include <$ac_header>
5176    _ACEOF
5177    if { (ac_try="$ac_cpp conftest.$ac_ext"
5178    case "(($ac_try" in
5179      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5180      *) ac_try_echo=$ac_try;;
5181    esac
5182    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5183      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5184      ac_status=$?
5185      grep -v '^ *+' conftest.er1 >conftest.err
5186      rm -f conftest.er1
5187      cat conftest.err >&5
5188      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189      (exit $ac_status); } >/dev/null && {
5190             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5191             test ! -s conftest.err
5192           }; then
5193      ac_header_preproc=yes
5194    else
5195      echo "$as_me: failed program was:" >&5
5196    sed 's/^/| /' conftest.$ac_ext >&5
5197    
5198      ac_header_preproc=no
5199    fi
5200    
5201    rm -f conftest.err conftest.$ac_ext
5202    { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5203    echo "${ECHO_T}$ac_header_preproc" >&6; }
5204    
5205    # So?  What about this header?
5206    case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5207      yes:no: )
5208        { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5209    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5210        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5211    echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5212        ac_header_preproc=yes
5213        ;;
5214      no:yes:* )
5215        { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5216    echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5217        { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5218    echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5219        { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5220    echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5221        { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5222    echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5223        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5224    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5225        { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5226    echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5227        ( cat <<\_ASBOX
5228    ## ------------------------------- ##
5229    ## Report this to till@harbaum.org ##
5230    ## ------------------------------- ##
5231    _ASBOX
5232         ) | sed "s/^/$as_me: WARNING:     /" >&2
5233        ;;
5234    esac
5235    { echo "$as_me:$LINENO: checking for $ac_header" >&5
5236    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5237    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5238      echo $ECHO_N "(cached) $ECHO_C" >&6
5239    else
5240      eval "$as_ac_Header=\$ac_header_preproc"
5241    fi
5242    ac_res=`eval echo '${'$as_ac_Header'}'`
5243                   { echo "$as_me:$LINENO: result: $ac_res" >&5
5244    echo "${ECHO_T}$ac_res" >&6; }
5245    
5246    fi
5247    if test `eval echo '${'$as_ac_Header'}'` = yes; then
5248      cat >>confdefs.h <<_ACEOF
5249    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5250    _ACEOF
5251    
5252             CFLAGS="$CFLAGS -DESPEAK"
5253             LIBS="$LIBS -lespeak"
5254    
5255    fi
5256    
5257    done
5258    
5259      else
5260         ICONNAME=26x26/gpxview.png
5261         { echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5
5262    echo "$as_me: Enabling Maemo Mapper support" >&6;}
5263      fi
5264    
5265      CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER"
5266      EXTRA_OBJS="$EXTRA_OBJS mm_poi.o"
5267    
5268    # maemo uses dbus for ipc with maemo mapper    # maemo uses dbus for ipc with maemo mapper
5269    EXTRA_OBJS="$EXTRA_OBJS mm_poi.o dbus.o"    EXTRA_OBJS="$EXTRA_OBJS dbus.o"
5270    
5271    INSTALL_PLATTFORM="install-maemo"    { echo "$as_me:$LINENO: Using application installer icon \"$ICONNAME\"" >&5
5272    echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}
5273    
5274      # add icon entry to debian/control
5275      ICON=" Maemo icon $ICONNAME
5276    XB-Maemo-Icon-26:
5277    "
5278    
5279      # generate base64 icon, remove first and last line
5280      # and add a space before each line
5281      ICON="$ICON`uuencode -m data/icons/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`"
5282    
5283    
5284  else  else
5285    
5286    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
5287  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
5288    
5289      EXTRA_OBJS="$EXTRA_OBJS bct.o"
5290      CFLAGS="$CFLAGS -DBCT"
5291    
5292    # check for gtk+-2.0    # check for gtk+-2.0
5293    
5294  pkg_failed=no  pkg_failed=no
5295  { $as_echo "$as_me:$LINENO: checking for gtk" >&5  { echo "$as_me:$LINENO: checking for gtk" >&5
5296  $as_echo_n "checking for gtk... " >&6; }  echo $ECHO_N "checking for gtk... $ECHO_C" >&6; }
5297    
5298  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
5299      if test -n "$gtk_CFLAGS"; then      if test -n "$gtk_CFLAGS"; then
5300          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
5301      else      else
5302          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5303      { ($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
5304    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5305    ac_status=$?    ac_status=$?
5306    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307    (exit $ac_status); }; then    (exit $ac_status); }; then
5308    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`
5309  else  else
# Line 4482  if test -n "$PKG_CONFIG"; then Line 5318  if test -n "$PKG_CONFIG"; then
5318          pkg_cv_gtk_LIBS="$gtk_LIBS"          pkg_cv_gtk_LIBS="$gtk_LIBS"
5319      else      else
5320          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5321      { ($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
5322    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5323    ac_status=$?    ac_status=$?
5324    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325    (exit $ac_status); }; then    (exit $ac_status); }; then
5326    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`
5327  else  else
# Line 4513  fi Line 5349  fi
5349          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5350          echo "$gtk_PKG_ERRORS" >&5          echo "$gtk_PKG_ERRORS" >&5
5351    
5352          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
5353  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
5354                  { { $as_echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5                  { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
5355  $as_echo "$as_me: error: gtk+-2.0 missing!" >&2;}  echo "$as_me: error: gtk+-2.0 missing!" >&2;}
5356     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5357  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5358          { { $as_echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5          { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
5359  $as_echo "$as_me: error: gtk+-2.0 missing!" >&2;}  echo "$as_me: error: gtk+-2.0 missing!" >&2;}
5360     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5361  else  else
5362          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
5363          gtk_LIBS=$pkg_cv_gtk_LIBS          gtk_LIBS=$pkg_cv_gtk_LIBS
5364          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
5365  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
5366          :          :
5367  fi  fi
5368    CFLAGS="$CFLAGS $gtk_CFLAGS"    CFLAGS="$CFLAGS $gtk_CFLAGS"
# Line 4535  fi Line 5371  fi
5371    # non-maemo device use gnome to call the web browser    # non-maemo device use gnome to call the web browser
5372    
5373  pkg_failed=no  pkg_failed=no
5374  { $as_echo "$as_me:$LINENO: checking for gnome2" >&5  { echo "$as_me:$LINENO: checking for gnome2" >&5
5375  $as_echo_n "checking for gnome2... " >&6; }  echo $ECHO_N "checking for gnome2... $ECHO_C" >&6; }
5376    
5377  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
5378      if test -n "$gnome2_CFLAGS"; then      if test -n "$gnome2_CFLAGS"; then
5379          pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"          pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"
5380      else      else
5381          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5382      { ($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
5383    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5384    ac_status=$?    ac_status=$?
5385    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386    (exit $ac_status); }; then    (exit $ac_status); }; then
5387    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`
5388  else  else
# Line 4561  if test -n "$PKG_CONFIG"; then Line 5397  if test -n "$PKG_CONFIG"; then
5397          pkg_cv_gnome2_LIBS="$gnome2_LIBS"          pkg_cv_gnome2_LIBS="$gnome2_LIBS"
5398      else      else
5399          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5400      { ($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
5401    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5402    ac_status=$?    ac_status=$?
5403    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404    (exit $ac_status); }; then    (exit $ac_status); }; then
5405    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`
5406  else  else
# Line 4592  fi Line 5428  fi
5428          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5429          echo "$gnome2_PKG_ERRORS" >&5          echo "$gnome2_PKG_ERRORS" >&5
5430    
5431          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
5432  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
5433                  { { $as_echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5                  { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
5434  $as_echo "$as_me: error: libgnome-2.0 missing" >&2;}  echo "$as_me: error: libgnome-2.0 missing" >&2;}
5435     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5436  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5437          { { $as_echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5          { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
5438  $as_echo "$as_me: error: libgnome-2.0 missing" >&2;}  echo "$as_me: error: libgnome-2.0 missing" >&2;}
5439     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5440  else  else
5441          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS
5442          gnome2_LIBS=$pkg_cv_gnome2_LIBS          gnome2_LIBS=$pkg_cv_gnome2_LIBS
5443          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
5444  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
5445          :          :
5446  fi  fi
5447    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"
5448    LIBS="$LIBS $gnome2_LIBS"    LIBS="$LIBS $gnome2_LIBS"
5449    
5450      # check for libespeak
5451    
5452    for ac_header in espeak/speak_lib.h
5453    do
5454    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5455    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5456      { echo "$as_me:$LINENO: checking for $ac_header" >&5
5457    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5458    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5459      echo $ECHO_N "(cached) $ECHO_C" >&6
5460    fi
5461    ac_res=`eval echo '${'$as_ac_Header'}'`
5462                   { echo "$as_me:$LINENO: result: $ac_res" >&5
5463    echo "${ECHO_T}$ac_res" >&6; }
5464    else
5465      # Is the header compilable?
5466    { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5467    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5468    cat >conftest.$ac_ext <<_ACEOF
5469    /* confdefs.h.  */
5470    _ACEOF
5471    cat confdefs.h >>conftest.$ac_ext
5472    cat >>conftest.$ac_ext <<_ACEOF
5473    /* end confdefs.h.  */
5474    $ac_includes_default
5475    #include <$ac_header>
5476    _ACEOF
5477    rm -f conftest.$ac_objext
5478    if { (ac_try="$ac_compile"
5479    case "(($ac_try" in
5480      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5481      *) ac_try_echo=$ac_try;;
5482    esac
5483    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5484      (eval "$ac_compile") 2>conftest.er1
5485      ac_status=$?
5486      grep -v '^ *+' conftest.er1 >conftest.err
5487      rm -f conftest.er1
5488      cat conftest.err >&5
5489      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490      (exit $ac_status); } && {
5491             test -z "$ac_c_werror_flag" ||
5492             test ! -s conftest.err
5493           } && test -s conftest.$ac_objext; then
5494      ac_header_compiler=yes
5495    else
5496      echo "$as_me: failed program was:" >&5
5497    sed 's/^/| /' conftest.$ac_ext >&5
5498    
5499            ac_header_compiler=no
5500    fi
5501    
5502    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5503    { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5504    echo "${ECHO_T}$ac_header_compiler" >&6; }
5505    
5506    # Is the header present?
5507    { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5508    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5509    cat >conftest.$ac_ext <<_ACEOF
5510    /* confdefs.h.  */
5511    _ACEOF
5512    cat confdefs.h >>conftest.$ac_ext
5513    cat >>conftest.$ac_ext <<_ACEOF
5514    /* end confdefs.h.  */
5515    #include <$ac_header>
5516    _ACEOF
5517    if { (ac_try="$ac_cpp conftest.$ac_ext"
5518    case "(($ac_try" in
5519      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5520      *) ac_try_echo=$ac_try;;
5521    esac
5522    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5523      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5524      ac_status=$?
5525      grep -v '^ *+' conftest.er1 >conftest.err
5526      rm -f conftest.er1
5527      cat conftest.err >&5
5528      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529      (exit $ac_status); } >/dev/null && {
5530             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5531             test ! -s conftest.err
5532           }; then
5533      ac_header_preproc=yes
5534    else
5535      echo "$as_me: failed program was:" >&5
5536    sed 's/^/| /' conftest.$ac_ext >&5
5537    
5538      ac_header_preproc=no
5539    fi
5540    
5541    rm -f conftest.err conftest.$ac_ext
5542    { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5543    echo "${ECHO_T}$ac_header_preproc" >&6; }
5544    
5545    # So?  What about this header?
5546    case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5547      yes:no: )
5548        { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5549    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5550        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5551    echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5552        ac_header_preproc=yes
5553        ;;
5554      no:yes:* )
5555        { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5556    echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5557        { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5558    echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5559        { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5560    echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5561        { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5562    echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5563        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5564    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5565        { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5566    echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5567        ( cat <<\_ASBOX
5568    ## ------------------------------- ##
5569    ## Report this to till@harbaum.org ##
5570    ## ------------------------------- ##
5571    _ASBOX
5572         ) | sed "s/^/$as_me: WARNING:     /" >&2
5573        ;;
5574    esac
5575    { echo "$as_me:$LINENO: checking for $ac_header" >&5
5576    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5577    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5578      echo $ECHO_N "(cached) $ECHO_C" >&6
5579    else
5580      eval "$as_ac_Header=\$ac_header_preproc"
5581    fi
5582    ac_res=`eval echo '${'$as_ac_Header'}'`
5583                   { echo "$as_me:$LINENO: result: $ac_res" >&5
5584    echo "${ECHO_T}$ac_res" >&6; }
5585    
5586    fi
5587    if test `eval echo '${'$as_ac_Header'}'` = yes; then
5588      cat >>confdefs.h <<_ACEOF
5589    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5590    _ACEOF
5591    
5592        CFLAGS="$CFLAGS -DESPEAK"
5593        LIBS="$LIBS -lespeak"
5594    
5595    fi
5596    
5597    done
5598    
5599    
5600      # check for libgps
5601    
5602    pkg_failed=no
5603    { echo "$as_me:$LINENO: checking for gps" >&5
5604    echo $ECHO_N "checking for gps... $ECHO_C" >&6; }
5605    
5606    if test -n "$PKG_CONFIG"; then
5607        if test -n "$gps_CFLAGS"; then
5608            pkg_cv_gps_CFLAGS="$gps_CFLAGS"
5609        else
5610            if test -n "$PKG_CONFIG" && \
5611        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgps\"") >&5
5612      ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
5613      ac_status=$?
5614      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615      (exit $ac_status); }; then
5616      pkg_cv_gps_CFLAGS=`$PKG_CONFIG --cflags "libgps" 2>/dev/null`
5617    else
5618      pkg_failed=yes
5619    fi
5620        fi
5621    else
5622            pkg_failed=untried
5623    fi
5624    if test -n "$PKG_CONFIG"; then
5625        if test -n "$gps_LIBS"; then
5626            pkg_cv_gps_LIBS="$gps_LIBS"
5627        else
5628            if test -n "$PKG_CONFIG" && \
5629        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgps\"") >&5
5630      ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
5631      ac_status=$?
5632      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633      (exit $ac_status); }; then
5634      pkg_cv_gps_LIBS=`$PKG_CONFIG --libs "libgps" 2>/dev/null`
5635    else
5636      pkg_failed=yes
5637    fi
5638        fi
5639    else
5640            pkg_failed=untried
5641    fi
5642    
5643    
5644    
5645    if test $pkg_failed = yes; then
5646    
5647    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5648            _pkg_short_errors_supported=yes
5649    else
5650            _pkg_short_errors_supported=no
5651    fi
5652            if test $_pkg_short_errors_supported = yes; then
5653                    gps_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgps"`
5654            else
5655                    gps_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgps"`
5656            fi
5657            # Put the nasty error message in config.log where it belongs
5658            echo "$gps_PKG_ERRORS" >&5
5659    
5660            { echo "$as_me:$LINENO: result: no" >&5
5661    echo "${ECHO_T}no" >&6; }
5662                    { echo "$as_me:$LINENO: No libgps found, using direct GPSD" >&5
5663    echo "$as_me: No libgps found, using direct GPSD" >&6;}
5664    elif test $pkg_failed = untried; then
5665            { echo "$as_me:$LINENO: No libgps found, using direct GPSD" >&5
5666    echo "$as_me: No libgps found, using direct GPSD" >&6;}
5667    else
5668            gps_CFLAGS=$pkg_cv_gps_CFLAGS
5669            gps_LIBS=$pkg_cv_gps_LIBS
5670            { echo "$as_me:$LINENO: result: yes" >&5
5671    echo "${ECHO_T}yes" >&6; }
5672    
5673        CFLAGS="$CFLAGS $gps_CFLAGS -DUSE_LIBGPS"
5674        LIBS="$LIBS $gps_LIBS"
5675    
5676    fi
5677    
5678    INSTALL_PLATTFORM="install-debian"    INSTALL_PLATTFORM="install-debian"
5679    
5680      ICON=" No icon"
5681    
5682  fi  fi
5683    
5684    
5685    
5686  ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile"  
5687    ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile debian/control"
5688    
5689    
5690  cat >confcache <<\_ACEOF  cat >confcache <<\_ACEOF
# Line 4647  _ACEOF Line 5714  _ACEOF
5714      case $ac_val in #(      case $ac_val in #(
5715      *${as_nl}*)      *${as_nl}*)
5716        case $ac_var in #(        case $ac_var in #(
5717        *_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
5718  $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;} ;;
5719        esac        esac
5720        case $ac_var in #(        case $ac_var in #(
5721        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(  
5722        *) $as_unset $ac_var ;;        *) $as_unset $ac_var ;;
5723        esac ;;        esac ;;
5724      esac      esac
# Line 4685  $as_echo "$as_me: WARNING: cache variabl Line 5751  $as_echo "$as_me: WARNING: cache variabl
5751  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5752    if test -w "$cache_file"; then    if test -w "$cache_file"; then
5753      test "x$cache_file" != "x/dev/null" &&      test "x$cache_file" != "x/dev/null" &&
5754        { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5        { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5755  $as_echo "$as_me: updating cache $cache_file" >&6;}  echo "$as_me: updating cache $cache_file" >&6;}
5756      cat confcache >$cache_file      cat confcache >$cache_file
5757    else    else
5758      { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5      { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5759  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}  echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5760    fi    fi
5761  fi  fi
5762  rm -f confcache  rm -f confcache
# Line 4707  test "x$exec_prefix" = xNONE && exec_pre Line 5773  test "x$exec_prefix" = xNONE && exec_pre
5773  # take arguments), then branch to the quote section.  Otherwise,  # take arguments), then branch to the quote section.  Otherwise,
5774  # look for a macro that doesn't take arguments.  # look for a macro that doesn't take arguments.
5775  ac_script='  ac_script='
 :mline  
 /\\$/{  
  N  
  s,\\\n,,  
  b mline  
 }  
5776  t clear  t clear
5777  :clear  :clear
5778  s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g  s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
# Line 4742  ac_ltlibobjs= Line 5802  ac_ltlibobjs=
5802  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5803    # 1. Remove the extension, and $U if already installed.    # 1. Remove the extension, and $U if already installed.
5804    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5805    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`    ac_i=`echo "$ac_i" | sed "$ac_script"`
5806    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5807    #    will be set to the directory where LIBOBJS objects are built.    #    will be set to the directory where LIBOBJS objects are built.
5808    ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"    ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
# Line 4755  LTLIBOBJS=$ac_ltlibobjs Line 5815  LTLIBOBJS=$ac_ltlibobjs
5815    
5816    
5817  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
 ac_write_fail=0  
5818  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
5819  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5820  { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5  { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5821  $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
5822  cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >$CONFIG_STATUS <<_ACEOF
5823  #! $SHELL  #! $SHELL
5824  # Generated by $as_me.  # Generated by $as_me.
5825  # Run this file to recreate the current configuration.  # Run this file to recreate the current configuration.
# Line 4773  ac_cs_silent=false Line 5832  ac_cs_silent=false
5832  SHELL=\${CONFIG_SHELL-$SHELL}  SHELL=\${CONFIG_SHELL-$SHELL}
5833  _ACEOF  _ACEOF
5834    
5835  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
5836  ## --------------------- ##  ## --------------------- ##
5837  ## M4sh Initialization.  ##  ## M4sh Initialization.  ##
5838  ## --------------------- ##  ## --------------------- ##
# Line 4783  DUALCASE=1; export DUALCASE # for MKS sh Line 5842  DUALCASE=1; export DUALCASE # for MKS sh
5842  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
5843    emulate sh    emulate sh
5844    NULLCMD=:    NULLCMD=:
5845    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5846    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
5847    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
5848    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
# Line 4805  as_cr_Letters=$as_cr_letters$as_cr_LETTE Line 5864  as_cr_Letters=$as_cr_letters$as_cr_LETTE
5864  as_cr_digits='0123456789'  as_cr_digits='0123456789'
5865  as_cr_alnum=$as_cr_Letters$as_cr_digits  as_cr_alnum=$as_cr_Letters$as_cr_digits
5866    
 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  
   
5867  # The user is always right.  # The user is always right.
5868  if test "${PATH_SEPARATOR+set}" != set; then  if test "${PATH_SEPARATOR+set}" != set; then
5869    PATH_SEPARATOR=:    echo "#! /bin/sh" >conf$$.sh
5870    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {    echo  "exit 0"   >>conf$$.sh
5871      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||    chmod +x conf$$.sh
5872        PATH_SEPARATOR=';'    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5873    }      PATH_SEPARATOR=';'
5874      else
5875        PATH_SEPARATOR=:
5876      fi
5877      rm -f conf$$.sh
5878  fi  fi
5879    
5880  # Support unset when possible.  # Support unset when possible.
# Line 4859  fi Line 5890  fi
5890  # there to prevent editors from complaining about space-tab.  # there to prevent editors from complaining about space-tab.
5891  # (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
5892  # splitting by setting IFS to empty value.)  # splitting by setting IFS to empty value.)
5893    as_nl='
5894    '
5895  IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
5896    
5897  # 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 4881  if test "x$as_myself" = x; then Line 5914  if test "x$as_myself" = x; then
5914    as_myself=$0    as_myself=$0
5915  fi  fi
5916  if test ! -f "$as_myself"; then  if test ! -f "$as_myself"; then
5917    $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
5918    { (exit 1); exit 1; }    { (exit 1); exit 1; }
5919  fi  fi
5920    
# Line 4894  PS2='> ' Line 5927  PS2='> '
5927  PS4='+ '  PS4='+ '
5928    
5929  # NLS nuisances.  # NLS nuisances.
5930  LC_ALL=C  for as_var in \
5931  export LC_ALL    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5932  LANGUAGE=C    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5933  export LANGUAGE    LC_TELEPHONE LC_TIME
5934    do
5935      if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5936        eval $as_var=C; export $as_var
5937      else
5938        ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5939      fi
5940    done
5941    
5942  # Required to use basename.  # Required to use basename.
5943  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
# Line 4919  as_me=`$as_basename -- "$0" || Line 5959  as_me=`$as_basename -- "$0" ||
5959  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5960           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
5961           X"$0" : 'X\(/\)' \| . 2>/dev/null ||           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5962  $as_echo X/"$0" |  echo X/"$0" |
5963      sed '/^.*\/\([^/][^/]*\)\/*$/{      sed '/^.*\/\([^/][^/]*\)\/*$/{
5964              s//\1/              s//\1/
5965              q              q
# Line 4970  $as_unset CDPATH Line 6010  $as_unset CDPATH
6010        s/-\n.*//        s/-\n.*//
6011      ' >$as_me.lineno &&      ' >$as_me.lineno &&
6012    chmod +x "$as_me.lineno" ||    chmod +x "$as_me.lineno" ||
6013      { $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
6014     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
6015    
6016    # 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 4998  case `echo -n x` in Line 6038  case `echo -n x` in
6038  *)  *)
6039    ECHO_N='-n';;    ECHO_N='-n';;
6040  esac  esac
6041    
6042  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
6043     test "X`expr 00001 : '.*\(...\)'`" = X001; then     test "X`expr 00001 : '.*\(...\)'`" = X001; then
6044    as_expr=expr    as_expr=expr
# Line 5010  if test -d conf$$.dir; then Line 6051  if test -d conf$$.dir; then
6051    rm -f conf$$.dir/conf$$.file    rm -f conf$$.dir/conf$$.file
6052  else  else
6053    rm -f conf$$.dir    rm -f conf$$.dir
6054    mkdir conf$$.dir 2>/dev/null    mkdir conf$$.dir
6055  fi  fi
6056  if (echo >conf$$.file) 2>/dev/null; then  echo >conf$$.file
6057    if ln -s conf$$.file conf$$ 2>/dev/null; then  if ln -s conf$$.file conf$$ 2>/dev/null; then
6058      as_ln_s='ln -s'    as_ln_s='ln -s'
6059      # ... but there are two gotchas:    # ... but there are two gotchas:
6060      # 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.
6061      # 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.
6062      # In both cases, we have to default to `cp -p'.    # In both cases, we have to default to `cp -p'.
6063      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  
6064      as_ln_s='cp -p'      as_ln_s='cp -p'
6065    fi  elif ln conf$$.file conf$$ 2>/dev/null; then
6066      as_ln_s=ln
6067  else  else
6068    as_ln_s='cp -p'    as_ln_s='cp -p'
6069  fi  fi
# Line 5050  else Line 6088  else
6088    as_test_x='    as_test_x='
6089      eval sh -c '\''      eval sh -c '\''
6090        if test -d "$1"; then        if test -d "$1"; then
6091          test -d "$1/.";          test -d "$1/.";
6092        else        else
6093          case $1 in          case $1 in
6094          -*)set "./$1";;          -*)set "./$1";;
6095          esac;          esac;
6096          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6097          ???[sx]*):;;*)false;;esac;fi          ???[sx]*):;;*)false;;esac;fi
# Line 5075  exec 6>&1 Line 6113  exec 6>&1
6113  # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
6114  # values after options handling.  # values after options handling.
6115  ac_log="  ac_log="
6116  This file was extended by GPXView $as_me 0.8.4, which was  This file was extended by GPXView $as_me 0.9.4, which was
6117  generated by GNU Autoconf 2.63.  Invocation command line was  generated by GNU Autoconf 2.61.  Invocation command line was
6118    
6119    CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
6120    CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 5089  on `(hostname || uname -n) 2>/dev/null | Line 6127  on `(hostname || uname -n) 2>/dev/null |
6127    
6128  _ACEOF  _ACEOF
6129    
6130  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  
6131  # Files that config.status was made for.  # Files that config.status was made for.
6132  config_files="$ac_config_files"  config_files="$ac_config_files"
6133    
6134  _ACEOF  _ACEOF
6135    
6136  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6137  ac_cs_usage="\  ac_cs_usage="\
6138  \`$as_me' instantiates files from templates according to the  \`$as_me' instantiates files from templates according to the
6139  current configuration.  current configuration.
6140    
6141  Usage: $0 [OPTION]... [FILE]...  Usage: $0 [OPTIONS] [FILE]...
6142    
6143    -h, --help       print this help, then exit    -h, --help       print this help, then exit
6144    -V, --version    print version number and configuration settings, then exit    -V, --version    print version number and configuration settings, then exit
6145    -q, --quiet, --silent    -q, --quiet      do not print progress messages
                    do not print progress messages  
6146    -d, --debug      don't remove temporary files    -d, --debug      don't remove temporary files
6147        --recheck    update $as_me by reconfiguring in the same conditions        --recheck    update $as_me by reconfiguring in the same conditions
6148        --file=FILE[:TEMPLATE]    --file=FILE[:TEMPLATE]
6149                     instantiate the configuration file FILE                     instantiate the configuration file FILE
6150    
6151  Configuration files:  Configuration files:
6152  $config_files  $config_files
# Line 5123  $config_files Line 6154  $config_files
6154  Report bugs to <bug-autoconf@gnu.org>."  Report bugs to <bug-autoconf@gnu.org>."
6155    
6156  _ACEOF  _ACEOF
6157  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
6158  ac_cs_version="\\  ac_cs_version="\\
6159  GPXView config.status 0.8.4  GPXView config.status 0.9.4
6160  configured by $0, generated by GNU Autoconf 2.63,  configured by $0, generated by GNU Autoconf 2.61,
6161    with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"    with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6162    
6163  Copyright (C) 2008 Free Software Foundation, Inc.  Copyright (C) 2006 Free Software Foundation, Inc.
6164  This config.status script is free software; the Free Software Foundation  This config.status script is free software; the Free Software Foundation
6165  gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
6166    
6167  ac_pwd='$ac_pwd'  ac_pwd='$ac_pwd'
6168  srcdir='$srcdir'  srcdir='$srcdir'
6169  INSTALL='$INSTALL'  INSTALL='$INSTALL'
 test -n "\$AWK" || AWK=awk  
6170  _ACEOF  _ACEOF
6171    
6172  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6173  # 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
6174    # value.  By we need to know if files were specified by the user.
6175  ac_need_defaults=:  ac_need_defaults=:
6176  while test $# != 0  while test $# != 0
6177  do  do
# Line 5162  do Line 6193  do
6193    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6194      ac_cs_recheck=: ;;      ac_cs_recheck=: ;;
6195    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6196      $as_echo "$ac_cs_version"; exit ;;      echo "$ac_cs_version"; exit ;;
6197    --debug | --debu | --deb | --de | --d | -d )    --debug | --debu | --deb | --de | --d | -d )
6198      debug=: ;;      debug=: ;;
6199    --file | --fil | --fi | --f )    --file | --fil | --fi | --f )
6200      $ac_shift      $ac_shift
6201      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'"  
6202      ac_need_defaults=false;;      ac_need_defaults=false;;
6203    --he | --h |  --help | --hel | -h )    --he | --h |  --help | --hel | -h )
6204      $as_echo "$ac_cs_usage"; exit ;;      echo "$ac_cs_usage"; exit ;;
6205    -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6206    | -silent | --silent | --silen | --sile | --sil | --si | --s)    | -silent | --silent | --silen | --sile | --sil | --si | --s)
6207      ac_cs_silent=: ;;      ac_cs_silent=: ;;
6208    
6209    # This is an error.    # This is an error.
6210    -*) { $as_echo "$as_me: error: unrecognized option: $1    -*) { echo "$as_me: error: unrecognized option: $1
6211  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information." >&2
6212     { (exit 1); exit 1; }; } ;;     { (exit 1); exit 1; }; } ;;
6213    
# Line 5198  if $ac_cs_silent; then Line 6226  if $ac_cs_silent; then
6226  fi  fi
6227    
6228  _ACEOF  _ACEOF
6229  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
6230  if \$ac_cs_recheck; then  if \$ac_cs_recheck; then
6231    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
6232    shift    CONFIG_SHELL=$SHELL
   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6  
   CONFIG_SHELL='$SHELL'  
6233    export CONFIG_SHELL    export CONFIG_SHELL
6234    exec "\$@"    exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6235  fi  fi
6236    
6237  _ACEOF  _ACEOF
6238  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6239  exec 5>>config.log  exec 5>>config.log
6240  {  {
6241    echo    echo
6242    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6243  ## Running $as_me. ##  ## Running $as_me. ##
6244  _ASBOX  _ASBOX
6245    $as_echo "$ac_log"    echo "$ac_log"
6246  } >&5  } >&5
6247    
6248  _ACEOF  _ACEOF
6249  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
6250  _ACEOF  _ACEOF
6251    
6252  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6253    
6254  # Handling of arguments.  # Handling of arguments.
6255  for ac_config_target in $ac_config_targets  for ac_config_target in $ac_config_targets
# Line 5232  do Line 6258  do
6258      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6259      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6260      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
6261        "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;
6262    
6263    *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6264  $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6265     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
6266    esac    esac
6267  done  done
# Line 5273  $debug || Line 6300  $debug ||
6300    (umask 077 && mkdir "$tmp")    (umask 077 && mkdir "$tmp")
6301  } ||  } ||
6302  {  {
6303     $as_echo "$as_me: cannot create a temporary directory in ." >&2     echo "$me: cannot create a temporary directory in ." >&2
6304     { (exit 1); exit 1; }     { (exit 1); exit 1; }
6305  }  }
6306    
6307  # Set up the scripts for CONFIG_FILES section.  #
6308  # No need to generate them if there are no CONFIG_FILES.  # Set up the sed scripts for CONFIG_FILES section.
6309  # This happens for instance with `./config.status config.h'.  #
 if test -n "$CONFIG_FILES"; then  
   
6310    
6311  ac_cr=' '  # No need to generate the scripts if there are no CONFIG_FILES.
6312  ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`  # This happens for instance when ./config.status config.h
6313  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  
6314    
 echo 'BEGIN {' >"$tmp/subs1.awk" &&  
6315  _ACEOF  _ACEOF
6316    
6317    
6318  {  
   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 '$'`  
6319  ac_delim='%!_!# '  ac_delim='%!_!# '
6320  for ac_last_try in false false false false false :; do  for ac_last_try in false false false false false :; do
6321    . ./conf$$subs.sh ||    cat >conf$$subs.sed <<_ACEOF
6322      { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5  SHELL!$SHELL$ac_delim
6323  $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}  PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6324     { (exit 1); exit 1; }; }  PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6325    PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6326    PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6327    PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6328    PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6329    exec_prefix!$exec_prefix$ac_delim
6330    prefix!$prefix$ac_delim
6331    program_transform_name!$program_transform_name$ac_delim
6332    bindir!$bindir$ac_delim
6333    sbindir!$sbindir$ac_delim
6334    libexecdir!$libexecdir$ac_delim
6335    datarootdir!$datarootdir$ac_delim
6336    datadir!$datadir$ac_delim
6337    sysconfdir!$sysconfdir$ac_delim
6338    sharedstatedir!$sharedstatedir$ac_delim
6339    localstatedir!$localstatedir$ac_delim
6340    includedir!$includedir$ac_delim
6341    oldincludedir!$oldincludedir$ac_delim
6342    docdir!$docdir$ac_delim
6343    infodir!$infodir$ac_delim
6344    htmldir!$htmldir$ac_delim
6345    dvidir!$dvidir$ac_delim
6346    pdfdir!$pdfdir$ac_delim
6347    psdir!$psdir$ac_delim
6348    libdir!$libdir$ac_delim
6349    localedir!$localedir$ac_delim
6350    mandir!$mandir$ac_delim
6351    DEFS!$DEFS$ac_delim
6352    ECHO_C!$ECHO_C$ac_delim
6353    ECHO_N!$ECHO_N$ac_delim
6354    ECHO_T!$ECHO_T$ac_delim
6355    LIBS!$LIBS$ac_delim
6356    build_alias!$build_alias$ac_delim
6357    host_alias!$host_alias$ac_delim
6358    target_alias!$target_alias$ac_delim
6359    PACKAGE!$PACKAGE$ac_delim
6360    CC!$CC$ac_delim
6361    CFLAGS!$CFLAGS$ac_delim
6362    LDFLAGS!$LDFLAGS$ac_delim
6363    CPPFLAGS!$CPPFLAGS$ac_delim
6364    ac_ct_CC!$ac_ct_CC$ac_delim
6365    EXEEXT!$EXEEXT$ac_delim
6366    OBJEXT!$OBJEXT$ac_delim
6367    INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6368    INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6369    INSTALL_DATA!$INSTALL_DATA$ac_delim
6370    LN_S!$LN_S$ac_delim
6371    SET_MAKE!$SET_MAKE$ac_delim
6372    PKG_CONFIG!$PKG_CONFIG$ac_delim
6373    gnome_vfs_module_CFLAGS!$gnome_vfs_module_CFLAGS$ac_delim
6374    gnome_vfs_module_LIBS!$gnome_vfs_module_LIBS$ac_delim
6375    libxml2_CFLAGS!$libxml2_CFLAGS$ac_delim
6376    libxml2_LIBS!$libxml2_LIBS$ac_delim
6377    libcurl_CFLAGS!$libcurl_CFLAGS$ac_delim
6378    libcurl_LIBS!$libcurl_LIBS$ac_delim
6379    libsoup24_CFLAGS!$libsoup24_CFLAGS$ac_delim
6380    libsoup24_LIBS!$libsoup24_LIBS$ac_delim
6381    libsoup22_CFLAGS!$libsoup22_CFLAGS$ac_delim
6382    libsoup22_LIBS!$libsoup22_LIBS$ac_delim
6383    libgtkhtml3_14_CFLAGS!$libgtkhtml3_14_CFLAGS$ac_delim
6384    libgtkhtml3_14_LIBS!$libgtkhtml3_14_LIBS$ac_delim
6385    libgtkhtml3_8_CFLAGS!$libgtkhtml3_8_CFLAGS$ac_delim
6386    libgtkhtml3_8_LIBS!$libgtkhtml3_8_LIBS$ac_delim
6387    hildon_CFLAGS!$hildon_CFLAGS$ac_delim
6388    hildon_LIBS!$hildon_LIBS$ac_delim
6389    osso_CFLAGS!$osso_CFLAGS$ac_delim
6390    osso_LIBS!$osso_LIBS$ac_delim
6391    hildon_fm_2_CFLAGS!$hildon_fm_2_CFLAGS$ac_delim
6392    hildon_fm_2_LIBS!$hildon_fm_2_LIBS$ac_delim
6393    sqlite3_CFLAGS!$sqlite3_CFLAGS$ac_delim
6394    sqlite3_LIBS!$sqlite3_LIBS$ac_delim
6395    hildon_help_CFLAGS!$hildon_help_CFLAGS$ac_delim
6396    hildon_help_LIBS!$hildon_help_LIBS$ac_delim
6397    gpsbt_CFLAGS!$gpsbt_CFLAGS$ac_delim
6398    gpsbt_LIBS!$gpsbt_LIBS$ac_delim
6399    liblocation_CFLAGS!$liblocation_CFLAGS$ac_delim
6400    liblocation_LIBS!$liblocation_LIBS$ac_delim
6401    MAEMO_VERSION_MAJOR!$MAEMO_VERSION_MAJOR$ac_delim
6402    CPP!$CPP$ac_delim
6403    GREP!$GREP$ac_delim
6404    EGREP!$EGREP$ac_delim
6405    gtk_CFLAGS!$gtk_CFLAGS$ac_delim
6406    gtk_LIBS!$gtk_LIBS$ac_delim
6407    gnome2_CFLAGS!$gnome2_CFLAGS$ac_delim
6408    gnome2_LIBS!$gnome2_LIBS$ac_delim
6409    gps_CFLAGS!$gps_CFLAGS$ac_delim
6410    gps_LIBS!$gps_LIBS$ac_delim
6411    EXTRA_OBJS!$EXTRA_OBJS$ac_delim
6412    ICON!$ICON$ac_delim
6413    INSTALL_PLATTFORM!$INSTALL_PLATTFORM$ac_delim
6414    LIBOBJS!$LIBOBJS$ac_delim
6415    LTLIBOBJS!$LTLIBOBJS$ac_delim
6416    _ACEOF
6417    
6418    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` = 94; then
   if test $ac_delim_n = $ac_delim_num; then  
6419      break      break
6420    elif $ac_last_try; then    elif $ac_last_try; then
6421      { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5      { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6422  $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}  echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6423     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
6424    else    else
6425      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6426    fi    fi
6427  done  done
 rm -f conf$$subs.sh  
6428    
6429  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6430  cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&  if test -n "$ac_eof"; then
6431      ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6432      ac_eof=`expr $ac_eof + 1`
6433    fi
6434    
6435    cat >>$CONFIG_STATUS <<_ACEOF
6436    cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6437    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6438    _ACEOF
6439    sed '
6440    s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6441    s/^/s,@/; s/!/@,|#_!!_#|/
6442    :n
6443    t n
6444    s/'"$ac_delim"'$/,g/; t
6445    s/$/\\/; p
6446    N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6447    ' >>$CONFIG_STATUS <conf$$subs.sed
6448    rm -f conf$$subs.sed
6449    cat >>$CONFIG_STATUS <<_ACEOF
6450    :end
6451    s/|#_!!_#|//g
6452    CEOF$ac_eof
6453  _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 = ""  
   
 }  
 {  
   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  
   }  
6454    
   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  
6455    
6456  # VPATH may cause trouble with some makes, so we remove $(srcdir),  # VPATH may cause trouble with some makes, so we remove $(srcdir),
6457  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
# Line 5426  s/^[^=]*=[      ]*$// Line 6468  s/^[^=]*=[      ]*$//
6468  }'  }'
6469  fi  fi
6470    
6471  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6472  fi # test -n "$CONFIG_FILES"  fi # test -n "$CONFIG_FILES"
6473    
6474    
6475  eval set X "  :F $CONFIG_FILES      "  for ac_tag in  :F $CONFIG_FILES
 shift  
 for ac_tag  
6476  do  do
6477    case $ac_tag in    case $ac_tag in
6478    :[FHLC]) ac_mode=$ac_tag; continue;;    :[FHLC]) ac_mode=$ac_tag; continue;;
6479    esac    esac
6480    case $ac_mode$ac_tag in    case $ac_mode$ac_tag in
6481    :[FHL]*:*);;    :[FHL]*:*);;
6482    :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
6483  $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}  echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6484     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
6485    :[FH]-) ac_tag=-:-;;    :[FH]-) ac_tag=-:-;;
6486    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
# Line 5469  $as_echo "$as_me: error: invalid tag $ac Line 6509  $as_echo "$as_me: error: invalid tag $ac
6509             [\\/$]*) false;;             [\\/$]*) false;;
6510             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6511             esac ||             esac ||
6512             { { $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
6513  $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}  echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6514     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
6515        esac        esac
6516        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'"  
6517      done      done
6518    
6519      # 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
6520      # use $as_me), people would be surprised to read:      # use $as_me), people would be surprised to read:
6521      #    /* config.h.  Generated by config.status.  */      #    /* config.h.  Generated by config.status.  */
6522      configure_input='Generated from '`      configure_input="Generated from "`IFS=:
6523            $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'            echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
         `' by configure.'  
6524      if test x"$ac_file" != x-; then      if test x"$ac_file" != x-; then
6525        configure_input="$ac_file.  $configure_input"        configure_input="$ac_file.  $configure_input"
6526        { $as_echo "$as_me:$LINENO: creating $ac_file" >&5        { echo "$as_me:$LINENO: creating $ac_file" >&5
6527  $as_echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
6528      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  
6529    
6530      case $ac_tag in      case $ac_tag in
6531      *:-:* | *:-) 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; }; } ;;  
6532      esac      esac
6533      ;;      ;;
6534    esac    esac
# Line 5510  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^ Line 6538  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^
6538           X"$ac_file" : 'X\(//\)[^/]' \| \           X"$ac_file" : 'X\(//\)[^/]' \| \
6539           X"$ac_file" : 'X\(//\)$' \| \           X"$ac_file" : 'X\(//\)$' \| \
6540           X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||           X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6541  $as_echo X"$ac_file" |  echo X"$ac_file" |
6542      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6543              s//\1/              s//\1/
6544              q              q
# Line 5536  $as_echo X"$ac_file" | Line 6564  $as_echo X"$ac_file" |
6564      as_dirs=      as_dirs=
6565      while :; do      while :; do
6566        case $as_dir in #(        case $as_dir in #(
6567        *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(        *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6568        *) as_qdir=$as_dir;;        *) as_qdir=$as_dir;;
6569        esac        esac
6570        as_dirs="'$as_qdir' $as_dirs"        as_dirs="'$as_qdir' $as_dirs"
# Line 5545  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/ Line 6573  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/
6573           X"$as_dir" : 'X\(//\)[^/]' \| \           X"$as_dir" : 'X\(//\)[^/]' \| \
6574           X"$as_dir" : 'X\(//\)$' \| \           X"$as_dir" : 'X\(//\)$' \| \
6575           X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||           X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6576  $as_echo X"$as_dir" |  echo X"$as_dir" |
6577      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6578              s//\1/              s//\1/
6579              q              q
# Line 5566  $as_echo X"$as_dir" | Line 6594  $as_echo X"$as_dir" |
6594        test -d "$as_dir" && break        test -d "$as_dir" && break
6595      done      done
6596      test -z "$as_dirs" || eval "mkdir $as_dirs"      test -z "$as_dirs" || eval "mkdir $as_dirs"
6597    } || 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
6598  $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}  echo "$as_me: error: cannot create directory $as_dir" >&2;}
6599     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }; }
6600    ac_builddir=.    ac_builddir=.
6601    
6602  case "$ac_dir" in  case "$ac_dir" in
6603  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6604  *)  *)
6605    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6606    # A ".." for each directory in $ac_dir_suffix.    # A ".." for each directory in $ac_dir_suffix.
6607    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,/,,'`
6608    case $ac_top_builddir_sub in    case $ac_top_builddir_sub in
6609    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6610    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
# Line 5616  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ Line 6644  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
6644    esac    esac
6645  _ACEOF  _ACEOF
6646    
6647  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6648  # If the template does not know about datarootdir, expand it.  # If the template does not know about datarootdir, expand it.
6649  # FIXME: This hack should be removed a few years after 2.60.  # FIXME: This hack should be removed a few years after 2.60.
6650  ac_datarootdir_hack=; ac_datarootdir_seen=  ac_datarootdir_hack=; ac_datarootdir_seen=
6651    
6652  ac_sed_dataroot='  case `sed -n '/datarootdir/ {
 /datarootdir/ {  
6653    p    p
6654    q    q
6655  }  }
# Line 5631  ac_sed_dataroot=' Line 6658  ac_sed_dataroot='
6658  /@infodir@/p  /@infodir@/p
6659  /@localedir@/p  /@localedir@/p
6660  /@mandir@/p  /@mandir@/p
6661  '  ' $ac_file_inputs` in
 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in  
6662  *datarootdir*) ac_datarootdir_seen=yes;;  *datarootdir*) ac_datarootdir_seen=yes;;
6663  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6664    { $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
6665  $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;}
6666  _ACEOF  _ACEOF
6667  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
6668    ac_datarootdir_hack='    ac_datarootdir_hack='
6669    s&@datadir@&$datadir&g    s&@datadir@&$datadir&g
6670    s&@docdir@&$docdir&g    s&@docdir@&$docdir&g
# Line 5652  _ACEOF Line 6678  _ACEOF
6678  # Neutralize VPATH when `$srcdir' = `.'.  # Neutralize VPATH when `$srcdir' = `.'.
6679  # Shell code in configure.ac might set extrasub.  # Shell code in configure.ac might set extrasub.
6680  # FIXME: do we really want to maintain this feature?  # FIXME: do we really want to maintain this feature?
6681  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
6682  ac_sed_extra="$ac_vpsub    sed "$ac_vpsub
6683  $extrasub  $extrasub
6684  _ACEOF  _ACEOF
6685  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
6686  :t  :t
6687  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6688  s|@configure_input@|$ac_sed_conf_input|;t t  s&@configure_input@&$configure_input&;t t
6689  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  
6690  s&@srcdir@&$ac_srcdir&;t t  s&@srcdir@&$ac_srcdir&;t t
6691  s&@abs_srcdir@&$ac_abs_srcdir&;t t  s&@abs_srcdir@&$ac_abs_srcdir&;t t
6692  s&@top_srcdir@&$ac_top_srcdir&;t t  s&@top_srcdir@&$ac_top_srcdir&;t t
# Line 5671  s&@abs_builddir@&$ac_abs_builddir&;t t Line 6696  s&@abs_builddir@&$ac_abs_builddir&;t t
6696  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6697  s&@INSTALL@&$ac_INSTALL&;t t  s&@INSTALL@&$ac_INSTALL&;t t
6698  $ac_datarootdir_hack  $ac_datarootdir_hack
6699  "  " $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; }; }  
6700    
6701  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6702    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6703    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6704    { $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'
6705  which seems to be undefined.  Please make sure it is defined." >&5  which seems to be undefined.  Please make sure it is defined." >&5
6706  $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'
6707  which seems to be undefined.  Please make sure it is defined." >&2;}  which seems to be undefined.  Please make sure it is defined." >&2;}
6708    
6709    rm -f "$tmp/stdin"    rm -f "$tmp/stdin"
6710    case $ac_file in    case $ac_file in
6711    -) cat "$tmp/out" && rm -f "$tmp/out";;    -) cat "$tmp/out"; rm -f "$tmp/out";;
6712    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;    *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6713    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; }; }  
6714   ;;   ;;
6715    
6716    
# Line 5707  _ACEOF Line 6725  _ACEOF
6725  chmod +x $CONFIG_STATUS  chmod +x $CONFIG_STATUS
6726  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
6727    
 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; }; }  
   
6728    
6729  # configure is writing to config.log, and then calls config.status.  # configure is writing to config.log, and then calls config.status.
6730  # config.status does its own redirection, appending to config.log.  # config.status does its own redirection, appending to config.log.
# Line 5733  if test "$no_create" != yes; then Line 6746  if test "$no_create" != yes; then
6746    # would make configure fail if this is the last instruction.    # would make configure fail if this is the last instruction.
6747    $ac_cs_success || { (exit 1); exit 1; }    $ac_cs_success || { (exit 1); exit 1; }
6748  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  
6749    

Legend:
Removed from v.60  
changed lines
  Added in v.282