Diff of /trunk/configure

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

revision 246 by harbaum, Tue Jan 19 20:26:37 2010 UTC revision 254 by harbaum, Sat Feb 6 19:28:51 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.61 for GPXView 0.9.2.  # Generated by GNU Autoconf 2.63 for GPXView 0.9.2.
4  #  #
5  # Report bugs to <till@harbaum.org>.  # Report bugs to <till@harbaum.org>.
6  #  #
7  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8  # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.  # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which    # Pre-4.2 versions of Zsh do 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    
42  # The user is always right.  as_nl='
43  if test "${PATH_SEPARATOR+set}" != set; then  '
44    echo "#! /bin/sh" >conf$$.sh  export as_nl
45    echo  "exit 0"   >>conf$$.sh  # Printing a long string crashes Solaris 7 /usr/bin/printf.
46    chmod +x conf$$.sh  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48      PATH_SEPARATOR=';'  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49    if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50      as_echo='printf %s\n'
51      as_echo_n='printf %s'
52    else
53      if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54        as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55        as_echo_n='/usr/ucb/echo -n'
56    else    else
57      PATH_SEPARATOR=:      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58        as_echo_n_body='eval
59          arg=$1;
60          case $arg in
61          *"$as_nl"*)
62            expr "X$arg" : "X\\(.*\\)$as_nl";
63            arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64          esac;
65          expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66        '
67        export as_echo_n_body
68        as_echo_n='sh -c $as_echo_n_body as_echo'
69    fi    fi
70    rm -f conf$$.sh    export as_echo_body
71      as_echo='sh -c $as_echo_body as_echo'
72    fi
73    
74    # The user is always right.
75    if test "${PATH_SEPARATOR+set}" != set; then
76      PATH_SEPARATOR=:
77      (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78        (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79          PATH_SEPARATOR=';'
80      }
81  fi  fi
82    
83  # Support unset when possible.  # Support unset when possible.
# Line 65  fi Line 93  fi
93  # there to prevent editors from complaining about space-tab.  # there to prevent editors from complaining about space-tab.
94  # (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
95  # splitting by setting IFS to empty value.)  # splitting by setting IFS to empty value.)
 as_nl='  
 '  
96  IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
97    
98  # 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 89  if test "x$as_myself" = x; then Line 115  if test "x$as_myself" = x; then
115    as_myself=$0    as_myself=$0
116  fi  fi
117  if test ! -f "$as_myself"; then  if test ! -f "$as_myself"; then
118    echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119    { (exit 1); exit 1; }    { (exit 1); exit 1; }
120  fi  fi
121    
# Line 102  PS2='> ' Line 128  PS2='> '
128  PS4='+ '  PS4='+ '
129    
130  # NLS nuisances.  # NLS nuisances.
131  for as_var in \  LC_ALL=C
132    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \  export LC_ALL
133    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \  LANGUAGE=C
134    LC_TELEPHONE LC_TIME  export LANGUAGE
 do  
   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then  
     eval $as_var=C; export $as_var  
   else  
     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var  
   fi  
 done  
135    
136  # Required to use basename.  # Required to use basename.
137  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
# Line 134  as_me=`$as_basename -- "$0" || Line 153  as_me=`$as_basename -- "$0" ||
153  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
155           X"$0" : 'X\(/\)' \| . 2>/dev/null ||           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156  echo X/"$0" |  $as_echo X/"$0" |
157      sed '/^.*\/\([^/][^/]*\)\/*$/{      sed '/^.*\/\([^/][^/]*\)\/*$/{
158              s//\1/              s//\1/
159              q              q
# Line 160  else Line 179  else
179    as_have_required=no    as_have_required=no
180  fi  fi
181    
182    if test $as_have_required = yes &&     (eval ":    if test $as_have_required = yes &&     (eval ":
183  (as_func_return () {  (as_func_return () {
184    (exit \$1)    (exit \$1)
185  }  }
# Line 242  IFS=$as_save_IFS Line 261  IFS=$as_save_IFS
261  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
262    emulate sh    emulate sh
263    NULLCMD=:    NULLCMD=:
264    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
266    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
267    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
# Line 263  _ASEOF Line 282  _ASEOF
282  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
283    emulate sh    emulate sh
284    NULLCMD=:    NULLCMD=:
285    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
287    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
288    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
# Line 343  fi Line 362  fi
362    
363        if test "x$CONFIG_SHELL" != x; then        if test "x$CONFIG_SHELL" != x; then
364    for as_var in BASH_ENV ENV    for as_var in BASH_ENV ENV
365          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
366          done          done
367          export CONFIG_SHELL          export CONFIG_SHELL
368          exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}          exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369  fi  fi
370    
371    
# Line 415  fi Line 434  fi
434    
435  test \$exitcode = 0") || {  test \$exitcode = 0") || {
436    echo No shell found that supports shell functions.    echo No shell found that supports shell functions.
437    echo Please tell autoconf@gnu.org about your system,    echo Please tell bug-autoconf@gnu.org about your system,
438    echo including any error possibly output before this    echo including any error possibly output before this message.
439    echo message    echo This can help us improve future autoconf versions.
440      echo Configuration will now proceed without shell functions.
441  }  }
442    
443    
# Line 453  test \$exitcode = 0") || { Line 473  test \$exitcode = 0") || {
473        s/-\n.*//        s/-\n.*//
474      ' >$as_me.lineno &&      ' >$as_me.lineno &&
475    chmod +x "$as_me.lineno" ||    chmod +x "$as_me.lineno" ||
476      { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
478    
479    # 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 481  case `echo -n x` in Line 501  case `echo -n x` in
501  *)  *)
502    ECHO_N='-n';;    ECHO_N='-n';;
503  esac  esac
   
504  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
505     test "X`expr 00001 : '.*\(...\)'`" = X001; then     test "X`expr 00001 : '.*\(...\)'`" = X001; then
506    as_expr=expr    as_expr=expr
# Line 494  if test -d conf$$.dir; then Line 513  if test -d conf$$.dir; then
513    rm -f conf$$.dir/conf$$.file    rm -f conf$$.dir/conf$$.file
514  else  else
515    rm -f conf$$.dir    rm -f conf$$.dir
516    mkdir conf$$.dir    mkdir conf$$.dir 2>/dev/null
517  fi  fi
518  echo >conf$$.file  if (echo >conf$$.file) 2>/dev/null; then
519  if ln -s conf$$.file conf$$ 2>/dev/null; then    if ln -s conf$$.file conf$$ 2>/dev/null; then
520    as_ln_s='ln -s'      as_ln_s='ln -s'
521    # ... but there are two gotchas:      # ... but there are two gotchas:
522    # 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.
523    # 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.
524    # In both cases, we have to default to `cp -p'.      # In both cases, we have to default to `cp -p'.
525    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 ||
526          as_ln_s='cp -p'
527      elif ln conf$$.file conf$$ 2>/dev/null; then
528        as_ln_s=ln
529      else
530      as_ln_s='cp -p'      as_ln_s='cp -p'
531  elif ln conf$$.file conf$$ 2>/dev/null; then    fi
   as_ln_s=ln  
532  else  else
533    as_ln_s='cp -p'    as_ln_s='cp -p'
534  fi  fi
# Line 531  else Line 553  else
553    as_test_x='    as_test_x='
554      eval sh -c '\''      eval sh -c '\''
555        if test -d "$1"; then        if test -d "$1"; then
556          test -d "$1/.";          test -d "$1/.";
557        else        else
558          case $1 in          case $1 in
559          -*)set "./$1";;          -*)set "./$1";;
560          esac;          esac;
561          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562          ???[sx]*):;;*)false;;esac;fi          ???[sx]*):;;*)false;;esac;fi
# Line 615  ac_includes_default="\ Line 637  ac_includes_default="\
637  # include <unistd.h>  # include <unistd.h>
638  #endif"  #endif"
639    
640  ac_subst_vars='SHELL  ac_subst_vars='LTLIBOBJS
641  PATH_SEPARATOR  LIBOBJS
642  PACKAGE_NAME  INSTALL_PLATTFORM
643  PACKAGE_TARNAME  ICON
644  PACKAGE_VERSION  EXTRA_OBJS
645  PACKAGE_STRING  gnome2_LIBS
646  PACKAGE_BUGREPORT  gnome2_CFLAGS
647  exec_prefix  gtk_LIBS
648  prefix  gtk_CFLAGS
 program_transform_name  
 bindir  
 sbindir  
 libexecdir  
 datarootdir  
 datadir  
 sysconfdir  
 sharedstatedir  
 localstatedir  
 includedir  
 oldincludedir  
 docdir  
 infodir  
 htmldir  
 dvidir  
 pdfdir  
 psdir  
 libdir  
 localedir  
 mandir  
 DEFS  
 ECHO_C  
 ECHO_N  
 ECHO_T  
 LIBS  
 build_alias  
 host_alias  
 target_alias  
 PACKAGE  
 CC  
 CFLAGS  
 LDFLAGS  
 CPPFLAGS  
 ac_ct_CC  
 EXEEXT  
 OBJEXT  
 INSTALL_PROGRAM  
 INSTALL_SCRIPT  
 INSTALL_DATA  
 LN_S  
 SET_MAKE  
 PKG_CONFIG  
 gnome_vfs_module_CFLAGS  
 gnome_vfs_module_LIBS  
 libxml2_CFLAGS  
 libxml2_LIBS  
 libcurl_CFLAGS  
 libcurl_LIBS  
 CPP  
 GREP  
649  EGREP  EGREP
650  libsoup24_CFLAGS  GREP
651  libsoup24_LIBS  CPP
 libsoup22_CFLAGS  
 libsoup22_LIBS  
 libgtkhtml3_14_CFLAGS  
 libgtkhtml3_14_LIBS  
 libgtkhtml3_8_CFLAGS  
 libgtkhtml3_8_LIBS  
 hildon_CFLAGS  
 hildon_LIBS  
 osso_CFLAGS  
 osso_LIBS  
 hildon_fm_2_CFLAGS  
 hildon_fm_2_LIBS  
 sqlite3_CFLAGS  
 sqlite3_LIBS  
 hildon_help_CFLAGS  
 hildon_help_LIBS  
 gpsbt_CFLAGS  
 gpsbt_LIBS  
 liblocation_CFLAGS  
 liblocation_LIBS  
652  MAEMO_VERSION_MAJOR  MAEMO_VERSION_MAJOR
653  gtk_CFLAGS  liblocation_LIBS
654  gtk_LIBS  liblocation_CFLAGS
655  gnome2_CFLAGS  gpsbt_LIBS
656  gnome2_LIBS  gpsbt_CFLAGS
657  EXTRA_OBJS  hildon_help_LIBS
658  ICON  hildon_help_CFLAGS
659  INSTALL_PLATTFORM  sqlite3_LIBS
660  LIBOBJS  sqlite3_CFLAGS
661  LTLIBOBJS'  hildon_fm_2_LIBS
662    hildon_fm_2_CFLAGS
663    osso_LIBS
664    osso_CFLAGS
665    hildon_LIBS
666    hildon_CFLAGS
667    libgtkhtml3_8_LIBS
668    libgtkhtml3_8_CFLAGS
669    libgtkhtml3_14_LIBS
670    libgtkhtml3_14_CFLAGS
671    libsoup22_LIBS
672    libsoup22_CFLAGS
673    libsoup24_LIBS
674    libsoup24_CFLAGS
675    libcurl_LIBS
676    libcurl_CFLAGS
677    libxml2_LIBS
678    libxml2_CFLAGS
679    gnome_vfs_module_LIBS
680    gnome_vfs_module_CFLAGS
681    PKG_CONFIG
682    SET_MAKE
683    LN_S
684    INSTALL_DATA
685    INSTALL_SCRIPT
686    INSTALL_PROGRAM
687    OBJEXT
688    EXEEXT
689    ac_ct_CC
690    CPPFLAGS
691    LDFLAGS
692    CFLAGS
693    CC
694    PACKAGE
695    target_alias
696    host_alias
697    build_alias
698    LIBS
699    ECHO_T
700    ECHO_N
701    ECHO_C
702    DEFS
703    mandir
704    localedir
705    libdir
706    psdir
707    pdfdir
708    dvidir
709    htmldir
710    infodir
711    docdir
712    oldincludedir
713    includedir
714    localstatedir
715    sharedstatedir
716    sysconfdir
717    datadir
718    datarootdir
719    libexecdir
720    sbindir
721    bindir
722    program_transform_name
723    prefix
724    exec_prefix
725    PACKAGE_BUGREPORT
726    PACKAGE_STRING
727    PACKAGE_VERSION
728    PACKAGE_TARNAME
729    PACKAGE_NAME
730    PATH_SEPARATOR
731    SHELL'
732  ac_subst_files=''  ac_subst_files=''
733    ac_user_opts='
734    enable_option_checking
735    '
736        ac_precious_vars='build_alias        ac_precious_vars='build_alias
737  host_alias  host_alias
738  target_alias  target_alias
# Line 723  libxml2_CFLAGS Line 748  libxml2_CFLAGS
748  libxml2_LIBS  libxml2_LIBS
749  libcurl_CFLAGS  libcurl_CFLAGS
750  libcurl_LIBS  libcurl_LIBS
 CPP  
