Diff of /trunk/configure

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

revision 120 by harbaum, Sat Sep 19 19:19:42 2009 UTC revision 122 by harbaum, Mon Sep 21 13:15:25 2009 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated by GNU Autoconf 2.63 for GPXView 0.8.10.  # Generated by GNU Autoconf 2.61 for GPXView 0.8.10.
4  #  #
5  # Report bugs to <till@harbaum.org>.  # Report bugs to <till@harbaum.org>.
6  #  #
7  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8  # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.  # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9  # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
10  # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
11  ## --------------------- ##  ## --------------------- ##
# Line 17  DUALCASE=1; export DUALCASE # for MKS sh Line 17  DUALCASE=1; export DUALCASE # for MKS sh
17  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18    emulate sh    emulate sh
19    NULLCMD=:    NULLCMD=:
20    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
22    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
23    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
# Line 39  as_cr_Letters=$as_cr_letters$as_cr_LETTE Line 39  as_cr_Letters=$as_cr_letters$as_cr_LETTE
39  as_cr_digits='0123456789'  as_cr_digits='0123456789'
40  as_cr_alnum=$as_cr_Letters$as_cr_digits  as_cr_alnum=$as_cr_Letters$as_cr_digits
41    
 as_nl='  
 '  
 export as_nl  
 # Printing a long string crashes Solaris 7 /usr/bin/printf.  
 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'  
 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo  
 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo  
 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then  
   as_echo='printf %s\n'  
   as_echo_n='printf %s'  
 else  
   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then  
     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'  
     as_echo_n='/usr/ucb/echo -n'  
   else  
     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'  
     as_echo_n_body='eval  
       arg=$1;  
       case $arg in  
       *"$as_nl"*)  
         expr "X$arg" : "X\\(.*\\)$as_nl";  
         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;  
       esac;  
       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"  
     '  
     export as_echo_n_body  
     as_echo_n='sh -c $as_echo_n_body as_echo'  
   fi  
   export as_echo_body  
   as_echo='sh -c $as_echo_body as_echo'  
 fi  
   
42  # The user is always right.  # The user is always right.
43  if test "${PATH_SEPARATOR+set}" != set; then  if test "${PATH_SEPARATOR+set}" != set; then
44    PATH_SEPARATOR=:    echo "#! /bin/sh" >conf$$.sh
45    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {    echo  "exit 0"   >>conf$$.sh
46      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||    chmod +x conf$$.sh
47        PATH_SEPARATOR=';'    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48    }      PATH_SEPARATOR=';'
49      else
50        PATH_SEPARATOR=:
51      fi
52      rm -f conf$$.sh
53  fi  fi
54    
55  # Support unset when possible.  # Support unset when possible.
# Line 93  fi Line 65  fi
65  # there to prevent editors from complaining about space-tab.  # there to prevent editors from complaining about space-tab.
66  # (If _AS_PATH_WALK were called with IFS unset, it would disable word  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67  # splitting by setting IFS to empty value.)  # splitting by setting IFS to empty value.)
68    as_nl='
69    '
70  IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
71    
72  # Find who we are.  Look in the path if we contain no directory separator.  # Find who we are.  Look in the path if we contain no directory separator.
# Line 115  if test "x$as_myself" = x; then Line 89  if test "x$as_myself" = x; then
89    as_myself=$0    as_myself=$0
90  fi  fi
91  if test ! -f "$as_myself"; then  if test ! -f "$as_myself"; then
92    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2    echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93    { (exit 1); exit 1; }    { (exit 1); exit 1; }
94  fi  fi
95    
# Line 128  PS2='> ' Line 102  PS2='> '
102  PS4='+ '  PS4='+ '
103    
104  # NLS nuisances.  # NLS nuisances.
105  LC_ALL=C  for as_var in \
106  export LC_ALL    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107  LANGUAGE=C    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108  export LANGUAGE    LC_TELEPHONE LC_TIME
109    do
110      if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111        eval $as_var=C; export $as_var
112      else
113        ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114      fi
115    done
116    
117  # Required to use basename.  # Required to use basename.
118  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
# Line 153  as_me=`$as_basename -- "$0" || Line 134  as_me=`$as_basename -- "$0" ||
134  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
136           X"$0" : 'X\(/\)' \| . 2>/dev/null ||           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137  $as_echo X/"$0" |  echo X/"$0" |
138      sed '/^.*\/\([^/][^/]*\)\/*$/{      sed '/^.*\/\([^/][^/]*\)\/*$/{
139              s//\1/              s//\1/
140              q              q
# Line 179  else Line 160  else
160    as_have_required=no    as_have_required=no
161  fi  fi
162    
163    if test $as_have_required = yes &&     (eval ":    if test $as_have_required = yes &&     (eval ":
164  (as_func_return () {  (as_func_return () {
165    (exit \$1)    (exit \$1)
166  }  }
# Line 261  IFS=$as_save_IFS Line 242  IFS=$as_save_IFS
242  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243    emulate sh    emulate sh
244    NULLCMD=:    NULLCMD=:
245    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
247    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
248    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
# Line 282  _ASEOF Line 263  _ASEOF
263  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264    emulate sh    emulate sh
265    NULLCMD=:    NULLCMD=:
266    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
268    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
269    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
# Line 362  fi Line 343  fi
343    
344        if test "x$CONFIG_SHELL" != x; then        if test "x$CONFIG_SHELL" != x; then
345    for as_var in BASH_ENV ENV    for as_var in BASH_ENV ENV
346          do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var          do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347          done          done
348          export CONFIG_SHELL          export CONFIG_SHELL
349          exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}          exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350  fi  fi
351    
352    
# Line 434  fi Line 415  fi
415    
416  test \$exitcode = 0") || {  test \$exitcode = 0") || {
417    echo No shell found that supports shell functions.    echo No shell found that supports shell functions.
418    echo Please tell bug-autoconf@gnu.org about your system,    echo Please tell autoconf@gnu.org about your system,
419    echo including any error possibly output before this message.    echo including any error possibly output before this
420    echo This can help us improve future autoconf versions.    echo message
   echo Configuration will now proceed without shell functions.  
421  }  }
422    
423    
# Line 473  test \$exitcode = 0") || { Line 453  test \$exitcode = 0") || {
453        s/-\n.*//        s/-\n.*//
454      ' >$as_me.lineno &&      ' >$as_me.lineno &&
455    chmod +x "$as_me.lineno" ||    chmod +x "$as_me.lineno" ||
456      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2      { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
458    
459    # Don't try to exec as it changes $[0], causing all sort of problems    # Don't try to exec as it changes $[0], causing all sort of problems
# Line 501  case `echo -n x` in Line 481  case `echo -n x` in
481  *)  *)
482    ECHO_N='-n';;    ECHO_N='-n';;
483  esac  esac
484    
485  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
486     test "X`expr 00001 : '.*\(...\)'`" = X001; then     test "X`expr 00001 : '.*\(...\)'`" = X001; then
487    as_expr=expr    as_expr=expr
# Line 513  if test -d conf$$.dir; then Line 494  if test -d conf$$.dir; then
494    rm -f conf$$.dir/conf$$.file    rm -f conf$$.dir/conf$$.file
495  else  else
496    rm -f conf$$.dir    rm -f conf$$.dir
497    mkdir conf$$.dir 2>/dev/null    mkdir conf$$.dir
498  fi  fi
499  if (echo >conf$$.file) 2>/dev/null; then  echo >conf$$.file
500    if ln -s conf$$.file conf$$ 2>/dev/null; then  if ln -s conf$$.file conf$$ 2>/dev/null; then
501      as_ln_s='ln -s'    as_ln_s='ln -s'
502      # ... but there are two gotchas:    # ... but there are two gotchas:
503      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505      # In both cases, we have to default to `cp -p'.    # In both cases, we have to default to `cp -p'.
506      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
       as_ln_s='cp -p'  
   elif ln conf$$.file conf$$ 2>/dev/null; then  
     as_ln_s=ln  
   else  
507      as_ln_s='cp -p'      as_ln_s='cp -p'
508    fi  elif ln conf$$.file conf$$ 2>/dev/null; then
509      as_ln_s=ln
510  else  else
511    as_ln_s='cp -p'    as_ln_s='cp -p'
512  fi  fi
# Line 553  else Line 531  else
531    as_test_x='    as_test_x='
532      eval sh -c '\''      eval sh -c '\''
533        if test -d "$1"; then        if test -d "$1"; then
534          test -d "$1/.";          test -d "$1/.";
535        else        else
536          case $1 in          case $1 in
537          -*)set "./$1";;          -*)set "./$1";;
538          esac;          esac;
539          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540          ???[sx]*):;;*)false;;esac;fi          ???[sx]*):;;*)false;;esac;fi
# Line 601  PACKAGE_STRING='GPXView 0.8.10' Line 579  PACKAGE_STRING='GPXView 0.8.10'
579  PACKAGE_BUGREPORT='till@harbaum.org'  PACKAGE_BUGREPORT='till@harbaum.org'
580    
581  ac_unique_file="src/main.c"  ac_unique_file="src/main.c"
582  ac_subst_vars='LTLIBOBJS  ac_subst_vars='SHELL
 LIBOBJS  
 INSTALL_PLATTFORM  
 ICON  
 EXTRA_OBJS  
 gnome2_LIBS  
 gnome2_CFLAGS  
 gtk_LIBS  
 gtk_CFLAGS  
 liblocation_LIBS  
 liblocation_CFLAGS  
 gpsbt_LIBS  
 gpsbt_CFLAGS  
 hildon_help_LIBS  
 hildon_help_CFLAGS  
 sqlite3_LIBS  
 sqlite3_CFLAGS  
 hildon_fm_2_LIBS  
 hildon_fm_2_CFLAGS  
 osso_LIBS  
 osso_CFLAGS  
 hildon_LIBS  
 hildon_CFLAGS  
 libgtkhtml3_8_LIBS  
 libgtkhtml3_8_CFLAGS  
 libgtkhtml3_14_LIBS  
 libgtkhtml3_14_CFLAGS  
 libsoup22_LIBS  
 libsoup22_CFLAGS  
 libsoup24_LIBS  
 libsoup24_CFLAGS  
 libxml2_LIBS  
 libxml2_CFLAGS  
 gnome_vfs_module_LIBS  
 gnome_vfs_module_CFLAGS  
 PKG_CONFIG  
 SET_MAKE  
 LN_S  
 INSTALL_DATA  
 INSTALL_SCRIPT  
 INSTALL_PROGRAM  
 OBJEXT  
 EXEEXT  
 ac_ct_CC  
 CPPFLAGS  
 LDFLAGS  
 CFLAGS  
 CC  
 PACKAGE  
 target_alias  
 host_alias  
 build_alias  
 LIBS  
 ECHO_T  
 ECHO_N  
 ECHO_C  
 DEFS  
 mandir  
 localedir  
 libdir  
 psdir  
 pdfdir  
 dvidir  
 htmldir  
 infodir  
 docdir  
 oldincludedir  
 includedir  
 localstatedir  
 sharedstatedir  
 sysconfdir  
 datadir  
 datarootdir  
 libexecdir  
 sbindir  
 bindir  
 program_transform_name  
 prefix  
 exec_prefix  
 PACKAGE_BUGREPORT  
 PACKAGE_STRING  
 PACKAGE_VERSION  
 PACKAGE_TARNAME  
 PACKAGE_NAME  
583  PATH_SEPARATOR  PATH_SEPARATOR
584  SHELL'  PACKAGE_NAME
585    PACKAGE_TARNAME
586    PACKAGE_VERSION
587    PACKAGE_STRING
588    PACKAGE_BUGREPORT
589    exec_prefix
590    prefix
591    program_transform_name
592    bindir
593    sbindir
594    libexecdir
595    datarootdir
596    datadir
597    sysconfdir
598    sharedstatedir
599    localstatedir
600    includedir
601    oldincludedir
602    docdir
603    infodir
604    htmldir
605    dvidir
606    pdfdir
607    psdir
608    libdir
609    localedir
610    mandir
611    DEFS
612    ECHO_C
613    ECHO_N
614    ECHO_T
615    LIBS
616    build_alias
617    host_alias
618    target_alias
619    PACKAGE
620    CC
621    CFLAGS
622    LDFLAGS
623    CPPFLAGS
624    ac_ct_CC
625    EXEEXT
626    OBJEXT
627    INSTALL_PROGRAM
628    INSTALL_SCRIPT
629    INSTALL_DATA
630    LN_S
631    SET_MAKE
632    PKG_CONFIG
633    gnome_vfs_module_CFLAGS
634    gnome_vfs_module_LIBS
635    libxml2_CFLAGS
636    libxml2_LIBS
637    libsoup24_CFLAGS
638    libsoup24_LIBS
639    libsoup22_CFLAGS
640    libsoup22_LIBS
641    libgtkhtml3_14_CFLAGS
642    libgtkhtml3_14_LIBS
643    libgtkhtml3_8_CFLAGS
644    libgtkhtml3_8_LIBS
645    hildon_CFLAGS
646    hildon_LIBS
647    osso_CFLAGS
648    osso_LIBS
649    hildon_fm_2_CFLAGS
650    hildon_fm_2_LIBS
651    sqlite3_CFLAGS
652    sqlite3_LIBS
653    hildon_help_CFLAGS
654    hildon_help_LIBS
655    gpsbt_CFLAGS
656    gpsbt_LIBS
657    liblocation_CFLAGS
658    liblocation_LIBS
659    gtk_CFLAGS
660    gtk_LIBS
661    gnome2_CFLAGS
662    gnome2_LIBS
663    EXTRA_OBJS
664    ICON
665    INSTALL_PLATTFORM
666    LIBOBJS
667    LTLIBOBJS'
668  ac_subst_files=''  ac_subst_files=''
 ac_user_opts='  
 enable_option_checking  
 '  
669        ac_precious_vars='build_alias        ac_precious_vars='build_alias
670  host_alias  host_alias
671  target_alias  target_alias
# Line 735  gnome2_LIBS' Line 710  gnome2_LIBS'
710  # Initialize some variables set by options.  # Initialize some variables set by options.
711  ac_init_help=  ac_init_help=
712  ac_init_version=false  ac_init_version=false
 ac_unrecognized_opts=  
 ac_unrecognized_sep=  
713  # The variables have the same names as the options, with  # The variables have the same names as the options, with
714  # dashes changed to underlines.  # dashes changed to underlines.
715  cache_file=/dev/null  cache_file=/dev/null
# Line 835  do Line 808  do
808      datarootdir=$ac_optarg ;;      datarootdir=$ac_optarg ;;
809    
810    -disable-* | --disable-*)    -disable-* | --disable-*)
811      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
812      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
813      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
814        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
815     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
816      ac_useropt_orig=$ac_useropt      ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
817      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      eval enable_$ac_feature=no ;;
     case $ac_user_opts in  
       *"  
 "enable_$ac_useropt"  
 "*) ;;  
       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"  
          ac_unrecognized_sep=', ';;  
     esac  
     eval enable_$ac_useropt=no ;;  
818    
819    -docdir | --docdir | --docdi | --doc | --do)    -docdir | --docdir | --docdi | --doc | --do)
820      ac_prev=docdir ;;      ac_prev=docdir ;;
# Line 862  do Line 827  do
827      dvidir=$ac_optarg ;;      dvidir=$ac_optarg ;;
828    
829    -enable-* | --enable-*)    -enable-* | --enable-*)
830      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
831      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
832      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
833        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
834     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
835      ac_useropt_orig=$ac_useropt      ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
836      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      eval enable_$ac_feature=\$ac_optarg ;;
     case $ac_user_opts in  
       *"  
 "enable_$ac_useropt"  
 "*) ;;  
       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"  
          ac_unrecognized_sep=', ';;  
     esac  
     eval enable_$ac_useropt=\$ac_optarg ;;  
837    
838    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
839    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 1067  do Line 1024  do
1024      ac_init_version=: ;;      ac_init_version=: ;;
1025    
1026    -with-* | --with-*)    -with-* | --with-*)
1027      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1028      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1029      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1030        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2        { echo "$as_me: error: invalid package name: $ac_package" >&2
1031     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1032      ac_useropt_orig=$ac_useropt      ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1033      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      eval with_$ac_package=\$ac_optarg ;;
     case $ac_user_opts in  
       *"  
 "with_$ac_useropt"  
 "*) ;;  
       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"  
          ac_unrecognized_sep=', ';;  
     esac  
     eval with_$ac_useropt=\$ac_optarg ;;  
1034    
1035    -without-* | --without-*)    -without-* | --without-*)
1036      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1037      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1038      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&      expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1039        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2        { echo "$as_me: error: invalid package name: $ac_package" >&2
1040     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1041      ac_useropt_orig=$ac_useropt      ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1042      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`      eval with_$ac_package=no ;;
     case $ac_user_opts in  
       *"  
 "with_$ac_useropt"  
 "*) ;;  
       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"  
          ac_unrecognized_sep=', ';;  
     esac  
     eval with_$ac_useropt=no ;;  
1043    
1044    --x)    --x)
1045      # Obsolete; use --with-x.      # Obsolete; use --with-x.
# Line 1118  do Line 1059  do
1059    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1060      x_libraries=$ac_optarg ;;      x_libraries=$ac_optarg ;;
1061    
1062    -*) { $as_echo "$as_me: error: unrecognized option: $ac_option    -*) { echo "$as_me: error: unrecognized option: $ac_option
1063  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information." >&2
1064     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1065      ;;      ;;
# Line 1127  Try \`$0 --help' for more information." Line 1068  Try \`$0 --help' for more information."
1068      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1069      # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
1070      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1071        { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1072     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1073      eval $ac_envvar=\$ac_optarg      eval $ac_envvar=\$ac_optarg
1074      export $ac_envvar ;;      export $ac_envvar ;;
1075    
1076    *)    *)
1077      # FIXME: should be removed in autoconf 3.0.      # FIXME: should be removed in autoconf 3.0.
1078      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1079      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1080        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1081      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1082      ;;      ;;
1083    
# Line 1145  done Line 1086  done
1086    
1087  if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
1088    ac_option=--`echo $ac_prev | sed 's/_/-/g'`    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1089    { $as_echo "$as_me: error: missing argument to $ac_option" >&2    { echo "$as_me: error: missing argument to $ac_option" >&2
1090     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1091  fi  fi
1092    
1093  if test -n "$ac_unrecognized_opts"; then  # Be sure to have absolute directory names.
   case $enable_option_checking in  
     no) ;;  
     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2  
    { (exit 1); exit 1; }; } ;;  
     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;  
   esac  
 fi  
   
 # Check all directory arguments for consistency.  
1094  for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \  for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1095                  datadir sysconfdir sharedstatedir localstatedir includedir \                  datadir sysconfdir sharedstatedir localstatedir includedir \
1096                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \                  oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1097                  libdir localedir mandir                  libdir localedir mandir
1098  do  do
1099    eval ac_val=\$$ac_var    eval ac_val=\$$ac_var
   # Remove trailing slashes.  
   case $ac_val in  
     */ )  
       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`  
       eval $ac_var=\$ac_val;;  
   esac  
   # Be sure to have absolute directory names.  
1100    case $ac_val in    case $ac_val in
1101      [\\/$]* | ?:[\\/]* )  continue;;      [\\/$]* | ?:[\\/]* )  continue;;
1102      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1103    esac    esac
1104    { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2    { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1105     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1106  done  done
1107    
# Line 1191  target=$target_alias Line 1116  target=$target_alias
1116  if test "x$host_alias" != x; then  if test "x$host_alias" != x; then
1117    if test "x$build_alias" = x; then    if test "x$build_alias" = x; then
1118      cross_compiling=maybe      cross_compiling=maybe
1119      $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.      echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1120      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
1121    elif test "x$build_alias" != "x$host_alias"; then    elif test "x$build_alias" != "x$host_alias"; then
1122      cross_compiling=yes      cross_compiling=yes
# Line 1207  test "$silent" = yes && exec 6>/dev/null Line 1132  test "$silent" = yes && exec 6>/dev/null
1132  ac_pwd=`pwd` && test -n "$ac_pwd" &&  ac_pwd=`pwd` && test -n "$ac_pwd" &&
1133  ac_ls_di=`ls -di .` &&  ac_ls_di=`ls -di .` &&
1134  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1135    { $as_echo "$as_me: error: working directory cannot be determined" >&2    { echo "$as_me: error: Working directory cannot be determined" >&2
1136     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1137  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1138    { $as_echo "$as_me: error: pwd does not report name of working directory" >&2    { echo "$as_me: error: pwd does not report name of working directory" >&2
1139     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1140    
1141    
# Line 1218  test "X$ac_ls_di" = "X$ac_pwd_ls_di" || Line 1143  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1143  if test -z "$srcdir"; then  if test -z "$srcdir"; then
1144    ac_srcdir_defaulted=yes    ac_srcdir_defaulted=yes
1145    # Try the directory containing this script, then the parent directory.    # Try the directory containing this script, then the parent directory.
1146    ac_confdir=`$as_dirname -- "$as_myself" ||    ac_confdir=`$as_dirname -- "$0" ||
1147  $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \  $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1148           X"$as_myself" : 'X\(//\)[^/]' \| \           X"$0" : 'X\(//\)[^/]' \| \
1149           X"$as_myself" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
1150           X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1151  $as_echo X"$as_myself" |  echo X"$0" |
1152      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1153              s//\1/              s//\1/
1154              q              q
# Line 1250  else Line 1175  else
1175  fi  fi
1176  if test ! -r "$srcdir/$ac_unique_file"; then  if test ! -r "$srcdir/$ac_unique_file"; then
1177    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1178    { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1179     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1180  fi  fi
1181  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1182  ac_abs_confdir=`(  ac_abs_confdir=`(
1183          cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2          cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1184     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1185          pwd)`          pwd)`
1186  # When building in place, set srcdir=.  # When building in place, set srcdir=.
# Line 1304  Configuration: Line 1229  Configuration:
1229    
1230  Installation directories:  Installation directories:
1231    --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
1232                            [$ac_default_prefix]                            [$ac_default_prefix]
1233    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1234                            [PREFIX]                            [PREFIX]
1235    
1236  By default, \`make install' will install all the files in  By default, \`make install' will install all the files in
1237  \`$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 1316  for instance \`--prefix=\$HOME'. Line 1241  for instance \`--prefix=\$HOME'.
1241  For better control, use the options below.  For better control, use the options below.
1242    
1243  Fine tuning of the installation directories:  Fine tuning of the installation directories:
1244    --bindir=DIR            user executables [EPREFIX/bin]    --bindir=DIR           user executables [EPREFIX/bin]
1245    --sbindir=DIR           system admin executables [EPREFIX/sbin]    --sbindir=DIR          system admin executables [EPREFIX/sbin]
1246    --libexecdir=DIR        program executables [EPREFIX/libexec]    --libexecdir=DIR       program executables [EPREFIX/libexec]
1247    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]    --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1248    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]    --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1249    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]    --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1250    --libdir=DIR            object code libraries [EPREFIX/lib]    --libdir=DIR           object code libraries [EPREFIX/lib]
1251    --includedir=DIR        C header files [PREFIX/include]    --includedir=DIR       C header files [PREFIX/include]
1252    --oldincludedir=DIR     C header files for non-gcc [/usr/include]    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1253    --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]    --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1254    --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]    --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1255    --infodir=DIR           info documentation [DATAROOTDIR/info]    --infodir=DIR          info documentation [DATAROOTDIR/info]
1256    --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]    --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1257    --mandir=DIR            man documentation [DATAROOTDIR/man]    --mandir=DIR           man documentation [DATAROOTDIR/man]
1258    --docdir=DIR            documentation root [DATAROOTDIR/doc/gpxview]    --docdir=DIR           documentation root [DATAROOTDIR/doc/gpxview]
1259    --htmldir=DIR           html documentation [DOCDIR]    --htmldir=DIR          html documentation [DOCDIR]
1260    --dvidir=DIR            dvi documentation [DOCDIR]    --dvidir=DIR           dvi documentation [DOCDIR]
1261    --pdfdir=DIR            pdf documentation [DOCDIR]    --pdfdir=DIR           pdf documentation [DOCDIR]
1262    --psdir=DIR             ps documentation [DOCDIR]    --psdir=DIR            ps documentation [DOCDIR]
1263  _ACEOF  _ACEOF
1264    
1265    cat <<\_ACEOF    cat <<\_ACEOF
# Line 1421  fi Line 1346  fi
1346  if test "$ac_init_help" = "recursive"; then  if test "$ac_init_help" = "recursive"; then
1347    # If there are subdirs, report their specific --help.    # If there are subdirs, report their specific --help.
1348    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
1349      test -d "$ac_dir" ||      test -d "$ac_dir" || continue
       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||  
       continue  
1350      ac_builddir=.      ac_builddir=.
1351    
1352  case "$ac_dir" in  case "$ac_dir" in
1353  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1354  *)  *)
1355    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1356    # A ".." for each directory in $ac_dir_suffix.    # A ".." for each directory in $ac_dir_suffix.
1357    ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`    ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1358    case $ac_top_builddir_sub in    case $ac_top_builddir_sub in
1359    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
# Line 1467  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ Line 1390  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
1390        echo &&        echo &&
1391        $SHELL "$ac_srcdir/configure" --help=recursive        $SHELL "$ac_srcdir/configure" --help=recursive
1392      else      else
1393        $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2        echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1394      fi || ac_status=$?      fi || ac_status=$?
1395      cd "$ac_pwd" || { ac_status=$?; break; }      cd "$ac_pwd" || { ac_status=$?; break; }
1396    done    done
# Line 1477  test -n "$ac_init_help" && exit $ac_stat Line 1400  test -n "$ac_init_help" && exit $ac_stat
1400  if $ac_init_version; then  if $ac_init_version; then
1401    cat <<\_ACEOF    cat <<\_ACEOF
1402  GPXView configure 0.8.10  GPXView configure 0.8.10
1403  generated by GNU Autoconf 2.63  generated by GNU Autoconf 2.61
1404    
1405  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1406  2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.  2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1407  This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
1408  gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
1409  _ACEOF  _ACEOF
# Line 1491  This file contains any messages produced Line 1414  This file contains any messages produced
1414  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1415    
1416  It was created by GPXView $as_me 0.8.10, which was  It was created by GPXView $as_me 0.8.10, which was
1417  generated by GNU Autoconf 2.63.  Invocation command line was  generated by GNU Autoconf 2.61.  Invocation command line was
1418    
1419    $ $0 $@    $ $0 $@
1420    
# Line 1527  for as_dir in $PATH Line 1450  for as_dir in $PATH
1450  do  do
1451    IFS=$as_save_IFS    IFS=$as_save_IFS
1452    test -z "$as_dir" && as_dir=.    test -z "$as_dir" && as_dir=.
1453    $as_echo "PATH: $as_dir"    echo "PATH: $as_dir"
1454  done  done
1455  IFS=$as_save_IFS  IFS=$as_save_IFS
1456    
# Line 1562  do Line 1485  do
1485      | -silent | --silent | --silen | --sile | --sil)      | -silent | --silent | --silen | --sile | --sil)
1486        continue ;;        continue ;;
1487      *\'*)      *\'*)
1488        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;        ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1489      esac      esac
1490      case $ac_pass in      case $ac_pass in
1491      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
# Line 1614  _ASBOX Line 1537  _ASBOX
1537      case $ac_val in #(      case $ac_val in #(
1538      *${as_nl}*)      *${as_nl}*)
1539        case $ac_var in #(        case $ac_var in #(
1540        *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5        *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1541  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;  echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1542        esac        esac
1543        case $ac_var in #(        case $ac_var in #(
1544        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(  
1545        *) $as_unset $ac_var ;;        *) $as_unset $ac_var ;;
1546        esac ;;        esac ;;
1547      esac      esac
# Line 1649  _ASBOX Line 1571  _ASBOX
1571      do      do
1572        eval ac_val=\$$ac_var        eval ac_val=\$$ac_var
1573        case $ac_val in        case $ac_val in
1574        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1575        esac        esac
1576        $as_echo "$ac_var='\''$ac_val'\''"        echo "$ac_var='\''$ac_val'\''"
1577      done | sort      done | sort
1578      echo      echo
1579    
# Line 1666  _ASBOX Line 1588  _ASBOX
1588        do        do
1589          eval ac_val=\$$ac_var          eval ac_val=\$$ac_var
1590          case $ac_val in          case $ac_val in
1591          *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;          *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1592          esac          esac
1593          $as_echo "$ac_var='\''$ac_val'\''"          echo "$ac_var='\''$ac_val'\''"
1594        done | sort        done | sort
1595        echo        echo
1596      fi      fi
# Line 1684  _ASBOX Line 1606  _ASBOX
1606        echo        echo
1607      fi      fi
1608      test "$ac_signal" != 0 &&      test "$ac_signal" != 0 &&
1609        $as_echo "$as_me: caught signal $ac_signal"        echo "$as_me: caught signal $ac_signal"
1610      $as_echo "$as_me: exit $exit_status"      echo "$as_me: exit $exit_status"
1611    } >&5    } >&5
1612    rm -f core *.core core.conftest.* &&    rm -f core *.core core.conftest.* &&
1613      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
# Line 1727  _ACEOF Line 1649  _ACEOF
1649    
1650    
1651  # 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.
1652  # Prefer an explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
 ac_site_file1=NONE  
 ac_site_file2=NONE  
1653  if test -n "$CONFIG_SITE"; then  if test -n "$CONFIG_SITE"; then
1654    ac_site_file1=$CONFIG_SITE    set x "$CONFIG_SITE"
1655  elif test "x$prefix" != xNONE; then  elif test "x$prefix" != xNONE; then
1656    ac_site_file1=$prefix/share/config.site    set x "$prefix/share/config.site" "$prefix/etc/config.site"
   ac_site_file2=$prefix/etc/config.site  
1657  else  else
1658    ac_site_file1=$ac_default_prefix/share/config.site    set x "$ac_default_prefix/share/config.site" \
1659    ac_site_file2=$ac_default_prefix/etc/config.site          "$ac_default_prefix/etc/config.site"
1660  fi  fi
1661  for ac_site_file in "$ac_site_file1" "$ac_site_file2"  shift
1662    for ac_site_file
1663  do  do
   test "x$ac_site_file" = xNONE && continue  
1664    if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
1665      { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5      { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1666  $as_echo "$as_me: loading site script $ac_site_file" >&6;}  echo "$as_me: loading site script $ac_site_file" >&6;}
1667      sed 's/^/| /' "$ac_site_file" >&5      sed 's/^/| /' "$ac_site_file" >&5
1668      . "$ac_site_file"      . "$ac_site_file"
1669    fi    fi
# Line 1754  if test -r "$cache_file"; then Line 1673  if test -r "$cache_file"; then
1673    # Some versions of bash will fail to source /dev/null (special    # Some versions of bash will fail to source /dev/null (special
1674    # files actually), so we avoid doing that.    # files actually), so we avoid doing that.
1675    if test -f "$cache_file"; then    if test -f "$cache_file"; then
1676      { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5      { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1677  $as_echo "$as_me: loading cache $cache_file" >&6;}  echo "$as_me: loading cache $cache_file" >&6;}
1678      case $cache_file in      case $cache_file in
1679        [\\/]* | ?:[\\/]* ) . "$cache_file";;        [\\/]* | ?:[\\/]* ) . "$cache_file";;
1680        *)                      . "./$cache_file";;        *)                      . "./$cache_file";;
1681      esac      esac
1682    fi    fi
1683  else  else
1684    { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5    { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1685  $as_echo "$as_me: creating cache $cache_file" >&6;}  echo "$as_me: creating cache $cache_file" >&6;}
1686    >$cache_file    >$cache_file
1687  fi  fi
1688    
# Line 1777  for ac_var in $ac_precious_vars; do Line 1696  for ac_var in $ac_precious_vars; do
1696    eval ac_new_val=\$ac_env_${ac_var}_value    eval ac_new_val=\$ac_env_${ac_var}_value
1697    case $ac_old_set,$ac_new_set in    case $ac_old_set,$ac_new_set in
1698      set,)      set,)
1699        { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5        { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1700  $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}  echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1701        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
1702      ,set)      ,set)
1703        { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5        { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1704  $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}  echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1705        ac_cache_corrupted=: ;;        ac_cache_corrupted=: ;;
1706      ,);;      ,);;
1707      *)      *)
1708        if test "x$ac_old_val" != "x$ac_new_val"; then        if test "x$ac_old_val" != "x$ac_new_val"; then
1709          # differences in whitespace do not lead to failure.          { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1710          ac_old_val_w=`echo x $ac_old_val`  echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1711          ac_new_val_w=`echo x $ac_new_val`          { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1712          if test "$ac_old_val_w" != "$ac_new_val_w"; then  echo "$as_me:   former value:  $ac_old_val" >&2;}
1713            { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5          { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1714  $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}  echo "$as_me:   current value: $ac_new_val" >&2;}
1715            ac_cache_corrupted=:          ac_cache_corrupted=:
         else  
           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5  
 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}  
           eval $ac_var=\$ac_old_val  
         fi  
         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5  
 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}  
         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5  
 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}  