751  libsoup24_CFLAGS  libsoup24_CFLAGS
752  libsoup24_LIBS  libsoup24_LIBS
753  libsoup22_CFLAGS  libsoup22_CFLAGS
# Line 746  gpsbt_CFLAGS Line 770  gpsbt_CFLAGS
770  gpsbt_LIBS  gpsbt_LIBS
771  liblocation_CFLAGS  liblocation_CFLAGS
772  liblocation_LIBS  liblocation_LIBS
773    CPP
774  gtk_CFLAGS  gtk_CFLAGS
775  gtk_LIBS  gtk_LIBS
776  gnome2_CFLAGS  gnome2_CFLAGS
# Line 755  gnome2_LIBS' Line 780  gnome2_LIBS'
780  # Initialize some variables set by options.  # Initialize some variables set by options.
781  ac_init_help=  ac_init_help=
782  ac_init_version=false  ac_init_version=false
783    ac_unrecognized_opts=
784    ac_unrecognized_sep=
785  # The variables have the same names as the options, with  # The variables have the same names as the options, with
786  # dashes changed to underlines.  # dashes changed to underlines.
787  cache_file=/dev/null  cache_file=/dev/null
# Line 853  do Line 880  do
880      datarootdir=$ac_optarg ;;      datarootdir=$ac_optarg ;;
881    
882    -disable-* | --disable-*)    -disable-* | --disable-*)
883      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
885      expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
886        { echo "$as_me: error: invalid feature name: $ac_feature" >&2        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
887     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
888      ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`      ac_useropt_orig=$ac_useropt
889      eval enable_$ac_feature=no ;;      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
890        case $ac_user_opts in
891          *"
892    "enable_$ac_useropt"
893    "*) ;;
894          *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
895             ac_unrecognized_sep=', ';;
896        esac
897        eval enable_$ac_useropt=no ;;
898    
899    -docdir | --docdir | --docdi | --doc | --do)    -docdir | --docdir | --docdi | --doc | --do)
900      ac_prev=docdir ;;      ac_prev=docdir ;;
# Line 872  do Line 907  do
907      dvidir=$ac_optarg ;;      dvidir=$ac_optarg ;;
908    
909    -enable-* | --enable-*)    -enable-* | --enable-*)
910      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
911      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
912      expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
913        { echo "$as_me: error: invalid feature name: $ac_feature" >&2        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
914     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
915      ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`      ac_useropt_orig=$ac_useropt
916      eval enable_$ac_feature=\$ac_optarg ;;      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
917        case $ac_user_opts in
918          *"
919    "enable_$ac_useropt"
920    "*) ;;
921          *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
922             ac_unrecognized_sep=', ';;
923        esac
924        eval enable_$ac_useropt=\$ac_optarg ;;
925    
926    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 1069  do Line 1112  do
1112      ac_init_version=: ;;      ac_init_version=: ;;
1113    
1114    -with-* | --with-*)    -with-* | --with-*)
1115      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1117      expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118        { echo "$as_me: error: invalid package name: $ac_package" >&2        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1119     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1120      ac_package=`echo $ac_package | sed 's/[-.]/_/g'`      ac_useropt_orig=$ac_useropt
1121      eval with_$ac_package=\$ac_optarg ;;      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122        case $ac_user_opts in
1123          *"
1124    "with_$ac_useropt"
1125    "*) ;;
1126          *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1127             ac_unrecognized_sep=', ';;
1128        esac
1129        eval with_$ac_useropt=\$ac_optarg ;;
1130    
1131    -without-* | --without-*)    -without-* | --without-*)
1132      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1133      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1134      expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135        { echo "$as_me: error: invalid package name: $ac_package" >&2        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1136     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1137      ac_package=`echo $ac_package | sed 's/[-.]/_/g'`      ac_useropt_orig=$ac_useropt
1138      eval with_$ac_package=no ;;      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1139        case $ac_user_opts in
1140          *"
1141    "with_$ac_useropt"
1142    "*) ;;
1143          *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1144             ac_unrecognized_sep=', ';;
1145        esac
1146        eval with_$ac_useropt=no ;;
1147    
1148    --x)    --x)
1149      # Obsolete; use --with-x.      # Obsolete; use --with-x.
# Line 1104  do Line 1163  do
1163    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1164      x_libraries=$ac_optarg ;;      x_libraries=$ac_optarg ;;
1165    
1166    -*) { echo "$as_me: error: unrecognized option: $ac_option    -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1167  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information." >&2
1168     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1169      ;;      ;;
# Line 1113  Try \`$0 --help' for more information." Line 1172  Try \`$0 --help' for more information."
1172      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1173      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1174      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1175        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2        { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1176     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1177      eval $ac_envvar=\$ac_optarg      eval $ac_envvar=\$ac_optarg
1178      export $ac_envvar ;;      export $ac_envvar ;;
1179    
1180    *)    *)
1181      # FIXME: should be removed in autoconf 3.0.      # FIXME: should be removed in autoconf 3.0.
1182      echo "$as_me: WARNING: you should use --build, --host, --target" >&2      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1183      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1184        echo "$as_me: WARNING: invalid host type: $ac_option" >&2        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1185      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1186      ;;      ;;
1187    
# Line 1131  done Line 1190  done
1190    
1191  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
1192    ac_option=--`echo $ac_prev | sed 's/_/-/g'`    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1193    { echo "$as_me: error: missing argument to $ac_option" >&2    { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1194     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1195  fi  fi
1196    
1197  # Be sure to have absolute directory names.  if test -n "$ac_unrecognized_opts"; then
1198      case $enable_option_checking in
1199        no) ;;
1200        fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1201       { (exit 1); exit 1; }; } ;;
1202        *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1203      esac
1204    fi
1205    
1206    # Check all directory arguments for consistency.
1207  for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \  for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1208                  datadir sysconfdir sharedstatedir localstatedir includedir \                  datadir sysconfdir sharedstatedir localstatedir includedir \
1209                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1210                  libdir localedir mandir                  libdir localedir mandir
1211  do  do
1212    eval ac_val=\$$ac_var    eval ac_val=\$$ac_var
1213      # Remove trailing slashes.
1214      case $ac_val in
1215        */ )
1216          ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1217          eval $ac_var=\$ac_val;;
1218      esac
1219      # Be sure to have absolute directory names.
1220    case $ac_val in    case $ac_val in
1221      [\\/$]* | ?:[\\/]* )  continue;;      [\\/$]* | ?:[\\/]* )  continue;;
1222      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1223    esac    esac
1224    { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2    { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1225     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1226  done  done
1227    
# Line 1161  target=$target_alias Line 1236  target=$target_alias
1236  if test "x$host_alias" != x; then  if test "x$host_alias" != x; then
1237    if test "x$build_alias" = x; then    if test "x$build_alias" = x; then
1238      cross_compiling=maybe      cross_compiling=maybe
1239      echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.      $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1240      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
1241    elif test "x$build_alias" != "x$host_alias"; then    elif test "x$build_alias" != "x$host_alias"; then
1242      cross_compiling=yes      cross_compiling=yes
# Line 1177  test "$silent" = yes && exec 6>/dev/null Line 1252  test "$silent" = yes && exec 6>/dev/null
1252  ac_pwd=`pwd` && test -n "$ac_pwd" &&  ac_pwd=`pwd` && test -n "$ac_pwd" &&
1253  ac_ls_di=`ls -di .` &&  ac_ls_di=`ls -di .` &&
1254  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1255    { echo "$as_me: error: Working directory cannot be determined" >&2    { $as_echo "$as_me: error: working directory cannot be determined" >&2
1256     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1257  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1258    { echo "$as_me: error: pwd does not report name of working directory" >&2    { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1259     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1260    
1261    
# Line 1188  test "X$ac_ls_di" = "X$ac_pwd_ls_di" || Line 1263  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263  if test -z "$srcdir"; then  if test -z "$srcdir"; then
1264    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
1265    # Try the directory containing this script, then the parent directory.    # Try the directory containing this script, then the parent directory.
1266    ac_confdir=`$as_dirname -- "$0" ||    ac_confdir=`$as_dirname -- "$as_myself" ||
1267  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1268           X"$0" : 'X\(//\)[^/]' \| \           X"$as_myself" : 'X\(//\)[^/]' \| \
1269           X"$0" : 'X\(//\)$' \| \           X"$as_myself" : 'X\(//\)$' \| \
1270           X"$0" : 'X\(/\)' \| . 2>/dev/null ||           X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1271  echo X"$0" |  $as_echo X"$as_myself" |
1272      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1273              s//\1/              s//\1/
1274              q              q
# Line 1220  else Line 1295  else
1295  fi  fi
1296  if test ! -r "$srcdir/$ac_unique_file"; then  if test ! -r "$srcdir/$ac_unique_file"; then
1297    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1298    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2    { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1299     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1300  fi  fi
1301  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1302  ac_abs_confdir=`(  ac_abs_confdir=`(
1303          cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2          cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1304     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1305          pwd)`          pwd)`
1306  # When building in place, set srcdir=.  # When building in place, set srcdir=.
# Line 1274  Configuration: Line 1349  Configuration:
1349    
1350  Installation directories:  Installation directories:
1351    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
1352                            [$ac_default_prefix]                            [$ac_default_prefix]
1353    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1354                            [PREFIX]                            [PREFIX]
1355    
1356  By default, \`make install' will install all the files in  By default, \`make install' will install all the files in
1357  \`$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 1286  for instance \`--prefix=\$HOME'. Line 1361  for instance \`--prefix=\$HOME'.
1361  For better control, use the options below.  For better control, use the options below.
1362    
1363  Fine tuning of the installation directories:  Fine tuning of the installation directories:
1364    --bindir=DIR           user executables [EPREFIX/bin]    --bindir=DIR            user executables [EPREFIX/bin]
1365    --sbindir=DIR          system admin executables [EPREFIX/sbin]    --sbindir=DIR           system admin executables [EPREFIX/sbin]
1366    --libexecdir=DIR       program executables [EPREFIX/libexec]    --libexecdir=DIR        program executables [EPREFIX/libexec]
1367    --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1368    --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1369    --localstatedir=DIR    modifiable single-machine data [PREFIX/var]    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1370    --libdir=DIR           object code libraries [EPREFIX/lib]    --libdir=DIR            object code libraries [EPREFIX/lib]
1371    --includedir=DIR       C header files [PREFIX/include]    --includedir=DIR        C header files [PREFIX/include]
1372    --oldincludedir=DIR    C header files for non-gcc [/usr/include]    --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1373    --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]    --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1374    --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]    --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1375    --infodir=DIR          info documentation [DATAROOTDIR/info]    --infodir=DIR           info documentation [DATAROOTDIR/info]
1376    --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]    --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1377    --mandir=DIR           man documentation [DATAROOTDIR/man]    --mandir=DIR            man documentation [DATAROOTDIR/man]
1378    --docdir=DIR           documentation root [DATAROOTDIR/doc/gpxview]    --docdir=DIR            documentation root [DATAROOTDIR/doc/gpxview]
1379    --htmldir=DIR          html documentation [DOCDIR]    --htmldir=DIR           html documentation [DOCDIR]
1380    --dvidir=DIR           dvi documentation [DOCDIR]    --dvidir=DIR            dvi documentation [DOCDIR]
1381    --pdfdir=DIR           pdf documentation [DOCDIR]    --pdfdir=DIR            pdf documentation [DOCDIR]
1382    --psdir=DIR            ps documentation [DOCDIR]    --psdir=DIR             ps documentation [DOCDIR]
1383  _ACEOF  _ACEOF
1384    
1385    cat <<\_ACEOF    cat <<\_ACEOF
# Line 1338  Some influential environment variables: Line 1413  Some influential environment variables:
1413                C compiler flags for libcurl, overriding pkg-config                C compiler flags for libcurl, overriding pkg-config
1414    libcurl_LIBS    libcurl_LIBS
1415                linker flags for libcurl, overriding pkg-config                linker flags for libcurl, overriding pkg-config
   CPP         C preprocessor  
1416    libsoup24_CFLAGS    libsoup24_CFLAGS
1417                C compiler flags for libsoup24, overriding pkg-config                C compiler flags for libsoup24, overriding pkg-config
1418    libsoup24_LIBS    libsoup24_LIBS
# Line 1379  Some influential environment variables: Line 1453  Some influential environment variables:
1453                C compiler flags for liblocation, overriding pkg-config                C compiler flags for liblocation, overriding pkg-config
1454    liblocation_LIBS    liblocation_LIBS
1455                linker flags for liblocation, overriding pkg-config                linker flags for liblocation, overriding pkg-config
1456      CPP         C preprocessor
1457    gtk_CFLAGS  C compiler flags for gtk, overriding pkg-config    gtk_CFLAGS  C compiler flags for gtk, overriding pkg-config
1458    gtk_LIBS    linker flags for gtk, overriding pkg-config    gtk_LIBS    linker flags for gtk, overriding pkg-config
1459    gnome2_CFLAGS    gnome2_CFLAGS
# Line 1396  fi Line 1471  fi
1471  if test "$ac_init_help" = "recursive"; then  if test "$ac_init_help" = "recursive"; then
1472    # If there are subdirs, report their specific --help.    # If there are subdirs, report their specific --help.
1473    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
1474      test -d "$ac_dir" || continue      test -d "$ac_dir" ||
1475          { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1476          continue
1477      ac_builddir=.      ac_builddir=.
1478    
1479  case "$ac_dir" in  case "$ac_dir" in
1480  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1481  *)  *)
1482    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1483    # A ".." for each directory in $ac_dir_suffix.    # A ".." for each directory in $ac_dir_suffix.
1484    ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`    ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1485    case $ac_top_builddir_sub in    case $ac_top_builddir_sub in
1486    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1487    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
# Line 1440  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ Line 1517  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
1517        echo &&        echo &&
1518        $SHELL "$ac_srcdir/configure" --help=recursive        $SHELL "$ac_srcdir/configure" --help=recursive
1519      else      else
1520        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2        $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1521      fi || ac_status=$?      fi || ac_status=$?
1522      cd "$ac_pwd" || { ac_status=$?; break; }      cd "$ac_pwd" || { ac_status=$?; break; }
1523    done    done
# Line 1450  test -n "$ac_init_help" && exit $ac_stat Line 1527  test -n "$ac_init_help" && exit $ac_stat
1527  if $ac_init_version; then  if $ac_init_version; then
1528    cat <<\_ACEOF    cat <<\_ACEOF
1529  GPXView configure 0.9.2  GPXView configure 0.9.2
1530  generated by GNU Autoconf 2.61  generated by GNU Autoconf 2.63
1531    
1532  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1533  2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.  2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1534  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1535  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1536  _ACEOF  _ACEOF
# Line 1464  This file contains any messages produced Line 1541  This file contains any messages produced
1541  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1542    
1543  It was created by GPXView $as_me 0.9.2, which was  It was created by GPXView $as_me 0.9.2, which was
1544  generated by GNU Autoconf 2.61.  Invocation command line was  generated by GNU Autoconf 2.63.  Invocation command line was
1545    
1546    $ $0 $@    $ $0 $@
1547    
# Line 1500  for as_dir in $PATH Line 1577  for as_dir in $PATH
1577  do  do
1578    IFS=$as_save_IFS    IFS=$as_save_IFS
1579    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1580    echo "PATH: $as_dir"    $as_echo "PATH: $as_dir"
1581  done  done
1582  IFS=$as_save_IFS  IFS=$as_save_IFS
1583    
# Line 1535  do Line 1612  do
1612      | -silent | --silent | --silen | --sile | --sil)      | -silent | --silent | --silen | --sile | --sil)
1613        continue ;;        continue ;;
1614      *\'*)      *\'*)
1615        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1616      esac      esac
1617      case $ac_pass in      case $ac_pass in
1618      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
# Line 1587  _ASBOX Line 1664  _ASBOX
1664      case $ac_val in #(      case $ac_val in #(
1665      *${as_nl}*)      *${as_nl}*)
1666        case $ac_var in #(        case $ac_var in #(
1667        *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5        *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1668  echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1669        esac        esac
1670        case $ac_var in #(        case $ac_var in #(
1671        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
1672          BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1673        *) $as_unset $ac_var ;;        *) $as_unset $ac_var ;;
1674        esac ;;        esac ;;
1675      esac      esac
# Line 1621  _ASBOX Line 1699  _ASBOX
1699      do      do
1700        eval ac_val=\$$ac_var        eval ac_val=\$$ac_var
1701        case $ac_val in        case $ac_val in
1702        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1703        esac        esac
1704        echo "$ac_var='\''$ac_val'\''"        $as_echo "$ac_var='\''$ac_val'\''"
1705      done | sort      done | sort
1706      echo      echo
1707    
# Line 1638  _ASBOX Line 1716  _ASBOX
1716        do        do
1717          eval ac_val=\$$ac_var          eval ac_val=\$$ac_var
1718          case $ac_val in          case $ac_val in
1719          *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;          *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1720          esac          esac
1721          echo "$ac_var='\''$ac_val'\''"          $as_echo "$ac_var='\''$ac_val'\''"
1722        done | sort        done | sort
1723        echo        echo
1724      fi      fi
# Line 1656  _ASBOX Line 1734  _ASBOX
1734        echo        echo
1735      fi      fi
1736      test "$ac_signal" != 0 &&      test "$ac_signal" != 0 &&
1737        echo "$as_me: caught signal $ac_signal"        $as_echo "$as_me: caught signal $ac_signal"
1738      echo "$as_me: exit $exit_status"      $as_echo "$as_me: exit $exit_status"
1739    } >&5    } >&5
1740    rm -f core *.core core.conftest.* &&    rm -f core *.core core.conftest.* &&
1741      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
# Line 1699  _ACEOF Line 1777  _ACEOF
1777    
1778    
1779  # 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.
1780  # Prefer explicitly selected file to automatically selected ones.  # Prefer an explicitly selected file to automatically selected ones.
1781    ac_site_file1=NONE
1782    ac_site_file2=NONE
1783  if test -n "$CONFIG_SITE"; then  if test -n "$CONFIG_SITE"; then
1784    set x "$CONFIG_SITE"    ac_site_file1=$CONFIG_SITE
1785  elif test "x$prefix" != xNONE; then  elif test "x$prefix" != xNONE; then
1786    set x "$prefix/share/config.site" "$prefix/etc/config.site"    ac_site_file1=$prefix/share/config.site
1787      ac_site_file2=$prefix/etc/config.site
1788  else  else
1789    set x "$ac_default_prefix/share/config.site" \    ac_site_file1=$ac_default_prefix/share/config.site
1790          "$ac_default_prefix/etc/config.site"    ac_site_file2=$ac_default_prefix/etc/config.site
1791  fi  fi
1792  shift  for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 for ac_site_file  
1793  do  do
1794      test "x$ac_site_file" = xNONE && continue
1795    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
1796      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5      { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1797  echo "$as_me: loading site script $ac_site_file" >&6;}  $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1798      sed 's/^/| /' "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
1799      . "$ac_site_file"      . "$ac_site_file"
1800    fi    fi
# Line 1723  if test -r "$cache_file"; then Line 1804  if test -r "$cache_file"; then
1804    # Some versions of bash will fail to source /dev/null (special    # Some versions of bash will fail to source /dev/null (special
1805    # files actually), so we avoid doing that.    # files actually), so we avoid doing that.
1806    if test -f "$cache_file"; then    if test -f "$cache_file"; then
1807      { echo "$as_me:$LINENO: loading cache $cache_file" >&5      { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1808  echo "$as_me: loading cache $cache_file" >&6;}  $as_echo "$as_me: loading cache $cache_file" >&6;}
1809      case $cache_file in      case $cache_file in
1810        [\\/]* | ?:[\\/]* ) . "$cache_file";;        [\\/]* | ?:[\\/]* ) . "$cache_file";;
1811        *)                      . "./$cache_file";;        *)                      . "./$cache_file";;
1812      esac      esac
1813    fi    fi
1814  else  else
1815    { echo "$as_me:$LINENO: creating cache $cache_file" >&5    { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1816  echo "$as_me: creating cache $cache_file" >&6;}  $as_echo "$as_me: creating cache $cache_file" >&6;}
1817    >$cache_file    >$cache_file
1818  fi  fi
1819    
# Line 1746  for ac_var in $ac_precious_vars; do Line 1827  for ac_var in $ac_precious_vars; do
1827    eval ac_new_val=\$ac_env_${ac_var}_value    eval ac_new_val=\$ac_env_${ac_var}_value
1828    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
1829      set,)      set,)
1830        { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5        { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1831  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}  $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1832        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
1833      ,set)      ,set)
1834        { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5        { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1835  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}  $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1836        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
1837      ,);;      ,);;
1838      *)      *)
1839        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1840          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5          # differences in whitespace do not lead to failure.
1841  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}          ac_old_val_w=`echo x $ac_old_val`
1842          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5          ac_new_val_w=`echo x $ac_new_val`
1843  echo "$as_me:   former value:  $ac_old_val" >&2;}          if test "$ac_old_val_w" != "$ac_new_val_w"; then
1844          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5            { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1845  echo "$as_me:   current value: $ac_new_val" >&2;}  $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1846          ac_cache_corrupted=:            ac_cache_corrupted=:
1847            else
1848              { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1849    $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1850              eval $ac_var=\$ac_old_val
1851            fi
1852            { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1853    $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1854            { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1855    $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1856        fi;;        fi;;
1857    esac    esac
1858    # Pass precious variables to config.status.    # Pass precious variables to config.status.
1859    if test "$ac_new_set" = set; then    if test "$ac_new_set" = set; then
1860      case $ac_new_val in      case $ac_new_val in
1861      *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;      *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1862      *) ac_arg=$ac_var=$ac_new_val ;;      *) ac_arg=$ac_var=$ac_new_val ;;
1863      esac      esac
1864      case " $ac_configure_args " in      case " $ac_configure_args " in
# Line 1778  echo "$as_me:   current value: $ac_new_v Line 1868  echo "$as_me:   current value: $ac_new_v
1868    fi    fi
1869  done  done
1870  if $ac_cache_corrupted; then  if $ac_cache_corrupted; then
1871    { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5    { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1872  echo "$as_me: error: changes in the environment can compromise the build" >&2;}  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1873    { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5    { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1874  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}  $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1875      { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1876    $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1877     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1878  fi  fi
1879    
# Line 1831  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1923  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1923  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
1924    # 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.
1925  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
1926  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1927  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
1928  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1929    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
1930  else  else
1931    if test -n "$CC"; then    if test -n "$CC"; then
1932    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 1847  do Line 1939  do
1939    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1940    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
1941      ac_cv_prog_CC="${ac_tool_prefix}gcc"      ac_cv_prog_CC="${ac_tool_prefix}gcc"
1942      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1943      break 2      break 2
1944    fi    fi
1945  done  done
# Line 1858  fi Line 1950  fi
1950  fi  fi
1951  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1952  if test -n "$CC"; then  if test -n "$CC"; then
1953    { echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:$LINENO: result: $CC" >&5
1954  echo "${ECHO_T}$CC" >&6; }  $as_echo "$CC" >&6; }
1955  else  else
1956    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:$LINENO: result: no" >&5
1957  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
1958  fi  fi
1959    
1960    
# Line 1871  if test -z "$ac_cv_prog_CC"; then Line 1963  if test -z "$ac_cv_prog_CC"; then
1963    ac_ct_CC=$CC    ac_ct_CC=$CC
1964    # 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.
1965  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1966  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1967  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
1968  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1969    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
1970  else  else
1971    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
1972    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 1887  do Line 1979  do
1979    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1980    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
1981      ac_cv_prog_ac_ct_CC="gcc"      ac_cv_prog_ac_ct_CC="gcc"
1982      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1983      break 2      break 2
1984    fi    fi
1985  done  done
# Line 1898  fi Line 1990  fi
1990  fi  fi
1991  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1992  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1993    { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1994  echo "${ECHO_T}$ac_ct_CC" >&6; }  $as_echo "$ac_ct_CC" >&6; }
1995  else  else
1996    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:$LINENO: result: no" >&5
1997  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
1998  fi  fi
1999    
2000    if test "x$ac_ct_CC" = x; then    if test "x$ac_ct_CC" = x; then
# Line 1910  fi Line 2002  fi
2002    else    else
2003      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2004  yes:)  yes:)
2005  { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2006  whose name does not start with the host triplet.  If you think this  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 configuration is useful to you, please write to autoconf@gnu.org." >&5  
 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools  
 whose name does not start with the host triplet.  If you think this  
 configuration is useful to you, please write to autoconf@gnu.org." >&2;}  
2007  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2008  esac  esac
2009      CC=$ac_ct_CC      CC=$ac_ct_CC
# Line 1928  if test -z "$CC"; then Line 2016  if test -z "$CC"; then
2016            if test -n "$ac_tool_prefix"; then            if test -n "$ac_tool_prefix"; then
2017      # 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.
2018  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
2019  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2020  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2021  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2022    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2023  else  else
2024    if test -n "$CC"; then    if test -n "$CC"; then
2025    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 1944  do Line 2032  do
2032    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2033    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
2034      ac_cv_prog_CC="${ac_tool_prefix}cc"      ac_cv_prog_CC="${ac_tool_prefix}cc"
2035      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2036      break 2      break 2
2037    fi    fi
2038  done  done
# Line 1955  fi Line 2043  fi
2043  fi  fi
2044  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2045  if test -n "$CC"; then  if test -n "$CC"; then
2046    { echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:$LINENO: result: $CC" >&5
2047  echo "${ECHO_T}$CC" >&6; }  $as_echo "$CC" >&6; }
2048  else  else
2049    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:$LINENO: result: no" >&5
2050  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
2051  fi  fi
2052    
2053    
# Line 1968  fi Line 2056  fi
2056  if test -z "$CC"; then  if test -z "$CC"; then
2057    # 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.
2058  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
2059  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2060  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2061  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2062    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2063  else  else
2064    if test -n "$CC"; then    if test -n "$CC"; then
2065    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 1989  do Line 2077  do
2077         continue         continue
2078       fi       fi
2079      ac_cv_prog_CC="cc"      ac_cv_prog_CC="cc"
2080      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2081      break 2      break 2
2082    fi    fi
2083  done  done
# Line 2012  fi Line 2100  fi
2100  fi  fi
2101  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2102  if test -n "$CC"; then  if test -n "$CC"; then
2103    { echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:$LINENO: result: $CC" >&5
2104  echo "${ECHO_T}$CC" >&6; }  $as_echo "$CC" >&6; }
2105  else  else
2106    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:$LINENO: result: no" >&5
2107  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
2108  fi  fi
2109    
2110    
# Line 2027  if test -z "$CC"; then Line 2115  if test -z "$CC"; then
2115    do    do
2116      # 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.
2117  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2118  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2119  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2120  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
2121    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2122  else  else
2123    if test -n "$CC"; then    if test -n "$CC"; then
2124    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 2043  do Line 2131  do
2131    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2132    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
2133      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2134      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2135      break 2      break 2
2136    fi    fi
2137  done  done
# Line 2054  fi Line 2142  fi
2142  fi  fi
2143  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2144  if test -n "$CC"; then  if test -n "$CC"; then
2145    { echo "$as_me:$LINENO: result: $CC" >&5    { $as_echo "$as_me:$LINENO: result: $CC" >&5
2146  echo "${ECHO_T}$CC" >&6; }  $as_echo "$CC" >&6; }
2147  else  else
2148    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:$LINENO: result: no" >&5
2149  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
2150  fi  fi
2151    
2152    
# Line 2071  if test -z "$CC"; then Line 2159  if test -z "$CC"; then
2159  do  do
2160    # 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.
2161  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2162  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2163  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
2164  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2165    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2166  else  else
2167    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
2168    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 2087  do Line 2175  do
2175    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2176    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
2177      ac_cv_prog_ac_ct_CC="$ac_prog"      ac_cv_prog_ac_ct_CC="$ac_prog"
2178      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179      break 2      break 2
2180    fi    fi
2181  done  done
# Line 2098  fi Line 2186  fi
2186  fi  fi
2187  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2188  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2189    { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2190  echo "${ECHO_T}$ac_ct_CC" >&6; }  $as_echo "$ac_ct_CC" >&6; }
2191  else  else
2192    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:$LINENO: result: no" >&5
2193  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
2194  fi  fi
2195    
2196    
# Line 2114  done Line 2202  done
2202    else    else
2203      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2204  yes:)  yes:)
2205  { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2206  whose name does not start with the host triplet.  If you think this  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 configuration is useful to you, please write to autoconf@gnu.org." >&5  
 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools  
 whose name does not start with the host triplet.  If you think this  
 configuration is useful to you, please write to autoconf@gnu.org." >&2;}  
2207  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2208  esac  esac
2209      CC=$ac_ct_CC      CC=$ac_ct_CC
# Line 2129  fi Line 2213  fi
2213  fi  fi
2214    
2215    
2216  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH  test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2217    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2218    { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2219  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2220  echo "$as_me: error: no acceptable C compiler found in \$PATH  $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2221  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2222     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }; }
2223    
2224  # Provide some information about the compiler.  # Provide some information about the compiler.
2225  echo "$as_me:$LINENO: checking for C compiler version" >&5  $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2226  ac_compiler=`set X $ac_compile; echo $2`  set X $ac_compile
2227    ac_compiler=$2
2228  { (ac_try="$ac_compiler --version >&5"  { (ac_try="$ac_compiler --version >&5"
2229  case "(($ac_try" in  case "(($ac_try" in
2230    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2231    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2232  esac  esac
2233  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2234    $as_echo "$ac_try_echo") >&5
2235    (eval "$ac_compiler --version >&5") 2>&5    (eval "$ac_compiler --version >&5") 2>&5
2236    ac_status=$?    ac_status=$?
2237    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238    (exit $ac_status); }    (exit $ac_status); }
2239  { (ac_try="$ac_compiler -v >&5"  { (ac_try="$ac_compiler -v >&5"
2240  case "(($ac_try" in  case "(($ac_try" in
2241    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2242    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2243  esac  esac
2244  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2245    $as_echo "$ac_try_echo") >&5
2246    (eval "$ac_compiler -v >&5") 2>&5    (eval "$ac_compiler -v >&5") 2>&5
2247    ac_status=$?    ac_status=$?
2248    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249    (exit $ac_status); }    (exit $ac_status); }
2250  { (ac_try="$ac_compiler -V >&5"  { (ac_try="$ac_compiler -V >&5"
2251  case "(($ac_try" in  case "(($ac_try" in
2252    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2253    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2254  esac  esac
2255  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2256    $as_echo "$ac_try_echo") >&5
2257    (eval "$ac_compiler -V >&5") 2>&5    (eval "$ac_compiler -V >&5") 2>&5
2258    ac_status=$?    ac_status=$?
2259    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260    (exit $ac_status); }    (exit $ac_status); }
2261    
2262  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
# Line 2185  main () Line 2275  main ()
2275  }  }
2276  _ACEOF  _ACEOF
2277  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
2278  ac_clean_files="$ac_clean_files a.out a.exe b.out"  ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2279  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2280  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2281  # of exeext.  # of exeext.
2282  { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5  { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2283  echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }  $as_echo_n "checking for C compiler default output file name... " >&6; }
2284  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2285  #  
2286  # List of possible output files, starting from the most likely.  # The possible output files:
2287  # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)  ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2288  # only as a last resort.  b.out is created by i960 compilers.  
 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'  
 #  
 # The IRIX 6 linker writes into existing files which may not be  
 # executable, retaining their permissions.  Remove them first so a  
 # subsequent execution test works.  
2289  ac_rmfiles=  ac_rmfiles=
2290  for ac_file in $ac_files  for ac_file in $ac_files
2291  do  do
2292    case $ac_file in    case $ac_file in
2293      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2294      * ) ac_rmfiles="$ac_rmfiles $ac_file";;      * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2295    esac    esac
2296  done  done
# Line 2216  case "(($ac_try" in Line 2301  case "(($ac_try" in
2301    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2302    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2303  esac  esac
2304  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2305    $as_echo "$ac_try_echo") >&5
2306    (eval "$ac_link_default") 2>&5    (eval "$ac_link_default") 2>&5
2307    ac_status=$?    ac_status=$?
2308    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309    (exit $ac_status); }; then    (exit $ac_status); }; then
2310    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2311  # 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 2230  for ac_file in $ac_files '' Line 2316  for ac_file in $ac_files ''
2316  do  do
2317    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2318    case $ac_file in    case $ac_file in
2319      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2320          ;;          ;;
2321      [ab].out )      [ab].out )
2322          # We found the default executable, but exeext='' is most          # We found the default executable, but exeext='' is most
# Line 2257  else Line 2343  else
2343    ac_file=''    ac_file=''
2344  fi  fi
2345    
2346  { echo "$as_me:$LINENO: result: $ac_file" >&5  { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2347  echo "${ECHO_T}$ac_file" >&6; }  $as_echo "$ac_file" >&6; }
2348  if test -z "$ac_file"; then  if test -z "$ac_file"; then
2349    echo "$as_me: failed program was:" >&5    $as_echo "$as_me: failed program was:" >&5
2350  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2351    
2352  { { echo "$as_me:$LINENO: error: C compiler cannot create executables  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2353    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2354    { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2355  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2356  echo "$as_me: error: C compiler cannot create executables  $as_echo "$as_me: error: C compiler cannot create executables
2357  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2358     { (exit 77); exit 77; }; }     { (exit 77); exit 77; }; }; }
2359  fi  fi
2360    
2361  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2362    
2363  # Check that the compiler produces executables we can run.  If not, either  # Check that the compiler produces executables we can run.  If not, either
2364  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2365  { echo "$as_me:$LINENO: checking whether the C compiler works" >&5  { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2366  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }  $as_echo_n "checking whether the C compiler works... " >&6; }
2367  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2368  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
2369  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
# Line 2284  if test "$cross_compiling" != yes; then Line 2372  if test "$cross_compiling" != yes; then
2372    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2373    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2374  esac  esac
2375  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2376    $as_echo "$ac_try_echo") >&5
2377    (eval "$ac_try") 2>&5    (eval "$ac_try") 2>&5
2378    ac_status=$?    ac_status=$?
2379    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2381      cross_compiling=no      cross_compiling=no
2382    else    else
2383      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
2384          cross_compiling=yes          cross_compiling=yes
2385      else      else
2386          { { echo "$as_me:$LINENO: error: cannot run C compiled programs.          { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2387    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2388    { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2389  If you meant to cross compile, use \`--host'.  If you meant to cross compile, use \`--host'.
2390  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2391  echo "$as_me: error: cannot run C compiled programs.  $as_echo "$as_me: error: cannot run C compiled programs.
2392  If you meant to cross compile, use \`--host'.  If you meant to cross compile, use \`--host'.
2393  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2394     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }; }
2395      fi      fi
2396    fi    fi
2397  fi  fi
2398  { echo "$as_me:$LINENO: result: yes" >&5  { $as_echo "$as_me:$LINENO: result: yes" >&5
2399  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
2400    
2401  rm -f a.out a.exe conftest$ac_cv_exeext b.out  rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2402  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2403  # Check that the compiler produces executables we can run.  If not, either  # Check that the compiler produces executables we can run.  If not, either
2404  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2405  { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5  { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2406  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }  $as_echo_n "checking whether we are cross compiling... " >&6; }
2407  { echo "$as_me:$LINENO: result: $cross_compiling" >&5  { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2408  echo "${ECHO_T}$cross_compiling" >&6; }  $as_echo "$cross_compiling" >&6; }
2409    
2410  { echo "$as_me:$LINENO: checking for suffix of executables" >&5  { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2411  echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }  $as_echo_n "checking for suffix of executables... " >&6; }
2412  if { (ac_try="$ac_link"  if { (ac_try="$ac_link"
2413  case "(($ac_try" in  case "(($ac_try" in
2414    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2415    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2416  esac  esac
2417  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2418    $as_echo "$ac_try_echo") >&5
2419    (eval "$ac_link") 2>&5    (eval "$ac_link") 2>&5
2420    ac_status=$?    ac_status=$?
2421    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422    (exit $ac_status); }; then    (exit $ac_status); }; then
2423    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2424  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 2335  eval "echo \"\$as_me:$LINENO: $ac_try_ec Line 2427  eval "echo \"\$as_me:$LINENO: $ac_try_ec
2427  for ac_file in conftest.exe conftest conftest.*; do  for ac_file in conftest.exe conftest conftest.*; do
2428    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2429    case $ac_file in    case $ac_file in
2430      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2431      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2432            break;;            break;;
2433      * ) break;;      * ) break;;
2434    esac    esac
2435  done  done
2436  else  else
2437    { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link    { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2438    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2439    { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2440  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2441  echo "$as_me: error: cannot compute suffix of executables: cannot compile and link  $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2442  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2443     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }; }
2444  fi  fi
2445    
2446  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
2447  { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5  { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2448  echo "${ECHO_T}$ac_cv_exeext" >&6; }  $as_echo "$ac_cv_exeext" >&6; }
2449    
2450  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2451  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2452  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2453  { echo "$as_me:$LINENO: checking for suffix of object files" >&5  { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2454  echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }  $as_echo_n "checking for suffix of object files... " >&6; }
2455  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
2456    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2457  else  else
2458    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2459  /* confdefs.h.  */  /* confdefs.h.  */
# Line 2382  case "(($ac_try" in Line 2476  case "(($ac_try" in
2476    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2478  esac  esac
2479  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2480    $as_echo "$ac_try_echo") >&5
2481    (eval "$ac_compile") 2>&5    (eval "$ac_compile") 2>&5
2482    ac_status=$?    ac_status=$?
2483    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484    (exit $ac_status); }; then    (exit $ac_status); }; then
2485    for ac_file in conftest.o conftest.obj conftest.*; do    for ac_file in conftest.o conftest.obj conftest.*; do
2486    test -f "$ac_file" || continue;    test -f "$ac_file" || continue;
2487    case $ac_file in    case $ac_file in
2488      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2489      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2490         break;;         break;;
2491    esac    esac
2492  done  done
2493  else  else
2494    echo "$as_me: failed program was:" >&5    $as_echo "$as_me: failed program was:" >&5
2495  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2496    
2497  { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2498    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2499    { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2500  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2501  echo "$as_me: error: cannot compute suffix of object files: cannot compile  $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2502  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2503     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }; }
2504  fi  fi
2505    
2506  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2507  fi  fi
2508  { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5  { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2509  echo "${ECHO_T}$ac_cv_objext" >&6; }  $as_echo "$ac_cv_objext" >&6; }
2510  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2511  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2512  { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5  { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2513  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }  $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2514  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2515    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2516  else  else
2517    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2518  /* confdefs.h.  */  /* confdefs.h.  */
# Line 2441  case "(($ac_try" in Line 2538  case "(($ac_try" in
2538    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2540  esac  esac
2541  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2542    $as_echo "$ac_try_echo") >&5
2543    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2544    ac_status=$?    ac_status=$?
2545    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2546    rm -f conftest.er1    rm -f conftest.er1
2547    cat conftest.err >&5    cat conftest.err >&5
2548    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549    (exit $ac_status); } && {    (exit $ac_status); } && {
2550           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2551           test ! -s conftest.err           test ! -s conftest.err
2552         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2553    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2554  else  else
2555    echo "$as_me: failed program was:" >&5    $as_echo "$as_me: failed program was:" >&5
2556  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2557    
2558          ac_compiler_gnu=no          ac_compiler_gnu=no
# Line 2464  rm -f core conftest.err conftest.$ac_obj Line 2562  rm -f core conftest.err conftest.$ac_obj
2562  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2563    
2564  fi  fi
2565  { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5  { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2566  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }  $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2567  GCC=`test $ac_compiler_gnu = yes && echo yes`  if test $ac_compiler_gnu = yes; then
2568      GCC=yes
2569    else
2570      GCC=
2571    fi
2572  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2573  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2574  { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5  { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2575  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }  $as_echo_n "checking whether $CC accepts -g... " >&6; }
2576  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2577    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2578  else  else
2579    ac_save_c_werror_flag=$ac_c_werror_flag    ac_save_c_werror_flag=$ac_c_werror_flag
2580     ac_c_werror_flag=yes     ac_c_werror_flag=yes
# Line 2499  case "(($ac_try" in Line 2601  case "(($ac_try" in
2601    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2603  esac  esac
2604  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2605    $as_echo "$ac_try_echo") >&5
2606    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2607    ac_status=$?    ac_status=$?
2608    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2609    rm -f conftest.er1    rm -f conftest.er1
2610    cat conftest.err >&5    cat conftest.err >&5
2611    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612    (exit $ac_status); } && {    (exit $ac_status); } && {
2613           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2614           test ! -s conftest.err           test ! -s conftest.err
2615         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2616    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2617  else  else
2618    echo "$as_me: failed program was:" >&5    $as_echo "$as_me: failed program was:" >&5
2619  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2620    
2621          CFLAGS=""          CFLAGS=""
# Line 2537  case "(($ac_try" in Line 2640  case "(($ac_try" in
2640    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2642  esac  esac
2643  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2644    $as_echo "$ac_try_echo") >&5
2645    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2646    ac_status=$?    ac_status=$?
2647    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2648    rm -f conftest.er1    rm -f conftest.er1
2649    cat conftest.err >&5    cat conftest.err >&5
2650    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651    (exit $ac_status); } && {    (exit $ac_status); } && {
2652           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2653           test ! -s conftest.err           test ! -s conftest.err
2654         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2655    :    :
2656  else  else
2657    echo "$as_me: failed program was:" >&5    $as_echo "$as_me: failed program was:" >&5
2658  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2659    
2660          ac_c_werror_flag=$ac_save_c_werror_flag          ac_c_werror_flag=$ac_save_c_werror_flag
# Line 2576  case "(($ac_try" in Line 2680  case "(($ac_try" in
2680    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2681    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2682  esac  esac
2683  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2684    $as_echo "$ac_try_echo") >&5
2685    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2686    ac_status=$?    ac_status=$?
2687    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2688    rm -f conftest.er1    rm -f conftest.er1
2689    cat conftest.err >&5    cat conftest.err >&5
2690    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691    (exit $ac_status); } && {    (exit $ac_status); } && {
2692           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2693           test ! -s conftest.err           test ! -s conftest.err
2694         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2695    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2696  else  else
2697    echo "$as_me: failed program was:" >&5    $as_echo "$as_me: failed program was:" >&5
2698  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2699    
2700    
# Line 2604  fi Line 2709  fi
2709  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2710     ac_c_werror_flag=$ac_save_c_werror_flag     ac_c_werror_flag=$ac_save_c_werror_flag
2711  fi  fi
2712  { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2713  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }  $as_echo "$ac_cv_prog_cc_g" >&6; }
2714  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2715    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
2716  elif test $ac_cv_prog_cc_g = yes; then  elif test $ac_cv_prog_cc_g = yes; then
# Line 2621  else Line 2726  else
2726      CFLAGS=      CFLAGS=
2727    fi    fi
2728  fi  fi
2729  { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5  { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2730  echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2731  if test "${ac_cv_prog_cc_c89+set}" = set; then  if test "${ac_cv_prog_cc_c89+set}" = set; then
2732    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2733  else  else
2734    ac_cv_prog_cc_c89=no    ac_cv_prog_cc_c89=no
2735  ac_save_CC=$CC  ac_save_CC=$CC
# Line 2695  case "(($ac_try" in Line 2800  case "(($ac_try" in
2800    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2801    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2802  esac  esac
2803  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2804    $as_echo "$ac_try_echo") >&5
2805    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2806    ac_status=$?    ac_status=$?
2807    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2808    rm -f conftest.er1    rm -f conftest.er1
2809    cat conftest.err >&5    cat conftest.err >&5
2810    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811    (exit $ac_status); } && {    (exit $ac_status); } && {
2812           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2813           test ! -s conftest.err           test ! -s conftest.err
2814         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2815    ac_cv_prog_cc_c89=$ac_arg    ac_cv_prog_cc_c89=$ac_arg
2816  else  else
2817    echo "$as_me: failed program was:" >&5    $as_echo "$as_me: failed program was:" >&5
2818  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2819    
2820    
# Line 2724  fi Line 2830  fi
2830  # AC_CACHE_VAL  # AC_CACHE_VAL
2831  case "x$ac_cv_prog_cc_c89" in  case "x$ac_cv_prog_cc_c89" in
2832    x)    x)
2833      { echo "$as_me:$LINENO: result: none needed" >&5      { $as_echo "$as_me:$LINENO: result: none needed" >&5
2834  echo "${ECHO_T}none needed" >&6; } ;;  $as_echo "none needed" >&6; } ;;
2835    xno)    xno)
2836      { echo "$as_me:$LINENO: result: unsupported" >&5      { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2837  echo "${ECHO_T}unsupported" >&6; } ;;  $as_echo "unsupported" >&6; } ;;
2838    *)    *)
2839      CC="$CC $ac_cv_prog_cc_c89"      CC="$CC $ac_cv_prog_cc_c89"
2840      { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5      { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2841  echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2842  esac  esac
2843    
2844    
# Line 2759  for ac_dir in "$srcdir" "$srcdir/.." "$s Line 2865  for ac_dir in "$srcdir" "$srcdir/.." "$s
2865    fi    fi
2866  done  done
2867  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
2868    { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5    { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2869  echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}  $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2870     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2871  fi  fi
2872    
# Line 2786  ac_configure="$SHELL $ac_aux_dir/configu Line 2892  ac_configure="$SHELL $ac_aux_dir/configu
2892  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2893  # OS/2's system install, which has a completely different semantic  # OS/2's system install, which has a completely different semantic
2894  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2895  { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  # Reject install programs that cannot install multiple files.
2896  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }  { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2897    $as_echo_n "checking for a BSD-compatible install... " >&6; }
2898  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
2899  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
2900    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2901  else  else
2902    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2903  for as_dir in $PATH  for as_dir in $PATH
# Line 2819  case $as_dir/ in Line 2926  case $as_dir/ in
2926              # program-specific install script used by HP pwplus--don't use.              # program-specific install script used by HP pwplus--don't use.
2927              :              :
2928            else            else
2929              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"              rm -rf conftest.one conftest.two conftest.dir
2930              break 3              echo one > conftest.one
2931                echo two > conftest.two
2932                mkdir conftest.dir
2933                if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2934                  test -s conftest.one && test -s conftest.two &&
2935                  test -s conftest.dir/conftest.one &&
2936                  test -s conftest.dir/conftest.two
2937                then
2938                  ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2939                  break 3
2940                fi
2941            fi            fi
2942          fi          fi
2943        done        done
2944      done      done
2945      ;;      ;;
2946  esac  esac
2947    
2948  done  done
2949  IFS=$as_save_IFS  IFS=$as_save_IFS
2950    
2951    rm -rf conftest.one conftest.two conftest.dir
2952    
2953  fi  fi
2954    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
# Line 2842  fi Line 2961  fi
2961      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
2962    fi    fi
2963  fi  fi
2964  { echo "$as_me:$LINENO: result: $INSTALL" >&5  { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2965  echo "${ECHO_T}$INSTALL" >&6; }  $as_echo "$INSTALL" >&6; }
2966    
2967  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2968  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
# Line 2853  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 2972  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2972    
2973  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2974    
2975  { echo "$as_me:$LINENO: checking whether ln -s works" >&5  { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
2976  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }  $as_echo_n "checking whether ln -s works... " >&6; }
2977  LN_S=$as_ln_s  LN_S=$as_ln_s
2978  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
2979    { echo "$as_me:$LINENO: result: yes" >&5    { $as_echo "$as_me:$LINENO: result: yes" >&5
2980  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
2981  else  else
2982    { echo "$as_me:$LINENO: result: no, using $LN_S" >&5    { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2983  echo "${ECHO_T}no, using $LN_S" >&6; }  $as_echo "no, using $LN_S" >&6; }
2984  fi  fi
2985    
2986  { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2987  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2988  set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`  set x ${MAKE-make}
2989    ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2990  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
2991    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
2992  else  else
2993    cat >conftest.make <<\_ACEOF    cat >conftest.make <<\_ACEOF
2994  SHELL = /bin/sh  SHELL = /bin/sh
# Line 2885  esac Line 3005  esac
3005  rm -f conftest.make  rm -f conftest.make
3006  fi  fi
3007  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3008    { echo "$as_me:$LINENO: result: yes" >&5    { $as_echo "$as_me:$LINENO: result: yes" >&5
3009  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
3010    SET_MAKE=    SET_MAKE=
3011  else  else
3012    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:$LINENO: result: no" >&5
3013  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3014    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
3015  fi  fi
3016    
# Line 2923  if test "x$ac_cv_env_PKG_CONFIG_set" != Line 3043  if test "x$ac_cv_env_PKG_CONFIG_set" !=
3043          if test -n "$ac_tool_prefix"; then          if test -n "$ac_tool_prefix"; then
3044    # 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.
3045  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3046  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3047  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
3048  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3049    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
3050  else  else
3051    case $PKG_CONFIG in    case $PKG_CONFIG in
3052    [\\/]* | ?:[\\/]*)    [\\/]* | ?:[\\/]*)
# Line 2941  do Line 3061  do
3061    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
3062    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
3063      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3064      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3065      break 2      break 2
3066    fi    fi
3067  done  done
# Line 2953  esac Line 3073  esac
3073  fi  fi
3074  PKG_CONFIG=$ac_cv_path_PKG_CONFIG  PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3075  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3076    { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5    { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3077  echo "${ECHO_T}$PKG_CONFIG" >&6; }  $as_echo "$PKG_CONFIG" >&6; }
3078  else  else
3079    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:$LINENO: result: no" >&5
3080  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3081  fi  fi
3082    
3083    
# Line 2966  if test -z "$ac_cv_path_PKG_CONFIG"; the Line 3086  if test -z "$ac_cv_path_PKG_CONFIG"; the
3086    ac_pt_PKG_CONFIG=$PKG_CONFIG    ac_pt_PKG_CONFIG=$PKG_CONFIG
3087    # 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.
3088  set dummy pkg-config; ac_word=$2  set dummy pkg-config; ac_word=$2
3089  { echo "$as_me:$LINENO: checking for $ac_word" >&5  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3090  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }  $as_echo_n "checking for $ac_word... " >&6; }
3091  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3092    echo $ECHO_N "(cached) $ECHO_C" >&6    $as_echo_n "(cached) " >&6
3093  else  else
3094    case $ac_pt_PKG_CONFIG in    case $ac_pt_PKG_CONFIG in
3095    [\\/]* | ?:[\\/]*)    [\\/]* | ?:[\\/]*)
# Line 2984  do Line 3104  do
3104    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
3105    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
3106      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"
3107      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3108      break 2      break 2
3109    fi    fi
3110  done  done
# Line 2996  esac Line 3116  esac
3116  fi  fi
3117  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3118  if test -n "$ac_pt_PKG_CONFIG"; then  if test -n "$ac_pt_PKG_CONFIG"; then
3119    { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5    { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3120  echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }  $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3121  else  else
3122    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:$LINENO: result: no" >&5
3123  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3124  fi  fi
3125    
3126    if test "x$ac_pt_PKG_CONFIG" = x; then    if test "x$ac_pt_PKG_CONFIG" = x; then
# Line 3008  fi Line 3128  fi
3128    else    else
3129      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
3130  yes:)  yes:)
3131  { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3132  whose name does not start with the host triplet.  If you think this  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 configuration is useful to you, please write to autoconf@gnu.org." >&5  
 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools  
 whose name does not start with the host triplet.  If you think this  
 configuration is useful to you, please write to autoconf@gnu.org." >&2;}  
3133  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
3134  esac  esac
3135      PKG_CONFIG=$ac_pt_PKG_CONFIG      PKG_CONFIG=$ac_pt_PKG_CONFIG
# Line 3025  fi Line 3141  fi
3141  fi  fi
3142  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3143          _pkg_min_version=0.9.0          _pkg_min_version=0.9.0
3144          { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5          { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3145  echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }  $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3146          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3147                  { echo "$as_me:$LINENO: result: yes" >&5                  { $as_echo "$as_me:$LINENO: result: yes" >&5
3148  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
3149          else          else
3150                  { echo "$as_me:$LINENO: result: no" >&5                  { $as_echo "$as_me:$LINENO: result: no" >&5
3151  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3152                  PKG_CONFIG=""                  PKG_CONFIG=""
3153          fi          fi
3154    
3155  fi  fi
3156    
3157  pkg_failed=no  pkg_failed=no
3158  { echo "$as_me:$LINENO: checking for gnome_vfs_module" >&5  { $as_echo "$as_me:$LINENO: checking for gnome_vfs_module" >&5
3159  echo $ECHO_N "checking for gnome_vfs_module... $ECHO_C" >&6; }  $as_echo_n "checking for gnome_vfs_module... " >&6; }
3160    
3161  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3162      if test -n "$gnome_vfs_module_CFLAGS"; then      if test -n "$gnome_vfs_module_CFLAGS"; then
3163          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"
3164      else      else
3165          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3166      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5
3167    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3168    ac_status=$?    ac_status=$?
3169    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170    (exit $ac_status); }; then    (exit $ac_status); }; then
3171    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`
3172  else  else
# Line 3065  if test -n "$PKG_CONFIG"; then Line 3181  if test -n "$PKG_CONFIG"; then
3181          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"
3182      else      else
3183          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3184      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5
3185    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3186    ac_status=$?    ac_status=$?
3187    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188    (exit $ac_status); }; then    (exit $ac_status); }; then
3189    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`
3190  else  else
# Line 3096  fi Line 3212  fi
3212          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3213          echo "$gnome_vfs_module_PKG_ERRORS" >&5          echo "$gnome_vfs_module_PKG_ERRORS" >&5
3214    
3215          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:$LINENO: result: no" >&5
3216  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3217                  { { echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5                  { { $as_echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5
3218  echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}  $as_echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}
3219     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3220  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3221          { { echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5          { { $as_echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5
3222  echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}  $as_echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}
3223     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3224  else  else
3225          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS
3226          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS
3227          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:$LINENO: result: yes" >&5
3228  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
3229          :          :
3230  fi  fi
3231  CFLAGS="$CFLAGS $gnome_vfs_module_CFLAGS"  CFLAGS="$CFLAGS $gnome_vfs_module_CFLAGS"
# Line 3118  LIBS="$LIBS $gnome_vfs_module_LIBS" Line 3234  LIBS="$LIBS $gnome_vfs_module_LIBS"
3234  # check for libxml-2.0  # check for libxml-2.0
3235    
3236  pkg_failed=no  pkg_failed=no
3237  { echo "$as_me:$LINENO: checking for libxml2" >&5  { $as_echo "$as_me:$LINENO: checking for libxml2" >&5
3238  echo $ECHO_N "checking for libxml2... $ECHO_C" >&6; }  $as_echo_n "checking for libxml2... " >&6; }
3239    
3240  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3241      if test -n "$libxml2_CFLAGS"; then      if test -n "$libxml2_CFLAGS"; then
3242          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"
3243      else      else
3244          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3245      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
3246    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3247    ac_status=$?    ac_status=$?
3248    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249    (exit $ac_status); }; then    (exit $ac_status); }; then
3250    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`
3251  else  else
# Line 3144  if test -n "$PKG_CONFIG"; then Line 3260  if test -n "$PKG_CONFIG"; then
3260          pkg_cv_libxml2_LIBS="$libxml2_LIBS"          pkg_cv_libxml2_LIBS="$libxml2_LIBS"
3261      else      else
3262          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3263      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
3264    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3265    ac_status=$?    ac_status=$?
3266    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267    (exit $ac_status); }; then    (exit $ac_status); }; then
3268    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`
3269  else  else
# Line 3175  fi Line 3291  fi
3291          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3292          echo "$libxml2_PKG_ERRORS" >&5          echo "$libxml2_PKG_ERRORS" >&5
3293    
3294          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:$LINENO: result: no" >&5
3295  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3296                  { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5                  { { $as_echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5
3297  echo "$as_me: error: libxml-2.0 missing" >&2;}  $as_echo "$as_me: error: libxml-2.0 missing" >&2;}
3298     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3299  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3300          { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5          { { $as_echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5
3301  echo "$as_me: error: libxml-2.0 missing" >&2;}  $as_echo "$as_me: error: libxml-2.0 missing" >&2;}
3302     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3303  else  else
3304          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS
3305          libxml2_LIBS=$pkg_cv_libxml2_LIBS          libxml2_LIBS=$pkg_cv_libxml2_LIBS
3306          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:$LINENO: result: yes" >&5
3307  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
3308          :          :
3309  fi  fi
3310  CFLAGS="$CFLAGS $libxml2_CFLAGS"  CFLAGS="$CFLAGS $libxml2_CFLAGS"
# Line 3197  LIBS="$LIBS $libxml2_LIBS" Line 3313  LIBS="$LIBS $libxml2_LIBS"
3313  # check for libcurl  # check for libcurl
3314    
3315  pkg_failed=no  pkg_failed=no
3316  { echo "$as_me:$LINENO: checking for libcurl" >&5  { $as_echo "$as_me:$LINENO: checking for libcurl" >&5
3317  echo $ECHO_N "checking for libcurl... $ECHO_C" >&6; }  $as_echo_n "checking for libcurl... " >&6; }
3318    
3319  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3320      if test -n "$libcurl_CFLAGS"; then      if test -n "$libcurl_CFLAGS"; then
3321          pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"          pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
3322      else      else
3323          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3324      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
3325    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3326    ac_status=$?    ac_status=$?
3327    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328    (exit $ac_status); }; then    (exit $ac_status); }; then
3329    pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`    pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
3330  else  else
# Line 3223  if test -n "$PKG_CONFIG"; then Line 3339  if test -n "$PKG_CONFIG"; then
3339          pkg_cv_libcurl_LIBS="$libcurl_LIBS"          pkg_cv_libcurl_LIBS="$libcurl_LIBS"
3340      else      else
3341          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3342      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
3343    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3344    ac_status=$?    ac_status=$?
3345    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346    (exit $ac_status); }; then    (exit $ac_status); }; then
3347    pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`    pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
3348  else  else
# Line 3254  fi Line 3370  fi
3370          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3371          echo "$libcurl_PKG_ERRORS" >&5          echo "$libcurl_PKG_ERRORS" >&5
3372    
3373          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:$LINENO: result: no" >&5
3374  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
3375                  { { echo "$as_me:$LINENO: error: libcurl missing" >&5                  { { $as_echo "$as_me:$LINENO: error: libcurl missing" >&5
3376  echo "$as_me: error: libcurl missing" >&2;}  $as_echo "$as_me: error: libcurl missing" >&2;}
3377     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3378  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3379          { { echo "$as_me:$LINENO: error: libcurl missing" >&5          { { $as_echo "$as_me:$LINENO: error: libcurl missing" >&5
3380  echo "$as_me: error: libcurl missing" >&2;}  $as_echo "$as_me: error: libcurl missing" >&2;}
3381     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3382  else  else
3383          libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS          libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
3384          libcurl_LIBS=$pkg_cv_libcurl_LIBS          libcurl_LIBS=$pkg_cv_libcurl_LIBS
3385          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:$LINENO: result: yes" >&5
3386  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
3387          :          :
3388  fi  fi
3389  CFLAGS="$CFLAGS $libcurl_CFLAGS"  CFLAGS="$CFLAGS $libcurl_CFLAGS"
3390  LIBS="$LIBS $libcurl_LIBS"  LIBS="$LIBS $libcurl_LIBS"
3391    
3392  # check for libespeak (consider moving this to maemo5)  # check for libsoup
3393    
3394  ac_ext=c  pkg_failed=no
3395  ac_cpp='$CPP $CPPFLAGS'  { $as_echo "$as_me:$LINENO: checking for libsoup24" >&5
3396  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  $as_echo_n "checking for libsoup24... " >&6; }
3397  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'  
3398  ac_compiler_gnu=$ac_cv_c_compiler_gnu  if test -n "$PKG_CONFIG"; then
3399  { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5      if test -n "$libsoup24_CFLAGS"; then
3400  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"
3401  # On Suns, sometimes $CPP names a directory.      else
3402  if test -n "$CPP" && test -d "$CPP"; then          if test -n "$PKG_CONFIG" && \
3403    CPP=      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
3404      ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3405      ac_status=$?
3406      $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407      (exit $ac_status); }; then
3408      pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
3409    else
3410      pkg_failed=yes
3411  fi  fi
3412  if test -z "$CPP"; then      fi
   if test "${ac_cv_prog_CPP+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
3413  else  else
3414        # Double quotes because CPP needs to be expanded          pkg_failed=untried
3415      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"  fi
3416      do  if test -n "$PKG_CONFIG"; then
3417        ac_preproc_ok=false      if test -n "$libsoup24_LIBS"; then
3418  for ac_c_preproc_warn_flag in '' yes          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"
3419  do      else
3420    # Use a header file that comes with gcc, so configuring glibc          if test -n "$PKG_CONFIG" && \
3421    # with a fresh cross-compiler works.      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
3422    # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
   # <limits.h> exists even on freestanding compilers.  
   # On the NeXT, cc -E runs the code through the compiler's parser,  
   # not just through cpp. "Syntax error" is here to catch this case.  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #ifdef __STDC__  
 # include <limits.h>  
 #else  
 # include <assert.h>  
 #endif  
                      Syntax error  
 _ACEOF  
 if { (ac_try="$ac_cpp conftest.$ac_ext"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  
   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1  
3423    ac_status=$?    ac_status=$?
3424    grep -v '^ *+' conftest.er1 >conftest.err    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425    rm -f conftest.er1    (exit $ac_status); }; then
3426    cat conftest.err >&5    pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null && {  
          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        }; then  
   :  
3427  else  else
3428    echo "$as_me: failed program was:" >&5    pkg_failed=yes
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   # Broken: fails on valid input.  
 continue  
3429  fi  fi
3430        fi
 rm -f conftest.err conftest.$ac_ext  
   
   # OK, works on sane cases.  Now check whether nonexistent headers  
   # can be detected and how.  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <ac_nonexistent.h>  
 _ACEOF  
 if { (ac_try="$ac_cpp conftest.$ac_ext"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  
   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null && {  
          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        }; then  
   # Broken: success on invalid input.  
 continue  
3431  else  else
3432    echo "$as_me: failed program was:" >&5          pkg_failed=untried
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   # Passes both tests.  
 ac_preproc_ok=:  
 break  
3433  fi  fi
3434    
 rm -f conftest.err conftest.$ac_ext  
3435    
 done  
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  
 rm -f conftest.err conftest.$ac_ext  
 if $ac_preproc_ok; then  
   break  
 fi  
3436    
3437      done  if test $pkg_failed = yes; then
     ac_cv_prog_CPP=$CPP  
3438    
3439  fi  if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3440    CPP=$ac_cv_prog_CPP          _pkg_short_errors_supported=yes
3441  else  else
3442    ac_cv_prog_CPP=$CPP          _pkg_short_errors_supported=no
3443  fi  fi
3444  { echo "$as_me:$LINENO: result: $CPP" >&5          if test $_pkg_short_errors_supported = yes; then
3445  echo "${ECHO_T}$CPP" >&6; }                  libsoup24_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`
3446  ac_preproc_ok=false          else
3447  for ac_c_preproc_warn_flag in '' yes                  libsoup24_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`
3448  do          fi
3449    # Use a header file that comes with gcc, so configuring glibc          # Put the nasty error message in config.log where it belongs
3450    # with a fresh cross-compiler works.          echo "$libsoup24_PKG_ERRORS" >&5
   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since  
   # <limits.h> exists even on freestanding compilers.  
   # On the NeXT, cc -E runs the code through the compiler's parser,  
   # not just through cpp. "Syntax error" is here to catch this case.  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #ifdef __STDC__  
 # include <limits.h>  
 #else  
 # include <assert.h>  
 #endif  
                      Syntax error  
 _ACEOF  
 if { (ac_try="$ac_cpp conftest.$ac_ext"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  
   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null && {  
          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        }; then  
   :  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
3451    
3452    # Broken: fails on valid input.          { $as_echo "$as_me:$LINENO: result: no" >&5
3453  continue  $as_echo "no" >&6; }
 fi  
3454    
 rm -f conftest.err conftest.$ac_ext  
3455    
3456    # OK, works on sane cases.  Now check whether nonexistent headers  pkg_failed=no
3457    # can be detected and how.  { $as_echo "$as_me:$LINENO: checking for libsoup22" >&5
3458    cat >conftest.$ac_ext <<_ACEOF  $as_echo_n "checking for libsoup22... " >&6; }
3459  /* confdefs.h.  */  
3460  _ACEOF  if test -n "$PKG_CONFIG"; then
3461  cat confdefs.h >>conftest.$ac_ext      if test -n "$libsoup22_CFLAGS"; then
3462  cat >>conftest.$ac_ext <<_ACEOF          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3463  /* end confdefs.h.  */      else
3464  #include <ac_nonexistent.h>          if test -n "$PKG_CONFIG" && \
3465  _ACEOF      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3466  if { (ac_try="$ac_cpp conftest.$ac_ext"    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  
   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1  
3467    ac_status=$?    ac_status=$?
3468    grep -v '^ *+' conftest.er1 >conftest.err    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469    rm -f conftest.er1    (exit $ac_status); }; then
3470    cat conftest.err >&5    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null && {  
          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        }; then  
   # Broken: success on invalid input.  
 continue  
3471  else  else
3472    echo "$as_me: failed program was:" >&5    pkg_failed=yes
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   # Passes both tests.  
 ac_preproc_ok=:  
 break  
3473  fi  fi
3474        fi
 rm -f conftest.err conftest.$ac_ext  
   
 done  
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.  
 rm -f conftest.err conftest.$ac_ext  
 if $ac_preproc_ok; then  
   :  
3475  else  else
3476    { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check          pkg_failed=untried
 See \`config.log' for more details." >&5  
 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check  
 See \`config.log' for more details." >&2;}  
    { (exit 1); exit 1; }; }  
3477  fi  fi
3478    if test -n "$PKG_CONFIG"; then
3479  ac_ext=c      if test -n "$libsoup22_LIBS"; then
3480  ac_cpp='$CPP $CPPFLAGS'          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3481  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'      else
3482  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'          if test -n "$PKG_CONFIG" && \
3483  ac_compiler_gnu=$ac_cv_c_compiler_gnu      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3484      ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3485      ac_status=$?
3486  { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487  echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }    (exit $ac_status); }; then
3488  if test "${ac_cv_path_GREP+set}" = set; then    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   # Extract the first word of "grep ggrep" to use in msg output  
 if test -z "$GREP"; then  
 set dummy grep ggrep; ac_prog_name=$2  
 if test "${ac_cv_path_GREP+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
3489  else  else
3490    ac_path_GREP_found=false    pkg_failed=yes
 # Loop through the user's path and test for each of PROGNAME-LIST  
 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR  
 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin  
 do  
   IFS=$as_save_IFS  
   test -z "$as_dir" && as_dir=.  
   for ac_prog in grep ggrep; do  
   for ac_exec_ext in '' $ac_executable_extensions; do  
     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"  
     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue  
     # Check for GNU ac_path_GREP and select it if it is found.  
   # Check for GNU $ac_path_GREP  
 case `"$ac_path_GREP" --version 2>&1` in  
 *GNU*)  
   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;  
 *)  
   ac_count=0  
   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"  
   while :  
   do  
     cat "conftest.in" "conftest.in" >"conftest.tmp"  
     mv "conftest.tmp" "conftest.in"  
     cp "conftest.in" "conftest.nl"  
     echo 'GREP' >> "conftest.nl"  
     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break  
     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break  
     ac_count=`expr $ac_count + 1`  
     if test $ac_count -gt ${ac_path_GREP_max-0}; then  
       # Best one so far, save it but keep looking for a better one  
       ac_cv_path_GREP="$ac_path_GREP"  
       ac_path_GREP_max=$ac_count  
     fi  
     # 10*(2^10) chars as input seems more than enough  
     test $ac_count -gt 10 && break  
   done  
   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;  
 esac  
   
   
     $ac_path_GREP_found && break 3  
   done  
 done  
   
 done  
 IFS=$as_save_IFS  
   
   
 fi  
   
 GREP="$ac_cv_path_GREP"  
 if test -z "$GREP"; then  
   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5  
 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}  
    { (exit 1); exit 1; }; }  
3491  fi  fi
3492        fi
3493  else  else
3494    ac_cv_path_GREP=$GREP          pkg_failed=untried
3495  fi  fi
3496    
3497    
 fi  
 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5  
 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }  
  GREP="$ac_cv_path_GREP"  
3498    
3499    if test $pkg_failed = yes; then
3500    
3501  { echo "$as_me:$LINENO: checking for egrep" >&5  if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3502  echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }          _pkg_short_errors_supported=yes
 if test "${ac_cv_path_EGREP+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1  
    then ac_cv_path_EGREP="$GREP -E"  
    else  
      # Extract the first word of "egrep" to use in msg output  
 if test -z "$EGREP"; then  
 set dummy egrep; ac_prog_name=$2  
 if test "${ac_cv_path_EGREP+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
3503  else  else
3504    ac_path_EGREP_found=false          _pkg_short_errors_supported=no
3505  # Loop through the user's path and test for each of PROGNAME-LIST  fi
3506  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR          if test $_pkg_short_errors_supported = yes; then
3507  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin                  libsoup22_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.2"`
3508  do          else
3509    IFS=$as_save_IFS                  libsoup22_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.2"`
3510    test -z "$as_dir" && as_dir=.          fi
3511    for ac_prog in egrep; do          # Put the nasty error message in config.log where it belongs
3512    for ac_exec_ext in '' $ac_executable_extensions; do          echo "$libsoup22_PKG_ERRORS" >&5
     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"  
     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue  
     # Check for GNU ac_path_EGREP and select it if it is found.  
   # Check for GNU $ac_path_EGREP  
 case `"$ac_path_EGREP" --version 2>&1` in  
 *GNU*)  
   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;  
 *)  
   ac_count=0  
   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"  
   while :  
   do  
     cat "conftest.in" "conftest.in" >"conftest.tmp"  
     mv "conftest.tmp" "conftest.in"  
     cp "conftest.in" "conftest.nl"  
     echo 'EGREP' >> "conftest.nl"  
     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break  
     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break  
     ac_count=`expr $ac_count + 1`  
     if test $ac_count -gt ${ac_path_EGREP_max-0}; then  
       # Best one so far, save it but keep looking for a better one  
       ac_cv_path_EGREP="$ac_path_EGREP"  
       ac_path_EGREP_max=$ac_count  
     fi  
     # 10*(2^10) chars as input seems more than enough  
     test $ac_count -gt 10 && break  
   done  
   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;  
 esac  
   
   
     $ac_path_EGREP_found && break 3  
   done  
 done  
3513    
3514  done          { $as_echo "$as_me:$LINENO: result: no" >&5
3515  IFS=$as_save_IFS  $as_echo "no" >&6; }
3516    
3517        { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3518    $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3519    
3520  fi  elif test $pkg_failed = untried; then
3521    
3522  EGREP="$ac_cv_path_EGREP"      { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3523  if test -z "$EGREP"; then  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5  
 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}  
    { (exit 1); exit 1; }; }  
 fi  
3524    
3525  else  else
3526    ac_cv_path_EGREP=$EGREP          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3527  fi          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3528            { $as_echo "$as_me:$LINENO: result: yes" >&5
3529    $as_echo "yes" >&6; }
3530    
3531        EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3532        CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
3533        LIBS="$LIBS $libsoup22_LIBS"
3534    
    fi  
3535  fi  fi
 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5  
 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }  
  EGREP="$ac_cv_path_EGREP"  
3536    
3537    elif test $pkg_failed = untried; then
3538    
 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5  
 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }  
 if test "${ac_cv_header_stdc+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 else  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <stdlib.h>  
 #include <stdarg.h>  
 #include <string.h>  
 #include <float.h>  
3539    
3540  int  pkg_failed=no
3541  main ()  { $as_echo "$as_me:$LINENO: checking for libsoup22" >&5
3542  {  $as_echo_n "checking for libsoup22... " >&6; }
3543    
3544    ;  if test -n "$PKG_CONFIG"; then
3545    return 0;      if test -n "$libsoup22_CFLAGS"; then
3546  }          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3547  _ACEOF      else
3548  rm -f conftest.$ac_objext          if test -n "$PKG_CONFIG" && \
3549  if { (ac_try="$ac_compile"      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3550  case "(($ac_try" in    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  
   (eval "$ac_compile") 2>conftest.er1  
3551    ac_status=$?    ac_status=$?
3552    grep -v '^ *+' conftest.er1 >conftest.err    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553    rm -f conftest.er1    (exit $ac_status); }; then
3554    cat conftest.err >&5    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest.$ac_objext; then  
   ac_cv_header_stdc=yes  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
         ac_cv_header_stdc=no  
 fi  
   
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  
   
 if test $ac_cv_header_stdc = yes; then  
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <string.h>  
   
 _ACEOF  
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  
   $EGREP "memchr" >/dev/null 2>&1; then  
   :  
3555  else  else
3556    ac_cv_header_stdc=no    pkg_failed=yes
 fi  
 rm -f conftest*  
   
3557  fi  fi
3558        fi
 if test $ac_cv_header_stdc = yes; then  
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.  
   cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <stdlib.h>  
   
 _ACEOF  
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  
   $EGREP "free" >/dev/null 2>&1; then  
   :  
3559  else  else
3560    ac_cv_header_stdc=no          pkg_failed=untried
 fi  
 rm -f conftest*  
   
3561  fi  fi
3562    if test -n "$PKG_CONFIG"; then
3563  if test $ac_cv_header_stdc = yes; then      if test -n "$libsoup22_LIBS"; then
3564    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3565    if test "$cross_compiling" = yes; then      else
3566    :          if test -n "$PKG_CONFIG" && \
3567  else      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3568    cat >conftest.$ac_ext <<_ACEOF    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <ctype.h>  
 #include <stdlib.h>  
 #if ((' ' & 0x0FF) == 0x020)  
 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  
 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  
 #else  
 # define ISLOWER(c) \  
                    (('a' <= (c) && (c) <= 'i') \  
                      || ('j' <= (c) && (c) <= 'r') \  
                      || ('s' <= (c) && (c) <= 'z'))  
 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  
 #endif  
   
 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))  
 int  
 main ()  
 {  
   int i;  
   for (i = 0; i < 256; i++)  
     if (XOR (islower (i), ISLOWER (i))  
         || toupper (i) != TOUPPER (i))  
       return 2;  
   return 0;  
 }  
 _ACEOF  
 rm -f conftest$ac_exeext  
 if { (ac_try="$ac_link"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  
   (eval "$ac_link") 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'  
   { (case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  
   (eval "$ac_try") 2>&5  
3569    ac_status=$?    ac_status=$?
3570    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571    (exit $ac_status); }; }; then    (exit $ac_status); }; then
3572    :    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
3573  else  else
3574    echo "$as_me: program exited with status $ac_status" >&5    pkg_failed=yes
 echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
 ( exit $ac_status )  
 ac_cv_header_stdc=no  
3575  fi  fi
3576  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext      fi
3577    else
3578            pkg_failed=untried
3579  fi  fi
3580    
3581    
 fi  
 fi  
 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5  
 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }  
 if test $ac_cv_header_stdc = yes; then  
3582    
3583  cat >>confdefs.h <<\_ACEOF  if test $pkg_failed = yes; then
 #define STDC_HEADERS 1  
 _ACEOF  
3584    
3585    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3586            _pkg_short_errors_supported=yes
3587    else
3588            _pkg_short_errors_supported=no
3589  fi  fi
3590            if test $_pkg_short_errors_supported = yes; then
3591                    libsoup22_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.2"`
3592            else
3593                    libsoup22_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.2"`
3594            fi
3595            # Put the nasty error message in config.log where it belongs
3596            echo "$libsoup22_PKG_ERRORS" >&5
3597    
3598  # On IRIX 5.3, sys/types and inttypes.h are conflicting.          { $as_echo "$as_me:$LINENO: result: no" >&5
3599    $as_echo "no" >&6; }
   
   
   
   
3600    
3601        { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3602    $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3603    
3604    elif test $pkg_failed = untried; then
3605    
3606        { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3607    $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3608    
 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \  
                   inttypes.h stdint.h unistd.h  
 do  
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`  
 { echo "$as_me:$LINENO: checking for $ac_header" >&5  
 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }  
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
3609  else  else
3610    cat >conftest.$ac_ext <<_ACEOF          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3611  /* confdefs.h.  */          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3612  _ACEOF          { $as_echo "$as_me:$LINENO: result: yes" >&5
3613  cat confdefs.h >>conftest.$ac_ext  $as_echo "yes" >&6; }
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_includes_default  
3614    
3615  #include <$ac_header>      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3616  _ACEOF      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
3617  rm -f conftest.$ac_objext      LIBS="$LIBS $libsoup22_LIBS"
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  
   (eval "$ac_compile") 2>conftest.er1  
   ac_status=$?  
   grep -v '^ *+' conftest.er1 >conftest.err  
   rm -f conftest.er1  
   cat conftest.err >&5  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest.$ac_objext; then  
   eval "$as_ac_Header=yes"  
 else  
   echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
3618    
         eval "$as_ac_Header=no"  
3619  fi  fi
3620    
3621  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  else
3622  fi          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS
3623  ac_res=`eval echo '${'$as_ac_Header'}'`          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS
3624                 { echo "$as_me:$LINENO: result: $ac_res" >&5          { $as_echo "$as_me:$LINENO: result: yes" >&5
3625  echo "${ECHO_T}$ac_res" >&6; }  $as_echo "yes" >&6; }
 if test `eval echo '${'$as_ac_Header'}'` = yes; then  
   cat >>confdefs.h <<_ACEOF  
 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  
 _ACEOF  
3626    
3627  fi    EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3628      CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"
3629      LIBS="$LIBS $libsoup24_LIBS"
3630    
3631  done  fi
3632    
3633    # check for gtkhtml-3.14
3634    
3635    pkg_failed=no
3636    { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5
3637    $as_echo_n "checking for libgtkhtml3_14... " >&6; }
3638    
3639  for ac_header in espeak/speak_lib.h  if test -n "$PKG_CONFIG"; then
3640  do      if test -n "$libgtkhtml3_14_CFLAGS"; then
3641  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"
3642  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then      else
3643    { echo "$as_me:$LINENO: checking for $ac_header" >&5          if test -n "$PKG_CONFIG" && \
3644  echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5
3645  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
   echo $ECHO_N "(cached) $ECHO_C" >&6  
 fi  
 ac_res=`eval echo '${'$as_ac_Header'}'`  
                { echo "$as_me:$LINENO: result: $ac_res" >&5  
 echo "${ECHO_T}$ac_res" >&6; }  
 else  
   # Is the header compilable?  
 { echo "$as_me:$LINENO: checking $ac_header usability" >&5  
 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }  
 cat >conftest.$ac_ext <<_ACEOF  
 /* confdefs.h.  */  
 _ACEOF  
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 $ac_includes_default  
 #include <$ac_header>  
 _ACEOF  
 rm -f conftest.$ac_objext  
 if { (ac_try="$ac_compile"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  
   (eval "$ac_compile") 2>conftest.er1  
3646    ac_status=$?    ac_status=$?
3647    grep -v '^ *+' conftest.er1 >conftest.err    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648    rm -f conftest.er1    (exit $ac_status); }; then
3649    cat conftest.err >&5    pkg_cv_libgtkhtml3_14_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null`
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest.$ac_objext; then  
   ac_header_compiler=yes  
3650  else  else
3651    echo "$as_me: failed program was:" >&5    pkg_failed=yes
 sed 's/^/| /' conftest.$ac_ext >&5  
   
         ac_header_compiler=no  
3652  fi  fi
3653        fi
3654  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  else
3655  { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5          pkg_failed=untried
3656  echo "${ECHO_T}$ac_header_compiler" >&6; }  fi
3657    if test -n "$PKG_CONFIG"; then
3658  # Is the header present?      if test -n "$libgtkhtml3_14_LIBS"; then
3659  { echo "$as_me:$LINENO: checking $ac_header presence" >&5          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"
3660  echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }      else
3661  cat >conftest.$ac_ext <<_ACEOF          if test -n "$PKG_CONFIG" && \
3662  /* confdefs.h.  */      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5
3663  _ACEOF    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
 cat confdefs.h >>conftest.$ac_ext  
 cat >>conftest.$ac_ext <<_ACEOF  
 /* end confdefs.h.  */  
 #include <$ac_header>  
 _ACEOF  
 if { (ac_try="$ac_cpp conftest.$ac_ext"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5  
   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1  
3664    ac_status=$?    ac_status=$?
3665    grep -v '^ *+' conftest.er1 >conftest.err    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666    rm -f conftest.er1    (exit $ac_status); }; then
3667    cat conftest.err >&5    pkg_cv_libgtkhtml3_14_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null`
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); } >/dev/null && {  
          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        }; then  
   ac_header_preproc=yes  
3668  else  else
3669    echo "$as_me: failed program was:" >&5    pkg_failed=yes
 sed 's/^/| /' conftest.$ac_ext >&5  
   
   ac_header_preproc=no  
3670  fi  fi
3671        fi
 rm -f conftest.err conftest.$ac_ext  
 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5  
 echo "${ECHO_T}$ac_header_preproc" >&6; }  
   
 # So?  What about this header?  
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in  
   yes:no: )  
     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5  
 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}  
     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5  
 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}  
     ac_header_preproc=yes  
     ;;  
   no:yes:* )  
     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5  
 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}  
     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5  
 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}  
     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5  
 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}  
     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5  
 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}  
     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5  
 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}  
     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5  
 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}  
     ( cat <<\_ASBOX  
 ## ------------------------------- ##  
 ## Report this to till@harbaum.org ##  
 ## ------------------------------- ##  
 _ASBOX  
      ) | sed "s/^/$as_me: WARNING:     /" >&2  
     ;;  
 esac  
 { echo "$as_me:$LINENO: checking for $ac_header" >&5  
 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }  
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then  
   echo $ECHO_N "(cached) $ECHO_C" >&6  
3672  else  else
3673    eval "$as_ac_Header=\$ac_header_preproc"          pkg_failed=untried
3674  fi  fi
 ac_res=`eval echo '${'$as_ac_Header'}'`  
                { echo "$as_me:$LINENO: result: $ac_res" >&5  
 echo "${ECHO_T}$ac_res" >&6; }  
3675    
 fi  
 if test `eval echo '${'$as_ac_Header'}'` = yes; then  
   cat >>confdefs.h <<_ACEOF  
 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1  
 _ACEOF  
3676    
 CFLAGS="$CFLAGS -DESPEAK"  
 LIBS="$LIBS -lespeak"  
3677    
3678  fi  if test $pkg_failed = yes; then
3679    
3680  done  if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3681            _pkg_short_errors_supported=yes
3682    else
3683            _pkg_short_errors_supported=no
3684    fi
3685            if test $_pkg_short_errors_supported = yes; then
3686                    libgtkhtml3_14_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.14"`
3687            else
3688                    libgtkhtml3_14_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.14"`
3689            fi
3690            # Put the nasty error message in config.log where it belongs
3691            echo "$libgtkhtml3_14_PKG_ERRORS" >&5
3692    
3693            { $as_echo "$as_me:$LINENO: result: no" >&5
3694    $as_echo "no" >&6; }
3695    
3696  # check for libsoup    # ok, we can also live with 3.8
3697    
3698  pkg_failed=no  pkg_failed=no
3699  { echo "$as_me:$LINENO: checking for libsoup24" >&5  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
3700  echo $ECHO_N "checking for libsoup24... $ECHO_C" >&6; }  $as_echo_n "checking for libgtkhtml3_8... " >&6; }
3701    
3702  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3703      if test -n "$libsoup24_CFLAGS"; then      if test -n "$libgtkhtml3_8_CFLAGS"; then
3704          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3705      else      else
3706          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3707      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3708    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3709    ac_status=$?    ac_status=$?
3710    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711    (exit $ac_status); }; then    (exit $ac_status); }; then
3712    pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
3713  else  else
3714    pkg_failed=yes    pkg_failed=yes
3715  fi  fi
# Line 4085  else Line 3718  else
3718          pkg_failed=untried          pkg_failed=untried
3719  fi  fi
3720  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3721      if test -n "$libsoup24_LIBS"; then      if test -n "$libgtkhtml3_8_LIBS"; then
3722          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3723      else      else
3724          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3725      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3726    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3727    ac_status=$?    ac_status=$?
3728    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729    (exit $ac_status); }; then    (exit $ac_status); }; then
3730    pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
3731  else  else
3732    pkg_failed=yes    pkg_failed=yes
3733  fi  fi
# Line 4113  else Line 3746  else
3746          _pkg_short_errors_supported=no          _pkg_short_errors_supported=no
3747  fi  fi
3748          if test $_pkg_short_errors_supported = yes; then          if test $_pkg_short_errors_supported = yes; then
3749                  libsoup24_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`                  libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3750          else          else
3751                  libsoup24_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`                  libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3752          fi          fi
3753          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3754          echo "$libsoup24_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3755    
3756            { $as_echo "$as_me:$LINENO: result: no" >&5
3757    $as_echo "no" >&6; }
3758                    { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3759    $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3760       { (exit 1); exit 1; }; }
3761    elif test $pkg_failed = untried; then
3762            { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3763    $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3764       { (exit 1); exit 1; }; }
3765    else
3766            libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3767            libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3768            { $as_echo "$as_me:$LINENO: result: yes" >&5
3769    $as_echo "yes" >&6; }
3770    
3771        CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3772        LIBS="$LIBS $libgtkhtml3_8_LIBS"
3773    
3774    fi
3775    
3776          { echo "$as_me:$LINENO: result: no" >&5  elif test $pkg_failed = untried; then
 echo "${ECHO_T}no" >&6; }  
3777    
3778      # ok, we can also live with 3.8
3779    
3780  pkg_failed=no  pkg_failed=no
3781  { echo "$as_me:$LINENO: checking for libsoup22" >&5  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
3782  echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }  $as_echo_n "checking for libgtkhtml3_8... " >&6; }
3783    
3784  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3785      if test -n "$libsoup22_CFLAGS"; then      if test -n "$libgtkhtml3_8_CFLAGS"; then
3786          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3787      else      else
3788          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3789      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3790    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3791    ac_status=$?    ac_status=$?
3792    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793    (exit $ac_status); }; then    (exit $ac_status); }; then
3794    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
3795  else  else
3796    pkg_failed=yes    pkg_failed=yes
3797  fi  fi
# Line 4147  else Line 3800  else
3800          pkg_failed=untried          pkg_failed=untried
3801  fi  fi
3802  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3803      if test -n "$libsoup22_LIBS"; then      if test -n "$libgtkhtml3_8_LIBS"; then
3804          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3805      else      else
3806          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3807      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3808    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3809    ac_status=$?    ac_status=$?
3810    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811    (exit $ac_status); }; then    (exit $ac_status); }; then
3812    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
3813  else  else
3814    pkg_failed=yes    pkg_failed=yes
3815  fi  fi
# Line 4175  else Line 3828  else
3828          _pkg_short_errors_supported=no          _pkg_short_errors_supported=no
3829  fi  fi
3830          if test $_pkg_short_errors_supported = yes; then          if test $_pkg_short_errors_supported = yes; then
3831                  libsoup22_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.2"`                  libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3832          else          else
3833                  libsoup22_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.2"`                  libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3834          fi          fi
3835          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3836          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
   
         { echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6; }  
   
     { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5  
 echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  
3837    
3838            { $as_echo "$as_me:$LINENO: result: no" >&5
3839    $as_echo "no" >&6; }
3840                    { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3841    $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3842       { (exit 1); exit 1; }; }
3843  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3844            { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3845    $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3846       { (exit 1); exit 1; }; }
3847    else
3848            libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3849            libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3850            { $as_echo "$as_me:$LINENO: result: yes" >&5
3851    $as_echo "yes" >&6; }
3852    
3853        CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3854        LIBS="$LIBS $libgtkhtml3_8_LIBS"
3855    
3856      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5  fi
 echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  
3857    
3858  else  else
3859          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS
3860          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS
3861          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:$LINENO: result: yes" >&5
3862  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
3863    
3864      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"
3865      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"    LIBS="$LIBS $libgtkhtml3_14_LIBS"
     LIBS="$LIBS $libsoup22_LIBS"  
3866    
3867  fi  fi
3868    
3869  elif test $pkg_failed = untried; then  # check for maemo
3870    { $as_echo "$as_me:$LINENO: checking for Maemo" >&5
3871    $as_echo_n "checking for Maemo... " >&6; }
3872    
3873    ac_ext=c
3874    ac_cpp='$CPP $CPPFLAGS'
3875    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3876    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3877    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3878    { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3879    $as_echo_n "checking how to run the C preprocessor... " >&6; }
3880    # On Suns, sometimes $CPP names a directory.
3881    if test -n "$CPP" && test -d "$CPP"; then
3882      CPP=
3883    fi
3884    if test -z "$CPP"; then
3885      if test "${ac_cv_prog_CPP+set}" = set; then
3886      $as_echo_n "(cached) " >&6
3887    else
3888          # Double quotes because CPP needs to be expanded
3889        for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3890        do
3891          ac_preproc_ok=false
3892    for ac_c_preproc_warn_flag in '' yes
3893    do
3894      # Use a header file that comes with gcc, so configuring glibc
3895      # with a fresh cross-compiler works.
3896      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3897      # <limits.h> exists even on freestanding compilers.
3898      # On the NeXT, cc -E runs the code through the compiler's parser,
3899      # not just through cpp. "Syntax error" is here to catch this case.
3900      cat >conftest.$ac_ext <<_ACEOF
3901    /* confdefs.h.  */
3902    _ACEOF
3903    cat confdefs.h >>conftest.$ac_ext
3904    cat >>conftest.$ac_ext <<_ACEOF
3905    /* end confdefs.h.  */
3906    #ifdef __STDC__
3907    # include <limits.h>
3908    #else
3909    # include <assert.h>
3910    #endif
3911                         Syntax error
3912    _ACEOF
3913    if { (ac_try="$ac_cpp conftest.$ac_ext"
3914    case "(($ac_try" in
3915      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916      *) ac_try_echo=$ac_try;;
3917    esac
3918    eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3919    $as_echo "$ac_try_echo") >&5
3920      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3921      ac_status=$?
3922      grep -v '^ *+' conftest.er1 >conftest.err
3923      rm -f conftest.er1
3924      cat conftest.err >&5
3925      $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926      (exit $ac_status); } >/dev/null && {
3927             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3928             test ! -s conftest.err
3929           }; then
3930      :
3931    else
3932      $as_echo "$as_me: failed program was:" >&5
3933    sed 's/^/| /' conftest.$ac_ext >&5
3934    
3935      # Broken: fails on valid input.
3936    continue
3937    fi
3938    
3939  pkg_failed=no  rm -f conftest.err conftest.$ac_ext
 { echo "$as_me:$LINENO: checking for libsoup22" >&5  
 echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }  
3940    
3941  if test -n "$PKG_CONFIG"; then    # OK, works on sane cases.  Now check whether nonexistent headers
3942      if test -n "$libsoup22_CFLAGS"; then    # can be detected and how.
3943          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"    cat >conftest.$ac_ext <<_ACEOF
3944      else  /* confdefs.h.  */
3945          if test -n "$PKG_CONFIG" && \  _ACEOF
3946      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5  cat confdefs.h >>conftest.$ac_ext
3947    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5  cat >>conftest.$ac_ext <<_ACEOF
3948    /* end confdefs.h.  */
3949    #include <ac_nonexistent.h>
3950    _ACEOF
3951    if { (ac_try="$ac_cpp conftest.$ac_ext"
3952    case "(($ac_try" in
3953      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954      *) ac_try_echo=$ac_try;;
3955    esac
3956    eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3957    $as_echo "$ac_try_echo") >&5
3958      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3959    ac_status=$?    ac_status=$?
3960    echo "$as_me:$LINENO: \$? = $ac_status" >&5    grep -v '^ *+' conftest.er1 >conftest.err
3961    (exit $ac_status); }; then    rm -f conftest.er1
3962    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`    cat conftest.err >&5
3963      $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964      (exit $ac_status); } >/dev/null && {
3965             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3966             test ! -s conftest.err
3967           }; then
3968      # Broken: success on invalid input.
3969    continue
3970  else  else
3971    pkg_failed=yes    $as_echo "$as_me: failed program was:" >&5
3972    sed 's/^/| /' conftest.$ac_ext >&5
3973    
3974      # Passes both tests.
3975    ac_preproc_ok=:
3976    break
3977  fi  fi
3978      fi  
3979    rm -f conftest.err conftest.$ac_ext
3980    
3981    done
3982    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3983    rm -f conftest.err conftest.$ac_ext
3984    if $ac_preproc_ok; then
3985      break
3986    fi
3987    
3988        done
3989        ac_cv_prog_CPP=$CPP
3990    
3991    fi
3992      CPP=$ac_cv_prog_CPP
3993  else  else
3994          pkg_failed=untried    ac_cv_prog_CPP=$CPP
3995  fi  fi
3996  if test -n "$PKG_CONFIG"; then  { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3997      if test -n "$libsoup22_LIBS"; then  $as_echo "$CPP" >&6; }
3998          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"  ac_preproc_ok=false
3999      else  for ac_c_preproc_warn_flag in '' yes
4000          if test -n "$PKG_CONFIG" && \  do
4001      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5    # Use a header file that comes with gcc, so configuring glibc
4002    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    # with a fresh cross-compiler works.
4003      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4004      # <limits.h> exists even on freestanding compilers.
4005      # On the NeXT, cc -E runs the code through the compiler's parser,
4006      # not just through cpp. "Syntax error" is here to catch this case.
4007      cat >conftest.$ac_ext <<_ACEOF
4008    /* confdefs.h.  */
4009    _ACEOF
4010    cat confdefs.h >>conftest.$ac_ext
4011    cat >>conftest.$ac_ext <<_ACEOF
4012    /* end confdefs.h.  */
4013    #ifdef __STDC__
4014    # include <limits.h>
4015    #else
4016    # include <assert.h>
4017    #endif
4018                         Syntax error
4019    _ACEOF
4020    if { (ac_try="$ac_cpp conftest.$ac_ext"
4021    case "(($ac_try" in
4022      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4023      *) ac_try_echo=$ac_try;;
4024    esac
4025    eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4026    $as_echo "$ac_try_echo") >&5
4027      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4028    ac_status=$?    ac_status=$?
4029    echo "$as_me:$LINENO: \$? = $ac_status" >&5    grep -v '^ *+' conftest.er1 >conftest.err
4030    (exit $ac_status); }; then    rm -f conftest.er1
4031    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`    cat conftest.err >&5
4032      $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033      (exit $ac_status); } >/dev/null && {
4034             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4035             test ! -s conftest.err
4036           }; then
4037      :
4038  else  else
4039    pkg_failed=yes    $as_echo "$as_me: failed program was:" >&5
4040    sed 's/^/| /' conftest.$ac_ext >&5
4041    
4042      # Broken: fails on valid input.
4043    continue
4044  fi  fi
4045      fi  
4046    rm -f conftest.err conftest.$ac_ext
4047    
4048      # OK, works on sane cases.  Now check whether nonexistent headers
4049      # can be detected and how.
4050      cat >conftest.$ac_ext <<_ACEOF
4051    /* confdefs.h.  */
4052    _ACEOF
4053    cat confdefs.h >>conftest.$ac_ext
4054    cat >>conftest.$ac_ext <<_ACEOF
4055    /* end confdefs.h.  */
4056    #include <ac_nonexistent.h>
4057    _ACEOF
4058    if { (ac_try="$ac_cpp conftest.$ac_ext"
4059    case "(($ac_try" in
4060      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061      *) ac_try_echo=$ac_try;;
4062    esac
4063    eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4064    $as_echo "$ac_try_echo") >&5
4065      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4066      ac_status=$?
4067      grep -v '^ *+' conftest.er1 >conftest.err
4068      rm -f conftest.er1
4069      cat conftest.err >&5
4070      $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071      (exit $ac_status); } >/dev/null && {
4072             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4073             test ! -s conftest.err
4074           }; then
4075      # Broken: success on invalid input.
4076    continue
4077    else
4078      $as_echo "$as_me: failed program was:" >&5
4079    sed 's/^/| /' conftest.$ac_ext >&5
4080    
4081      # Passes both tests.
4082    ac_preproc_ok=:
4083    break
4084    fi
4085    
4086    rm -f conftest.err conftest.$ac_ext
4087    
4088    done
4089    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4090    rm -f conftest.err conftest.$ac_ext
4091    if $ac_preproc_ok; then
4092      :
4093  else  else
4094          pkg_failed=untried    { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4095    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4096    { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4097    See \`config.log' for more details." >&5
4098    $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4099    See \`config.log' for more details." >&2;}
4100       { (exit 1); exit 1; }; }; }
4101  fi  fi
4102    
4103    ac_ext=c
4104    ac_cpp='$CPP $CPPFLAGS'
4105    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4106    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4107    ac_compiler_gnu=$ac_cv_c_compiler_gnu
4108    
4109    
4110  if test $pkg_failed = yes; then  { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4111    $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4112    if test "${ac_cv_path_GREP+set}" = set; then
4113      $as_echo_n "(cached) " >&6
4114    else
4115      if test -z "$GREP"; then
4116      ac_path_GREP_found=false
4117      # Loop through the user's path and test for each of PROGNAME-LIST
4118      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4119    for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4120    do
4121      IFS=$as_save_IFS
4122      test -z "$as_dir" && as_dir=.
4123      for ac_prog in grep ggrep; do
4124        for ac_exec_ext in '' $ac_executable_extensions; do
4125          ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4126          { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4127    # Check for GNU ac_path_GREP and select it if it is found.
4128      # Check for GNU $ac_path_GREP
4129    case `"$ac_path_GREP" --version 2>&1` in
4130    *GNU*)
4131      ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4132    *)
4133      ac_count=0
4134      $as_echo_n 0123456789 >"conftest.in"
4135      while :
4136      do
4137        cat "conftest.in" "conftest.in" >"conftest.tmp"
4138        mv "conftest.tmp" "conftest.in"
4139        cp "conftest.in" "conftest.nl"
4140        $as_echo 'GREP' >> "conftest.nl"
4141        "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4142        diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4143        ac_count=`expr $ac_count + 1`
4144        if test $ac_count -gt ${ac_path_GREP_max-0}; then
4145          # Best one so far, save it but keep looking for a better one
4146          ac_cv_path_GREP="$ac_path_GREP"
4147          ac_path_GREP_max=$ac_count
4148        fi
4149        # 10*(2^10) chars as input seems more than enough
4150        test $ac_count -gt 10 && break
4151      done
4152      rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4153    esac
4154    
4155  if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then        $ac_path_GREP_found && break 3
4156          _pkg_short_errors_supported=yes      done
4157      done
4158    done
4159    IFS=$as_save_IFS
4160      if test -z "$ac_cv_path_GREP"; then
4161        { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4162    $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4163       { (exit 1); exit 1; }; }
4164      fi
4165  else  else
4166          _pkg_short_errors_supported=no    ac_cv_path_GREP=$GREP
4167  fi  fi
         if test $_pkg_short_errors_supported = yes; then  
                 libsoup22_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.2"`  
         else  
                 libsoup22_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.2"`  
         fi  
         # Put the nasty error message in config.log where it belongs  
         echo "$libsoup22_PKG_ERRORS" >&5  
   
         { echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6; }  
4168    
4169      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5  fi
4170  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4171    $as_echo "$ac_cv_path_GREP" >&6; }
4172  elif test $pkg_failed = untried; then   GREP="$ac_cv_path_GREP"
4173    
     { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5  
 echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  
4174    
4175    { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4176    $as_echo_n "checking for egrep... " >&6; }
4177    if test "${ac_cv_path_EGREP+set}" = set; then
4178      $as_echo_n "(cached) " >&6
4179  else  else
4180          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4181          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS     then ac_cv_path_EGREP="$GREP -E"
4182          { echo "$as_me:$LINENO: result: yes" >&5     else
4183  echo "${ECHO_T}yes" >&6; }       if test -z "$EGREP"; then
4184      ac_path_EGREP_found=false
4185      # Loop through the user's path and test for each of PROGNAME-LIST
4186      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4187    for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4188    do
4189      IFS=$as_save_IFS
4190      test -z "$as_dir" && as_dir=.
4191      for ac_prog in egrep; do
4192        for ac_exec_ext in '' $ac_executable_extensions; do
4193          ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4194          { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4195    # Check for GNU ac_path_EGREP and select it if it is found.
4196      # Check for GNU $ac_path_EGREP
4197    case `"$ac_path_EGREP" --version 2>&1` in
4198    *GNU*)
4199      ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4200    *)
4201      ac_count=0
4202      $as_echo_n 0123456789 >"conftest.in"
4203      while :
4204      do
4205        cat "conftest.in" "conftest.in" >"conftest.tmp"
4206        mv "conftest.tmp" "conftest.in"
4207        cp "conftest.in" "conftest.nl"
4208        $as_echo 'EGREP' >> "conftest.nl"
4209        "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4210        diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4211        ac_count=`expr $ac_count + 1`
4212        if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4213          # Best one so far, save it but keep looking for a better one
4214          ac_cv_path_EGREP="$ac_path_EGREP"
4215          ac_path_EGREP_max=$ac_count
4216        fi
4217        # 10*(2^10) chars as input seems more than enough
4218        test $ac_count -gt 10 && break
4219      done
4220      rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4221    esac
4222    
4223      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"        $ac_path_EGREP_found && break 3
4224      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"      done
4225      LIBS="$LIBS $libsoup22_LIBS"    done
4226    done
4227    IFS=$as_save_IFS
4228      if test -z "$ac_cv_path_EGREP"; then
4229        { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4230    $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4231       { (exit 1); exit 1; }; }
4232      fi
4233    else
4234      ac_cv_path_EGREP=$EGREP
4235    fi
4236    
4237       fi
4238  fi  fi
4239    { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4240    $as_echo "$ac_cv_path_EGREP" >&6; }
4241     EGREP="$ac_cv_path_EGREP"
4242    
4243    
4244    { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4245    $as_echo_n "checking for ANSI C header files... " >&6; }
4246    if test "${ac_cv_header_stdc+set}" = set; then
4247      $as_echo_n "(cached) " >&6
4248  else  else
4249          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS    cat >conftest.$ac_ext <<_ACEOF
4250          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS  /* confdefs.h.  */
4251          { echo "$as_me:$LINENO: result: yes" >&5  _ACEOF
4252  echo "${ECHO_T}yes" >&6; }  cat confdefs.h >>conftest.$ac_ext
4253    cat >>conftest.$ac_ext <<_ACEOF
4254    /* end confdefs.h.  */
4255    #include <stdlib.h>
4256    #include <stdarg.h>
4257    #include <string.h>
4258    #include <float.h>
4259    
4260    EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"  int
4261    CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"  main ()
4262    LIBS="$LIBS $libsoup24_LIBS"  {
4263    
4264      ;
4265      return 0;
4266    }
4267    _ACEOF
4268    rm -f conftest.$ac_objext
4269    if { (ac_try="$ac_compile"
4270    case "(($ac_try" in
4271      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4272      *) ac_try_echo=$ac_try;;
4273    esac
4274    eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4275    $as_echo "$ac_try_echo") >&5
4276      (eval "$ac_compile") 2>conftest.er1
4277      ac_status=$?
4278      grep -v '^ *+' conftest.er1 >conftest.err
4279      rm -f conftest.er1
4280      cat conftest.err >&5
4281      $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282      (exit $ac_status); } && {
4283             test -z "$ac_c_werror_flag" ||
4284             test ! -s conftest.err
4285           } && test -s conftest.$ac_objext; then
4286      ac_cv_header_stdc=yes
4287    else
4288      $as_echo "$as_me: failed program was:" >&5
4289    sed 's/^/| /' conftest.$ac_ext >&5
4290    
4291            ac_cv_header_stdc=no
4292  fi  fi
4293    
4294  # check for gtkhtml-3.14  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4295    
4296  pkg_failed=no  if test $ac_cv_header_stdc = yes; then
4297  { echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4298  echo $ECHO_N "checking for libgtkhtml3_14... $ECHO_C" >&6; }    cat >conftest.$ac_ext <<_ACEOF
4299    /* confdefs.h.  */
4300    _ACEOF
4301    cat confdefs.h >>conftest.$ac_ext
4302    cat >>conftest.$ac_ext <<_ACEOF
4303    /* end confdefs.h.  */
4304    #include <string.h>
4305    
4306  if test -n "$PKG_CONFIG"; then  _ACEOF
4307      if test -n "$libgtkhtml3_14_CFLAGS"; then  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4308          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"    $EGREP "memchr" >/dev/null 2>&1; then
4309      else    :
         if test -n "$PKG_CONFIG" && \  
     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5  
   ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; then  
   pkg_cv_libgtkhtml3_14_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null`  
 else  
   pkg_failed=yes  
 fi  
     fi  
 else  
         pkg_failed=untried  
 fi  
 if test -n "$PKG_CONFIG"; then  
     if test -n "$libgtkhtml3_14_LIBS"; then  
         pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"  
     else  
         if test -n "$PKG_CONFIG" && \  
     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5  
   ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; then  
   pkg_cv_libgtkhtml3_14_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null`  
 else  
   pkg_failed=yes  
 fi  
     fi  