1716        fi;;        fi;;
1717    esac    esac
1718    # Pass precious variables to config.status.    # Pass precious variables to config.status.
1719    if test "$ac_new_set" = set; then    if test "$ac_new_set" = set; then
1720      case $ac_new_val in      case $ac_new_val in
1721      *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;      *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1722      *) ac_arg=$ac_var=$ac_new_val ;;      *) ac_arg=$ac_var=$ac_new_val ;;
1723      esac      esac
1724      case " $ac_configure_args " in      case " $ac_configure_args " in
# Line 1818  $as_echo "$as_me:   current value: \`$ac Line 1728  $as_echo "$as_me:   current value: \`$ac
1728    fi    fi
1729  done  done
1730  if $ac_cache_corrupted; then  if $ac_cache_corrupted; then
1731    { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5    { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1732  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1733    { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5    { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1734  $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}  echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5  
 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}  
1735     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
1736  fi  fi
1737    
# Line 1873  ac_compiler_gnu=$ac_cv_c_compiler_gnu Line 1781  ac_compiler_gnu=$ac_cv_c_compiler_gnu
1781  if test -n "$ac_tool_prefix"; then  if test -n "$ac_tool_prefix"; then
1782    # 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.
1783  set dummy ${ac_tool_prefix}gcc; ac_word=$2  set dummy ${ac_tool_prefix}gcc; ac_word=$2
1784  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1785  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1786  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1787    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1788  else  else
1789    if test -n "$CC"; then    if test -n "$CC"; then
1790    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 1889  do Line 1797  do
1797    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1798    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
1799      ac_cv_prog_CC="${ac_tool_prefix}gcc"      ac_cv_prog_CC="${ac_tool_prefix}gcc"
1800      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801      break 2      break 2
1802    fi    fi
1803  done  done
# Line 1900  fi Line 1808  fi
1808  fi  fi
1809  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1810  if test -n "$CC"; then  if test -n "$CC"; then
1811    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
1812  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
1813  else  else
1814    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
1815  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
1816  fi  fi
1817    
1818    
# Line 1913  if test -z "$ac_cv_prog_CC"; then Line 1821  if test -z "$ac_cv_prog_CC"; then
1821    ac_ct_CC=$CC    ac_ct_CC=$CC
1822    # 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.
1823  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
1824  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1825  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1826  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1827    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1828  else  else
1829    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
1830    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 1929  do Line 1837  do
1837    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1838    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
1839      ac_cv_prog_ac_ct_CC="gcc"      ac_cv_prog_ac_ct_CC="gcc"
1840      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1841      break 2      break 2
1842    fi    fi
1843  done  done
# Line 1940  fi Line 1848  fi
1848  fi  fi
1849  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
1850  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
1851    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1852  $as_echo "$ac_ct_CC" >&6; }  echo "${ECHO_T}$ac_ct_CC" >&6; }
1853  else  else
1854    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
1855  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
1856  fi  fi
1857    
1858    if test "x$ac_ct_CC" = x; then    if test "x$ac_ct_CC" = x; then
# Line 1952  fi Line 1860  fi
1860    else    else
1861      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
1862  yes:)  yes:)
1863  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5  { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1864  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  whose name does not start with the host triplet.  If you think this
1865    configuration is useful to you, please write to autoconf@gnu.org." >&5
1866    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1867    whose name does not start with the host triplet.  If you think this
1868    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1869  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
1870  esac  esac
1871      CC=$ac_ct_CC      CC=$ac_ct_CC
# Line 1966  if test -z "$CC"; then Line 1878  if test -z "$CC"; then
1878            if test -n "$ac_tool_prefix"; then            if test -n "$ac_tool_prefix"; then
1879      # 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.
1880  set dummy ${ac_tool_prefix}cc; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
1881  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1882  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1883  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1884    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1885  else  else
1886    if test -n "$CC"; then    if test -n "$CC"; then
1887    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 1982  do Line 1894  do
1894    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1895    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
1896      ac_cv_prog_CC="${ac_tool_prefix}cc"      ac_cv_prog_CC="${ac_tool_prefix}cc"
1897      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898      break 2      break 2
1899    fi    fi
1900  done  done
# Line 1993  fi Line 1905  fi
1905  fi  fi
1906  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1907  if test -n "$CC"; then  if test -n "$CC"; then
1908    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
1909  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
1910  else  else
1911    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
1912  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
1913  fi  fi
1914    
1915    
# Line 2006  fi Line 1918  fi
1918  if test -z "$CC"; then  if test -z "$CC"; then
1919    # 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.
1920  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
1921  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1922  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1923  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1924    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1925  else  else
1926    if test -n "$CC"; then    if test -n "$CC"; then
1927    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 2027  do Line 1939  do
1939         continue         continue
1940       fi       fi
1941      ac_cv_prog_CC="cc"      ac_cv_prog_CC="cc"
1942      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1943      break 2      break 2
1944    fi    fi
1945  done  done
# Line 2050  fi Line 1962  fi
1962  fi  fi
1963  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
1964  if test -n "$CC"; then  if test -n "$CC"; then
1965    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
1966  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
1967  else  else
1968    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
1969  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
1970  fi  fi
1971    
1972    
# Line 2065  if test -z "$CC"; then Line 1977  if test -z "$CC"; then
1977    do    do
1978      # 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.
1979  set dummy $ac_tool_prefix$ac_prog; ac_word=$2  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1980  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
1981  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1982  if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
1983    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
1984  else  else
1985    if test -n "$CC"; then    if test -n "$CC"; then
1986    ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
# Line 2081  do Line 1993  do
1993    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
1994    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
1995      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1996      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1997      break 2      break 2
1998    fi    fi
1999  done  done
# Line 2092  fi Line 2004  fi
2004  fi  fi
2005  CC=$ac_cv_prog_CC  CC=$ac_cv_prog_CC
2006  if test -n "$CC"; then  if test -n "$CC"; then
2007    { $as_echo "$as_me:$LINENO: result: $CC" >&5    { echo "$as_me:$LINENO: result: $CC" >&5
2008  $as_echo "$CC" >&6; }  echo "${ECHO_T}$CC" >&6; }
2009  else  else
2010    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2011  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2012  fi  fi
2013    
2014    
# Line 2109  if test -z "$CC"; then Line 2021  if test -z "$CC"; then
2021  do  do
2022    # 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.
2023  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
2024  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2025  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2026  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2027    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2028  else  else
2029    if test -n "$ac_ct_CC"; then    if test -n "$ac_ct_CC"; then
2030    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 2125  do Line 2037  do
2037    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2038    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
2039      ac_cv_prog_ac_ct_CC="$ac_prog"      ac_cv_prog_ac_ct_CC="$ac_prog"
2040      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2041      break 2      break 2
2042    fi    fi
2043  done  done
# Line 2136  fi Line 2048  fi
2048  fi  fi
2049  ac_ct_CC=$ac_cv_prog_ac_ct_CC  ac_ct_CC=$ac_cv_prog_ac_ct_CC
2050  if test -n "$ac_ct_CC"; then  if test -n "$ac_ct_CC"; then
2051    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5    { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2052  $as_echo "$ac_ct_CC" >&6; }  echo "${ECHO_T}$ac_ct_CC" >&6; }
2053  else  else
2054    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2055  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2056  fi  fi
2057    
2058    
# Line 2152  done Line 2064  done
2064    else    else
2065      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2066  yes:)  yes:)
2067  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5  { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2068  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  whose name does not start with the host triplet.  If you think this
2069    configuration is useful to you, please write to autoconf@gnu.org." >&5
2070    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2071    whose name does not start with the host triplet.  If you think this
2072    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2073  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2074  esac  esac
2075      CC=$ac_ct_CC      CC=$ac_ct_CC
# Line 2163  fi Line 2079  fi
2079  fi  fi
2080    
2081    
2082  test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH  
2083  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2084  $as_echo "$as_me: error: no acceptable C compiler found in \$PATH  echo "$as_me: error: no acceptable C compiler found in \$PATH
2085  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2086     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
2087    
2088  # Provide some information about the compiler.  # Provide some information about the compiler.
2089  $as_echo "$as_me:$LINENO: checking for C compiler version" >&5  echo "$as_me:$LINENO: checking for C compiler version" >&5
2090  set X $ac_compile  ac_compiler=`set X $ac_compile; echo $2`
 ac_compiler=$2  
2091  { (ac_try="$ac_compiler --version >&5"  { (ac_try="$ac_compiler --version >&5"
2092  case "(($ac_try" in  case "(($ac_try" in
2093    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2094    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2095  esac  esac
2096  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2097    (eval "$ac_compiler --version >&5") 2>&5    (eval "$ac_compiler --version >&5") 2>&5
2098    ac_status=$?    ac_status=$?
2099    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100    (exit $ac_status); }    (exit $ac_status); }
2101  { (ac_try="$ac_compiler -v >&5"  { (ac_try="$ac_compiler -v >&5"
2102  case "(($ac_try" in  case "(($ac_try" in
2103    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2104    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2105  esac  esac
2106  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2107    (eval "$ac_compiler -v >&5") 2>&5    (eval "$ac_compiler -v >&5") 2>&5
2108    ac_status=$?    ac_status=$?
2109    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110    (exit $ac_status); }    (exit $ac_status); }
2111  { (ac_try="$ac_compiler -V >&5"  { (ac_try="$ac_compiler -V >&5"
2112  case "(($ac_try" in  case "(($ac_try" in
2113    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2114    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2115  esac  esac
2116  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2117    (eval "$ac_compiler -V >&5") 2>&5    (eval "$ac_compiler -V >&5") 2>&5
2118    ac_status=$?    ac_status=$?
2119    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120    (exit $ac_status); }    (exit $ac_status); }
2121    
2122  cat >conftest.$ac_ext <<_ACEOF  cat >conftest.$ac_ext <<_ACEOF
# Line 2225  main () Line 2135  main ()
2135  }  }
2136  _ACEOF  _ACEOF
2137  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
2138  ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"  ac_clean_files="$ac_clean_files a.out a.exe b.out"
2139  # Try to create an executable without -o first, disregard a.out.  # Try to create an executable without -o first, disregard a.out.
2140  # It will help us diagnose broken compilers, and finding out an intuition  # It will help us diagnose broken compilers, and finding out an intuition
2141  # of exeext.  # of exeext.
2142  { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5  { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2143  $as_echo_n "checking for C compiler default output file name... " >&6; }  echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2144  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2145    #
2146  # The possible output files:  # List of possible output files, starting from the most likely.
2147  ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"  # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2148    # only as a last resort.  b.out is created by i960 compilers.
2149    ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2150    #
2151    # The IRIX 6 linker writes into existing files which may not be
2152    # executable, retaining their permissions.  Remove them first so a
2153    # subsequent execution test works.
2154  ac_rmfiles=  ac_rmfiles=
2155  for ac_file in $ac_files  for ac_file in $ac_files
2156  do  do
2157    case $ac_file in    case $ac_file in
2158      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2159      * ) ac_rmfiles="$ac_rmfiles $ac_file";;      * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2160    esac    esac
2161  done  done
# Line 2251  case "(($ac_try" in Line 2166  case "(($ac_try" in
2166    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2167    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2168  esac  esac
2169  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2170    (eval "$ac_link_default") 2>&5    (eval "$ac_link_default") 2>&5
2171    ac_status=$?    ac_status=$?
2172    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173    (exit $ac_status); }; then    (exit $ac_status); }; then
2174    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2175  # 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 2266  for ac_file in $ac_files '' Line 2180  for ac_file in $ac_files ''
2180  do  do
2181    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2182    case $ac_file in    case $ac_file in
2183      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2184          ;;          ;;
2185      [ab].out )      [ab].out )
2186          # We found the default executable, but exeext='' is most          # We found the default executable, but exeext='' is most
# Line 2293  else Line 2207  else
2207    ac_file=''    ac_file=''
2208  fi  fi
2209    
2210  { $as_echo "$as_me:$LINENO: result: $ac_file" >&5  { echo "$as_me:$LINENO: result: $ac_file" >&5
2211  $as_echo "$ac_file" >&6; }  echo "${ECHO_T}$ac_file" >&6; }
2212  if test -z "$ac_file"; then  if test -z "$ac_file"; then
2213    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2214  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2215    
2216  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  { { echo "$as_me:$LINENO: error: C compiler cannot create executables
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables  
2217  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2218  $as_echo "$as_me: error: C compiler cannot create executables  echo "$as_me: error: C compiler cannot create executables
2219  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2220     { (exit 77); exit 77; }; }; }     { (exit 77); exit 77; }; }
2221  fi  fi
2222    
2223  ac_exeext=$ac_cv_exeext  ac_exeext=$ac_cv_exeext
2224    
2225  # Check that the compiler produces executables we can run.  If not, either  # Check that the compiler produces executables we can run.  If not, either
2226  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2227  { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5  { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2228  $as_echo_n "checking whether the C compiler works... " >&6; }  echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2229  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2230  # If not cross compiling, check that we can run a simple program.  # If not cross compiling, check that we can run a simple program.
2231  if test "$cross_compiling" != yes; then  if test "$cross_compiling" != yes; then
# Line 2322  if test "$cross_compiling" != yes; then Line 2234  if test "$cross_compiling" != yes; then
2234    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2235    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2236  esac  esac
2237  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2238    (eval "$ac_try") 2>&5    (eval "$ac_try") 2>&5
2239    ac_status=$?    ac_status=$?
2240    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241    (exit $ac_status); }; }; then    (exit $ac_status); }; }; then
2242      cross_compiling=no      cross_compiling=no
2243    else    else
2244      if test "$cross_compiling" = maybe; then      if test "$cross_compiling" = maybe; then
2245          cross_compiling=yes          cross_compiling=yes
2246      else      else
2247          { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5          { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.  
2248  If you meant to cross compile, use \`--host'.  If you meant to cross compile, use \`--host'.
2249  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2250  $as_echo "$as_me: error: cannot run C compiled programs.  echo "$as_me: error: cannot run C compiled programs.
2251  If you meant to cross compile, use \`--host'.  If you meant to cross compile, use \`--host'.
2252  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2253     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
2254      fi      fi
2255    fi    fi
2256  fi  fi
2257  { $as_echo "$as_me:$LINENO: result: yes" >&5  { echo "$as_me:$LINENO: result: yes" >&5
2258  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
2259    
2260  rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out  rm -f a.out a.exe conftest$ac_cv_exeext b.out
2261  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
2262  # Check that the compiler produces executables we can run.  If not, either  # Check that the compiler produces executables we can run.  If not, either
2263  # the compiler is broken, or we cross compile.  # the compiler is broken, or we cross compile.
2264  { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5  { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2265  $as_echo_n "checking whether we are cross compiling... " >&6; }  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2266  { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5  { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2267  $as_echo "$cross_compiling" >&6; }  echo "${ECHO_T}$cross_compiling" >&6; }
2268    
2269  { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5  { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2270  $as_echo_n "checking for suffix of executables... " >&6; }  echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2271  if { (ac_try="$ac_link"  if { (ac_try="$ac_link"
2272  case "(($ac_try" in  case "(($ac_try" in
2273    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2274    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2275  esac  esac
2276  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2277    (eval "$ac_link") 2>&5    (eval "$ac_link") 2>&5
2278    ac_status=$?    ac_status=$?
2279    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280    (exit $ac_status); }; then    (exit $ac_status); }; then
2281    # If both `conftest.exe' and `conftest' are `present' (well, observable)    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2282  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
# Line 2377  $as_echo "$ac_try_echo") >&5 Line 2285  $as_echo "$ac_try_echo") >&5
2285  for ac_file in conftest.exe conftest conftest.*; do  for ac_file in conftest.exe conftest conftest.*; do
2286    test -f "$ac_file" || continue    test -f "$ac_file" || continue
2287    case $ac_file in    case $ac_file in
2288      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2289      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2290            break;;            break;;
2291      * ) break;;      * ) break;;
2292    esac    esac
2293  done  done
2294  else  else
2295    { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5    { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link  
2296  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2297  $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link  echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2298  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2299     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
2300  fi  fi
2301    
2302  rm -f conftest$ac_cv_exeext  rm -f conftest$ac_cv_exeext
2303  { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5  { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2304  $as_echo "$ac_cv_exeext" >&6; }  echo "${ECHO_T}$ac_cv_exeext" >&6; }
2305    
2306  rm -f conftest.$ac_ext  rm -f conftest.$ac_ext
2307  EXEEXT=$ac_cv_exeext  EXEEXT=$ac_cv_exeext
2308  ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
2309  { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5  { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2310  $as_echo_n "checking for suffix of object files... " >&6; }  echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2311  if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
2312    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2313  else  else
2314    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2315  /* confdefs.h.  */  /* confdefs.h.  */
# Line 2426  case "(($ac_try" in Line 2332  case "(($ac_try" in
2332    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2333    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2334  esac  esac
2335  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2336    (eval "$ac_compile") 2>&5    (eval "$ac_compile") 2>&5
2337    ac_status=$?    ac_status=$?
2338    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339    (exit $ac_status); }; then    (exit $ac_status); }; then
2340    for ac_file in conftest.o conftest.obj conftest.*; do    for ac_file in conftest.o conftest.obj conftest.*; do
2341    test -f "$ac_file" || continue;    test -f "$ac_file" || continue;
2342    case $ac_file in    case $ac_file in
2343      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2344      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2345         break;;         break;;
2346    esac    esac
2347  done  done
2348  else  else
2349    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2350  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2351    
2352  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5  { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile  
2353  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
2354  $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile  echo "$as_me: error: cannot compute suffix of object files: cannot compile
2355  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
2356     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
2357  fi  fi
2358    
2359  rm -f conftest.$ac_cv_objext conftest.$ac_ext  rm -f conftest.$ac_cv_objext conftest.$ac_ext
2360  fi  fi
2361  { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5  { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2362  $as_echo "$ac_cv_objext" >&6; }  echo "${ECHO_T}$ac_cv_objext" >&6; }
2363  OBJEXT=$ac_cv_objext  OBJEXT=$ac_cv_objext
2364  ac_objext=$OBJEXT  ac_objext=$OBJEXT
2365  { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5  { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2366  $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }  echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2367  if test "${ac_cv_c_compiler_gnu+set}" = set; then  if test "${ac_cv_c_compiler_gnu+set}" = set; then
2368    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2369  else  else
2370    cat >conftest.$ac_ext <<_ACEOF    cat >conftest.$ac_ext <<_ACEOF
2371  /* confdefs.h.  */  /* confdefs.h.  */
# Line 2488  case "(($ac_try" in Line 2391  case "(($ac_try" in
2391    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2392    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2393  esac  esac
2394  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2395    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2396    ac_status=$?    ac_status=$?
2397    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2398    rm -f conftest.er1    rm -f conftest.er1
2399    cat conftest.err >&5    cat conftest.err >&5
2400    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401    (exit $ac_status); } && {    (exit $ac_status); } && {
2402           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2403           test ! -s conftest.err           test ! -s conftest.err
2404         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2405    ac_compiler_gnu=yes    ac_compiler_gnu=yes
2406  else  else
2407    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2408  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2409    
2410          ac_compiler_gnu=no          ac_compiler_gnu=no
# Line 2512  rm -f core conftest.err conftest.$ac_obj Line 2414  rm -f core conftest.err conftest.$ac_obj
2414  ac_cv_c_compiler_gnu=$ac_compiler_gnu  ac_cv_c_compiler_gnu=$ac_compiler_gnu
2415    
2416  fi  fi
2417  { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5  { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2418  $as_echo "$ac_cv_c_compiler_gnu" >&6; }  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2419  if test $ac_compiler_gnu = yes; then  GCC=`test $ac_compiler_gnu = yes && echo yes`
   GCC=yes  
 else  
   GCC=  
 fi  
2420  ac_test_CFLAGS=${CFLAGS+set}  ac_test_CFLAGS=${CFLAGS+set}
2421  ac_save_CFLAGS=$CFLAGS  ac_save_CFLAGS=$CFLAGS
2422  { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5  { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2423  $as_echo_n "checking whether $CC accepts -g... " >&6; }  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2424  if test "${ac_cv_prog_cc_g+set}" = set; then  if test "${ac_cv_prog_cc_g+set}" = set; then
2425    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2426  else  else
2427    ac_save_c_werror_flag=$ac_c_werror_flag    ac_save_c_werror_flag=$ac_c_werror_flag
2428     ac_c_werror_flag=yes     ac_c_werror_flag=yes
# Line 2551  case "(($ac_try" in Line 2449  case "(($ac_try" in
2449    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2450    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2451  esac  esac
2452  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2453    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2454    ac_status=$?    ac_status=$?
2455    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2456    rm -f conftest.er1    rm -f conftest.er1
2457    cat conftest.err >&5    cat conftest.err >&5
2458    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459    (exit $ac_status); } && {    (exit $ac_status); } && {
2460           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2461           test ! -s conftest.err           test ! -s conftest.err
2462         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2463    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2464  else  else
2465    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2466  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2467    
2468          CFLAGS=""          CFLAGS=""
# Line 2590  case "(($ac_try" in Line 2487  case "(($ac_try" in
2487    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2488    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2489  esac  esac
2490  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2491    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2492    ac_status=$?    ac_status=$?
2493    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2494    rm -f conftest.er1    rm -f conftest.er1
2495    cat conftest.err >&5    cat conftest.err >&5
2496    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497    (exit $ac_status); } && {    (exit $ac_status); } && {
2498           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2499           test ! -s conftest.err           test ! -s conftest.err
2500         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2501    :    :
2502  else  else
2503    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2504  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2505    
2506          ac_c_werror_flag=$ac_save_c_werror_flag          ac_c_werror_flag=$ac_save_c_werror_flag
# Line 2630  case "(($ac_try" in Line 2526  case "(($ac_try" in
2526    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2528  esac  esac
2529  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2530    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2531    ac_status=$?    ac_status=$?
2532    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2533    rm -f conftest.er1    rm -f conftest.er1
2534    cat conftest.err >&5    cat conftest.err >&5
2535    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536    (exit $ac_status); } && {    (exit $ac_status); } && {
2537           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2538           test ! -s conftest.err           test ! -s conftest.err
2539         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2540    ac_cv_prog_cc_g=yes    ac_cv_prog_cc_g=yes
2541  else  else
2542    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2543  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2544    
2545    
# Line 2659  fi Line 2554  fi
2554  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2555     ac_c_werror_flag=$ac_save_c_werror_flag     ac_c_werror_flag=$ac_save_c_werror_flag
2556  fi  fi
2557  { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5  { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2558  $as_echo "$ac_cv_prog_cc_g" >&6; }  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2559  if test "$ac_test_CFLAGS" = set; then  if test "$ac_test_CFLAGS" = set; then
2560    CFLAGS=$ac_save_CFLAGS    CFLAGS=$ac_save_CFLAGS
2561  elif test $ac_cv_prog_cc_g = yes; then  elif test $ac_cv_prog_cc_g = yes; then
# Line 2676  else Line 2571  else
2571      CFLAGS=      CFLAGS=
2572    fi    fi
2573  fi  fi
2574  { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5  { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2575  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }  echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2576  if test "${ac_cv_prog_cc_c89+set}" = set; then  if test "${ac_cv_prog_cc_c89+set}" = set; then
2577    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2578  else  else
2579    ac_cv_prog_cc_c89=no    ac_cv_prog_cc_c89=no
2580  ac_save_CC=$CC  ac_save_CC=$CC
# Line 2750  case "(($ac_try" in Line 2645  case "(($ac_try" in
2645    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2646    *) ac_try_echo=$ac_try;;    *) ac_try_echo=$ac_try;;
2647  esac  esac
2648  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""  eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 $as_echo "$ac_try_echo") >&5  
2649    (eval "$ac_compile") 2>conftest.er1    (eval "$ac_compile") 2>conftest.er1
2650    ac_status=$?    ac_status=$?
2651    grep -v '^ *+' conftest.er1 >conftest.err    grep -v '^ *+' conftest.er1 >conftest.err
2652    rm -f conftest.er1    rm -f conftest.er1
2653    cat conftest.err >&5    cat conftest.err >&5
2654    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655    (exit $ac_status); } && {    (exit $ac_status); } && {
2656           test -z "$ac_c_werror_flag" ||           test -z "$ac_c_werror_flag" ||
2657           test ! -s conftest.err           test ! -s conftest.err
2658         } && test -s conftest.$ac_objext; then         } && test -s conftest.$ac_objext; then
2659    ac_cv_prog_cc_c89=$ac_arg    ac_cv_prog_cc_c89=$ac_arg
2660  else  else
2661    $as_echo "$as_me: failed program was:" >&5    echo "$as_me: failed program was:" >&5
2662  sed 's/^/| /' conftest.$ac_ext >&5  sed 's/^/| /' conftest.$ac_ext >&5
2663    
2664    
# Line 2780  fi Line 2674  fi
2674  # AC_CACHE_VAL  # AC_CACHE_VAL
2675  case "x$ac_cv_prog_cc_c89" in  case "x$ac_cv_prog_cc_c89" in
2676    x)    x)
2677      { $as_echo "$as_me:$LINENO: result: none needed" >&5      { echo "$as_me:$LINENO: result: none needed" >&5
2678  $as_echo "none needed" >&6; } ;;  echo "${ECHO_T}none needed" >&6; } ;;
2679    xno)    xno)
2680      { $as_echo "$as_me:$LINENO: result: unsupported" >&5      { echo "$as_me:$LINENO: result: unsupported" >&5
2681  $as_echo "unsupported" >&6; } ;;  echo "${ECHO_T}unsupported" >&6; } ;;
2682    *)    *)
2683      CC="$CC $ac_cv_prog_cc_c89"      CC="$CC $ac_cv_prog_cc_c89"
2684      { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5      { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2685  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;  echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2686  esac  esac
2687    
2688    
# Line 2815  for ac_dir in "$srcdir" "$srcdir/.." "$s Line 2709  for ac_dir in "$srcdir" "$srcdir/.." "$s
2709    fi    fi
2710  done  done
2711  if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
2712    { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5    { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2713  $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}  echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2714     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
2715  fi  fi
2716    
# Line 2842  ac_configure="$SHELL $ac_aux_dir/configu Line 2736  ac_configure="$SHELL $ac_aux_dir/configu
2736  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2737  # OS/2's system install, which has a completely different semantic  # OS/2's system install, which has a completely different semantic
2738  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
2739  # Reject install programs that cannot install multiple files.  { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2740  { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5  echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 $as_echo_n "checking for a BSD-compatible install... " >&6; }  
2741  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
2742  if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
2743    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2744  else  else
2745    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2746  for as_dir in $PATH  for as_dir in $PATH
# Line 2876  case $as_dir/ in Line 2769  case $as_dir/ in
2769              # program-specific install script used by HP pwplus--don't use.              # program-specific install script used by HP pwplus--don't use.
2770              :              :
2771            else            else
2772              rm -rf conftest.one conftest.two conftest.dir              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2773              echo one > conftest.one              break 3
             echo two > conftest.two  
             mkdir conftest.dir  
             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&  
               test -s conftest.one && test -s conftest.two &&  
               test -s conftest.dir/conftest.one &&  
               test -s conftest.dir/conftest.two  
             then  
               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"  
               break 3  
             fi  
2774            fi            fi
2775          fi          fi
2776        done        done
2777      done      done
2778      ;;      ;;
2779  esac  esac
   
2780  done  done
2781  IFS=$as_save_IFS  IFS=$as_save_IFS
2782    
 rm -rf conftest.one conftest.two conftest.dir  
2783    
2784  fi  fi
2785    if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
# Line 2911  fi Line 2792  fi
2792      INSTALL=$ac_install_sh      INSTALL=$ac_install_sh
2793    fi    fi
2794  fi  fi
2795  { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5  { echo "$as_me:$LINENO: result: $INSTALL" >&5
2796  $as_echo "$INSTALL" >&6; }  echo "${ECHO_T}$INSTALL" >&6; }
2797    
2798  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2799  # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
# Line 2922  test -z "$INSTALL_SCRIPT" && INSTALL_SCR Line 2803  test -z "$INSTALL_SCRIPT" && INSTALL_SCR
2803    
2804  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2805    
2806  { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5  { echo "$as_me:$LINENO: checking whether ln -s works" >&5
2807  $as_echo_n "checking whether ln -s works... " >&6; }  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
2808  LN_S=$as_ln_s  LN_S=$as_ln_s
2809  if test "$LN_S" = "ln -s"; then  if test "$LN_S" = "ln -s"; then
2810    { $as_echo "$as_me:$LINENO: result: yes" >&5    { echo "$as_me:$LINENO: result: yes" >&5
2811  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
2812  else  else
2813    { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5    { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2814  $as_echo "no, using $LN_S" >&6; }  echo "${ECHO_T}no, using $LN_S" >&6; }
2815  fi  fi
2816    
2817  { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5  { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2818  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }  echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2819  set x ${MAKE-make}  set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`  
2820  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
2821    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2822  else  else
2823    cat >conftest.make <<\_ACEOF    cat >conftest.make <<\_ACEOF
2824  SHELL = /bin/sh  SHELL = /bin/sh
# Line 2955  esac Line 2835  esac
2835  rm -f conftest.make  rm -f conftest.make
2836  fi  fi
2837  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2838    { $as_echo "$as_me:$LINENO: result: yes" >&5    { echo "$as_me:$LINENO: result: yes" >&5
2839  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
2840    SET_MAKE=    SET_MAKE=
2841  else  else
2842    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2843  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2844    SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
2845  fi  fi
2846    
# Line 2993  if test "x$ac_cv_env_PKG_CONFIG_set" != Line 2873  if test "x$ac_cv_env_PKG_CONFIG_set" !=
2873          if test -n "$ac_tool_prefix"; then          if test -n "$ac_tool_prefix"; then
2874    # 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.
2875  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2  set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2876  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2877  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2878  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then  if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2879    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2880  else  else
2881    case $PKG_CONFIG in    case $PKG_CONFIG in
2882    [\\/]* | ?:[\\/]*)    [\\/]* | ?:[\\/]*)
# Line 3011  do Line 2891  do
2891    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2892    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
2893      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"      ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2894      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2895      break 2      break 2
2896    fi    fi
2897  done  done
# Line 3023  esac Line 2903  esac
2903  fi  fi
2904  PKG_CONFIG=$ac_cv_path_PKG_CONFIG  PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2905  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
2906    { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5    { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2907  $as_echo "$PKG_CONFIG" >&6; }  echo "${ECHO_T}$PKG_CONFIG" >&6; }
2908  else  else
2909    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2910  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2911  fi  fi
2912    
2913    
# Line 3036  if test -z "$ac_cv_path_PKG_CONFIG"; the Line 2916  if test -z "$ac_cv_path_PKG_CONFIG"; the
2916    ac_pt_PKG_CONFIG=$PKG_CONFIG    ac_pt_PKG_CONFIG=$PKG_CONFIG
2917    # 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.
2918  set dummy pkg-config; ac_word=$2  set dummy pkg-config; ac_word=$2
2919  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5  { echo "$as_me:$LINENO: checking for $ac_word" >&5
2920  $as_echo_n "checking for $ac_word... " >&6; }  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2921  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then  if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2922    $as_echo_n "(cached) " >&6    echo $ECHO_N "(cached) $ECHO_C" >&6
2923  else  else
2924    case $ac_pt_PKG_CONFIG in    case $ac_pt_PKG_CONFIG in
2925    [\\/]* | ?:[\\/]*)    [\\/]* | ?:[\\/]*)
# Line 3054  do Line 2934  do
2934    for ac_exec_ext in '' $ac_executable_extensions; do    for ac_exec_ext in '' $ac_executable_extensions; do
2935    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
2936      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"
2937      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5      echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2938      break 2      break 2
2939    fi    fi
2940  done  done
# Line 3066  esac Line 2946  esac
2946  fi  fi
2947  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG  ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2948  if test -n "$ac_pt_PKG_CONFIG"; then  if test -n "$ac_pt_PKG_CONFIG"; then
2949    { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5    { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2950  $as_echo "$ac_pt_PKG_CONFIG" >&6; }  echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
2951  else  else
2952    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
2953  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2954  fi  fi
2955    
2956    if test "x$ac_pt_PKG_CONFIG" = x; then    if test "x$ac_pt_PKG_CONFIG" = x; then
# Line 3078  fi Line 2958  fi
2958    else    else
2959      case $cross_compiling:$ac_tool_warned in      case $cross_compiling:$ac_tool_warned in
2960  yes:)  yes:)
2961  { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5  { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2962  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}  whose name does not start with the host triplet.  If you think this
2963    configuration is useful to you, please write to autoconf@gnu.org." >&5
2964    echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2965    whose name does not start with the host triplet.  If you think this
2966    configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2967  ac_tool_warned=yes ;;  ac_tool_warned=yes ;;
2968  esac  esac
2969      PKG_CONFIG=$ac_pt_PKG_CONFIG      PKG_CONFIG=$ac_pt_PKG_CONFIG
# Line 3091  fi Line 2975  fi
2975  fi  fi
2976  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
2977          _pkg_min_version=0.9.0          _pkg_min_version=0.9.0
2978          { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5          { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2979  $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }  echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
2980          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then          if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2981                  { $as_echo "$as_me:$LINENO: result: yes" >&5                  { echo "$as_me:$LINENO: result: yes" >&5
2982  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
2983          else          else
2984                  { $as_echo "$as_me:$LINENO: result: no" >&5                  { echo "$as_me:$LINENO: result: no" >&5
2985  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
2986                  PKG_CONFIG=""                  PKG_CONFIG=""
2987          fi          fi
2988    
2989  fi  fi
2990    
2991  pkg_failed=no  pkg_failed=no
2992  { $as_echo "$as_me:$LINENO: checking for gnome_vfs_module" >&5  { echo "$as_me:$LINENO: checking for gnome_vfs_module" >&5
2993  $as_echo_n "checking for gnome_vfs_module... " >&6; }  echo $ECHO_N "checking for gnome_vfs_module... $ECHO_C" >&6; }
2994    
2995  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
2996      if test -n "$gnome_vfs_module_CFLAGS"; then      if test -n "$gnome_vfs_module_CFLAGS"; then
2997          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"          pkg_cv_gnome_vfs_module_CFLAGS="$gnome_vfs_module_CFLAGS"
2998      else      else
2999          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3000      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5
3001    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3002    ac_status=$?    ac_status=$?
3003    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004    (exit $ac_status); }; then    (exit $ac_status); }; then
3005    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`
3006  else  else
# Line 3131  if test -n "$PKG_CONFIG"; then Line 3015  if test -n "$PKG_CONFIG"; then
3015          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"          pkg_cv_gnome_vfs_module_LIBS="$gnome_vfs_module_LIBS"
3016      else      else
3017          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3018      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-module-2.0\"") >&5
3019    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gnome-vfs-module-2.0") 2>&5
3020    ac_status=$?    ac_status=$?
3021    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022    (exit $ac_status); }; then    (exit $ac_status); }; then
3023    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`
3024  else  else
# Line 3162  fi Line 3046  fi
3046          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3047          echo "$gnome_vfs_module_PKG_ERRORS" >&5          echo "$gnome_vfs_module_PKG_ERRORS" >&5
3048    
3049          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3050  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3051                  { { $as_echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5                  { { echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5
3052  $as_echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}  echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}
3053     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3054  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3055          { { $as_echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5          { { echo "$as_me:$LINENO: error: gnome-vfs-module-2.0 missing" >&5
3056  $as_echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}  echo "$as_me: error: gnome-vfs-module-2.0 missing" >&2;}
3057     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3058  else  else
3059          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS          gnome_vfs_module_CFLAGS=$pkg_cv_gnome_vfs_module_CFLAGS
3060          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS          gnome_vfs_module_LIBS=$pkg_cv_gnome_vfs_module_LIBS
3061          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3062  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3063          :          :
3064  fi  fi
3065  CFLAGS="$CFLAGS $gnome_vfs_module_CFLAGS"  CFLAGS="$CFLAGS $gnome_vfs_module_CFLAGS"
# Line 3184  LIBS="$LIBS $gnome_vfs_module_LIBS" Line 3068  LIBS="$LIBS $gnome_vfs_module_LIBS"
3068  # check for libxml-2.0  # check for libxml-2.0
3069    
3070  pkg_failed=no  pkg_failed=no
3071  { $as_echo "$as_me:$LINENO: checking for libxml2" >&5  { echo "$as_me:$LINENO: checking for libxml2" >&5
3072  $as_echo_n "checking for libxml2... " >&6; }  echo $ECHO_N "checking for libxml2... $ECHO_C" >&6; }
3073    
3074  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3075      if test -n "$libxml2_CFLAGS"; then      if test -n "$libxml2_CFLAGS"; then
3076          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"          pkg_cv_libxml2_CFLAGS="$libxml2_CFLAGS"
3077      else      else
3078          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3079      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
3080    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3081    ac_status=$?    ac_status=$?
3082    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083    (exit $ac_status); }; then    (exit $ac_status); }; then
3084    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`
3085  else  else
# Line 3210  if test -n "$PKG_CONFIG"; then Line 3094  if test -n "$PKG_CONFIG"; then
3094          pkg_cv_libxml2_LIBS="$libxml2_LIBS"          pkg_cv_libxml2_LIBS="$libxml2_LIBS"
3095      else      else
3096          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3097      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
3098    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
3099    ac_status=$?    ac_status=$?
3100    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101    (exit $ac_status); }; then    (exit $ac_status); }; then
3102    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`
3103  else  else
# Line 3241  fi Line 3125  fi
3125          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3126          echo "$libxml2_PKG_ERRORS" >&5          echo "$libxml2_PKG_ERRORS" >&5
3127    
3128          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3129  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3130                  { { $as_echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5                  { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5
3131  $as_echo "$as_me: error: libxml-2.0 missing" >&2;}  echo "$as_me: error: libxml-2.0 missing" >&2;}
3132     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3133  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3134          { { $as_echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5          { { echo "$as_me:$LINENO: error: libxml-2.0 missing" >&5
3135  $as_echo "$as_me: error: libxml-2.0 missing" >&2;}  echo "$as_me: error: libxml-2.0 missing" >&2;}
3136     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3137  else  else
3138          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS          libxml2_CFLAGS=$pkg_cv_libxml2_CFLAGS
3139          libxml2_LIBS=$pkg_cv_libxml2_LIBS          libxml2_LIBS=$pkg_cv_libxml2_LIBS
3140          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3141  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3142          :          :
3143  fi  fi
3144  CFLAGS="$CFLAGS $libxml2_CFLAGS"  CFLAGS="$CFLAGS $libxml2_CFLAGS"
# Line 3262  LIBS="$LIBS $libxml2_LIBS" Line 3146  LIBS="$LIBS $libxml2_LIBS"
3146  # check for libsoup  # check for libsoup
3147    
3148  pkg_failed=no  pkg_failed=no
3149  { $as_echo "$as_me:$LINENO: checking for libsoup24" >&5  { echo "$as_me:$LINENO: checking for libsoup24" >&5
3150  $as_echo_n "checking for libsoup24... " >&6; }  echo $ECHO_N "checking for libsoup24... $ECHO_C" >&6; }
3151    
3152  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3153      if test -n "$libsoup24_CFLAGS"; then      if test -n "$libsoup24_CFLAGS"; then
3154          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"
3155      else      else
3156          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3157      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
3158    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3159    ac_status=$?    ac_status=$?
3160    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161    (exit $ac_status); }; then    (exit $ac_status); }; then
3162    pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`    pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
3163  else  else
# Line 3288  if test -n "$PKG_CONFIG"; then Line 3172  if test -n "$PKG_CONFIG"; then
3172          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"
3173      else      else
3174          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3175      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
3176    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3177    ac_status=$?    ac_status=$?
3178    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179    (exit $ac_status); }; then    (exit $ac_status); }; then
3180    pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`    pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
3181  else  else
# Line 3319  fi Line 3203  fi
3203          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3204          echo "$libsoup24_PKG_ERRORS" >&5          echo "$libsoup24_PKG_ERRORS" >&5
3205    
3206          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3207  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3208    
3209    
3210  pkg_failed=no  pkg_failed=no
3211  { $as_echo "$as_me:$LINENO: checking for libsoup22" >&5  { echo "$as_me:$LINENO: checking for libsoup22" >&5
3212  $as_echo_n "checking for libsoup22... " >&6; }  echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }
3213    
3214  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3215      if test -n "$libsoup22_CFLAGS"; then      if test -n "$libsoup22_CFLAGS"; then
3216          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3217      else      else
3218          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3219      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3220    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3221    ac_status=$?    ac_status=$?
3222    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223    (exit $ac_status); }; then    (exit $ac_status); }; then
3224    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
3225  else  else
# Line 3350  if test -n "$PKG_CONFIG"; then Line 3234  if test -n "$PKG_CONFIG"; then
3234          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3235      else      else
3236          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3237      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3238    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3239    ac_status=$?    ac_status=$?
3240    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241    (exit $ac_status); }; then    (exit $ac_status); }; then
3242    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
3243  else  else
# Line 3381  fi Line 3265  fi
3265          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3266          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
3267    
3268          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3269  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3270    
3271      { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3272  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3273    
3274  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3275    
3276      { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3277  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3278    
3279  else  else
3280          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3281          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3282          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3283  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3284    
3285      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3286      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
# Line 3408  elif test $pkg_failed = untried; then Line 3292  elif test $pkg_failed = untried; then
3292    
3293    
3294  pkg_failed=no  pkg_failed=no
3295  { $as_echo "$as_me:$LINENO: checking for libsoup22" >&5  { echo "$as_me:$LINENO: checking for libsoup22" >&5
3296  $as_echo_n "checking for libsoup22... " >&6; }  echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }
3297    
3298  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3299      if test -n "$libsoup22_CFLAGS"; then      if test -n "$libsoup22_CFLAGS"; then
3300          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3301      else      else
3302          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3303      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3304    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3305    ac_status=$?    ac_status=$?
3306    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307    (exit $ac_status); }; then    (exit $ac_status); }; then
3308    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
3309  else  else
# Line 3434  if test -n "$PKG_CONFIG"; then Line 3318  if test -n "$PKG_CONFIG"; then
3318          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3319      else      else
3320          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3321      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3322    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3323    ac_status=$?    ac_status=$?
3324    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325    (exit $ac_status); }; then    (exit $ac_status); }; then
3326    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
3327  else  else
# Line 3465  fi Line 3349  fi
3349          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3350          echo "$libsoup22_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
3351    
3352          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3353  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3354    
3355      { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3356  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3357    
3358  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3359    
3360      { $as_echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3361  $as_echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3362    
3363  else  else
3364          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3365          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3366          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3367  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3368    
3369      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3370      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
# Line 3491  fi Line 3375  fi
3375  else  else
3376          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS          libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS
3377          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS          libsoup24_LIBS=$pkg_cv_libsoup24_LIBS
3378          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3379  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3380    
3381    EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"    EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3382    CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"    CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"
# Line 3503  fi Line 3387  fi
3387  # check for gtkhtml-3.14  # check for gtkhtml-3.14
3388    
3389  pkg_failed=no  pkg_failed=no
3390  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5  { echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5
3391  $as_echo_n "checking for libgtkhtml3_14... " >&6; }  echo $ECHO_N "checking for libgtkhtml3_14... $ECHO_C" >&6; }
3392    
3393  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3394      if test -n "$libgtkhtml3_14_CFLAGS"; then      if test -n "$libgtkhtml3_14_CFLAGS"; then
3395          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"
3396      else      else
3397          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3398      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5
3399    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3400    ac_status=$?    ac_status=$?
3401    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402    (exit $ac_status); }; then    (exit $ac_status); }; then
3403    pkg_cv_libgtkhtml3_14_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null`    pkg_cv_libgtkhtml3_14_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null`
3404  else  else
# Line 3529  if test -n "$PKG_CONFIG"; then Line 3413  if test -n "$PKG_CONFIG"; then
3413          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"
3414      else      else
3415          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3416      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5
3417    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3418    ac_status=$?    ac_status=$?
3419    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420    (exit $ac_status); }; then    (exit $ac_status); }; then
3421    pkg_cv_libgtkhtml3_14_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null`    pkg_cv_libgtkhtml3_14_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null`
3422  else  else
# Line 3560  fi Line 3444  fi
3444          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3445          echo "$libgtkhtml3_14_PKG_ERRORS" >&5          echo "$libgtkhtml3_14_PKG_ERRORS" >&5
3446    
3447          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3448  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3449    
3450    # ok, we can also live with 3.8    # ok, we can also live with 3.8
3451    
3452  pkg_failed=no  pkg_failed=no
3453  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
3454  $as_echo_n "checking for libgtkhtml3_8... " >&6; }  echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }
3455    
3456  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3457      if test -n "$libgtkhtml3_8_CFLAGS"; then      if test -n "$libgtkhtml3_8_CFLAGS"; then
3458          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3459      else      else
3460          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3461      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3462    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3463    ac_status=$?    ac_status=$?
3464    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465    (exit $ac_status); }; then    (exit $ac_status); }; then
3466    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
3467  else  else
# Line 3592  if test -n "$PKG_CONFIG"; then Line 3476  if test -n "$PKG_CONFIG"; then
3476          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3477      else      else
3478          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3479      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3480    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3481    ac_status=$?    ac_status=$?
3482    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483    (exit $ac_status); }; then    (exit $ac_status); }; then
3484    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
3485  else  else
# Line 3623  fi Line 3507  fi
3507          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3508          echo "$libgtkhtml3_8_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3509    
3510          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3511  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3512                  { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5                  { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3513  $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3514     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3515  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3516          { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5          { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3517  $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3518     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3519  else  else
3520          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3521          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3522          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3523  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3524    
3525      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3526      LIBS="$LIBS $libgtkhtml3_8_LIBS"      LIBS="$LIBS $libgtkhtml3_8_LIBS"
# Line 3648  elif test $pkg_failed = untried; then Line 3532  elif test $pkg_failed = untried; then
3532    # ok, we can also live with 3.8    # ok, we can also live with 3.8
3533    
3534  pkg_failed=no  pkg_failed=no
3535  { $as_echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
3536  $as_echo_n "checking for libgtkhtml3_8... " >&6; }  echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }
3537    
3538  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3539      if test -n "$libgtkhtml3_8_CFLAGS"; then      if test -n "$libgtkhtml3_8_CFLAGS"; then
3540          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3541      else      else
3542          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3543      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3544    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3545    ac_status=$?    ac_status=$?
3546    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547    (exit $ac_status); }; then    (exit $ac_status); }; then
3548    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
3549  else  else
# Line 3674  if test -n "$PKG_CONFIG"; then Line 3558  if test -n "$PKG_CONFIG"; then
3558          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3559      else      else
3560          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3561      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3562    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3563    ac_status=$?    ac_status=$?
3564    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565    (exit $ac_status); }; then    (exit $ac_status); }; then
3566    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
3567  else  else
# Line 3705  fi Line 3589  fi
3589          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3590          echo "$libgtkhtml3_8_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3591    
3592          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3593  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3594                  { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5                  { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3595  $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3596     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3597  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3598          { { $as_echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5          { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3599  $as_echo "$as_me: error: libgtkhtml-3 missing" >&2;}  echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3600     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3601  else  else
3602          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3603          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3604          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3605  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3606    
3607      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3608      LIBS="$LIBS $libgtkhtml3_8_LIBS"      LIBS="$LIBS $libgtkhtml3_8_LIBS"
# Line 3728  fi Line 3612  fi
3612  else  else
3613          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS
3614          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS
3615          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3616  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3617    
3618    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"
3619    LIBS="$LIBS $libgtkhtml3_14_LIBS"    LIBS="$LIBS $libgtkhtml3_14_LIBS"
# Line 3737  $as_echo "yes" >&6; } Line 3621  $as_echo "yes" >&6; }
3621  fi  fi
3622    
3623  # check for maemo  # check for maemo
3624  { $as_echo "$as_me:$LINENO: checking for Maemo" >&5  { echo "$as_me:$LINENO: checking for Maemo" >&5
3625  $as_echo_n "checking for Maemo... " >&6; }  echo $ECHO_N "checking for Maemo... $ECHO_C" >&6; }
3626  if test -n "$PKG_CONFIG" && \  if test -n "$PKG_CONFIG" && \
3627      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5
3628    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
3629    ac_status=$?    ac_status=$?
3630    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631    (exit $ac_status); }; then    (exit $ac_status); }; then
3632    
3633    MAEMO="yes"    MAEMO="yes"
3634    { $as_echo "$as_me:$LINENO: result: yes" >&5    { echo "$as_me:$LINENO: result: yes" >&5
3635  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3636    
3637    
3638  pkg_failed=no  pkg_failed=no
3639  { $as_echo "$as_me:$LINENO: checking for hildon" >&5  { echo "$as_me:$LINENO: checking for hildon" >&5
3640  $as_echo_n "checking for hildon... " >&6; }  echo $ECHO_N "checking for hildon... $ECHO_C" >&6; }
3641    
3642  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3643      if test -n "$hildon_CFLAGS"; then      if test -n "$hildon_CFLAGS"; then
3644          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"
3645      else      else
3646          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3647      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
3648    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
3649    ac_status=$?    ac_status=$?
3650    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651    (exit $ac_status); }; then    (exit $ac_status); }; then
3652    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
3653  else  else
# Line 3778  if test -n "$PKG_CONFIG"; then Line 3662  if test -n "$PKG_CONFIG"; then
3662          pkg_cv_hildon_LIBS="$hildon_LIBS"          pkg_cv_hildon_LIBS="$hildon_LIBS"
3663      else      else
3664          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3665      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
3666    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
3667    ac_status=$?    ac_status=$?
3668    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669    (exit $ac_status); }; then    (exit $ac_status); }; then
3670    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
3671  else  else
# Line 3809  fi Line 3693  fi
3693          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3694          echo "$hildon_PKG_ERRORS" >&5          echo "$hildon_PKG_ERRORS" >&5
3695    
3696          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3697  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3698                  { { $as_echo "$as_me:$LINENO: error: hildon-1 missing" >&5                  { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
3699  $as_echo "$as_me: error: hildon-1 missing" >&2;}  echo "$as_me: error: hildon-1 missing" >&2;}
3700     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3701  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3702          { { $as_echo "$as_me:$LINENO: error: hildon-1 missing" >&5          { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
3703  $as_echo "$as_me: error: hildon-1 missing" >&2;}  echo "$as_me: error: hildon-1 missing" >&2;}
3704     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3705  else  else
3706          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS
3707          hildon_LIBS=$pkg_cv_hildon_LIBS          hildon_LIBS=$pkg_cv_hildon_LIBS
3708          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3709  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3710          :          :
3711  fi  fi
3712    CFLAGS="$CFLAGS  -DUSE_MAEMO $hildon_CFLAGS"    CFLAGS="$CFLAGS  -DUSE_MAEMO $hildon_CFLAGS"
# Line 3830  fi Line 3714  fi
3714    
3715    
3716  pkg_failed=no  pkg_failed=no
3717  { $as_echo "$as_me:$LINENO: checking for osso" >&5  { echo "$as_me:$LINENO: checking for osso" >&5
3718  $as_echo_n "checking for osso... " >&6; }  echo $ECHO_N "checking for osso... $ECHO_C" >&6; }
3719    
3720  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3721      if test -n "$osso_CFLAGS"; then      if test -n "$osso_CFLAGS"; then
3722          pkg_cv_osso_CFLAGS="$osso_CFLAGS"          pkg_cv_osso_CFLAGS="$osso_CFLAGS"
3723      else      else
3724          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3725      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
3726    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
3727    ac_status=$?    ac_status=$?
3728    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729    (exit $ac_status); }; then    (exit $ac_status); }; then
3730    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`
3731  else  else
# Line 3856  if test -n "$PKG_CONFIG"; then Line 3740  if test -n "$PKG_CONFIG"; then
3740          pkg_cv_osso_LIBS="$osso_LIBS"          pkg_cv_osso_LIBS="$osso_LIBS"
3741      else      else
3742          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3743      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
3744    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
3745    ac_status=$?    ac_status=$?
3746    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747    (exit $ac_status); }; then    (exit $ac_status); }; then
3748    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`
3749  else  else
# Line 3887  fi Line 3771  fi
3771          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3772          echo "$osso_PKG_ERRORS" >&5          echo "$osso_PKG_ERRORS" >&5
3773    
3774          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3775  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3776                  { { $as_echo "$as_me:$LINENO: error: libosso missing" >&5                  { { echo "$as_me:$LINENO: error: libosso missing" >&5
3777  $as_echo "$as_me: error: libosso missing" >&2;}  echo "$as_me: error: libosso missing" >&2;}
3778     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3779  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3780          { { $as_echo "$as_me:$LINENO: error: libosso missing" >&5          { { echo "$as_me:$LINENO: error: libosso missing" >&5
3781  $as_echo "$as_me: error: libosso missing" >&2;}  echo "$as_me: error: libosso missing" >&2;}
3782     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3783  else  else
3784          osso_CFLAGS=$pkg_cv_osso_CFLAGS          osso_CFLAGS=$pkg_cv_osso_CFLAGS
3785          osso_LIBS=$pkg_cv_osso_LIBS          osso_LIBS=$pkg_cv_osso_LIBS
3786          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3787  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3788          :          :
3789  fi  fi
3790    CFLAGS="$CFLAGS $osso_CFLAGS"    CFLAGS="$CFLAGS $osso_CFLAGS"
# Line 3908  fi Line 3792  fi
3792    
3793    
3794  pkg_failed=no  pkg_failed=no
3795  { $as_echo "$as_me:$LINENO: checking for hildon_fm_2" >&5  { echo "$as_me:$LINENO: checking for hildon_fm_2" >&5
3796  $as_echo_n "checking for hildon_fm_2... " >&6; }  echo $ECHO_N "checking for hildon_fm_2... $ECHO_C" >&6; }
3797    
3798  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3799      if test -n "$hildon_fm_2_CFLAGS"; then      if test -n "$hildon_fm_2_CFLAGS"; then
3800          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"
3801      else      else
3802          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3803      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
3804    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
3805    ac_status=$?    ac_status=$?
3806    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807    (exit $ac_status); }; then    (exit $ac_status); }; then
3808    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`
3809  else  else
# Line 3934  if test -n "$PKG_CONFIG"; then Line 3818  if test -n "$PKG_CONFIG"; then
3818          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"
3819      else      else
3820          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3821      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
3822    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
3823    ac_status=$?    ac_status=$?
3824    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825    (exit $ac_status); }; then    (exit $ac_status); }; then
3826    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`
3827  else  else
# Line 3965  fi Line 3849  fi
3849          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3850          echo "$hildon_fm_2_PKG_ERRORS" >&5          echo "$hildon_fm_2_PKG_ERRORS" >&5
3851    
3852          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3853  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3854                  { { $as_echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5                  { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
3855  $as_echo "$as_me: error: hildon-fm-2 missing" >&2;}  echo "$as_me: error: hildon-fm-2 missing" >&2;}
3856     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3857  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3858          { { $as_echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5          { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
3859  $as_echo "$as_me: error: hildon-fm-2 missing" >&2;}  echo "$as_me: error: hildon-fm-2 missing" >&2;}
3860     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3861  else  else
3862          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS
3863          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS
3864          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3865  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3866          :          :
3867  fi  fi
3868    CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"    CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"
# Line 3987  fi Line 3871  fi
3871    # check for sqlite3 for maemo mapper interface    # check for sqlite3 for maemo mapper interface
3872    
3873  pkg_failed=no  pkg_failed=no
3874  { $as_echo "$as_me:$LINENO: checking for sqlite3" >&5  { echo "$as_me:$LINENO: checking for sqlite3" >&5
3875  $as_echo_n "checking for sqlite3... " >&6; }  echo $ECHO_N "checking for sqlite3... $ECHO_C" >&6; }
3876    
3877  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3878      if test -n "$sqlite3_CFLAGS"; then      if test -n "$sqlite3_CFLAGS"; then
3879          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"          pkg_cv_sqlite3_CFLAGS="$sqlite3_CFLAGS"
3880      else      else
3881          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3882      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
3883    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
3884    ac_status=$?    ac_status=$?
3885    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886    (exit $ac_status); }; then    (exit $ac_status); }; then
3887    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
3888  else  else
# Line 4013  if test -n "$PKG_CONFIG"; then Line 3897  if test -n "$PKG_CONFIG"; then
3897          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"          pkg_cv_sqlite3_LIBS="$sqlite3_LIBS"
3898      else      else
3899          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3900      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sqlite3\"") >&5
3901    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5    ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
3902    ac_status=$?    ac_status=$?
3903    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904    (exit $ac_status); }; then    (exit $ac_status); }; then
3905    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`    pkg_cv_sqlite3_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
3906  else  else
# Line 4044  fi Line 3928  fi
3928          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3929          echo "$sqlite3_PKG_ERRORS" >&5          echo "$sqlite3_PKG_ERRORS" >&5
3930    
3931          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3932  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
3933                  { { $as_echo "$as_me:$LINENO: error: sqlite3 missing" >&5                  { { echo "$as_me:$LINENO: error: sqlite3 missing" >&5
3934  $as_echo "$as_me: error: sqlite3 missing" >&2;}  echo "$as_me: error: sqlite3 missing" >&2;}
3935     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3936  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3937          { { $as_echo "$as_me:$LINENO: error: sqlite3 missing" >&5          { { echo "$as_me:$LINENO: error: sqlite3 missing" >&5
3938  $as_echo "$as_me: error: sqlite3 missing" >&2;}  echo "$as_me: error: sqlite3 missing" >&2;}
3939     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3940  else  else
3941          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS          sqlite3_CFLAGS=$pkg_cv_sqlite3_CFLAGS
3942          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS          sqlite3_LIBS=$pkg_cv_sqlite3_LIBS
3943          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3944  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3945          :          :
3946  fi  fi
3947    CFLAGS="$CFLAGS $sqlite3_CFLAGS"    CFLAGS="$CFLAGS $sqlite3_CFLAGS"
# Line 4066  fi Line 3950  fi
3950    # check for hildon-help    # check for hildon-help
3951    
3952  pkg_failed=no  pkg_failed=no
3953  { $as_echo "$as_me:$LINENO: checking for hildon_help" >&5  { echo "$as_me:$LINENO: checking for hildon_help" >&5
3954  $as_echo_n "checking for hildon_help... " >&6; }  echo $ECHO_N "checking for hildon_help... $ECHO_C" >&6; }
3955    
3956  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3957      if test -n "$hildon_help_CFLAGS"; then      if test -n "$hildon_help_CFLAGS"; then
3958          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"          pkg_cv_hildon_help_CFLAGS="$hildon_help_CFLAGS"
3959      else      else
3960          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3961      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5
3962    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
3963    ac_status=$?    ac_status=$?
3964    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965    (exit $ac_status); }; then    (exit $ac_status); }; then
3966    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`
3967  else  else
# Line 4092  if test -n "$PKG_CONFIG"; then Line 3976  if test -n "$PKG_CONFIG"; then
3976          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"          pkg_cv_hildon_help_LIBS="$hildon_help_LIBS"
3977      else      else
3978          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3979      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-help\"") >&5
3980    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5    ($PKG_CONFIG --exists --print-errors "hildon-help") 2>&5
3981    ac_status=$?    ac_status=$?
3982    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983    (exit $ac_status); }; then    (exit $ac_status); }; then
3984    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`
3985  else  else
# Line 4123  fi Line 4007  fi
4007          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4008          echo "$hildon_help_PKG_ERRORS" >&5          echo "$hildon_help_PKG_ERRORS" >&5
4009    
4010          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4011  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4012    
4013      { $as_echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5      { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5
4014  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}  echo "$as_me: WARNING: hildon-help missing" >&6;}
4015    
4016  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4017    
4018      { $as_echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5      { echo "$as_me:$LINENO: WARNING: hildon-help missing" >&5
4019  $as_echo "$as_me: WARNING: hildon-help missing" >&6;}  echo "$as_me: WARNING: hildon-help missing" >&6;}
4020    
4021  else  else
4022          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS          hildon_help_CFLAGS=$pkg_cv_hildon_help_CFLAGS
4023          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS          hildon_help_LIBS=$pkg_cv_hildon_help_LIBS
4024          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4025  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4026    
4027      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"      CFLAGS="-DHILDON_HELP $CFLAGS $hildon_help_CFLAGS"
4028      LIBS="$LIBS $hildon_help_LIBS"      LIBS="$LIBS $hildon_help_LIBS"
# Line 4148  fi Line 4032  fi
4032    # prefer gpsbt over liblocation as we got complaints regarding liblocation    # prefer gpsbt over liblocation as we got complaints regarding liblocation
4033    # stability    # stability
4034    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4035      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4036    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4037    ac_status=$?    ac_status=$?
4038    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039    (exit $ac_status); }; then    (exit $ac_status); }; then
4040    
4041    
4042  pkg_failed=no  pkg_failed=no
4043  { $as_echo "$as_me:$LINENO: checking for gpsbt" >&5  { echo "$as_me:$LINENO: checking for gpsbt" >&5
4044  $as_echo_n "checking for gpsbt... " >&6; }  echo $ECHO_N "checking for gpsbt... $ECHO_C" >&6; }
4045    
4046  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4047      if test -n "$gpsbt_CFLAGS"; then      if test -n "$gpsbt_CFLAGS"; then
4048          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"          pkg_cv_gpsbt_CFLAGS="$gpsbt_CFLAGS"
4049      else      else
4050          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4051      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4052    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4053    ac_status=$?    ac_status=$?
4054    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055    (exit $ac_status); }; then    (exit $ac_status); }; then
4056    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_CFLAGS=`$PKG_CONFIG --cflags "gpsbt" 2>/dev/null`
4057  else  else
# Line 4182  if test -n "$PKG_CONFIG"; then Line 4066  if test -n "$PKG_CONFIG"; then
4066          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"          pkg_cv_gpsbt_LIBS="$gpsbt_LIBS"
4067      else      else
4068          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4069      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gpsbt\"") >&5
4070    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5    ($PKG_CONFIG --exists --print-errors "gpsbt") 2>&5
4071    ac_status=$?    ac_status=$?
4072    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073    (exit $ac_status); }; then    (exit $ac_status); }; then
4074    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`    pkg_cv_gpsbt_LIBS=`$PKG_CONFIG --libs "gpsbt" 2>/dev/null`
4075  else  else
# Line 4213  fi Line 4097  fi
4097          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4098          echo "$gpsbt_PKG_ERRORS" >&5          echo "$gpsbt_PKG_ERRORS" >&5
4099    
4100          { { $as_echo "$as_me:$LINENO: error: Package requirements (gpsbt) were not met:          { { echo "$as_me:$LINENO: error: Package requirements (gpsbt) were not met:
4101    
4102  $gpsbt_PKG_ERRORS  $gpsbt_PKG_ERRORS
4103    
# Line 4224  Alternatively, you may set the environme Line 4108  Alternatively, you may set the environme
4108  and gpsbt_LIBS to avoid the need to call pkg-config.  and gpsbt_LIBS to avoid the need to call pkg-config.
4109  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4110  " >&5  " >&5
4111  $as_echo "$as_me: error: Package requirements (gpsbt) were not met:  echo "$as_me: error: Package requirements (gpsbt) were not met:
4112    
4113  $gpsbt_PKG_ERRORS  $gpsbt_PKG_ERRORS
4114    
# Line 4237  See the pkg-config man page for more det Line 4121  See the pkg-config man page for more det
4121  " >&2;}  " >&2;}
4122     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4123  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4124          { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5          { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it  
4125  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
4126  path to pkg-config.  path to pkg-config.
4127    
# Line 4249  See the pkg-config man page for more det Line 4131  See the pkg-config man page for more det
4131    
4132  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4133  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
4134  $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it  echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
4135  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
4136  path to pkg-config.  path to pkg-config.
4137    
# Line 4259  See the pkg-config man page for more det Line 4141  See the pkg-config man page for more det
4141    
4142  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4143  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
4144     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
4145  else  else
4146          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS          gpsbt_CFLAGS=$pkg_cv_gpsbt_CFLAGS
4147          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS          gpsbt_LIBS=$pkg_cv_gpsbt_LIBS
4148          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4149  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4150          :          :
4151  fi  fi
4152      CFLAGS="$CFLAGS -DENABLE_GPSBT $gpsbt_CFLAGS"      CFLAGS="$CFLAGS -DENABLE_GPSBT $gpsbt_CFLAGS"
# Line 4272  fi Line 4154  fi
4154    
4155  else  else
4156    
4157      { $as_echo "$as_me:$LINENO: gpsbt not found, trying liblocation" >&5      { echo "$as_me:$LINENO: gpsbt not found, trying liblocation" >&5
4158  $as_echo "$as_me: gpsbt not found, trying liblocation" >&6;}  echo "$as_me: gpsbt not found, trying liblocation" >&6;}
4159    
4160      if test -n "$PKG_CONFIG" && \      if test -n "$PKG_CONFIG" && \
4161      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4162    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4163    ac_status=$?    ac_status=$?
4164    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165    (exit $ac_status); }; then    (exit $ac_status); }; then
4166    
4167    
4168  pkg_failed=no  pkg_failed=no
4169  { $as_echo "$as_me:$LINENO: checking for liblocation" >&5  { echo "$as_me:$LINENO: checking for liblocation" >&5
4170  $as_echo_n "checking for liblocation... " >&6; }  echo $ECHO_N "checking for liblocation... $ECHO_C" >&6; }
4171    
4172  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4173      if test -n "$liblocation_CFLAGS"; then      if test -n "$liblocation_CFLAGS"; then
4174          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"          pkg_cv_liblocation_CFLAGS="$liblocation_CFLAGS"
4175      else      else
4176          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4177      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4178    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4179    ac_status=$?    ac_status=$?
4180    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181    (exit $ac_status); }; then    (exit $ac_status); }; then
4182    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`    pkg_cv_liblocation_CFLAGS=`$PKG_CONFIG --cflags "liblocation" 2>/dev/null`
4183  else  else
# Line 4310  if test -n "$PKG_CONFIG"; then Line 4192  if test -n "$PKG_CONFIG"; then
4192          pkg_cv_liblocation_LIBS="$liblocation_LIBS"          pkg_cv_liblocation_LIBS="$liblocation_LIBS"
4193      else      else
4194          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4195      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liblocation\"") >&5
4196    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5    ($PKG_CONFIG --exists --print-errors "liblocation") 2>&5
4197    ac_status=$?    ac_status=$?
4198    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199    (exit $ac_status); }; then    (exit $ac_status); }; then
4200    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`    pkg_cv_liblocation_LIBS=`$PKG_CONFIG --libs "liblocation" 2>/dev/null`
4201  else  else
# Line 4341  fi Line 4223  fi
4223          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4224          echo "$liblocation_PKG_ERRORS" >&5          echo "$liblocation_PKG_ERRORS" >&5
4225    
4226          { { $as_echo "$as_me:$LINENO: error: Package requirements (liblocation) were not met:          { { echo "$as_me:$LINENO: error: Package requirements (liblocation) were not met:
4227    
4228  $liblocation_PKG_ERRORS  $liblocation_PKG_ERRORS
4229    
# Line 4352  Alternatively, you may set the environme Line 4234  Alternatively, you may set the environme
4234  and liblocation_LIBS to avoid the need to call pkg-config.  and liblocation_LIBS to avoid the need to call pkg-config.
4235  See the pkg-config man page for more details.  See the pkg-config man page for more details.
4236  " >&5  " >&5
4237  $as_echo "$as_me: error: Package requirements (liblocation) were not met:  echo "$as_me: error: Package requirements (liblocation) were not met:
4238    
4239  $liblocation_PKG_ERRORS  $liblocation_PKG_ERRORS
4240    
# Line 4365  See the pkg-config man page for more det Line 4247  See the pkg-config man page for more det
4247  " >&2;}  " >&2;}
4248     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4249  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4250          { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5          { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}  
 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it  
4251  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
4252  path to pkg-config.  path to pkg-config.
4253    
# Line 4377  See the pkg-config man page for more det Line 4257  See the pkg-config man page for more det
4257    
4258  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4259  See \`config.log' for more details." >&5  See \`config.log' for more details." >&5
4260  $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it  echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
4261  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
4262  path to pkg-config.  path to pkg-config.
4263    
# Line 4387  See the pkg-config man page for more det Line 4267  See the pkg-config man page for more det
4267    
4268  To get pkg-config, see <http://pkg-config.freedesktop.org/>.  To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4269  See \`config.log' for more details." >&2;}  See \`config.log' for more details." >&2;}
4270     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }
4271  else  else
4272          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS          liblocation_CFLAGS=$pkg_cv_liblocation_CFLAGS
4273          liblocation_LIBS=$pkg_cv_liblocation_LIBS          liblocation_LIBS=$pkg_cv_liblocation_LIBS
4274          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4275  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4276          :          :
4277  fi  fi
4278        CFLAGS="$CFLAGS -DENABLE_LIBLOCATION $liblocation_CFLAGS"        CFLAGS="$CFLAGS -DENABLE_LIBLOCATION $liblocation_CFLAGS"
# Line 4400  fi Line 4280  fi
4280    
4281  else  else
4282    
4283        { $as_echo "$as_me:$LINENO: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&5        { echo "$as_me:$LINENO: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&5
4284  $as_echo "$as_me: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&6;}  echo "$as_me: WARNING: No liblocation nor gpsbt found, disabling gps auto start!" >&6;}
4285    
4286  fi  fi
4287    
4288  fi  fi
4289    
4290    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4291      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tablet-browser-interface\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tablet-browser-interface\"") >&5
4292    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5    ($PKG_CONFIG --exists --print-errors "tablet-browser-interface") 2>&5
4293    ac_status=$?    ac_status=$?
4294    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295    (exit $ac_status); }; then    (exit $ac_status); }; then
4296    
4297      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"      CFLAGS="$CFLAGS -DENABLE_BROWSER_INTERFACE"
4298    
4299  else  else
4300    { $as_echo "$as_me:$LINENO: WARNING: No tablet-browser-interface found, disabling microb interface!" >&5    { echo "$as_me:$LINENO: WARNING: No tablet-browser-interface found, disabling microb interface!" >&5
4301  $as_echo "$as_me: WARNING: No tablet-browser-interface found, disabling microb interface!" >&6;}  echo "$as_me: WARNING: No tablet-browser-interface found, disabling microb interface!" >&6;}
4302  fi  fi
4303    
4304    if test -n "$PKG_CONFIG" && \    if test -n "$PKG_CONFIG" && \
4305      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5
4306    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5    ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
4307    ac_status=$?    ac_status=$?
4308    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309    (exit $ac_status); }; then    (exit $ac_status); }; then
4310    
4311      VERSION=`pkg-config --modversion maemo-version`      VERSION=`pkg-config --modversion maemo-version`
4312      { $as_echo "$as_me:$LINENO: Configuring for Maemo $VERSION" >&5      { echo "$as_me:$LINENO: Configuring for Maemo $VERSION" >&5
4313  $as_echo "$as_me: Configuring for Maemo $VERSION" >&6;}  echo "$as_me: Configuring for Maemo $VERSION" >&6;}
4314      CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""      CFLAGS="$CFLAGS -DMAEMO_VERSION=\\\"$VERSION\\\""
4315      MAJOR=`echo $VERSION | cut -b1 -`      MAJOR=`echo $VERSION | cut -b1 -`
4316      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"
4317    
4318  else  else
4319    
4320      { { $as_echo "$as_me:$LINENO: error: maemo-version not found" >&5      { { echo "$as_me:$LINENO: error: maemo-version not found" >&5
4321  $as_echo "$as_me: error: maemo-version not found" >&2;}  echo "$as_me: error: maemo-version not found" >&2;}
4322     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4323    
4324  fi  fi
4325    
   # maemo uses dbus for ipc with maemo mapper  
   EXTRA_OBJS="$EXTRA_OBJS mm_poi.o dbus.o"  
   
4326    INSTALL_PLATTFORM="install-maemo"    INSTALL_PLATTFORM="install-maemo"
4327    
4328    # fremantle uses icons of 48x48 pixels for the app installer,    # fremantle uses icons of 48x48 pixels for the app installer,
# Line 4454  fi Line 4331  fi
4331       ICONNAME=gpxview.48.png       ICONNAME=gpxview.48.png
4332    else    else
4333       ICONNAME=gpxview.26.png       ICONNAME=gpxview.26.png
4334         { echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5
4335    echo "$as_me: Enabling Maemo Mapper support" >&6;}
4336         CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER"
4337         EXTRA_OBJS="$EXTRA_OBJS mm_poi.o"
4338    fi    fi
4339    
4340    { $as_echo "$as_me:$LINENO: Using application installer icon \"$ICONNAME\"" >&5    # maemo uses dbus for ipc with maemo mapper
4341  $as_echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}    EXTRA_OBJS="$EXTRA_OBJS dbus.o"
4342    
4343      { echo "$as_me:$LINENO: Using application installer icon \"$ICONNAME\"" >&5
4344    echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}
4345    
4346    # add icon entry to debian/control    # add icon entry to debian/control
4347    ICON=" Maemo icon $ICONNAME    ICON=" Maemo icon $ICONNAME
# Line 4471  XB-Maemo-Icon-26: Line 4355  XB-Maemo-Icon-26:
4355    
4356  else  else
4357    
4358    { $as_echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
4359  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4360    
4361    # check for gtk+-2.0    # check for gtk+-2.0
4362    
4363  pkg_failed=no  pkg_failed=no
4364  { $as_echo "$as_me:$LINENO: checking for gtk" >&5  { echo "$as_me:$LINENO: checking for gtk" >&5
4365  $as_echo_n "checking for gtk... " >&6; }  echo $ECHO_N "checking for gtk... $ECHO_C" >&6; }
4366    
4367  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4368      if test -n "$gtk_CFLAGS"; then      if test -n "$gtk_CFLAGS"; then
4369          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"          pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
4370      else      else
4371          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4372      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
4373    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
4374    ac_status=$?    ac_status=$?
4375    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376    (exit $ac_status); }; then    (exit $ac_status); }; then
4377    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`
4378  else  else
# Line 4503  if test -n "$PKG_CONFIG"; then Line 4387  if test -n "$PKG_CONFIG"; then
4387          pkg_cv_gtk_LIBS="$gtk_LIBS"          pkg_cv_gtk_LIBS="$gtk_LIBS"
4388      else      else
4389          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4390      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
4391    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
4392    ac_status=$?    ac_status=$?
4393    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394    (exit $ac_status); }; then    (exit $ac_status); }; then
4395    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`
4396  else  else
# Line 4534  fi Line 4418  fi
4418          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4419          echo "$gtk_PKG_ERRORS" >&5          echo "$gtk_PKG_ERRORS" >&5
4420    
4421          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4422  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4423                  { { $as_echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5                  { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
4424  $as_echo "$as_me: error: gtk+-2.0 missing!" >&2;}  echo "$as_me: error: gtk+-2.0 missing!" >&2;}
4425     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4426  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4427          { { $as_echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5          { { echo "$as_me:$LINENO: error: gtk+-2.0 missing!" >&5
4428  $as_echo "$as_me: error: gtk+-2.0 missing!" >&2;}  echo "$as_me: error: gtk+-2.0 missing!" >&2;}
4429     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4430  else  else
4431          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS          gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
4432          gtk_LIBS=$pkg_cv_gtk_LIBS          gtk_LIBS=$pkg_cv_gtk_LIBS
4433          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4434  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4435          :          :
4436  fi  fi
4437    CFLAGS="$CFLAGS $gtk_CFLAGS"    CFLAGS="$CFLAGS $gtk_CFLAGS"
# Line 4556  fi Line 4440  fi
4440    # non-maemo device use gnome to call the web browser    # non-maemo device use gnome to call the web browser
4441    
4442  pkg_failed=no  pkg_failed=no
4443  { $as_echo "$as_me:$LINENO: checking for gnome2" >&5  { echo "$as_me:$LINENO: checking for gnome2" >&5
4444  $as_echo_n "checking for gnome2... " >&6; }  echo $ECHO_N "checking for gnome2... $ECHO_C" >&6; }
4445    
4446  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
4447      if test -n "$gnome2_CFLAGS"; then      if test -n "$gnome2_CFLAGS"; then
4448          pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"          pkg_cv_gnome2_CFLAGS="$gnome2_CFLAGS"
4449      else      else
4450          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4451      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5
4452    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
4453    ac_status=$?    ac_status=$?
4454    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455    (exit $ac_status); }; then    (exit $ac_status); }; then
4456    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`
4457  else  else
# Line 4582  if test -n "$PKG_CONFIG"; then Line 4466  if test -n "$PKG_CONFIG"; then
4466          pkg_cv_gnome2_LIBS="$gnome2_LIBS"          pkg_cv_gnome2_LIBS="$gnome2_LIBS"
4467      else      else
4468          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
4469      { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0\"") >&5
4470    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5    ($PKG_CONFIG --exists --print-errors "libgnome-2.0") 2>&5
4471    ac_status=$?    ac_status=$?
4472    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473    (exit $ac_status); }; then    (exit $ac_status); }; then
4474    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`
4475  else  else
# Line 4613  fi Line 4497  fi
4497          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
4498          echo "$gnome2_PKG_ERRORS" >&5          echo "$gnome2_PKG_ERRORS" >&5
4499    
4500          { $as_echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
4501  $as_echo "no" >&6; }  echo "${ECHO_T}no" >&6; }
4502                  { { $as_echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5                  { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
4503  $as_echo "$as_me: error: libgnome-2.0 missing" >&2;}  echo "$as_me: error: libgnome-2.0 missing" >&2;}
4504     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4505  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
4506          { { $as_echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5          { { echo "$as_me:$LINENO: error: libgnome-2.0 missing" >&5
4507  $as_echo "$as_me: error: libgnome-2.0 missing" >&2;}  echo "$as_me: error: libgnome-2.0 missing" >&2;}
4508     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4509  else  else
4510          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS          gnome2_CFLAGS=$pkg_cv_gnome2_CFLAGS
4511          gnome2_LIBS=$pkg_cv_gnome2_LIBS          gnome2_LIBS=$pkg_cv_gnome2_LIBS
4512          { $as_echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
4513  $as_echo "yes" >&6; }  echo "${ECHO_T}yes" >&6; }
4514          :          :
4515  fi  fi
4516    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"
# Line 4671  _ACEOF Line 4555  _ACEOF
4555      case $ac_val in #(      case $ac_val in #(
4556      *${as_nl}*)      *${as_nl}*)
4557        case $ac_var in #(        case $ac_var in #(
4558        *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5        *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4559  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;  echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4560        esac        esac
4561        case $ac_var in #(        case $ac_var in #(
4562        _ | IFS | as_nl) ;; #(        _ | IFS | as_nl) ;; #(
       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(  
4563        *) $as_unset $ac_var ;;        *) $as_unset $ac_var ;;
4564        esac ;;        esac ;;
4565      esac      esac
# Line 4709  $as_echo "$as_me: WARNING: cache variabl Line 4592  $as_echo "$as_me: WARNING: cache variabl
4592  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4593    if test -w "$cache_file"; then    if test -w "$cache_file"; then
4594      test "x$cache_file" != "x/dev/null" &&      test "x$cache_file" != "x/dev/null" &&
4595        { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5        { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4596  $as_echo "$as_me: updating cache $cache_file" >&6;}  echo "$as_me: updating cache $cache_file" >&6;}
4597      cat confcache >$cache_file      cat confcache >$cache_file
4598    else    else
4599      { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5      { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4600  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}  echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4601    fi    fi
4602  fi  fi
4603  rm -f confcache  rm -f confcache
# Line 4731  test "x$exec_prefix" = xNONE && exec_pre Line 4614  test "x$exec_prefix" = xNONE && exec_pre
4614  # take arguments), then branch to the quote section.  Otherwise,  # take arguments), then branch to the quote section.  Otherwise,
4615  # look for a macro that doesn't take arguments.  # look for a macro that doesn't take arguments.
4616  ac_script='  ac_script='
 :mline  
 /\\$/{  
  N  
  s,\\\n,,  
  b mline  
 }  
4617  t clear  t clear
4618  :clear  :clear
4619  s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g  s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
# Line 4766  ac_ltlibobjs= Line 4643  ac_ltlibobjs=
4643  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4644    # 1. Remove the extension, and $U if already installed.    # 1. Remove the extension, and $U if already installed.
4645    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4646    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`    ac_i=`echo "$ac_i" | sed "$ac_script"`
4647    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4648    #    will be set to the directory where LIBOBJS objects are built.    #    will be set to the directory where LIBOBJS objects are built.
4649    ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"    ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
# Line 4779  LTLIBOBJS=$ac_ltlibobjs Line 4656  LTLIBOBJS=$ac_ltlibobjs
4656    
4657    
4658  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
 ac_write_fail=0  