4310  else  else
4311          pkg_failed=untried    ac_cv_header_stdc=no
4312  fi  fi
4313    rm -f conftest*
4314    
4315    fi
4316    
4317    if test $ac_cv_header_stdc = yes; then
4318      # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4319      cat >conftest.$ac_ext <<_ACEOF
4320    /* confdefs.h.  */
4321    _ACEOF
4322    cat confdefs.h >>conftest.$ac_ext
4323    cat >>conftest.$ac_ext <<_ACEOF
4324    /* end confdefs.h.  */
4325    #include <stdlib.h>
4326    
4327  if test $pkg_failed = yes; then  _ACEOF
4328    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4329  if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then    $EGREP "free" >/dev/null 2>&1; then
4330          _pkg_short_errors_supported=yes    :
4331  else  else
4332          _pkg_short_errors_supported=no    ac_cv_header_stdc=no
4333  fi  fi
4334          if test $_pkg_short_errors_supported = yes; then  rm -f conftest*
                 libgtkhtml3_14_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.14"`  
         else  
                 libgtkhtml3_14_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.14"`  
         fi  
         # Put the nasty error message in config.log where it belongs  
         echo "$libgtkhtml3_14_PKG_ERRORS" >&5  
   
         { echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6; }  
4335    
4336    # ok, we can also live with 3.8  fi
4337    
4338  pkg_failed=no  if test $ac_cv_header_stdc = yes; then
4339  { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4340  echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }    if test "$cross_compiling" = yes; then
4341      :
4342    else
4343      cat >conftest.$ac_ext <<_ACEOF
4344    /* confdefs.h.  */
4345    _ACEOF
4346    cat confdefs.h >>conftest.$ac_ext
4347    cat >>conftest.$ac_ext <<_ACEOF
4348    /* end confdefs.h.  */
4349    #include <ctype.h>
4350    #include <stdlib.h>
4351    #if ((' ' & 0x0FF) == 0x020)
4352    # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4353    # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4354    #else
4355    # define ISLOWER(c) \
4356                       (('a' <= (c) && (c) <= 'i') \
4357                         || ('j' <= (c) && (c) <= 'r') \
4358                         || ('s' <= (c) && (c) <= 'z'))
4359    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4360    #endif
4361    
4362  if test -n "$PKG_CONFIG"; then  #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4363      if test -n "$libgtkhtml3_8_CFLAGS"; then  int
4364          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"  main ()
4365      else  {
4366          if test -n "$PKG_CONFIG" && \    int i;
4367      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5    for (i = 0; i < 256; i++)
4368    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5      if (XOR (islower (i), ISLOWER (i))
4369            || toupper (i) != TOUPPER (i))
4370          return 2;
4371      return 0;
4372    }
4373    _ACEOF
4374    rm -f conftest$ac_exeext
4375    if { (ac_try="$ac_link"
4376    case "(($ac_try" in
4377      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4378      *) ac_try_echo=$ac_try;;
4379    esac
4380    eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4381    $as_echo "$ac_try_echo") >&5
4382      (eval "$ac_link") 2>&5
4383    ac_status=$?    ac_status=$?
4384    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385    (exit $ac_status); }; then    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4386    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`    { (case "(($ac_try" in
4387  else    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4388    pkg_failed=yes    *) ac_try_echo=$ac_try;;
4389  fi  esac
4390      fi  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4391  else  $as_echo "$ac_try_echo") >&5
4392          pkg_failed=untried    (eval "$ac_try") 2>&5
 fi  
 if test -n "$PKG_CONFIG"; then  
     if test -n "$libgtkhtml3_8_LIBS"; then  
         pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"  
     else  
         if test -n "$PKG_CONFIG" && \  
     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5  
   ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5  
4393    ac_status=$?    ac_status=$?
4394    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395    (exit $ac_status); }; then    (exit $ac_status); }; }; then
4396    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`    :
4397  else  else
4398    pkg_failed=yes    $as_echo "$as_me: program exited with status $ac_status" >&5
4399    $as_echo "$as_me: failed program was:" >&5
4400    sed 's/^/| /' conftest.$ac_ext >&5
4401    
4402    ( exit $ac_status )
4403    ac_cv_header_stdc=no
4404  fi  fi
4405      fi  rm -rf conftest.dSYM
4406  else  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
         pkg_failed=untried  
4407  fi  fi
4408    
4409    
4410    fi
4411    fi
4412    { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4413    $as_echo "$ac_cv_header_stdc" >&6; }
4414    if test $ac_cv_header_stdc = yes; then
4415    
4416  if test $pkg_failed = yes; then  cat >>confdefs.h <<\_ACEOF
4417    #define STDC_HEADERS 1
4418    _ACEOF
4419    
 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then  
         _pkg_short_errors_supported=yes  
 else  
         _pkg_short_errors_supported=no  
4420  fi  fi
         if test $_pkg_short_errors_supported = yes; then  
                 libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`  
         else  
                 libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`  
         fi  
         # Put the nasty error message in config.log where it belongs  
         echo "$libgtkhtml3_8_PKG_ERRORS" >&5  
   
         { echo "$as_me:$LINENO: result: no" >&5  
 echo "${ECHO_T}no" >&6; }  
                 { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5  
 echo "$as_me: error: libgtkhtml-3 missing" >&2;}  
    { (exit 1); exit 1; }; }  
 elif test $pkg_failed = untried; then  
         { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5  
 echo "$as_me: error: libgtkhtml-3 missing" >&2;}  
    { (exit 1); exit 1; }; }  
 else  
         libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS  
         libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS  
         { echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6; }  