4659  ac_clean_files_save=$ac_clean_files  ac_clean_files_save=$ac_clean_files
4660  ac_clean_files="$ac_clean_files $CONFIG_STATUS"  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4661  { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5  { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4662  $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}  echo "$as_me: creating $CONFIG_STATUS" >&6;}
4663  cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >$CONFIG_STATUS <<_ACEOF
4664  #! $SHELL  #! $SHELL
4665  # Generated by $as_me.  # Generated by $as_me.
4666  # Run this file to recreate the current configuration.  # Run this file to recreate the current configuration.
# Line 4797  ac_cs_silent=false Line 4673  ac_cs_silent=false
4673  SHELL=\${CONFIG_SHELL-$SHELL}  SHELL=\${CONFIG_SHELL-$SHELL}
4674  _ACEOF  _ACEOF
4675    
4676  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
4677  ## --------------------- ##  ## --------------------- ##
4678  ## M4sh Initialization.  ##  ## M4sh Initialization.  ##
4679  ## --------------------- ##  ## --------------------- ##
# Line 4807  DUALCASE=1; export DUALCASE # for MKS sh Line 4683  DUALCASE=1; export DUALCASE # for MKS sh
4683  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
4684    emulate sh    emulate sh
4685    NULLCMD=:    NULLCMD=:
4686    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which    # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4687    # is contrary to our usage.  Disable this feature.    # is contrary to our usage.  Disable this feature.
4688    alias -g '${1+"$@"}'='"$@"'    alias -g '${1+"$@"}'='"$@"'
4689    setopt NO_GLOB_SUBST    setopt NO_GLOB_SUBST
# Line 4829  as_cr_Letters=$as_cr_letters$as_cr_LETTE Line 4705  as_cr_Letters=$as_cr_letters$as_cr_LETTE
4705  as_cr_digits='0123456789'  as_cr_digits='0123456789'
4706  as_cr_alnum=$as_cr_Letters$as_cr_digits  as_cr_alnum=$as_cr_Letters$as_cr_digits
4707    
 as_nl='  
 '  
 export as_nl  
 # Printing a long string crashes Solaris 7 /usr/bin/printf.  
 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'  
 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo  
 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo  
 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then  
   as_echo='printf %s\n'  
   as_echo_n='printf %s'  
 else  
   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then  
     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'  
     as_echo_n='/usr/ucb/echo -n'  
   else  
     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'  
     as_echo_n_body='eval  
       arg=$1;  
       case $arg in  
       *"$as_nl"*)  
         expr "X$arg" : "X\\(.*\\)$as_nl";  
         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;  
       esac;  
       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"  
     '  
     export as_echo_n_body  
     as_echo_n='sh -c $as_echo_n_body as_echo'  
   fi  
   export as_echo_body  
   as_echo='sh -c $as_echo_body as_echo'  
 fi  
   