4421    
4422      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"  # On IRIX 5.3, sys/types and inttypes.h are conflicting.
     LIBS="$LIBS $libgtkhtml3_8_LIBS"  
4423    
 fi  
4424    
 elif test $pkg_failed = untried; then  
4425    
   # ok, we can also live with 3.8  
4426    
 pkg_failed=no  
 { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  
 echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }  
4427    
 if test -n "$PKG_CONFIG"; then  
     if test -n "$libgtkhtml3_8_CFLAGS"; then  
         pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"  
     else  
         if test -n "$PKG_CONFIG" && \  
     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5  
   ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; then  
   pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`  
 else  
   pkg_failed=yes  
 fi  
     fi  
 else  
         pkg_failed=untried  
 fi  
 if test -n "$PKG_CONFIG"; then  
     if test -n "$libgtkhtml3_8_LIBS"; then  
         pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"  
     else  
         if test -n "$PKG_CONFIG" && \  
     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5  
   ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; then  
   pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`  
 else  
   pkg_failed=yes  
 fi  
     fi  
 else  
         pkg_failed=untried  
 fi  
4428    
4429    
4430    
 if test $pkg_failed = yes; then  
4431    
4432  if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4433          _pkg_short_errors_supported=yes                    inttypes.h stdint.h unistd.h
4434    do
4435    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4436    { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4437    $as_echo_n "checking for $ac_header... " >&6; }
4438    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4439      $as_echo_n "(cached) " >&6
4440  else  else
4441          _pkg_short_errors_supported=no    cat >conftest.$ac_ext <<_ACEOF
4442  fi  /* confdefs.h.  */
4443          if test $_pkg_short_errors_supported = yes; then  _ACEOF
4444                  libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`  cat confdefs.h >>conftest.$ac_ext
4445          else  cat >>conftest.$ac_ext <<_ACEOF
4446                  libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`  /* end confdefs.h.  */
4447          fi  $ac_includes_default
         # Put the nasty error message in config.log where it belongs  
         echo "$libgtkhtml3_8_PKG_ERRORS" >&5  
4448    
4449          { echo "$as_me:$LINENO: result: no" >&5  #include <$ac_header>
4450  echo "${ECHO_T}no" >&6; }  _ACEOF
4451                  { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5  rm -f conftest.$ac_objext
4452  echo "$as_me: error: libgtkhtml-3 missing" >&2;}  if { (ac_try="$ac_compile"
4453     { (exit 1); exit 1; }; }  case "(($ac_try" in
4454  elif test $pkg_failed = untried; then    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4455          { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5    *) ac_try_echo=$ac_try;;
4456  echo "$as_me: error: libgtkhtml-3 missing" >&2;}  esac
4457     { (exit 1); exit 1; }; }  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4458    $as_echo "$ac_try_echo") >&5
4459      (eval "$ac_compile") 2>conftest.er1
4460      ac_status=$?
4461      grep -v '^ *+' conftest.er1 >conftest.err
4462      rm -f conftest.er1
4463      cat conftest.err >&5
4464      $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465      (exit $ac_status); } && {
4466             test -z "$ac_c_werror_flag" ||
4467             test ! -s conftest.err
4468           } && test -s conftest.$ac_objext; then
4469      eval "$as_ac_Header=yes"
4470  else  else
4471          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS    $as_echo "$as_me: failed program was:" >&5
4472          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS  sed 's/^/| /' conftest.$ac_ext >&5
         { echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6; }  
4473    
4474      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"          eval "$as_ac_Header=no"
4475      LIBS="$LIBS $libgtkhtml3_8_LIBS"  fi
4476    
4477    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4478  fi  fi
4479    ac_res=`eval 'as_val=${'$as_ac_Header'}
4480                     $as_echo "$as_val"'`
4481                   { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4482    $as_echo "$ac_res" >&6; }
4483    as_val=`eval 'as_val=${'$as_ac_Header'}
4484                     $as_echo "$as_val"'`
4485       if test "x$as_val" = x""yes; then
4486      cat >>confdefs.h <<_ACEOF
4487    #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4488    _ACEOF
4489    
4490  else  fi
         libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS  
         libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS  
         { echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6; }  