4708  # The user is always right.  # The user is always right.
4709  if test "${PATH_SEPARATOR+set}" != set; then  if test "${PATH_SEPARATOR+set}" != set; then
4710    PATH_SEPARATOR=:    echo "#! /bin/sh" >conf$$.sh
4711    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {    echo  "exit 0"   >>conf$$.sh
4712      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||    chmod +x conf$$.sh
4713        PATH_SEPARATOR=';'    if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4714    }      PATH_SEPARATOR=';'
4715      else
4716        PATH_SEPARATOR=:
4717      fi
4718      rm -f conf$$.sh
4719  fi  fi
4720    
4721  # Support unset when possible.  # Support unset when possible.
# Line 4883  fi Line 4731  fi
4731  # there to prevent editors from complaining about space-tab.  # there to prevent editors from complaining about space-tab.
4732  # (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
4733  # splitting by setting IFS to empty value.)  # splitting by setting IFS to empty value.)
4734    as_nl='
4735    '
4736  IFS=" ""        $as_nl"  IFS=" ""        $as_nl"
4737    
4738  # 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 4905  if test "x$as_myself" = x; then Line 4755  if test "x$as_myself" = x; then
4755    as_myself=$0    as_myself=$0
4756  fi  fi
4757  if test ! -f "$as_myself"; then  if test ! -f "$as_myself"; then
4758    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2    echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4759    { (exit 1); exit 1; }    { (exit 1); exit 1; }
4760  fi  fi
4761    
# Line 4918  PS2='> ' Line 4768  PS2='> '
4768  PS4='+ '  PS4='+ '
4769    
4770  # NLS nuisances.  # NLS nuisances.
4771  LC_ALL=C  for as_var in \
4772  export LC_ALL    LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4773  LANGUAGE=C    LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4774  export LANGUAGE    LC_TELEPHONE LC_TIME
4775    do
4776      if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4777        eval $as_var=C; export $as_var
4778      else
4779        ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4780      fi
4781    done
4782    
4783  # Required to use basename.  # Required to use basename.
4784  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
# Line 4943  as_me=`$as_basename -- "$0" || Line 4800  as_me=`$as_basename -- "$0" ||
4800  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4801           X"$0" : 'X\(//\)$' \| \           X"$0" : 'X\(//\)$' \| \
4802           X"$0" : 'X\(/\)' \| . 2>/dev/null ||           X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4803  $as_echo X/"$0" |  echo X/"$0" |
4804      sed '/^.*\/\([^/][^/]*\)\/*$/{      sed '/^.*\/\([^/][^/]*\)\/*$/{
4805              s//\1/              s//\1/
4806              q              q
# Line 4994  $as_unset CDPATH Line 4851  $as_unset CDPATH
4851        s/-\n.*//        s/-\n.*//
4852      ' >$as_me.lineno &&      ' >$as_me.lineno &&
4853    chmod +x "$as_me.lineno" ||    chmod +x "$as_me.lineno" ||
4854      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2      { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4855     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
4856    
4857    # 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 5022  case `echo -n x` in Line 4879  case `echo -n x` in
4879  *)  *)
4880    ECHO_N='-n';;    ECHO_N='-n';;
4881  esac  esac
4882    
4883  if expr a : '\(a\)' >/dev/null 2>&1 &&  if expr a : '\(a\)' >/dev/null 2>&1 &&
4884     test "X`expr 00001 : '.*\(...\)'`" = X001; then     test "X`expr 00001 : '.*\(...\)'`" = X001; then
4885    as_expr=expr    as_expr=expr
# Line 5034  if test -d conf$$.dir; then Line 4892  if test -d conf$$.dir; then
4892    rm -f conf$$.dir/conf$$.file    rm -f conf$$.dir/conf$$.file
4893  else  else
4894    rm -f conf$$.dir    rm -f conf$$.dir
4895    mkdir conf$$.dir 2>/dev/null    mkdir conf$$.dir
4896  fi  fi
4897  if (echo >conf$$.file) 2>/dev/null; then  echo >conf$$.file
4898    if ln -s conf$$.file conf$$ 2>/dev/null; then  if ln -s conf$$.file conf$$ 2>/dev/null; then
4899      as_ln_s='ln -s'    as_ln_s='ln -s'
4900      # ... but there are two gotchas:    # ... but there are two gotchas:
4901      # 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.
4902      # 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.
4903      # In both cases, we have to default to `cp -p'.    # In both cases, we have to default to `cp -p'.
4904      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
       as_ln_s='cp -p'  
   elif ln conf$$.file conf$$ 2>/dev/null; then  
     as_ln_s=ln  
   else  
4905      as_ln_s='cp -p'      as_ln_s='cp -p'
4906    fi  elif ln conf$$.file conf$$ 2>/dev/null; then
4907      as_ln_s=ln
4908  else  else
4909    as_ln_s='cp -p'    as_ln_s='cp -p'
4910  fi  fi
# Line 5074  else Line 4929  else
4929    as_test_x='    as_test_x='
4930      eval sh -c '\''      eval sh -c '\''
4931        if test -d "$1"; then        if test -d "$1"; then
4932          test -d "$1/.";          test -d "$1/.";
4933        else        else
4934          case $1 in          case $1 in
4935          -*)set "./$1";;          -*)set "./$1";;
4936          esac;          esac;
4937          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in          case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4938          ???[sx]*):;;*)false;;esac;fi          ???[sx]*):;;*)false;;esac;fi
# Line 5100  exec 6>&1 Line 4955  exec 6>&1
4955  # values after options handling.  # values after options handling.
4956  ac_log="  ac_log="
4957  This file was extended by GPXView $as_me 0.8.10, which was  This file was extended by GPXView $as_me 0.8.10, which was
4958  generated by GNU Autoconf 2.63.  Invocation command line was  generated by GNU Autoconf 2.61.  Invocation command line was
4959    
4960    CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
4961    CONFIG_HEADERS  = $CONFIG_HEADERS    CONFIG_HEADERS  = $CONFIG_HEADERS
# Line 5113  on `(hostname || uname -n) 2>/dev/null | Line 4968  on `(hostname || uname -n) 2>/dev/null |
4968    
4969  _ACEOF  _ACEOF
4970    
4971  case $ac_config_files in *"  cat >>$CONFIG_STATUS <<_ACEOF
 "*) set x $ac_config_files; shift; ac_config_files=$*;;  
 esac  
   
   
   
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  
4972  # Files that config.status was made for.  # Files that config.status was made for.
4973  config_files="$ac_config_files"  config_files="$ac_config_files"
4974    
4975  _ACEOF  _ACEOF
4976    
4977  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
4978  ac_cs_usage="\  ac_cs_usage="\
4979  \`$as_me' instantiates files from templates according to the  \`$as_me' instantiates files from templates according to the
4980  current configuration.  current configuration.
4981    
4982  Usage: $0 [OPTION]... [FILE]...  Usage: $0 [OPTIONS] [FILE]...
4983    
4984    -h, --help       print this help, then exit    -h, --help       print this help, then exit
4985    -V, --version    print version number and configuration settings, then exit    -V, --version    print version number and configuration settings, then exit
4986    -q, --quiet, --silent    -q, --quiet      do not print progress messages
                    do not print progress messages  
4987    -d, --debug      don't remove temporary files    -d, --debug      don't remove temporary files
4988        --recheck    update $as_me by reconfiguring in the same conditions        --recheck    update $as_me by reconfiguring in the same conditions
4989        --file=FILE[:TEMPLATE]    --file=FILE[:TEMPLATE]
4990                     instantiate the configuration file FILE                     instantiate the configuration file FILE
4991    
4992  Configuration files:  Configuration files:
4993  $config_files  $config_files
# Line 5147  $config_files Line 4995  $config_files
4995  Report bugs to <bug-autoconf@gnu.org>."  Report bugs to <bug-autoconf@gnu.org>."
4996    
4997  _ACEOF  _ACEOF
4998  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
4999  ac_cs_version="\\  ac_cs_version="\\
5000  GPXView config.status 0.8.10  GPXView config.status 0.8.10
5001  configured by $0, generated by GNU Autoconf 2.63,  configured by $0, generated by GNU Autoconf 2.61,
5002    with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"    with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5003    
5004  Copyright (C) 2008 Free Software Foundation, Inc.  Copyright (C) 2006 Free Software Foundation, Inc.
5005  This config.status script is free software; the Free Software Foundation  This config.status script is free software; the Free Software Foundation
5006  gives unlimited permission to copy, distribute and modify it."  gives unlimited permission to copy, distribute and modify it."
5007    
5008  ac_pwd='$ac_pwd'  ac_pwd='$ac_pwd'
5009  srcdir='$srcdir'  srcdir='$srcdir'
5010  INSTALL='$INSTALL'  INSTALL='$INSTALL'
 test -n "\$AWK" || AWK=awk  
5011  _ACEOF  _ACEOF
5012    
5013  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
5014  # The default lists apply if the user does not specify any file.  # If no file are specified by the user, then we need to provide default
5015    # value.  By we need to know if files were specified by the user.
5016  ac_need_defaults=:  ac_need_defaults=:
5017  while test $# != 0  while test $# != 0
5018  do  do
# Line 5186  do Line 5034  do
5034    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5035      ac_cs_recheck=: ;;      ac_cs_recheck=: ;;
5036    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5037      $as_echo "$ac_cs_version"; exit ;;      echo "$ac_cs_version"; exit ;;
5038    --debug | --debu | --deb | --de | --d | -d )    --debug | --debu | --deb | --de | --d | -d )
5039      debug=: ;;      debug=: ;;
5040    --file | --fil | --fi | --f )    --file | --fil | --fi | --f )
5041      $ac_shift      $ac_shift
5042      case $ac_optarg in      CONFIG_FILES="$CONFIG_FILES $ac_optarg"
     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;  
     esac  
     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"  
5043      ac_need_defaults=false;;      ac_need_defaults=false;;
5044    --he | --h |  --help | --hel | -h )    --he | --h |  --help | --hel | -h )
5045      $as_echo "$ac_cs_usage"; exit ;;      echo "$ac_cs_usage"; exit ;;
5046    -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5047    | -silent | --silent | --silen | --sile | --sil | --si | --s)    | -silent | --silent | --silen | --sile | --sil | --si | --s)
5048      ac_cs_silent=: ;;      ac_cs_silent=: ;;
5049    
5050    # This is an error.    # This is an error.
5051    -*) { $as_echo "$as_me: error: unrecognized option: $1    -*) { echo "$as_me: error: unrecognized option: $1
5052  Try \`$0 --help' for more information." >&2  Try \`$0 --help' for more information." >&2
5053     { (exit 1); exit 1; }; } ;;     { (exit 1); exit 1; }; } ;;
5054    
# Line 5222  if $ac_cs_silent; then Line 5067  if $ac_cs_silent; then
5067  fi  fi
5068    
5069  _ACEOF  _ACEOF
5070  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
5071  if \$ac_cs_recheck; then  if \$ac_cs_recheck; then
5072    set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion    echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5073    shift    CONFIG_SHELL=$SHELL
   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6  
   CONFIG_SHELL='$SHELL'  
5074    export CONFIG_SHELL    export CONFIG_SHELL
5075    exec "\$@"    exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5076  fi  fi
5077    
5078  _ACEOF  _ACEOF
5079  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
5080  exec 5>>config.log  exec 5>>config.log
5081  {  {
5082    echo    echo
5083    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5084  ## Running $as_me. ##  ## Running $as_me. ##
5085  _ASBOX  _ASBOX
5086    $as_echo "$ac_log"    echo "$ac_log"
5087  } >&5  } >&5
5088    
5089  _ACEOF  _ACEOF
5090  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
5091  _ACEOF  _ACEOF
5092    
5093  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
5094    
5095  # Handling of arguments.  # Handling of arguments.
5096  for ac_config_target in $ac_config_targets  for ac_config_target in $ac_config_targets
# Line 5258  do Line 5101  do
5101      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
5102      "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;      "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;
5103    
5104    *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5105  $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5106     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
5107    esac    esac
5108  done  done
# Line 5298  $debug || Line 5141  $debug ||
5141    (umask 077 && mkdir "$tmp")    (umask 077 && mkdir "$tmp")
5142  } ||  } ||
5143  {  {
5144     $as_echo "$as_me: cannot create a temporary directory in ." >&2     echo "$me: cannot create a temporary directory in ." >&2
5145     { (exit 1); exit 1; }     { (exit 1); exit 1; }
5146  }  }
5147    
5148  # Set up the scripts for CONFIG_FILES section.  #
5149  # No need to generate them if there are no CONFIG_FILES.  # Set up the sed scripts for CONFIG_FILES section.
5150  # This happens for instance with `./config.status config.h'.  #
 if test -n "$CONFIG_FILES"; then  
   