4491    
4492    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"  done
   LIBS="$LIBS $libgtkhtml3_14_LIBS"  
4493    
 fi  
4494    
 # check for maemo  
 { echo "$as_me:$LINENO: checking for Maemo" >&5  
 echo $ECHO_N "checking for Maemo... $ECHO_C" >&6; }  
4495  if test -n "$PKG_CONFIG" && \  if test -n "$PKG_CONFIG" && \
4496      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5
4497    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
4498    ac_status=$?    ac_status=$?
4499    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500    (exit $ac_status); }; then    (exit $ac_status); }; then
4501    
4502    MAEMO="yes"    MAEMO="yes"
4503    { echo "$as_me:$LINENO: result: yes" >&5    { $as_echo "$as_me:$LINENO: result: yes" >&5
4504  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
4505    
4506    
4507  pkg_failed=no  pkg_failed=no
4508  { echo "$as_me:$LINENO: checking for hildon" >&5  { $as_echo "$as_me:$LINENO: checking for hildon" >&5
4509  echo $ECHO_N "checking for hildon... $ECHO_C" >&6; }  $as_echo_n "checking for hildon... " >&6; }
4510    
4511  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4512      if test -n "$hildon_CFLAGS"; then      if test -n "$hildon_CFLAGS"; then
4513          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"
4514      else      else
4515          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4516      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
4517    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4518    ac_status=$?    ac_status=$?
4519    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520    (exit $ac_status); }; then    (exit $ac_status); }; then
4521    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
4522  else  else
# Line 4579  if test -n "$PKG_CONFIG"; then Line 4531  if test -n "$PKG_CONFIG"; then
4531          pkg_cv_hildon_LIBS="$hildon_LIBS"          pkg_cv_hildon_LIBS="$hildon_LIBS"
4532      else      else
4533          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4534      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
4535    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4536    ac_status=$?    ac_status=$?
4537    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538    (exit $ac_status); }; then    (exit $ac_status); }; then
4539    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
4540  else  else
# Line 4610  fi Line 4562  fi
4562          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4563          echo "$hildon_PKG_ERRORS" >&5          echo "$hildon_PKG_ERRORS" >&5
4564    
4565          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:$LINENO: result: no" >&5
4566  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
4567                  { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5                  { { $as_echo "$as_me:$LINENO: error: hildon-1 missing" >&5
4568  echo "$as_me: error: hildon-1 missing" >&2;}  $as_echo "$as_me: error: hildon-1 missing" >&2;}
4569     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4570  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4571          { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5          { { $as_echo "$as_me:$LINENO: error: hildon-1 missing" >&5
4572  echo "$as_me: error: hildon-1 missing" >&2;}  $as_echo "$as_me: error: hildon-1 missing" >&2;}
4573     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4574  else  else
4575          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS
4576          hildon_LIBS=$pkg_cv_hildon_LIBS          hildon_LIBS=$pkg_cv_hildon_LIBS
4577          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:$LINENO: result: yes" >&5
4578  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
4579          :          :
4580  fi  fi
4581    CFLAGS="$CFLAGS  -DUSE_MAEMO $hildon_CFLAGS"    CFLAGS="$CFLAGS  -DUSE_MAEMO $hildon_CFLAGS"
# Line 4631  fi Line 4583  fi
4583    
4584    
4585  pkg_failed=no  pkg_failed=no
4586  { echo "$as_me:$LINENO: checking for osso" >&5  { $as_echo "$as_me:$LINENO: checking for osso" >&5
4587  echo $ECHO_N "checking for osso... $ECHO_C" >&6; }  $as_echo_n "checking for osso... " >&6; }
4588    
4589  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4590      if test -n "$osso_CFLAGS"; then      if test -n "$osso_CFLAGS"; then
4591          pkg_cv_osso_CFLAGS="$osso_CFLAGS"          pkg_cv_osso_CFLAGS="$osso_CFLAGS"
4592      else      else
4593          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4594      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
4595    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4596    ac_status=$?    ac_status=$?
4597    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598    (exit $ac_status); }; then    (exit $ac_status); }; then
4599    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`
4600  else  else
# Line 4657  if test -n "$PKG_CONFIG"; then Line 4609  if test -n "$PKG_CONFIG"; then
4609          pkg_cv_osso_LIBS="$osso_LIBS"          pkg_cv_osso_LIBS="$osso_LIBS"
4610      else      else
4611          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4612      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
4613    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4614    ac_status=$?    ac_status=$?
4615    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616    (exit $ac_status); }; then    (exit $ac_status); }; then
4617    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`
4618  else  else
# Line 4688  fi Line 4640  fi
4640          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4641          echo "$osso_PKG_ERRORS" >&5          echo "$osso_PKG_ERRORS" >&5
4642    
4643          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:$LINENO: result: no" >&5
4644  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
4645                  { { echo "$as_me:$LINENO: error: libosso missing" >&5                  { { $as_echo "$as_me:$LINENO: error: libosso missing" >&5
4646  echo "$as_me: error: libosso missing" >&2;}  $as_echo "$as_me: error: libosso missing" >&2;}
4647     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4648  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4649          { { echo "$as_me:$LINENO: error: libosso missing" >&5          { { $as_echo "$as_me:$LINENO: error: libosso missing" >&5
4650  echo "$as_me: error: libosso missing" >&2;}  $as_echo "$as_me: error: libosso missing" >&2;}
4651     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4652  else  else
4653          osso_CFLAGS=$pkg_cv_osso_CFLAGS          osso_CFLAGS=$pkg_cv_osso_CFLAGS
4654          osso_LIBS=$pkg_cv_osso_LIBS          osso_LIBS=$pkg_cv_osso_LIBS
4655          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:$LINENO: result: yes" >&5
4656  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
4657          :          :
4658  fi  fi
4659    CFLAGS="$CFLAGS $osso_CFLAGS"    CFLAGS="$CFLAGS $osso_CFLAGS"
# Line 4709  fi Line 4661  fi
4661    
4662    
4663  pkg_failed=no  pkg_failed=no
4664  { echo "$as_me:$LINENO: checking for hildon_fm_2" >&5  { $as_echo "$as_me:$LINENO: checking for hildon_fm_2" >&5
4665  echo $ECHO_N "checking for hildon_fm_2... $ECHO_C" >&6; }  $as_echo_n "checking for hildon_fm_2... " >&6; }
4666    
4667  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4668      if test -n "$hildon_fm_2_CFLAGS"; then      if test -n "$hildon_fm_2_CFLAGS"; then
4669          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"
4670      else      else
4671          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4672      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
4673    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4674    ac_status=$?    ac_status=$?
4675    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676    (exit $ac_status); }; then    (exit $ac_status); }; then
4677    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`
4678  else  else
# Line 4735  if test -n "$PKG_CONFIG"; then Line 4687  if test -n "$PKG_CONFIG"; then
4687          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"
4688      else      else
4689          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4690      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
4691    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4692    ac_status=$?    ac_status=$?
4693    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694    (exit $ac_status); }; then    (exit $ac_status); }; then
4695    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`
4696  else  else
# Line 4766  fi Line 4718  fi
4718          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4719          echo "$hildon_fm_2_PKG_ERRORS" >&5          echo "$hildon_fm_2_PKG_ERRORS" >&5
4720    
4721          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:$LINENO: result: no" >&5
4722  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
4723                  { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5                  { { $as_echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
4724  echo "$as_me: error: hildon-fm-2 missing" >&2;}  $as_echo "$as_me: error: hildon-fm-2 missing" >&2;}
4725     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4726  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4727          { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5          { { $as_echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
4728  echo "$as_me: error: hildon-fm-2 missing" >&2;}  $as_echo "$as_me: error: hildon-fm-2 missing" >&2;}
4729     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4730  else  else
4731          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS
4732          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS
4733          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:$LINENO: result: yes" >&5
4734  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
4735          :          :
4736  fi  fi
4737    CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"    CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"
# Line 4788  fi Line 4740  fi
4740    # check for sqlite3 for maemo mapper interface    # check for sqlite3 for maemo mapper interface
4741    
4742  pkg_failed=no  pkg_failed=no
4743  { echo "$as_me:$LINENO: checking for sqlite3" >&5  { $as_echo "$as_me:$LINENO: checking for sqlite3" >&5
4744  echo $ECHO_N "checking for sqlite3... $ECHO_C" >&6; }  $as_echo_n "checking for sqlite3... " >&6; }
4745    
4746  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4747      if test -n "$sqlite3_CFLAGS"; then      if test -n "$sqlite3_CFLAGS"; then
4748          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"
4749      else      else
4750          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4751      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
4752    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4753    ac_status=$?    ac_status=$?
4754    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755    (exit $ac_status); }; then    (exit $ac_status); }; then
4756    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
4757  else  else
# Line 4814  if test -n "$PKG_CONFIG"; then Line 4766  if test -n "$PKG_CONFIG"; then
4766          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"
4767      else      else
4768          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4769      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
4770    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
4771    ac_status=$?    ac_status=$?
4772    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773    (exit $ac_status); }; then    (exit $ac_status); }; then
4774    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
4775  else  else
# Line 4845  fi Line 4797  fi
4797          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4798          echo "$sqlite3_PKG_ERRORS" >&5          echo "$sqlite3_PKG_ERRORS" >&5
4799    
4800          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:$LINENO: result: no" >&5
4801  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
4802                  { { echo "$as_me:$LINENO: error: sqlite3 missing" >&5                  { { $as_echo "$as_me:$LINENO: error: sqlite3 missing" >&5
4803  echo "$as_me: error: sqlite3 missing" >&2;}  $as_echo "$as_me: error: sqlite3 missing" >&2;}
4804     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4805  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4806          { { echo "$as_me:$LINENO: error: sqlite3 missing" >&5          { { $as_echo "$as_me:$LINENO: error: sqlite3 missing" >&5
4807  echo "$as_me: error: sqlite3 missing" >&2;}  $as_echo "$as_me: error: sqlite3 missing" >&2;}
4808     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4809  else  else
4810          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS
4811          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS
4812          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:$LINENO: result: yes" >&5
4813  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
4814          :          :
4815  fi  fi
4816    CFLAGS="$CFLAGS $sqlite3_CFLAGS"    CFLAGS="$CFLAGS $sqlite3_CFLAGS"
# Line 4867  fi Line 4819  fi
4819    # check for hildon-help    # check for hildon-help
4820    
4821  pkg_failed=no  pkg_failed=no
4822  { echo "$as_me:$LINENO: checking for hildon_help" >&5  { $as_echo "$as_me:$LINENO: checking for hildon_help" >&5
4823  echo $ECHO_N "checking for hildon_help... $ECHO_C" >&6; }  $as_echo_n "checking for hildon_help... " >&6; }
4824    
4825  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4826      if test -n "$hildon_help_CFLAGS"; then      if test -n "$hildon_help_CFLAGS"; then
4827          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"
4828      else      else
4829          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4830      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5
4831    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4832    ac_status=$?    ac_status=$?
4833    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834    (exit $ac_status); }; then    (exit $ac_status); }; then
4835    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`
4836  else  else
# Line 4893  if test -n "$PKG_CONFIG"; then Line 4845  if test -n "$PKG_CONFIG"; then
4845          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"
4846      else      else
4847          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4848      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5
4849    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
4850    ac_status=$?    ac_status=$?
4851    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852    (exit $ac_status); }; then    (exit $ac_status); }; then
4853    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`
4854  else  else
# Line 4924  fi Line 4876  fi
4876          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4877          echo "$hildon_help_PKG_ERRORS" >&5          echo "$hildon_help_PKG_ERRORS" >&5
4878    
4879          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:$LINENO: result: no" >&5
4880  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
4881    
4882      { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5      { $as_echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5
4883  echo "$as_me: WARNING: hildon-help missing" >&6;}  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}
4884    
4885  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4886    
4887      { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5      { $as_echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5
4888  echo "$as_me: WARNING: hildon-help missing" >&6;}  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}
4889    
4890  else  else
4891          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS
4892          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS
4893          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:$LINENO: result: yes" >&5
4894  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
4895    
4896      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"
4897      LIBS="$LIBS $hildon_help_LIBS"      LIBS="$LIBS $hildon_help_LIBS"
# Line 4949  fi Line 4901  fi
4901    # prefer gpsbt over liblocation as we got complaints regarding liblocation    # prefer gpsbt over liblocation as we got complaints regarding liblocation
4902    # stability    # stability
4903    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4904      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4905    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4906    ac_status=$?    ac_status=$?
4907    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908    (exit $ac_status); }; then    (exit $ac_status); }; then
4909    
4910    
4911  pkg_failed=no  pkg_failed=no
4912  { echo "$as_me:$LINENO: checking for gpsbt" >&5  { $as_echo "$as_me:$LINENO: checking for gpsbt" >&5
4913  echo $ECHO_N "checking for gpsbt... $ECHO_C" >&6; }  $as_echo_n "checking for gpsbt... " >&6; }
4914    
4915  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4916      if test -n "$gpsbt_CFLAGS"; then      if test -n "$gpsbt_CFLAGS"; then
4917          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"
4918      else      else
4919          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4920      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4921    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4922    ac_status=$?    ac_status=$?
4923    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924    (exit $ac_status); }; then    (exit $ac_status); }; then
4925    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`
4926  else  else
# Line 4983  if test -n "$PKG_CONFIG"; then Line 4935  if test -n "$PKG_CONFIG"; then
4935          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"
4936      else      else
4937          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4938      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4939    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4940    ac_status=$?    ac_status=$?
4941    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942    (exit $ac_status); }; then    (exit $ac_status); }; then
4943    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`
4944  else  else
# Line 5014  fi Line 4966  fi
4966          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4967          echo "$gpsbt_PKG_ERRORS" >&5          echo "$gpsbt_PKG_ERRORS" >&5
4968    
4969          { { echo "$as_me:$LINENO: error: Package requirements (gpsbt) were not met:          { { $as_echo "$as_me:$LINENO: error: Package requirements (gpsbt) were not met:
4970    
4971  $gpsbt_PKG_ERRORS  $gpsbt_PKG_ERRORS
4972    
# Line 5025  Alternatively, you may set the environme Line 4977  Alternatively, you may set the environme
4977  and gpsbt_LIBS to avoid the need to call pkg-config.  and gpsbt_LIBS to avoid the need to call pkg-config.
4978  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4979  " >&5  " >&5
4980  echo "$as_me: error: Package requirements (gpsbt) were not met:  $as_echo "$as_me: error: Package requirements (gpsbt) were not met:
4981    
4982  $gpsbt_PKG_ERRORS  $gpsbt_PKG_ERRORS
4983    
# Line 5038  See the pkg-config man page for more det Line 4990  See the pkg-config man page for more det
4990  " >&2;}  " >&2;}
4991     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4992  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4993          { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it          { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4994    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4995    { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
4996  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
4997  path to pkg-config.  path to pkg-config.
4998    
# Line 5048  See the pkg-config man page for more det Line 5002  See the pkg-config man page for more det
5002    
5003  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5004  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
5005  echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it  $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5006  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
5007  path to pkg-config.  path to pkg-config.
5008    
# Line 5058  See the pkg-config man page for more det Line 5012  See the pkg-config man page for more det
5012    
5013  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5014  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
5015     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }; }
5016  else  else
5017          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS
5018          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS
5019          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:$LINENO: result: yes" >&5
5020  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
5021          :          :
5022  fi  fi
5023      CFLAGS="$CFLAGS -DENABLE_GPSBT $gpsbt_CFLAGS"      CFLAGS="$CFLAGS -DENABLE_GPSBT $gpsbt_CFLAGS"
# Line 5071  fi Line 5025  fi
5025    
5026  else  else
5027    
5028      { echo "$as_me:$LINENO: gpsbt not found, trying liblocation" >&5      { $as_echo "$as_me:$LINENO: gpsbt not found, trying liblocation" >&5
5029  echo "$as_me: gpsbt not found, trying liblocation" >&6;}  $as_echo "$as_me: gpsbt not found, trying liblocation" >&6;}
5030    
5031      if test -n "$PKG_CONFIG" && \      if test -n "$PKG_CONFIG" && \
5032      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
5033    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
5034    ac_status=$?    ac_status=$?
5035    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036    (exit $ac_status); }; then    (exit $ac_status); }; then
5037    
5038    
5039  pkg_failed=no  pkg_failed=no
5040  { echo "$as_me:$LINENO: checking for liblocation" >&5  { $as_echo "$as_me:$LINENO: checking for liblocation" >&5
5041  echo $ECHO_N "checking for liblocation... $ECHO_C" >&6; }  $as_echo_n "checking for liblocation... " >&6; }
5042    
5043  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
5044      if test -n "$liblocation_CFLAGS"; then      if test -n "$liblocation_CFLAGS"; then
5045          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"
5046      else      else
5047          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5048      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
5049    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
5050    ac_status=$?    ac_status=$?
5051    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052    (exit $ac_status); }; then    (exit $ac_status); }; then
5053    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`
5054  else  else
# Line 5109  if test -n "$PKG_CONFIG"; then Line 5063  if test -n "$PKG_CONFIG"; then
5063          pkg_cv_liblocation_LIBS="$liblocation_LIBS"          pkg_cv_liblocation_LIBS="$liblocation_LIBS"
5064      else      else
5065          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5066      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
5067    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
5068    ac_status=$?    ac_status=$?
5069    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070    (exit $ac_status); }; then    (exit $ac_status); }; then
5071    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`
5072  else  else
# Line 5140  fi Line 5094  fi
5094          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5095          echo "$liblocation_PKG_ERRORS" >&5          echo "$liblocation_PKG_ERRORS" >&5
5096    
5097          { { echo "$as_me:$LINENO: error: Package requirements (liblocation) were not met:          { { $as_echo "$as_me:$LINENO: error: Package requirements (liblocation) were not met:
5098    
5099  $liblocation_PKG_ERRORS  $liblocation_PKG_ERRORS
5100    
# Line 5151  Alternatively, you may set the environme Line 5105  Alternatively, you may set the environme
5105  and liblocation_LIBS to avoid the need to call pkg-config.  and liblocation_LIBS to avoid the need to call pkg-config.
5106  See the pkg-config man page for more details.  See the pkg-config man page for more details.
5107  " >&5  " >&5
5108  echo "$as_me: error: Package requirements (liblocation) were not met:  $as_echo "$as_me: error: Package requirements (liblocation) were not met:
5109    
5110  $liblocation_PKG_ERRORS  $liblocation_PKG_ERRORS
5111    
# Line 5164  See the pkg-config man page for more det Line 5118  See the pkg-config man page for more det
5118  " >&2;}  " >&2;}
5119     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5120  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5121          { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it          { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5122    $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5123    { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
5124  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
5125  path to pkg-config.  path to pkg-config.
5126    
# Line 5174  See the pkg-config man page for more det Line 5130  See the pkg-config man page for more det
5130    
5131  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5132  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
5133  echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it  $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5134  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
5135  path to pkg-config.  path to pkg-config.
5136    
# Line 5184  See the pkg-config man page for more det Line 5140  See the pkg-config man page for more det
5140    
5141  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5142  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
5143     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }; }
5144  else  else
5145          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS
5146          liblocation_LIBS=$pkg_cv_liblocation_LIBS          liblocation_LIBS=$pkg_cv_liblocation_LIBS
5147          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:$LINENO: result: yes" >&5
5148  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
5149          :          :
5150  fi  fi
5151        CFLAGS="$CFLAGS -DENABLE_LIBLOCATION $liblocation_CFLAGS"        CFLAGS="$CFLAGS -DENABLE_LIBLOCATION $liblocation_CFLAGS"
# Line 5197  fi Line 5153  fi
5153    
5154  else  else
5155    
5156        { echo "$as_me:$LINENO: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&5        { $as_echo "$as_me:$LINENO: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&5
5157  echo "$as_me: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&6;}  $as_echo "$as_me: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&6;}
5158    
5159    fi
5160    
5161    fi
5162    
5163      if test -n "$PKG_CONFIG" && \
5164        { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tablet-browser-interface\"") >&5
5165      ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5
5166      ac_status=$?
5167      $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168      (exit $ac_status); }; then
5169    
5170        CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"
5171    
5172    else
5173      { $as_echo "$as_me:$LINENO: WARNING: No tablet-browser-interface found, disabling microb interface!" >&5
5174    $as_echo "$as_me: WARNING: No tablet-browser-interface found, disabling microb interface!" >&6;}
5175    fi
5176    
5177      if test -n "$PKG_CONFIG" && \
5178        { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5
5179      ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
5180      ac_status=$?
5181      $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182      (exit $ac_status); }; then
5183    
5184        VERSION=`pkg-config --modversion maemo-version`
5185        { $as_echo "$as_me:$LINENO: Configuring for Maemo $VERSION" >&5
5186    $as_echo "$as_me: Configuring for Maemo $VERSION" >&6;}
5187        CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""
5188        MAJOR=`echo $VERSION | cut -b1 -`
5189        CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"
5190    
5191        MAEMO_VERSION_MAJOR=$MAJOR
5192    
5193    
5194    else
5195    
5196        { { $as_echo "$as_me:$LINENO: error: maemo-version not found" >&5
5197    $as_echo "$as_me: error: maemo-version not found" >&2;}
5198       { (exit 1); exit 1; }; }
5199    
5200    fi
5201    
5202      INSTALL_PLATTFORM="install-maemo"
5203    
5204      # fremantle uses icons of 48x48 pixels for the app installer,
5205      # older versions used 26x26
5206      if [ "$MAJOR" == "5" ]; then
5207         ICONNAME=48x48/gpxview.png
5208         datarootdir=/opt
5209    
5210           # check for libespeak (broken in diablo, hence doing it here)
5211    
5212    for ac_header in espeak/speak_lib.h
5213    do
5214    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5215    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5216      { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5217    $as_echo_n "checking for $ac_header... " >&6; }
5218    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5219      $as_echo_n "(cached) " >&6
5220    fi
5221    ac_res=`eval 'as_val=${'$as_ac_Header'}
5222                     $as_echo "$as_val"'`
5223                   { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5224    $as_echo "$ac_res" >&6; }
5225    else
5226      # Is the header compilable?
5227    { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5228    $as_echo_n "checking $ac_header usability... " >&6; }
5229    cat >conftest.$ac_ext <<_ACEOF
5230    /* confdefs.h.  */
5231    _ACEOF
5232    cat confdefs.h >>conftest.$ac_ext
5233    cat >>conftest.$ac_ext <<_ACEOF
5234    /* end confdefs.h.  */
5235    $ac_includes_default
5236    #include <$ac_header>
5237    _ACEOF
5238    rm -f conftest.$ac_objext
5239    if { (ac_try="$ac_compile"
5240    case "(($ac_try" in
5241      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5242      *) ac_try_echo=$ac_try;;
5243    esac
5244    eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5245    $as_echo "$ac_try_echo") >&5
5246      (eval "$ac_compile") 2>conftest.er1
5247      ac_status=$?
5248      grep -v '^ *+' conftest.er1 >conftest.err
5249      rm -f conftest.er1
5250      cat conftest.err >&5
5251      $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252      (exit $ac_status); } && {
5253             test -z "$ac_c_werror_flag" ||
5254             test ! -s conftest.err
5255           } && test -s conftest.$ac_objext; then
5256      ac_header_compiler=yes
5257    else
5258      $as_echo "$as_me: failed program was:" >&5
5259    sed 's/^/| /' conftest.$ac_ext >&5
5260    
5261            ac_header_compiler=no
5262  fi  fi
5263    
5264  fi  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5265    { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5266    $as_echo "$ac_header_compiler" >&6; }
5267    
5268    if test -n "$PKG_CONFIG" && \  # Is the header present?
5269      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tablet-browser-interface\"") >&5  { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5270    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5  $as_echo_n "checking $ac_header presence... " >&6; }
5271    cat >conftest.$ac_ext <<_ACEOF
5272    /* confdefs.h.  */
5273    _ACEOF
5274    cat confdefs.h >>conftest.$ac_ext
5275    cat >>conftest.$ac_ext <<_ACEOF
5276    /* end confdefs.h.  */
5277    #include <$ac_header>
5278    _ACEOF
5279    if { (ac_try="$ac_cpp conftest.$ac_ext"
5280    case "(($ac_try" in
5281      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5282      *) ac_try_echo=$ac_try;;
5283    esac
5284    eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5285    $as_echo "$ac_try_echo") >&5
5286      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5287    ac_status=$?    ac_status=$?
5288    echo "$as_me:$LINENO: \$? = $ac_status" >&5    grep -v '^ *+' conftest.er1 >conftest.err
5289    (exit $ac_status); }; then    rm -f conftest.er1
5290      cat conftest.err >&5
5291      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292      (exit $ac_status); } >/dev/null && {
5293             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5294             test ! -s conftest.err
5295           }; then
5296      ac_header_preproc=yes
5297  else  else
5298    { echo "$as_me:$LINENO: WARNING: No tablet-browser-interface found, disabling microb interface!" >&5    $as_echo "$as_me: failed program was:" >&5
5299  echo "$as_me: WARNING: No tablet-browser-interface found, disabling microb interface!" >&6;}  sed 's/^/| /' conftest.$ac_ext >&5
 fi  
   
   if test -n "$PKG_CONFIG" && \  
     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5  
   ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; then  
   
     VERSION=`pkg-config --modversion maemo-version`  
     { echo "$as_me:$LINENO: Configuring for Maemo $VERSION" >&5  
 echo "$as_me: Configuring for Maemo $VERSION" >&6;}  
     CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""  
     MAJOR=`echo $VERSION | cut -b1 -`  
     CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"  
5300    
5301      MAEMO_VERSION_MAJOR=$MAJOR    ac_header_preproc=no
5302    fi
5303    
5304    rm -f conftest.err conftest.$ac_ext
5305    { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5306    $as_echo "$ac_header_preproc" >&6; }
5307    
5308    # So?  What about this header?
5309    case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5310      yes:no: )
5311        { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5312    $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5313        { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5314    $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5315        ac_header_preproc=yes
5316        ;;
5317      no:yes:* )
5318        { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5319    $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5320        { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5321    $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5322        { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5323    $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5324        { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5325    $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5326        { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5327    $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5328        { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5329    $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5330        ( cat <<\_ASBOX
5331    ## ------------------------------- ##
5332    ## Report this to till@harbaum.org ##
5333    ## ------------------------------- ##
5334    _ASBOX
5335         ) | sed "s/^/$as_me: WARNING:     /" >&2
5336        ;;
5337    esac
5338    { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5339    $as_echo_n "checking for $ac_header... " >&6; }
5340    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5341      $as_echo_n "(cached) " >&6
5342  else  else
5343      eval "$as_ac_Header=\$ac_header_preproc"
5344    fi
5345    ac_res=`eval 'as_val=${'$as_ac_Header'}
5346                     $as_echo "$as_val"'`
5347                   { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5348    $as_echo "$ac_res" >&6; }
5349    
5350      { { echo "$as_me:$LINENO: error: maemo-version not found" >&5  fi
5351  echo "$as_me: error: maemo-version not found" >&2;}  as_val=`eval 'as_val=${'$as_ac_Header'}
5352     { (exit 1); exit 1; }; }                   $as_echo "$as_val"'`
5353       if test "x$as_val" = x""yes; then
5354      cat >>confdefs.h <<_ACEOF
5355    #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5356    _ACEOF
5357    
5358             CFLAGS="$CFLAGS -DESPEAK"
5359             LIBS="$LIBS -lespeak"
5360    
5361  fi  fi
5362    
5363    INSTALL_PLATTFORM="install-maemo"  done
5364    
   # fremantle uses icons of 48x48 pixels for the app installer,  
   # older versions used 26x26  
   if [ "$MAJOR" == "5" ]; then  
      ICONNAME=48x48/gpxview.png  
      datarootdir=/opt  
5365    else    else
5366       ICONNAME=26x26/gpxview.png       ICONNAME=26x26/gpxview.png
5367       { echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5       { $as_echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5
5368  echo "$as_me: Enabling Maemo Mapper support" >&6;}  $as_echo "$as_me: Enabling Maemo Mapper support" >&6;}
5369    fi    fi
5370    
5371    CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER"    CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER"
# Line 5262  echo "$as_me: Enabling Maemo Mapper supp Line 5374  echo "$as_me: Enabling Maemo Mapper supp
5374    # maemo uses dbus for ipc with maemo mapper    # maemo uses dbus for ipc with maemo mapper
5375    EXTRA_OBJS="$EXTRA_OBJS dbus.o"    EXTRA_OBJS="$EXTRA_OBJS dbus.o"
5376    
5377    { echo "$as_me:$LINENO: Using application installer icon \"$ICONNAME\"" >&5    { $as_echo "$as_me:$LINENO: Using application installer icon \"$ICONNAME\"" >&5
5378  echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}  $as_echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}
5379    
5380    # add icon entry to debian/control    # add icon entry to debian/control
5381    ICON=" Maemo icon $ICONNAME    ICON=" Maemo icon $ICONNAME
# Line 5277  XB-Maemo-Icon-26: Line 5389  XB-Maemo-Icon-26:
5389    
5390  else  else
5391    
5392    { echo "$as_me:$LINENO: result: no" >&5    { $as_echo "$as_me:$LINENO: result: no" >&5
5393  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
5394    
5395    EXTRA_OBJS="$EXTRA_OBJS bct.o"    EXTRA_OBJS="$EXTRA_OBJS bct.o"
5396    CFLAGS="$CFLAGS -DBCT"    CFLAGS="$CFLAGS -DBCT"
# Line 5286  echo "${ECHO_T}no" >&6; } Line 5398  echo "${ECHO_T}no" >&6; }
5398    # check for gtk+-2.0    # check for gtk+-2.0
5399    
5400  pkg_failed=no  pkg_failed=no
5401  { echo "$as_me:$LINENO: checking for gtk" >&5  { $as_echo "$as_me:$LINENO: checking for gtk" >&5
5402  echo $ECHO_N "checking for gtk... $ECHO_C" >&6; }  $as_echo_n "checking for gtk... " >&6; }
5403    
5404  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
5405      if test -n "$gtk_CFLAGS"; then      if test -n "$gtk_CFLAGS"; then
5406          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
5407      else      else
5408          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5409      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
5410    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5411    ac_status=$?    ac_status=$?
5412    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413    (exit $ac_status); }; then    (exit $ac_status); }; then
5414    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`
5415  else  else
# Line 5312  if test -n "$PKG_CONFIG"; then Line 5424  if test -n "$PKG_CONFIG"; then
5424          pkg_cv_gtk_LIBS="$gtk_LIBS"          pkg_cv_gtk_LIBS="$gtk_LIBS"
5425      else      else
5426          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5427      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
5428    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
5429    ac_status=$?    ac_status=$?
5430    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431    (exit $ac_status); }; then    (exit $ac_status); }; then
5432    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`
5433  else  else
# Line 5343  fi Line 5455  fi
5455          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5456          echo "$gtk_PKG_ERRORS" >&5          echo "$gtk_PKG_ERRORS" >&5
5457    
5458          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:$LINENO: result: no" >&5
5459  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
5460                  { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5                  { { $as_echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
5461  echo "$as_me: error: gtk+-2.0 missing!" >&2;}  $as_echo "$as_me: error: gtk+-2.0 missing!" >&2;}
5462     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5463  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5464          { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5          { { $as_echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
5465  echo "$as_me: error: gtk+-2.0 missing!" >&2;}  $as_echo "$as_me: error: gtk+-2.0 missing!" >&2;}
5466     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5467  else  else
5468          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
5469          gtk_LIBS=$pkg_cv_gtk_LIBS          gtk_LIBS=$pkg_cv_gtk_LIBS
5470          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:$LINENO: result: yes" >&5
5471  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
5472          :          :
5473  fi  fi
5474    CFLAGS="$CFLAGS $gtk_CFLAGS"    CFLAGS="$CFLAGS $gtk_CFLAGS"
# Line 5365  fi Line 5477  fi
5477    # non-maemo device use gnome to call the web browser    # non-maemo device use gnome to call the web browser
5478    
5479  pkg_failed=no  pkg_failed=no
5480  { echo "$as_me:$LINENO: checking for gnome2" >&5  { $as_echo "$as_me:$LINENO: checking for gnome2" >&5
5481  echo $ECHO_N "checking for gnome2... $ECHO_C" >&6; }  $as_echo_n "checking for gnome2... " >&6; }
5482    
5483  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
5484      if test -n "$gnome2_CFLAGS"; then      if test -n "$gnome2_CFLAGS"; then
5485          pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"          pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"
5486      else      else
5487          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5488      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5
5489    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5490    ac_status=$?    ac_status=$?
5491    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492    (exit $ac_status); }; then    (exit $ac_status); }; then
5493    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`
5494  else  else
# Line 5391  if test -n "$PKG_CONFIG"; then Line 5503  if test -n "$PKG_CONFIG"; then
5503          pkg_cv_gnome2_LIBS="$gnome2_LIBS"          pkg_cv_gnome2_LIBS="$gnome2_LIBS"
5504      else      else
5505          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
5506      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5
5507    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
5508    ac_status=$?    ac_status=$?
5509    echo "$as_me:$LINENO: \$? = $ac_status" >&5    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510    (exit $ac_status); }; then    (exit $ac_status); }; then
5511    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`
5512  else  else
# Line 5422  fi Line 5534  fi
5534          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
5535          echo "$gnome2_PKG_ERRORS" >&5          echo "$gnome2_PKG_ERRORS" >&5
5536    
5537          { echo "$as_me:$LINENO: result: no" >&5          { $as_echo "$as_me:$LINENO: result: no" >&5
5538  echo "${ECHO_T}no" >&6; }  $as_echo "no" >&6; }
5539                  { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5                  { { $as_echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
5540  echo "$as_me: error: libgnome-2.0 missing" >&2;}  $as_echo "$as_me: error: libgnome-2.0 missing" >&2;}
5541     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5542  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
5543          { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5          { { $as_echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
5544  echo "$as_me: error: libgnome-2.0 missing" >&2;}  $as_echo "$as_me: error: libgnome-2.0 missing" >&2;}
5545     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5546  else  else
5547          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS
5548          gnome2_LIBS=$pkg_cv_gnome2_LIBS          gnome2_LIBS=$pkg_cv_gnome2_LIBS
5549          { echo "$as_me:$LINENO: result: yes" >&5          { $as_echo "$as_me:$LINENO: result: yes" >&5
5550  echo "${ECHO_T}yes" >&6; }  $as_echo "yes" >&6; }
5551          :          :
5552  fi  fi
5553    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"
5554    LIBS="$LIBS $gnome2_LIBS"    LIBS="$LIBS $gnome2_LIBS"
5555    
5556      # check for libespeak
5557    
5558    for ac_header in espeak/speak_lib.h
5559    do
5560    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5561    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5562      { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5563    $as_echo_n "checking for $ac_header... " >&6; }
5564    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5565      $as_echo_n "(cached) " >&6
5566    fi
5567    ac_res=`eval 'as_val=${'$as_ac_Header'}
5568                     $as_echo "$as_val"'`
5569                   { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5570    $as_echo "$ac_res" >&6; }
5571    else
5572      # Is the header compilable?
5573    { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5574    $as_echo_n "checking $ac_header usability... " >&6; }
5575    cat >conftest.$ac_ext <<_ACEOF
5576    /* confdefs.h.  */
5577    _ACEOF
5578    cat confdefs.h >>conftest.$ac_ext
5579    cat >>conftest.$ac_ext <<_ACEOF
5580    /* end confdefs.h.  */
5581    $ac_includes_default
5582    #include <$ac_header>
5583    _ACEOF
5584    rm -f conftest.$ac_objext
5585    if { (ac_try="$ac_compile"
5586    case "(($ac_try" in
5587      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5588      *) ac_try_echo=$ac_try;;
5589    esac
5590    eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5591    $as_echo "$ac_try_echo") >&5
5592      (eval "$ac_compile") 2>conftest.er1
5593      ac_status=$?
5594      grep -v '^ *+' conftest.er1 >conftest.err
5595      rm -f conftest.er1
5596      cat conftest.err >&5
5597      $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598      (exit $ac_status); } && {
5599             test -z "$ac_c_werror_flag" ||
5600             test ! -s conftest.err
5601           } && test -s conftest.$ac_objext; then
5602      ac_header_compiler=yes
5603    else
5604      $as_echo "$as_me: failed program was:" >&5
5605    sed 's/^/| /' conftest.$ac_ext >&5
5606    
5607            ac_header_compiler=no
5608    fi
5609    
5610    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5611    { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5612    $as_echo "$ac_header_compiler" >&6; }
5613    
5614    # Is the header present?
5615    { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5616    $as_echo_n "checking $ac_header presence... " >&6; }
5617    cat >conftest.$ac_ext <<_ACEOF
5618    /* confdefs.h.  */
5619    _ACEOF
5620    cat confdefs.h >>conftest.$ac_ext
5621    cat >>conftest.$ac_ext <<_ACEOF
5622    /* end confdefs.h.  */
5623    #include <$ac_header>
5624    _ACEOF
5625    if { (ac_try="$ac_cpp conftest.$ac_ext"
5626    case "(($ac_try" in
5627      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5628      *) ac_try_echo=$ac_try;;
5629    esac
5630    eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5631    $as_echo "$ac_try_echo") >&5
5632      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5633      ac_status=$?
5634      grep -v '^ *+' conftest.er1 >conftest.err
5635      rm -f conftest.er1
5636      cat conftest.err >&5
5637      $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638      (exit $ac_status); } >/dev/null && {
5639             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5640             test ! -s conftest.err
5641           }; then
5642      ac_header_preproc=yes
5643    else
5644      $as_echo "$as_me: failed program was:" >&5
5645    sed 's/^/| /' conftest.$ac_ext >&5
5646    
5647      ac_header_preproc=no
5648    fi
5649    
5650    rm -f conftest.err conftest.$ac_ext
5651    { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5652    $as_echo "$ac_header_preproc" >&6; }
5653    
5654    # So?  What about this header?
5655    case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5656      yes:no: )
5657        { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5658    $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5659        { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5660    $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5661        ac_header_preproc=yes
5662        ;;
5663      no:yes:* )
5664        { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5665    $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5666        { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5667    $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5668        { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5669    $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5670        { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5671    $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5672        { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5673    $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5674        { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5675    $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5676        ( cat <<\_ASBOX
5677    ## ------------------------------- ##
5678    ## Report this to till@harbaum.org ##
5679    ## ------------------------------- ##
5680    _ASBOX
5681         ) | sed "s/^/$as_me: WARNING:     /" >&2
5682        ;;
5683    esac
5684    { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5685    $as_echo_n "checking for $ac_header... " >&6; }
5686    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5687      $as_echo_n "(cached) " >&6
5688    else
5689      eval "$as_ac_Header=\$ac_header_preproc"
5690    fi
5691    ac_res=`eval 'as_val=${'$as_ac_Header'}
5692                     $as_echo "$as_val"'`
5693                   { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5694    $as_echo "$ac_res" >&6; }
5695    
5696    fi
5697    as_val=`eval 'as_val=${'$as_ac_Header'}
5698                     $as_echo "$as_val"'`
5699       if test "x$as_val" = x""yes; then
5700      cat >>confdefs.h <<_ACEOF
5701    #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5702    _ACEOF
5703    
5704        CFLAGS="$CFLAGS -DESPEAK"
5705        LIBS="$LIBS -lespeak"
5706    
5707    fi
5708    
5709    done
5710    
5711    
5712    INSTALL_PLATTFORM="install-debian"    INSTALL_PLATTFORM="install-debian"
5713    
5714    ICON=" No icon"    ICON=" No icon"
# Line 5480  _ACEOF Line 5748  _ACEOF
5748      case $ac_val in #(      case $ac_val in #(
5749      *${as_nl}*)      *${as_nl}*)
5750        case $ac_var in #(        case $ac_var in #(
5751        *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5        *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5752  echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5753        esac        esac
5754        case $ac_var in #(        case $ac_var in #(
5755        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
5756          BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5757        *) $as_unset $ac_var ;;        *) $as_unset $ac_var ;;
5758        esac ;;        esac ;;
5759      esac      esac
# Line 5517  echo "$as_me: WARNING: Cache variable $a Line 5786  echo "$as_me: WARNING: Cache variable $a
5786  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5787    if test -w "$cache_file"; then    if test -w "$cache_file"; then
5788      test "x$cache_file" != "x/dev/null" &&      test "x$cache_file" != "x/dev/null" &&
5789        { echo "$as_me:$LINENO: updating cache $cache_file" >&5        { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5790  echo "$as_me: updating cache $cache_file" >&6;}  $as_echo "$as_me: updating cache $cache_file" >&6;}
5791      cat confcache >$cache_file      cat confcache >$cache_file
5792    else    else
5793      { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5      { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5794  echo "$as_me: not updating unwritable cache $cache_file" >&6;}  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5795    fi    fi
5796  fi  fi
5797  rm -f confcache  rm -f confcache
# Line 5539  test "x$exec_prefix" = xNONE && exec_pre Line 5808  test "x$exec_prefix" = xNONE && exec_pre
5808  # take arguments), then branch to the quote section.  Otherwise,  # take arguments), then branch to the quote section.  Otherwise,
5809  # look for a macro that doesn't take arguments.  # look for a macro that doesn't take arguments.
5810  ac_script='  ac_script='
5811    :mline
5812    /\\$/{
5813     N
5814     s,\\\n,,
5815     b mline
5816    }
5817  t clear  t clear
5818  :clear  :clear
5819  s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g  s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
# Line 5568  ac_ltlibobjs= Line 5843  ac_ltlibobjs=
5843  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5844    # 1. Remove the extension, and $U if already installed.    # 1. Remove the extension, and $U if already installed.
5845    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5846    ac_i=`echo "$ac_i" | sed "$ac_script"`    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5847    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5848    #    will be set to the directory where LIBOBJS objects are built.    #    will be set to the directory where LIBOBJS objects are built.
5849    ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"    ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
# Line 5581  LTLIBOBJS=$ac_ltlibobjs Line 5856  LTLIBOBJS=$ac_ltlibobjs
5856    
5857    
5858  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
5859    ac_write_fail=0
5860  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
5861  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5862  { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5  { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5863  echo "$as_me: creating $CONFIG_STATUS" >&6;}  $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5864  cat >$CONFIG_STATUS <<_ACEOF  cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5865  #! $SHELL  #! $SHELL
5866  # Generated by $as_me.  # Generated by $as_me.
5867  # Run this file to recreate the current configuration.  # Run this file to recreate the current configuration.
# Line 5598  ac_cs_silent=false Line 5874  ac_cs_silent=false
5874  SHELL=\${CONFIG_SHELL-$SHELL}  SHELL=\${CONFIG_SHELL-$SHELL}
5875  _ACEOF  _ACEOF
5876    
5877  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5878  ## --------------------- ##  ## --------------------- ##
5879  ## M4sh Initialization.  ##  ## M4sh Initialization.  ##
5880  ## --------------------- ##  ## --------------------- ##
# Line 5608  DUALCASE=1; export DUALCASE # for MKS sh Line 5884  DUALCASE=1; export DUALCASE # for MKS sh
5884  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
5885    emulate sh    emulate sh
5886    NULLCMD=:    NULLCMD=:
5887    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5888    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
5889    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
5890    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
# Line 5630  as_cr_Letters=$as_cr_letters$as_cr_LETTE Line 5906  as_cr_Letters=$as_cr_letters$as_cr_LETTE
5906  as_cr_digits='0123456789'  as_cr_digits='0123456789'
5907  as_cr_alnum=$as_cr_Letters$as_cr_digits  as_cr_alnum=$as_cr_Letters$as_cr_digits
5908    
5909  # The user is always right.  as_nl='
5910  if test "${PATH_SEPARATOR+set}" != set; then  '
5911    echo "#! /bin/sh" >conf$$.sh  export as_nl
5912    echo  "exit 0"   >>conf$$.sh  # Printing a long string crashes Solaris 7 /usr/bin/printf.
5913    chmod +x conf$$.sh  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5914    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5915      PATH_SEPARATOR=';'  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5916    if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5917      as_echo='printf %s\n'
5918      as_echo_n='printf %s'
5919    else
5920      if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5921        as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5922        as_echo_n='/usr/ucb/echo -n'
5923    else    else
5924      PATH_SEPARATOR=:      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5925        as_echo_n_body='eval
5926          arg=$1;
5927          case $arg in
5928          *"$as_nl"*)
5929            expr "X$arg" : "X\\(.*\\)$as_nl";
5930            arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5931          esac;
5932          expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5933        '
5934        export as_echo_n_body
5935        as_echo_n='sh -c $as_echo_n_body as_echo'
5936    fi    fi
5937    rm -f conf$$.sh    export as_echo_body
5938      as_echo='sh -c $as_echo_body as_echo'
5939    fi
5940    
5941    # The user is always right.
5942    if test "${PATH_SEPARATOR+set}" != set; then
5943      PATH_SEPARATOR=:
5944      (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5945        (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5946          PATH_SEPARATOR=';'
5947      }
5948  fi  fi
5949    
5950  # Support unset when possible.  # Support unset when possible.
# Line 5656  fi Line 5960  fi
5960  # there to prevent editors from complaining about space-tab.  # there to prevent editors from complaining about space-tab.
5961  # (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
5962  # splitting by setting IFS to empty value.)  # splitting by setting IFS to empty value.)
 as_nl='  
 '  
5963  IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
5964    
5965  # 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 5680  if test "x$as_myself" = x; then Line 5982  if test "x$as_myself" = x; then
5982    as_myself=$0    as_myself=$0
5983  fi  fi
5984  if test ! -f "$as_myself"; then  if test ! -f "$as_myself"; then
5985    echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5986    { (exit 1); exit 1; }    { (exit 1); exit 1; }
5987  fi  fi
5988    
# Line 5693  PS2='> ' Line 5995  PS2='> '
5995  PS4='+ '  PS4='+ '
5996    
5997  # NLS nuisances.  # NLS nuisances.
5998  for as_var in \  LC_ALL=C
5999    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \  export LC_ALL
6000    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \  LANGUAGE=C
6001    LC_TELEPHONE LC_TIME  export LANGUAGE
 do  
   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then  
     eval $as_var=C; export $as_var  
   else  
     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var  
   fi  
 done  
6002    
6003  # Required to use basename.  # Required to use basename.
6004  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
# Line 5725  as_me=`$as_basename -- "$0" || Line 6020  as_me=`$as_basename -- "$0" ||
6020  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6021           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
6022           X"$0" : 'X\(/\)' \| . 2>/dev/null ||           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6023  echo X/"$0" |  $as_echo X/"$0" |
6024      sed '/^.*\/\([^/][^/]*\)\/*$/{      sed '/^.*\/\([^/][^/]*\)\/*$/{
6025              s//\1/              s//\1/
6026              q              q
# Line 5776  $as_unset CDPATH Line 6071  $as_unset CDPATH
6071        s/-\n.*//        s/-\n.*//
6072      ' >$as_me.lineno &&      ' >$as_me.lineno &&
6073    chmod +x "$as_me.lineno" ||    chmod +x "$as_me.lineno" ||
6074      { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6075     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
6076    
6077    # 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 5804  case `echo -n x` in Line 6099  case `echo -n x` in
6099  *)  *)
6100    ECHO_N='-n';;    ECHO_N='-n';;
6101  esac  esac
   
6102  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
6103     test "X`expr 00001 : '.*\(...\)'`" = X001; then     test "X`expr 00001 : '.*\(...\)'`" = X001; then
6104    as_expr=expr    as_expr=expr
# Line 5817  if test -d conf$$.dir; then Line 6111  if test -d conf$$.dir; then
6111    rm -f conf$$.dir/conf$$.file    rm -f conf$$.dir/conf$$.file
6112  else  else
6113    rm -f conf$$.dir    rm -f conf$$.dir
6114    mkdir conf$$.dir    mkdir conf$$.dir 2>/dev/null
6115  fi  fi
6116  echo >conf$$.file  if (echo >conf$$.file) 2>/dev/null; then
6117  if ln -s conf$$.file conf$$ 2>/dev/null; then    if ln -s conf$$.file conf$$ 2>/dev/null; then
6118    as_ln_s='ln -s'      as_ln_s='ln -s'
6119    # ... but there are two gotchas:      # ... but there are two gotchas:
6120    # 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.
6121    # 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.
6122    # In both cases, we have to default to `cp -p'.      # In both cases, we have to default to `cp -p'.
6123    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 ||
6124          as_ln_s='cp -p'
6125      elif ln conf$$.file conf$$ 2>/dev/null; then
6126        as_ln_s=ln
6127      else
6128      as_ln_s='cp -p'      as_ln_s='cp -p'
6129  elif ln conf$$.file conf$$ 2>/dev/null; then    fi
   as_ln_s=ln  
6130  else  else
6131    as_ln_s='cp -p'    as_ln_s='cp -p'
6132  fi  fi
# Line 5854  else Line 6151  else
6151    as_test_x='    as_test_x='
6152      eval sh -c '\''      eval sh -c '\''
6153        if test -d "$1"; then        if test -d "$1"; then
6154          test -d "$1/.";          test -d "$1/.";
6155        else        else
6156          case $1 in          case $1 in
6157          -*)set "./$1";;          -*)set "./$1";;
6158          esac;          esac;
6159          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6160          ???[sx]*):;;*)false;;esac;fi          ???[sx]*):;;*)false;;esac;fi
# Line 5880  exec 6>&1 Line 6177  exec 6>&1
6177  # values after options handling.  # values after options handling.
6178  ac_log="  ac_log="
6179  This file was extended by GPXView $as_me 0.9.2, which was  This file was extended by GPXView $as_me 0.9.2, which was
6180  generated by GNU Autoconf 2.61.  Invocation command line was  generated by GNU Autoconf 2.63.  Invocation command line was
6181    
6182    CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
6183    CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 5893  on `(hostname || uname -n) 2>/dev/null | Line 6190  on `(hostname || uname -n) 2>/dev/null |
6190    
6191  _ACEOF  _ACEOF
6192    
6193  cat >>$CONFIG_STATUS <<_ACEOF  case $ac_config_files in *"
6194    "*) set x $ac_config_files; shift; ac_config_files=$*;;
6195    esac
6196    
6197    
6198    
6199    cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6200  # Files that config.status was made for.  # Files that config.status was made for.
6201  config_files="$ac_config_files"  config_files="$ac_config_files"
6202    
6203  _ACEOF  _ACEOF
6204    
6205  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6206  ac_cs_usage="\  ac_cs_usage="\
6207  \`$as_me' instantiates files from templates according to the  \`$as_me' instantiates files from templates according to the
6208  current configuration.  current configuration.
6209    
6210  Usage: $0 [OPTIONS] [FILE]...  Usage: $0 [OPTION]... [FILE]...
6211    
6212    -h, --help       print this help, then exit    -h, --help       print this help, then exit
6213    -V, --version    print version number and configuration settings, then exit    -V, --version    print version number and configuration settings, then exit
6214    -q, --quiet      do not print progress messages    -q, --quiet, --silent
6215                       do not print progress messages
6216    -d, --debug      don't remove temporary files    -d, --debug      don't remove temporary files
6217        --recheck    update $as_me by reconfiguring in the same conditions        --recheck    update $as_me by reconfiguring in the same conditions
6218    --file=FILE[:TEMPLATE]        --file=FILE[:TEMPLATE]
6219                     instantiate the configuration file FILE                     instantiate the configuration file FILE
6220    
6221  Configuration files:  Configuration files:
6222  $config_files  $config_files
# Line 5920  $config_files Line 6224  $config_files
6224  Report bugs to <bug-autoconf@gnu.org>."  Report bugs to <bug-autoconf@gnu.org>."
6225    
6226  _ACEOF  _ACEOF
6227  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6228  ac_cs_version="\\  ac_cs_version="\\
6229  GPXView config.status 0.9.2  GPXView config.status 0.9.2
6230  configured by $0, generated by GNU Autoconf 2.61,  configured by $0, generated by GNU Autoconf 2.63,
6231    with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"    with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6232    
6233  Copyright (C) 2006 Free Software Foundation, Inc.  Copyright (C) 2008 Free Software Foundation, Inc.
6234  This config.status script is free software; the Free Software Foundation  This config.status script is free software; the Free Software Foundation
6235  gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
6236    
6237  ac_pwd='$ac_pwd'  ac_pwd='$ac_pwd'
6238  srcdir='$srcdir'  srcdir='$srcdir'
6239  INSTALL='$INSTALL'  INSTALL='$INSTALL'
6240    test -n "\$AWK" || AWK=awk
6241  _ACEOF  _ACEOF
6242    
6243  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6244  # If no file are specified by the user, then we need to provide default  # The default lists apply if the user does not specify any file.
 # value.  By we need to know if files were specified by the user.  
6245  ac_need_defaults=:  ac_need_defaults=:
6246  while test $# != 0  while test $# != 0
6247  do  do
# Line 5959  do Line 6263  do
6263    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6264      ac_cs_recheck=: ;;      ac_cs_recheck=: ;;
6265    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6266      echo "$ac_cs_version"; exit ;;      $as_echo "$ac_cs_version"; exit ;;
6267    --debug | --debu | --deb | --de | --d | -d )    --debug | --debu | --deb | --de | --d | -d )
6268      debug=: ;;      debug=: ;;
6269    --file | --fil | --fi | --f )    --file | --fil | --fi | --f )
6270      $ac_shift      $ac_shift
6271      CONFIG_FILES="$CONFIG_FILES $ac_optarg"      case $ac_optarg in
6272        *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6273        esac
6274        CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6275      ac_need_defaults=false;;      ac_need_defaults=false;;
6276    --he | --h |  --help | --hel | -h )    --he | --h |  --help | --hel | -h )
6277      echo "$ac_cs_usage"; exit ;;      $as_echo "$ac_cs_usage"; exit ;;
6278    -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6279    | -silent | --silent | --silen | --sile | --sil | --si | --s)    | -silent | --silent | --silen | --sile | --sil | --si | --s)
6280      ac_cs_silent=: ;;      ac_cs_silent=: ;;
6281    
6282    # This is an error.    # This is an error.
6283    -*) { echo "$as_me: error: unrecognized option: $1    -*) { $as_echo "$as_me: error: unrecognized option: $1
6284  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information." >&2
6285     { (exit 1); exit 1; }; } ;;     { (exit 1); exit 1; }; } ;;
6286    
# Line 5992  if $ac_cs_silent; then Line 6299  if $ac_cs_silent; then
6299  fi  fi
6300    
6301  _ACEOF  _ACEOF
6302  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6303  if \$ac_cs_recheck; then  if \$ac_cs_recheck; then
6304    echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6    set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6305    CONFIG_SHELL=$SHELL    shift
6306      \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6307      CONFIG_SHELL='$SHELL'
6308    export CONFIG_SHELL    export CONFIG_SHELL
6309    exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion    exec "\$@"
6310  fi  fi
6311    
6312  _ACEOF  _ACEOF
6313  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6314  exec 5>>config.log  exec 5>>config.log
6315  {  {
6316    echo    echo
6317    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6318  ## Running $as_me. ##  ## Running $as_me. ##
6319  _ASBOX  _ASBOX
6320    echo "$ac_log"    $as_echo "$ac_log"
6321  } >&5  } >&5
6322    
6323  _ACEOF  _ACEOF
6324  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6325  _ACEOF  _ACEOF
6326    
6327  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6328    
6329  # Handling of arguments.  # Handling of arguments.
6330  for ac_config_target in $ac_config_targets  for ac_config_target in $ac_config_targets
# Line 6026  do Line 6335  do
6335      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
6336      "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;      "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;
6337    
6338    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5    *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6339  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6340     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
6341    esac    esac
6342  done  done
# Line 6066  $debug || Line 6375  $debug ||
6375    (umask 077 && mkdir "$tmp")    (umask 077 && mkdir "$tmp")
6376  } ||  } ||
6377  {  {
6378     echo "$me: cannot create a temporary directory in ." >&2     $as_echo "$as_me: cannot create a temporary directory in ." >&2
6379     { (exit 1); exit 1; }     { (exit 1); exit 1; }
6380  }  }
6381    
6382  #  # Set up the scripts for CONFIG_FILES section.
6383  # Set up the sed scripts for CONFIG_FILES section.  # No need to generate them if there are no CONFIG_FILES.
6384  #  # This happens for instance with `./config.status config.h'.
   
 # No need to generate the scripts if there are no CONFIG_FILES.  
 # This happens for instance when ./config.status config.h  
6385  if test -n "$CONFIG_FILES"; then  if test -n "$CONFIG_FILES"; then
6386    
 _ACEOF  
6387    
6388    ac_cr=' '
6389    ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6390    if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6391      ac_cs_awk_cr='\\r'
6392    else
6393      ac_cs_awk_cr=$ac_cr
6394    fi
6395    
6396    echo 'BEGIN {' >"$tmp/subs1.awk" &&
6397    _ACEOF
6398    
6399    
6400    {
6401      echo "cat >conf$$subs.awk <<_ACEOF" &&
6402      echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6403      echo "_ACEOF"
6404    } >conf$$subs.sh ||
6405      { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6406    $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6407       { (exit 1); exit 1; }; }
6408    ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6409  ac_delim='%!_!# '  ac_delim='%!_!# '
6410  for ac_last_try in false false false false false :; do  for ac_last_try in false false false false false :; do
6411    cat >conf$$subs.sed <<_ACEOF    . ./conf$$subs.sh ||
6412  SHELL!$SHELL$ac_delim      { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6413  PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim  $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6414  PACKAGE_NAME!$PACKAGE_NAME$ac_delim     { (exit 1); exit 1; }; }
 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim  
 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim  
 PACKAGE_STRING!$PACKAGE_STRING$ac_delim  
 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim  
 exec_prefix!$exec_prefix$ac_delim  
 prefix!$prefix$ac_delim  
 program_transform_name!$program_transform_name$ac_delim  
 bindir!$bindir$ac_delim  
 sbindir!$sbindir$ac_delim  
 libexecdir!$libexecdir$ac_delim  
 datarootdir!$datarootdir$ac_delim  
 datadir!$datadir$ac_delim  
 sysconfdir!$sysconfdir$ac_delim  
 sharedstatedir!$sharedstatedir$ac_delim  
 localstatedir!$localstatedir$ac_delim  
 includedir!$includedir$ac_delim  
 oldincludedir!$oldincludedir$ac_delim  
 docdir!$docdir$ac_delim  
 infodir!$infodir$ac_delim  
 htmldir!$htmldir$ac_delim  
 dvidir!$dvidir$ac_delim  
 pdfdir!$pdfdir$ac_delim  
 psdir!$psdir$ac_delim  
 libdir!$libdir$ac_delim  
 localedir!$localedir$ac_delim  
 mandir!$mandir$ac_delim  
 DEFS!$DEFS$ac_delim  
 ECHO_C!$ECHO_C$ac_delim  
 ECHO_N!$ECHO_N$ac_delim  
 ECHO_T!$ECHO_T$ac_delim  
 LIBS!$LIBS$ac_delim  
 build_alias!$build_alias$ac_delim  
 host_alias!$host_alias$ac_delim  
 target_alias!$target_alias$ac_delim  
 PACKAGE!$PACKAGE$ac_delim  
 CC!$CC$ac_delim  
 CFLAGS!$CFLAGS$ac_delim  
 LDFLAGS!$LDFLAGS$ac_delim  
 CPPFLAGS!$CPPFLAGS$ac_delim  
 ac_ct_CC!$ac_ct_CC$ac_delim  
 EXEEXT!$EXEEXT$ac_delim  
 OBJEXT!$OBJEXT$ac_delim  
 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim  
 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim  
 INSTALL_DATA!$INSTALL_DATA$ac_delim  
 LN_S!$LN_S$ac_delim  
 SET_MAKE!$SET_MAKE$ac_delim  
 PKG_CONFIG!$PKG_CONFIG$ac_delim  
 gnome_vfs_module_CFLAGS!$gnome_vfs_module_CFLAGS$ac_delim  
 gnome_vfs_module_LIBS!$gnome_vfs_module_LIBS$ac_delim  
 libxml2_CFLAGS!$libxml2_CFLAGS$ac_delim  
 libxml2_LIBS!$libxml2_LIBS$ac_delim  
 libcurl_CFLAGS!$libcurl_CFLAGS$ac_delim  
 libcurl_LIBS!$libcurl_LIBS$ac_delim  
 CPP!$CPP$ac_delim  
 GREP!$GREP$ac_delim  
 EGREP!$EGREP$ac_delim  
 libsoup24_CFLAGS!$libsoup24_CFLAGS$ac_delim  
 libsoup24_LIBS!$libsoup24_LIBS$ac_delim  
 libsoup22_CFLAGS!$libsoup22_CFLAGS$ac_delim  
 libsoup22_LIBS!$libsoup22_LIBS$ac_delim  
 libgtkhtml3_14_CFLAGS!$libgtkhtml3_14_CFLAGS$ac_delim  
 libgtkhtml3_14_LIBS!$libgtkhtml3_14_LIBS$ac_delim  
 libgtkhtml3_8_CFLAGS!$libgtkhtml3_8_CFLAGS$ac_delim  
 libgtkhtml3_8_LIBS!$libgtkhtml3_8_LIBS$ac_delim  
 hildon_CFLAGS!$hildon_CFLAGS$ac_delim  
 hildon_LIBS!$hildon_LIBS$ac_delim  
 osso_CFLAGS!$osso_CFLAGS$ac_delim  
 osso_LIBS!$osso_LIBS$ac_delim  
 hildon_fm_2_CFLAGS!$hildon_fm_2_CFLAGS$ac_delim  
 hildon_fm_2_LIBS!$hildon_fm_2_LIBS$ac_delim  
 sqlite3_CFLAGS!$sqlite3_CFLAGS$ac_delim  
 sqlite3_LIBS!$sqlite3_LIBS$ac_delim  
 hildon_help_CFLAGS!$hildon_help_CFLAGS$ac_delim  
 hildon_help_LIBS!$hildon_help_LIBS$ac_delim  
 gpsbt_CFLAGS!$gpsbt_CFLAGS$ac_delim  
 gpsbt_LIBS!$gpsbt_LIBS$ac_delim  
 liblocation_CFLAGS!$liblocation_CFLAGS$ac_delim  
 liblocation_LIBS!$liblocation_LIBS$ac_delim  
 MAEMO_VERSION_MAJOR!$MAEMO_VERSION_MAJOR$ac_delim  
 gtk_CFLAGS!$gtk_CFLAGS$ac_delim  
 gtk_LIBS!$gtk_LIBS$ac_delim  
 gnome2_CFLAGS!$gnome2_CFLAGS$ac_delim  
 gnome2_LIBS!$gnome2_LIBS$ac_delim  
 EXTRA_OBJS!$EXTRA_OBJS$ac_delim  
 ICON!$ICON$ac_delim  
 INSTALL_PLATTFORM!$INSTALL_PLATTFORM$ac_delim  
 LIBOBJS!$LIBOBJS$ac_delim  
 LTLIBOBJS!$LTLIBOBJS$ac_delim  
 _ACEOF  
6415    
6416    if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6417      if test $ac_delim_n = $ac_delim_num; then
6418      break      break
6419    elif $ac_last_try; then    elif $ac_last_try; then
6420      { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5      { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6421  echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}  $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6422     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
6423    else    else
6424      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6425    fi    fi
6426  done  done
6427    rm -f conf$$subs.sh
6428    
6429  ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6430  if test -n "$ac_eof"; then  cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`  
   ac_eof=`expr $ac_eof + 1`  
 fi  
   
 cat >>$CONFIG_STATUS <<_ACEOF  
 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof  
 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end  
 _ACEOF  
 sed '  
 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g  
 s/^/s,@/; s/!/@,|#_!!_#|/  
 :n  
 t n  
 s/'"$ac_delim"'$/,g/; t  
 s/$/\\/; p  
 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n  
 ' >>$CONFIG_STATUS <conf$$subs.sed  
 rm -f conf$$subs.sed  
 cat >>$CONFIG_STATUS <<_ACEOF  
 :end  
 s/|#_!!_#|//g  
 CEOF$ac_eof  
6431  _ACEOF  _ACEOF
6432    sed -n '
6433    h
6434    s/^/S["/; s/!.*/"]=/
6435    p
6436    g
6437    s/^[^!]*!//
6438    :repl
6439    t repl
6440    s/'"$ac_delim"'$//
6441    t delim
6442    :nl
6443    h
6444    s/\(.\{148\}\).*/\1/
6445    t more1
6446    s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6447    p
6448    n
6449    b repl
6450    :more1
6451    s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6452    p
6453    g
6454    s/.\{148\}//
6455    t nl
6456    :delim
6457    h
6458    s/\(.\{148\}\).*/\1/
6459    t more2
6460    s/["\\]/\\&/g; s/^/"/; s/$/"/
6461    p
6462    b
6463    :more2
6464    s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6465    p
6466    g
6467    s/.\{148\}//
6468    t delim
6469    ' <conf$$subs.awk | sed '
6470    /^[^""]/{
6471      N
6472      s/\n//
6473    }
6474    ' >>$CONFIG_STATUS || ac_write_fail=1
6475    rm -f conf$$subs.awk
6476    cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6477    _ACAWK
6478    cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6479      for (key in S) S_is_set[key] = 1
6480      FS = ""
6481    
6482    }
6483    {
6484      line = $ 0
6485      nfields = split(line, field, "@")
6486      substed = 0
6487      len = length(field[1])
6488      for (i = 2; i < nfields; i++) {
6489        key = field[i]
6490        keylen = length(key)
6491        if (S_is_set[key]) {
6492          value = S[key]
6493          line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6494          len += length(value) + length(field[++i])
6495          substed = 1
6496        } else
6497          len += 1 + keylen
6498      }
6499    
6500      print line
6501    }
6502    
6503    _ACAWK
6504    _ACEOF
6505    cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6506    if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6507      sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6508    else
6509      cat
6510    fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6511      || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6512    $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6513       { (exit 1); exit 1; }; }
6514    _ACEOF
6515    
6516  # VPATH may cause trouble with some makes, so we remove $(srcdir),  # VPATH may cause trouble with some makes, so we remove $(srcdir),
6517  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
# Line 6232  s/^[^=]*=[      ]*$// Line 6528  s/^[^=]*=[      ]*$//
6528  }'  }'
6529  fi  fi
6530    
6531  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6532  fi # test -n "$CONFIG_FILES"  fi # test -n "$CONFIG_FILES"
6533    
6534    
6535  for ac_tag in  :F $CONFIG_FILES  eval set X "  :F $CONFIG_FILES      "
6536    shift
6537    for ac_tag
6538  do  do
6539    case $ac_tag in    case $ac_tag in
6540    :[FHLC]) ac_mode=$ac_tag; continue;;    :[FHLC]) ac_mode=$ac_tag; continue;;
6541    esac    esac
6542    case $ac_mode$ac_tag in    case $ac_mode$ac_tag in
6543    :[FHL]*:*);;    :[FHL]*:*);;
6544    :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5    :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6545  echo "$as_me: error: Invalid tag $ac_tag." >&2;}  $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6546     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
6547    :[FH]-) ac_tag=-:-;;    :[FH]-) ac_tag=-:-;;
6548    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
# Line 6273  echo "$as_me: error: Invalid tag $ac_tag Line 6571  echo "$as_me: error: Invalid tag $ac_tag
6571             [\\/$]*) false;;             [\\/$]*) false;;
6572             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6573             esac ||             esac ||
6574             { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5             { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6575  echo "$as_me: error: cannot find input file: $ac_f" >&2;}  $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6576     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
6577        esac        esac
6578        ac_file_inputs="$ac_file_inputs $ac_f"        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6579          ac_file_inputs="$ac_file_inputs '$ac_f'"
6580      done      done
6581    
6582      # 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
6583      # use $as_me), people would be surprised to read:      # use $as_me), people would be surprised to read:
6584      #    /* config.h.  Generated by config.status.  */      #    /* config.h.  Generated by config.status.  */
6585      configure_input="Generated from "`IFS=:      configure_input='Generated from '`
6586            echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."            $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6587            `' by configure.'
6588      if test x"$ac_file" != x-; then      if test x"$ac_file" != x-; then
6589        configure_input="$ac_file.  $configure_input"        configure_input="$ac_file.  $configure_input"
6590        { echo "$as_me:$LINENO: creating $ac_file" >&5        { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6591  echo "$as_me: creating $ac_file" >&6;}  $as_echo "$as_me: creating $ac_file" >&6;}
6592      fi      fi
6593        # Neutralize special characters interpreted by sed in replacement strings.
6594        case $configure_input in #(
6595        *\&* | *\|* | *\\* )
6596           ac_sed_conf_input=`$as_echo "$configure_input" |
6597           sed 's/[\\\\&|]/\\\\&/g'`;; #(
6598        *) ac_sed_conf_input=$configure_input;;
6599        esac
6600    
6601      case $ac_tag in      case $ac_tag in
6602      *:-:* | *:-) cat >"$tmp/stdin";;      *:-:* | *:-) cat >"$tmp/stdin" \
6603          || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6604    $as_echo "$as_me: error: could not create $ac_file" >&2;}
6605       { (exit 1); exit 1; }; } ;;
6606      esac      esac
6607      ;;      ;;
6608    esac    esac
# Line 6302  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^ Line 6612  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^
6612           X"$ac_file" : 'X\(//\)[^/]' \| \           X"$ac_file" : 'X\(//\)[^/]' \| \
6613           X"$ac_file" : 'X\(//\)$' \| \           X"$ac_file" : 'X\(//\)$' \| \
6614           X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||           X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6615  echo X"$ac_file" |  $as_echo X"$ac_file" |
6616      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6617              s//\1/              s//\1/
6618              q              q
# Line 6328  echo X"$ac_file" | Line 6638  echo X"$ac_file" |
6638      as_dirs=      as_dirs=
6639      while :; do      while :; do
6640        case $as_dir in #(        case $as_dir in #(
6641        *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(        *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6642        *) as_qdir=$as_dir;;        *) as_qdir=$as_dir;;
6643        esac        esac
6644        as_dirs="'$as_qdir' $as_dirs"        as_dirs="'$as_qdir' $as_dirs"
# Line 6337  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/ Line 6647  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/
6647           X"$as_dir" : 'X\(//\)[^/]' \| \           X"$as_dir" : 'X\(//\)[^/]' \| \
6648           X"$as_dir" : 'X\(//\)$' \| \           X"$as_dir" : 'X\(//\)$' \| \
6649           X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||           X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6650  echo X"$as_dir" |  $as_echo X"$as_dir" |
6651      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6652              s//\1/              s//\1/
6653              q              q
# Line 6358  echo X"$as_dir" | Line 6668  echo X"$as_dir" |
6668        test -d "$as_dir" && break        test -d "$as_dir" && break
6669      done      done
6670      test -z "$as_dirs" || eval "mkdir $as_dirs"      test -z "$as_dirs" || eval "mkdir $as_dirs"
6671    } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5    } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6672  echo "$as_me: error: cannot create directory $as_dir" >&2;}  $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6673     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }; }
6674    ac_builddir=.    ac_builddir=.
6675    
6676  case "$ac_dir" in  case "$ac_dir" in
6677  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6678  *)  *)
6679    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6680    # A ".." for each directory in $ac_dir_suffix.    # A ".." for each directory in $ac_dir_suffix.
6681    ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`    ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6682    case $ac_top_builddir_sub in    case $ac_top_builddir_sub in
6683    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6684    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
# Line 6408  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ Line 6718  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
6718    esac    esac
6719  _ACEOF  _ACEOF
6720    
6721  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6722  # If the template does not know about datarootdir, expand it.  # If the template does not know about datarootdir, expand it.
6723  # FIXME: This hack should be removed a few years after 2.60.  # FIXME: This hack should be removed a few years after 2.60.
6724  ac_datarootdir_hack=; ac_datarootdir_seen=  ac_datarootdir_hack=; ac_datarootdir_seen=
6725    
6726  case `sed -n '/datarootdir/ {  ac_sed_dataroot='
6727    /datarootdir/ {
6728    p    p
6729    q    q
6730  }  }
# Line 6422  case `sed -n '/datarootdir/ { Line 6733  case `sed -n '/datarootdir/ {
6733  /@infodir@/p  /@infodir@/p
6734  /@localedir@/p  /@localedir@/p
6735  /@mandir@/p  /@mandir@/p
6736  ' $ac_file_inputs` in  '
6737    case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6738  *datarootdir*) ac_datarootdir_seen=yes;;  *datarootdir*) ac_datarootdir_seen=yes;;
6739  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6740    { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5    { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6741  echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}  $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6742  _ACEOF  _ACEOF
6743  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6744    ac_datarootdir_hack='    ac_datarootdir_hack='
6745    s&@datadir@&$datadir&g    s&@datadir@&$datadir&g
6746    s&@docdir@&$docdir&g    s&@docdir@&$docdir&g
# Line 6442  _ACEOF Line 6754  _ACEOF
6754  # Neutralize VPATH when `$srcdir' = `.'.  # Neutralize VPATH when `$srcdir' = `.'.
6755  # Shell code in configure.ac might set extrasub.  # Shell code in configure.ac might set extrasub.
6756  # FIXME: do we really want to maintain this feature?  # FIXME: do we really want to maintain this feature?
6757  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6758    sed "$ac_vpsub  ac_sed_extra="$ac_vpsub
6759  $extrasub  $extrasub
6760  _ACEOF  _ACEOF
6761  cat >>$CONFIG_STATUS <<\_ACEOF  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6762  :t  :t
6763  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6764  s&@configure_input@&$configure_input&;t t  s|@configure_input@|$ac_sed_conf_input|;t t
6765  s&@top_builddir@&$ac_top_builddir_sub&;t t  s&@top_builddir@&$ac_top_builddir_sub&;t t
6766    s&@top_build_prefix@&$ac_top_build_prefix&;t t
6767  s&@srcdir@&$ac_srcdir&;t t  s&@srcdir@&$ac_srcdir&;t t
6768  s&@abs_srcdir@&$ac_abs_srcdir&;t t  s&@abs_srcdir@&$ac_abs_srcdir&;t t
6769  s&@top_srcdir@&$ac_top_srcdir&;t t  s&@top_srcdir@&$ac_top_srcdir&;t t
# Line 6460  s&@abs_builddir@&$ac_abs_builddir&;t t Line 6773  s&@abs_builddir@&$ac_abs_builddir&;t t
6773  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6774  s&@INSTALL@&$ac_INSTALL&;t t  s&@INSTALL@&$ac_INSTALL&;t t
6775  $ac_datarootdir_hack  $ac_datarootdir_hack
6776  " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out  "
6777    eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6778      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6779    $as_echo "$as_me: error: could not create $ac_file" >&2;}
6780       { (exit 1); exit 1; }; }
6781    
6782  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6783    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6784    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6785    { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'    { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6786  which seems to be undefined.  Please make sure it is defined." >&5  which seems to be undefined.  Please make sure it is defined." >&5
6787  echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6788  which seems to be undefined.  Please make sure it is defined." >&2;}  which seems to be undefined.  Please make sure it is defined." >&2;}
6789    
6790    rm -f "$tmp/stdin"    rm -f "$tmp/stdin"
6791    case $ac_file in    case $ac_file in
6792    -) cat "$tmp/out"; rm -f "$tmp/out";;    -) cat "$tmp/out" && rm -f "$tmp/out";;
6793    *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6794    esac    esac \
6795      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6796    $as_echo "$as_me: error: could not create $ac_file" >&2;}
6797       { (exit 1); exit 1; }; }
6798   ;;   ;;
6799    
6800    
# Line 6489  _ACEOF Line 6809  _ACEOF
6809  chmod +x $CONFIG_STATUS  chmod +x $CONFIG_STATUS
6810  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
6811    
6812    test $ac_write_fail = 0 ||
6813      { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
6814    $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
6815       { (exit 1); exit 1; }; }
6816    
6817    
6818  # configure is writing to config.log, and then calls config.status.  # configure is writing to config.log, and then calls config.status.
6819  # config.status does its own redirection, appending to config.log.  # config.status does its own redirection, appending to config.log.
# Line 6510  if test "$no_create" != yes; then Line 6835  if test "$no_create" != yes; then
6835    # would make configure fail if this is the last instruction.    # would make configure fail if this is the last instruction.
6836    $ac_cs_success || { (exit 1); exit 1; }    $ac_cs_success || { (exit 1); exit 1; }
6837  fi  fi
6838    if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6839      { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6840    $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6841    fi
6842    

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