5151    
5152  ac_cr=' '  # No need to generate the scripts if there are no CONFIG_FILES.
5153  ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`  # This happens for instance when ./config.status config.h
5154  if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then  if test -n "$CONFIG_FILES"; then
   ac_cs_awk_cr='\\r'  
 else  
   ac_cs_awk_cr=$ac_cr  
 fi  
5155    
 echo 'BEGIN {' >"$tmp/subs1.awk" &&  
5156  _ACEOF  _ACEOF
5157    
5158    
5159  {  
   echo "cat >conf$$subs.awk <<_ACEOF" &&  
   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&  
   echo "_ACEOF"  
 } >conf$$subs.sh ||  
   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5  
 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}  
    { (exit 1); exit 1; }; }  
 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`  
5160  ac_delim='%!_!# '  ac_delim='%!_!# '
5161  for ac_last_try in false false false false false :; do  for ac_last_try in false false false false false :; do
5162    . ./conf$$subs.sh ||    cat >conf$$subs.sed <<_ACEOF
5163      { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5  SHELL!$SHELL$ac_delim
5164  $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}  PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5165     { (exit 1); exit 1; }; }  PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5166    PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5167    PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5168    PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5169    PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5170    exec_prefix!$exec_prefix$ac_delim
5171    prefix!$prefix$ac_delim
5172    program_transform_name!$program_transform_name$ac_delim
5173    bindir!$bindir$ac_delim
5174    sbindir!$sbindir$ac_delim
5175    libexecdir!$libexecdir$ac_delim
5176    datarootdir!$datarootdir$ac_delim
5177    datadir!$datadir$ac_delim
5178    sysconfdir!$sysconfdir$ac_delim
5179    sharedstatedir!$sharedstatedir$ac_delim
5180    localstatedir!$localstatedir$ac_delim
5181    includedir!$includedir$ac_delim
5182    oldincludedir!$oldincludedir$ac_delim
5183    docdir!$docdir$ac_delim
5184    infodir!$infodir$ac_delim
5185    htmldir!$htmldir$ac_delim
5186    dvidir!$dvidir$ac_delim
5187    pdfdir!$pdfdir$ac_delim
5188    psdir!$psdir$ac_delim
5189    libdir!$libdir$ac_delim
5190    localedir!$localedir$ac_delim
5191    mandir!$mandir$ac_delim
5192    DEFS!$DEFS$ac_delim
5193    ECHO_C!$ECHO_C$ac_delim
5194    ECHO_N!$ECHO_N$ac_delim
5195    ECHO_T!$ECHO_T$ac_delim
5196    LIBS!$LIBS$ac_delim
5197    build_alias!$build_alias$ac_delim
5198    host_alias!$host_alias$ac_delim
5199    target_alias!$target_alias$ac_delim
5200    PACKAGE!$PACKAGE$ac_delim
5201    CC!$CC$ac_delim
5202    CFLAGS!$CFLAGS$ac_delim
5203    LDFLAGS!$LDFLAGS$ac_delim
5204    CPPFLAGS!$CPPFLAGS$ac_delim
5205    ac_ct_CC!$ac_ct_CC$ac_delim
5206    EXEEXT!$EXEEXT$ac_delim
5207    OBJEXT!$OBJEXT$ac_delim
5208    INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5209    INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5210    INSTALL_DATA!$INSTALL_DATA$ac_delim
5211    LN_S!$LN_S$ac_delim
5212    SET_MAKE!$SET_MAKE$ac_delim
5213    PKG_CONFIG!$PKG_CONFIG$ac_delim
5214    gnome_vfs_module_CFLAGS!$gnome_vfs_module_CFLAGS$ac_delim
5215    gnome_vfs_module_LIBS!$gnome_vfs_module_LIBS$ac_delim
5216    libxml2_CFLAGS!$libxml2_CFLAGS$ac_delim
5217    libxml2_LIBS!$libxml2_LIBS$ac_delim
5218    libsoup24_CFLAGS!$libsoup24_CFLAGS$ac_delim
5219    libsoup24_LIBS!$libsoup24_LIBS$ac_delim
5220    libsoup22_CFLAGS!$libsoup22_CFLAGS$ac_delim
5221    libsoup22_LIBS!$libsoup22_LIBS$ac_delim
5222    libgtkhtml3_14_CFLAGS!$libgtkhtml3_14_CFLAGS$ac_delim
5223    libgtkhtml3_14_LIBS!$libgtkhtml3_14_LIBS$ac_delim
5224    libgtkhtml3_8_CFLAGS!$libgtkhtml3_8_CFLAGS$ac_delim
5225    libgtkhtml3_8_LIBS!$libgtkhtml3_8_LIBS$ac_delim
5226    hildon_CFLAGS!$hildon_CFLAGS$ac_delim
5227    hildon_LIBS!$hildon_LIBS$ac_delim
5228    osso_CFLAGS!$osso_CFLAGS$ac_delim
5229    osso_LIBS!$osso_LIBS$ac_delim
5230    hildon_fm_2_CFLAGS!$hildon_fm_2_CFLAGS$ac_delim
5231    hildon_fm_2_LIBS!$hildon_fm_2_LIBS$ac_delim
5232    sqlite3_CFLAGS!$sqlite3_CFLAGS$ac_delim
5233    sqlite3_LIBS!$sqlite3_LIBS$ac_delim
5234    hildon_help_CFLAGS!$hildon_help_CFLAGS$ac_delim
5235    hildon_help_LIBS!$hildon_help_LIBS$ac_delim
5236    gpsbt_CFLAGS!$gpsbt_CFLAGS$ac_delim
5237    gpsbt_LIBS!$gpsbt_LIBS$ac_delim
5238    liblocation_CFLAGS!$liblocation_CFLAGS$ac_delim
5239    liblocation_LIBS!$liblocation_LIBS$ac_delim
5240    gtk_CFLAGS!$gtk_CFLAGS$ac_delim
5241    gtk_LIBS!$gtk_LIBS$ac_delim
5242    gnome2_CFLAGS!$gnome2_CFLAGS$ac_delim
5243    gnome2_LIBS!$gnome2_LIBS$ac_delim
5244    EXTRA_OBJS!$EXTRA_OBJS$ac_delim
5245    ICON!$ICON$ac_delim
5246    INSTALL_PLATTFORM!$INSTALL_PLATTFORM$ac_delim
5247    LIBOBJS!$LIBOBJS$ac_delim
5248    LTLIBOBJS!$LTLIBOBJS$ac_delim
5249    _ACEOF
5250    
5251    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`    if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then
   if test $ac_delim_n = $ac_delim_num; then  
5252      break      break
5253    elif $ac_last_try; then    elif $ac_last_try; then
5254      { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5      { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5255  $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}  echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5256     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
5257    else    else
5258      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5259    fi    fi
5260  done  done
 rm -f conf$$subs.sh  
5261    
5262  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5263  cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&  if test -n "$ac_eof"; then
5264      ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5265      ac_eof=`expr $ac_eof + 1`
5266    fi
5267    
5268    cat >>$CONFIG_STATUS <<_ACEOF
5269    cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5270    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5271    _ACEOF
5272    sed '
5273    s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5274    s/^/s,@/; s/!/@,|#_!!_#|/
5275    :n
5276    t n
5277    s/'"$ac_delim"'$/,g/; t
5278    s/$/\\/; p
5279    N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5280    ' >>$CONFIG_STATUS <conf$$subs.sed
5281    rm -f conf$$subs.sed
5282    cat >>$CONFIG_STATUS <<_ACEOF
5283    :end
5284    s/|#_!!_#|//g
5285    CEOF$ac_eof
5286  _ACEOF  _ACEOF
 sed -n '  
 h  
 s/^/S["/; s/!.*/"]=/  
 p  
 g  
 s/^[^!]*!//  
 :repl  
 t repl  
 s/'"$ac_delim"'$//  
 t delim  
 :nl  
 h  
 s/\(.\{148\}\).*/\1/  
 t more1  
 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/  
 p  
 n  
 b repl  
 :more1  
 s/["\\]/\\&/g; s/^/"/; s/$/"\\/  
 p  
 g  
 s/.\{148\}//  
 t nl  
 :delim  
 h  
 s/\(.\{148\}\).*/\1/  
 t more2  
 s/["\\]/\\&/g; s/^/"/; s/$/"/  
 p  
 b  
 :more2  
 s/["\\]/\\&/g; s/^/"/; s/$/"\\/  
 p  
 g  
 s/.\{148\}//  
 t delim  
 ' <conf$$subs.awk | sed '  
 /^[^""]/{  
   N  
   s/\n//  
 }  
 ' >>$CONFIG_STATUS || ac_write_fail=1  
 rm -f conf$$subs.awk  
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  
 _ACAWK  
 cat >>"\$tmp/subs1.awk" <<_ACAWK &&  
   for (key in S) S_is_set[key] = 1  
   FS = ""  
   
 }  
 {  
   line = $ 0  
   nfields = split(line, field, "@")  
   substed = 0  
   len = length(field[1])  
   for (i = 2; i < nfields; i++) {  
     key = field[i]  
     keylen = length(key)  
     if (S_is_set[key]) {  
       value = S[key]  
       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)  
       len += length(value) + length(field[++i])  
       substed = 1  
     } else  
       len += 1 + keylen  
   }  
5287    
   print line  
 }  
   
 _ACAWK  
 _ACEOF  
 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  
 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then  
   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"  
 else  
   cat  
 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \  
   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5  
 $as_echo "$as_me: error: could not setup config files machinery" >&2;}  
    { (exit 1); exit 1; }; }  
 _ACEOF  
5288    
5289  # VPATH may cause trouble with some makes, so we remove $(srcdir),  # VPATH may cause trouble with some makes, so we remove $(srcdir),
5290  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
# Line 5451  s/^[^=]*=[      ]*$// Line 5301  s/^[^=]*=[      ]*$//
5301  }'  }'
5302  fi  fi
5303    
5304  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
5305  fi # test -n "$CONFIG_FILES"  fi # test -n "$CONFIG_FILES"
5306    
5307    
5308  eval set X "  :F $CONFIG_FILES      "  for ac_tag in  :F $CONFIG_FILES
 shift  
 for ac_tag  
5309  do  do
5310    case $ac_tag in    case $ac_tag in
5311    :[FHLC]) ac_mode=$ac_tag; continue;;    :[FHLC]) ac_mode=$ac_tag; continue;;
5312    esac    esac
5313    case $ac_mode$ac_tag in    case $ac_mode$ac_tag in
5314    :[FHL]*:*);;    :[FHL]*:*);;
5315    :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5    :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5316  $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}  echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5317     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
5318    :[FH]-) ac_tag=-:-;;    :[FH]-) ac_tag=-:-;;
5319    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
# Line 5494  $as_echo "$as_me: error: invalid tag $ac Line 5342  $as_echo "$as_me: error: invalid tag $ac
5342             [\\/$]*) false;;             [\\/$]*) false;;
5343             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;             *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5344             esac ||             esac ||
5345             { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5             { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5346  $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}  echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5347     { (exit 1); exit 1; }; };;     { (exit 1); exit 1; }; };;
5348        esac        esac
5349        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac        ac_file_inputs="$ac_file_inputs $ac_f"
       ac_file_inputs="$ac_file_inputs '$ac_f'"  
5350      done      done
5351    
5352      # 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
5353      # use $as_me), people would be surprised to read:      # use $as_me), people would be surprised to read:
5354      #    /* config.h.  Generated by config.status.  */      #    /* config.h.  Generated by config.status.  */
5355      configure_input='Generated from '`      configure_input="Generated from "`IFS=:
5356            $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'            echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
         `' by configure.'  
5357      if test x"$ac_file" != x-; then      if test x"$ac_file" != x-; then
5358        configure_input="$ac_file.  $configure_input"        configure_input="$ac_file.  $configure_input"
5359        { $as_echo "$as_me:$LINENO: creating $ac_file" >&5        { echo "$as_me:$LINENO: creating $ac_file" >&5
5360  $as_echo "$as_me: creating $ac_file" >&6;}  echo "$as_me: creating $ac_file" >&6;}
5361      fi      fi
     # Neutralize special characters interpreted by sed in replacement strings.  
     case $configure_input in #(  
     *\&* | *\|* | *\\* )  
        ac_sed_conf_input=`$as_echo "$configure_input" |  
        sed 's/[\\\\&|]/\\\\&/g'`;; #(  
     *) ac_sed_conf_input=$configure_input;;  
     esac  
5362    
5363      case $ac_tag in      case $ac_tag in
5364      *:-:* | *:-) cat >"$tmp/stdin" \      *:-:* | *:-) cat >"$tmp/stdin";;
       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5  
 $as_echo "$as_me: error: could not create $ac_file" >&2;}  
    { (exit 1); exit 1; }; } ;;  
5365      esac      esac
5366      ;;      ;;
5367    esac    esac
# Line 5535  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^ Line 5371  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^
5371           X"$ac_file" : 'X\(//\)[^/]' \| \           X"$ac_file" : 'X\(//\)[^/]' \| \
5372           X"$ac_file" : 'X\(//\)$' \| \           X"$ac_file" : 'X\(//\)$' \| \
5373           X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||           X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5374  $as_echo X"$ac_file" |  echo X"$ac_file" |
5375      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5376              s//\1/              s//\1/
5377              q              q
# Line 5561  $as_echo X"$ac_file" | Line 5397  $as_echo X"$ac_file" |
5397      as_dirs=      as_dirs=
5398      while :; do      while :; do
5399        case $as_dir in #(        case $as_dir in #(
5400        *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(        *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5401        *) as_qdir=$as_dir;;        *) as_qdir=$as_dir;;
5402        esac        esac
5403        as_dirs="'$as_qdir' $as_dirs"        as_dirs="'$as_qdir' $as_dirs"
# Line 5570  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/ Line 5406  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/
5406           X"$as_dir" : 'X\(//\)[^/]' \| \           X"$as_dir" : 'X\(//\)[^/]' \| \
5407           X"$as_dir" : 'X\(//\)$' \| \           X"$as_dir" : 'X\(//\)$' \| \
5408           X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||           X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5409  $as_echo X"$as_dir" |  echo X"$as_dir" |
5410      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5411              s//\1/              s//\1/
5412              q              q
# Line 5591  $as_echo X"$as_dir" | Line 5427  $as_echo X"$as_dir" |
5427        test -d "$as_dir" && break        test -d "$as_dir" && break
5428      done      done
5429      test -z "$as_dirs" || eval "mkdir $as_dirs"      test -z "$as_dirs" || eval "mkdir $as_dirs"
5430    } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5    } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5431  $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}  echo "$as_me: error: cannot create directory $as_dir" >&2;}
5432     { (exit 1); exit 1; }; }; }     { (exit 1); exit 1; }; }; }
5433    ac_builddir=.    ac_builddir=.
5434    
5435  case "$ac_dir" in  case "$ac_dir" in
5436  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5437  *)  *)
5438    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`    ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5439    # A ".." for each directory in $ac_dir_suffix.    # A ".." for each directory in $ac_dir_suffix.
5440    ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`    ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5441    case $ac_top_builddir_sub in    case $ac_top_builddir_sub in
5442    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5443    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
# Line 5641  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_ Line 5477  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
5477    esac    esac
5478  _ACEOF  _ACEOF
5479    
5480  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
5481  # If the template does not know about datarootdir, expand it.  # If the template does not know about datarootdir, expand it.
5482  # FIXME: This hack should be removed a few years after 2.60.  # FIXME: This hack should be removed a few years after 2.60.
5483  ac_datarootdir_hack=; ac_datarootdir_seen=  ac_datarootdir_hack=; ac_datarootdir_seen=
5484    
5485  ac_sed_dataroot='  case `sed -n '/datarootdir/ {
 /datarootdir/ {  
5486    p    p
5487    q    q
5488  }  }
# Line 5656  ac_sed_dataroot=' Line 5491  ac_sed_dataroot='
5491  /@infodir@/p  /@infodir@/p
5492  /@localedir@/p  /@localedir@/p
5493  /@mandir@/p  /@mandir@/p
5494  '  ' $ac_file_inputs` in
 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in  
5495  *datarootdir*) ac_datarootdir_seen=yes;;  *datarootdir*) ac_datarootdir_seen=yes;;
5496  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5497    { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5    { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5498  $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}  echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5499  _ACEOF  _ACEOF
5500  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
5501    ac_datarootdir_hack='    ac_datarootdir_hack='
5502    s&@datadir@&$datadir&g    s&@datadir@&$datadir&g
5503    s&@docdir@&$docdir&g    s&@docdir@&$docdir&g
# Line 5677  _ACEOF Line 5511  _ACEOF
5511  # Neutralize VPATH when `$srcdir' = `.'.  # Neutralize VPATH when `$srcdir' = `.'.
5512  # Shell code in configure.ac might set extrasub.  # Shell code in configure.ac might set extrasub.
5513  # FIXME: do we really want to maintain this feature?  # FIXME: do we really want to maintain this feature?
5514  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<_ACEOF
5515  ac_sed_extra="$ac_vpsub    sed "$ac_vpsub
5516  $extrasub  $extrasub
5517  _ACEOF  _ACEOF
5518  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1  cat >>$CONFIG_STATUS <<\_ACEOF
5519  :t  :t
5520  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5521  s|@configure_input@|$ac_sed_conf_input|;t t  s&@configure_input@&$configure_input&;t t
5522  s&@top_builddir@&$ac_top_builddir_sub&;t t  s&@top_builddir@&$ac_top_builddir_sub&;t t
 s&@top_build_prefix@&$ac_top_build_prefix&;t t  
5523  s&@srcdir@&$ac_srcdir&;t t  s&@srcdir@&$ac_srcdir&;t t
5524  s&@abs_srcdir@&$ac_abs_srcdir&;t t  s&@abs_srcdir@&$ac_abs_srcdir&;t t
5525  s&@top_srcdir@&$ac_top_srcdir&;t t  s&@top_srcdir@&$ac_top_srcdir&;t t
# Line 5696  s&@abs_builddir@&$ac_abs_builddir&;t t Line 5529  s&@abs_builddir@&$ac_abs_builddir&;t t
5529  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5530  s&@INSTALL@&$ac_INSTALL&;t t  s&@INSTALL@&$ac_INSTALL&;t t
5531  $ac_datarootdir_hack  $ac_datarootdir_hack
5532  "  " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \  
   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5  
 $as_echo "$as_me: error: could not create $ac_file" >&2;}  
    { (exit 1); exit 1; }; }  
5533    
5534  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5535    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5536    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&    { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5537    { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'    { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5538  which seems to be undefined.  Please make sure it is defined." >&5  which seems to be undefined.  Please make sure it is defined." >&5
5539  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'  echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5540  which seems to be undefined.  Please make sure it is defined." >&2;}  which seems to be undefined.  Please make sure it is defined." >&2;}
5541    
5542    rm -f "$tmp/stdin"    rm -f "$tmp/stdin"
5543    case $ac_file in    case $ac_file in
5544    -) cat "$tmp/out" && rm -f "$tmp/out";;    -) cat "$tmp/out"; rm -f "$tmp/out";;
5545    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;    *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5546    esac \    esac
   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5  
 $as_echo "$as_me: error: could not create $ac_file" >&2;}  
    { (exit 1); exit 1; }; }  
5547   ;;   ;;
5548    
5549    
# Line 5732  _ACEOF Line 5558  _ACEOF
5558  chmod +x $CONFIG_STATUS  chmod +x $CONFIG_STATUS
5559  ac_clean_files=$ac_clean_files_save  ac_clean_files=$ac_clean_files_save
5560    
 test $ac_write_fail = 0 ||  
   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5  
 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}  
    { (exit 1); exit 1; }; }  
   
5561    
5562  # configure is writing to config.log, and then calls config.status.  # configure is writing to config.log, and then calls config.status.
5563  # config.status does its own redirection, appending to config.log.  # config.status does its own redirection, appending to config.log.
# Line 5758  if test "$no_create" != yes; then Line 5579  if test "$no_create" != yes; then
5579    # would make configure fail if this is the last instruction.    # would make configure fail if this is the last instruction.
5580    $ac_cs_success || { (exit 1); exit 1; }    $ac_cs_success || { (exit 1); exit 1; }
5581  fi  fi
 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then  
   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5  
 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}  
 fi  
5582    

Legend:
Removed from v.120  
changed lines
  Added in v.122