Diff of /trunk/configure

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

revision 1 by harbaum, Sat Jun 20 11:08:47 2009 UTC revision 282 by harbaum, Wed May 26 19:21:47 2010 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
3  # Generated by GNU Autoconf 2.61 for GPXView 0.6.10.  # Generated by GNU Autoconf 2.61 for GPXView 0.9.4.
4  #  #
5  # Report bugs to <till@harbaum.org>.  # Report bugs to <till@harbaum.org>.
6  #  #
# Line 574  SHELL=${CONFIG_SHELL-/bin/sh} Line 574  SHELL=${CONFIG_SHELL-/bin/sh}
574  # Identity of this package.  # Identity of this package.
575  PACKAGE_NAME='GPXView'  PACKAGE_NAME='GPXView'
576  PACKAGE_TARNAME='gpxview'  PACKAGE_TARNAME='gpxview'
577  PACKAGE_VERSION='0.6.10'  PACKAGE_VERSION='0.9.4'
578  PACKAGE_STRING='GPXView 0.6.10'  PACKAGE_STRING='GPXView 0.9.4'
579  PACKAGE_BUGREPORT='till@harbaum.org'  PACKAGE_BUGREPORT='till@harbaum.org'
580    
581  ac_unique_file="src/main.c"  ac_unique_file="src/main.c"
582    # Factoring default headers for most tests.
583    ac_includes_default="\
584    #include <stdio.h>
585    #ifdef HAVE_SYS_TYPES_H
586    # include <sys/types.h>
587    #endif
588    #ifdef HAVE_SYS_STAT_H
589    # include <sys/stat.h>
590    #endif
591    #ifdef STDC_HEADERS
592    # include <stdlib.h>
593    # include <stddef.h>
594    #else
595    # ifdef HAVE_STDLIB_H
596    #  include <stdlib.h>
597    # endif
598    #endif
599    #ifdef HAVE_STRING_H
600    # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601    #  include <memory.h>
602    # endif
603    # include <string.h>
604    #endif
605    #ifdef HAVE_STRINGS_H
606    # include <strings.h>
607    #endif
608    #ifdef HAVE_INTTYPES_H
609    # include <inttypes.h>
610    #endif
611    #ifdef HAVE_STDINT_H
612    # include <stdint.h>
613    #endif
614    #ifdef HAVE_UNISTD_H
615    # include <unistd.h>
616    #endif"
617    
618  ac_subst_vars='SHELL  ac_subst_vars='SHELL
619  PATH_SEPARATOR  PATH_SEPARATOR
620  PACKAGE_NAME  PACKAGE_NAME
# Line 634  gnome_vfs_module_CFLAGS Line 670  gnome_vfs_module_CFLAGS
670  gnome_vfs_module_LIBS  gnome_vfs_module_LIBS
671  libxml2_CFLAGS  libxml2_CFLAGS
672  libxml2_LIBS  libxml2_LIBS
673    libcurl_CFLAGS
674    libcurl_LIBS
675    libsoup24_CFLAGS
676    libsoup24_LIBS
677    libsoup22_CFLAGS
678    libsoup22_LIBS
679  libgtkhtml3_14_CFLAGS  libgtkhtml3_14_CFLAGS
680  libgtkhtml3_14_LIBS  libgtkhtml3_14_LIBS
681  libgtkhtml3_8_CFLAGS  libgtkhtml3_8_CFLAGS
# Line 652  gpsbt_CFLAGS Line 694  gpsbt_CFLAGS
694  gpsbt_LIBS  gpsbt_LIBS
695  liblocation_CFLAGS  liblocation_CFLAGS
696  liblocation_LIBS  liblocation_LIBS
697  EXTRA_OBJS  MAEMO_VERSION_MAJOR
698  INSTALL_PLATTFORM  CPP
699    GREP
700    EGREP
701  gtk_CFLAGS  gtk_CFLAGS
702  gtk_LIBS  gtk_LIBS
703  gnome2_CFLAGS  gnome2_CFLAGS
704  gnome2_LIBS  gnome2_LIBS
705    gps_CFLAGS
706    gps_LIBS
707    EXTRA_OBJS
708    ICON
709    INSTALL_PLATTFORM
710  LIBOBJS  LIBOBJS
711  LTLIBOBJS'  LTLIBOBJS'
712  ac_subst_files=''  ac_subst_files=''
# Line 674  gnome_vfs_module_CFLAGS Line 723  gnome_vfs_module_CFLAGS
723  gnome_vfs_module_LIBS  gnome_vfs_module_LIBS
724  libxml2_CFLAGS  libxml2_CFLAGS
725  libxml2_LIBS  libxml2_LIBS
726    libcurl_CFLAGS
727    libcurl_LIBS
728    libsoup24_CFLAGS
729    libsoup24_LIBS
730    libsoup22_CFLAGS
731    libsoup22_LIBS
732  libgtkhtml3_14_CFLAGS  libgtkhtml3_14_CFLAGS
733  libgtkhtml3_14_LIBS  libgtkhtml3_14_LIBS
734  libgtkhtml3_8_CFLAGS  libgtkhtml3_8_CFLAGS
# Line 692  gpsbt_CFLAGS Line 747  gpsbt_CFLAGS
747  gpsbt_LIBS  gpsbt_LIBS
748  liblocation_CFLAGS  liblocation_CFLAGS
749  liblocation_LIBS  liblocation_LIBS
750    CPP
751  gtk_CFLAGS  gtk_CFLAGS
752  gtk_LIBS  gtk_LIBS
753  gnome2_CFLAGS  gnome2_CFLAGS
754  gnome2_LIBS'  gnome2_LIBS
755    gps_CFLAGS
756    gps_LIBS'
757    
758    
759  # Initialize some variables set by options.  # Initialize some variables set by options.
# Line 1198  if test "$ac_init_help" = "long"; then Line 1256  if test "$ac_init_help" = "long"; then
1256    # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
1257    # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
1258    cat <<_ACEOF    cat <<_ACEOF
1259  \`configure' configures GPXView 0.6.10 to adapt to many kinds of systems.  \`configure' configures GPXView 0.9.4 to adapt to many kinds of systems.
1260    
1261  Usage: $0 [OPTION]... [VAR=VALUE]...  Usage: $0 [OPTION]... [VAR=VALUE]...
1262    
# Line 1259  fi Line 1317  fi
1317    
1318  if test -n "$ac_init_help"; then  if test -n "$ac_init_help"; then
1319    case $ac_init_help in    case $ac_init_help in
1320       short | recursive ) echo "Configuration of GPXView 0.6.10:";;       short | recursive ) echo "Configuration of GPXView 0.9.4:";;
1321     esac     esac
1322    cat <<\_ACEOF    cat <<\_ACEOF
1323    
# Line 1280  Some influential environment variables: Line 1338  Some influential environment variables:
1338                C compiler flags for libxml2, overriding pkg-config                C compiler flags for libxml2, overriding pkg-config
1339    libxml2_LIBS    libxml2_LIBS
1340                linker flags for libxml2, overriding pkg-config                linker flags for libxml2, overriding pkg-config
1341      libcurl_CFLAGS
1342                  C compiler flags for libcurl, overriding pkg-config
1343      libcurl_LIBS
1344                  linker flags for libcurl, overriding pkg-config
1345      libsoup24_CFLAGS
1346                  C compiler flags for libsoup24, overriding pkg-config
1347      libsoup24_LIBS
1348                  linker flags for libsoup24, overriding pkg-config
1349      libsoup22_CFLAGS
1350                  C compiler flags for libsoup22, overriding pkg-config
1351      libsoup22_LIBS
1352                  linker flags for libsoup22, overriding pkg-config
1353    libgtkhtml3_14_CFLAGS    libgtkhtml3_14_CFLAGS
1354                C compiler flags for libgtkhtml3_14, overriding pkg-config                C compiler flags for libgtkhtml3_14, overriding pkg-config
1355    libgtkhtml3_14_LIBS    libgtkhtml3_14_LIBS
# Line 1312  Some influential environment variables: Line 1382  Some influential environment variables:
1382                C compiler flags for liblocation, overriding pkg-config                C compiler flags for liblocation, overriding pkg-config
1383    liblocation_LIBS    liblocation_LIBS
1384                linker flags for liblocation, overriding pkg-config                linker flags for liblocation, overriding pkg-config
1385      CPP         C preprocessor
1386    gtk_CFLAGS  C compiler flags for gtk, overriding pkg-config    gtk_CFLAGS  C compiler flags for gtk, overriding pkg-config
1387    gtk_LIBS    linker flags for gtk, overriding pkg-config    gtk_LIBS    linker flags for gtk, overriding pkg-config
1388    gnome2_CFLAGS    gnome2_CFLAGS
1389                C compiler flags for gnome2, overriding pkg-config                C compiler flags for gnome2, overriding pkg-config
1390    gnome2_LIBS linker flags for gnome2, overriding pkg-config    gnome2_LIBS linker flags for gnome2, overriding pkg-config
1391      gps_CFLAGS  C compiler flags for gps, overriding pkg-config
1392      gps_LIBS    linker flags for gps, overriding pkg-config
1393    
1394  Use these variables to override the choices made by `configure' or to help  Use these variables to override the choices made by `configure' or to help
1395  it to find libraries and programs with nonstandard names/locations.  it to find libraries and programs with nonstandard names/locations.
# Line 1382  fi Line 1455  fi
1455  test -n "$ac_init_help" && exit $ac_status  test -n "$ac_init_help" && exit $ac_status
1456  if $ac_init_version; then  if $ac_init_version; then
1457    cat <<\_ACEOF    cat <<\_ACEOF
1458  GPXView configure 0.6.10  GPXView configure 0.9.4
1459  generated by GNU Autoconf 2.61  generated by GNU Autoconf 2.61
1460    
1461  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# Line 1396  cat >config.log <<_ACEOF Line 1469  cat >config.log <<_ACEOF
1469  This file contains any messages produced by compilers while  This file contains any messages produced by compilers while
1470  running configure, to aid debugging if configure makes a mistake.  running configure, to aid debugging if configure makes a mistake.
1471    
1472  It was created by GPXView $as_me 0.6.10, which was  It was created by GPXView $as_me 0.9.4, which was
1473  generated by GNU Autoconf 2.61.  Invocation command line was  generated by GNU Autoconf 2.61.  Invocation command line was
1474    
1475    $ $0 $@    $ $0 $@
# Line 3127  fi Line 3200  fi
3200  CFLAGS="$CFLAGS $libxml2_CFLAGS"  CFLAGS="$CFLAGS $libxml2_CFLAGS"
3201  LIBS="$LIBS $libxml2_LIBS"  LIBS="$LIBS $libxml2_LIBS"
3202    
3203  # check for gtkhtml-3.14  # check for libcurl
3204    
3205  pkg_failed=no  pkg_failed=no
3206  { echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5  { echo "$as_me:$LINENO: checking for libcurl" >&5
3207  echo $ECHO_N "checking for libgtkhtml3_14... $ECHO_C" >&6; }  echo $ECHO_N "checking for libcurl... $ECHO_C" >&6; }
3208    
3209  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3210      if test -n "$libgtkhtml3_14_CFLAGS"; then      if test -n "$libcurl_CFLAGS"; then
3211          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"          pkg_cv_libcurl_CFLAGS="$libcurl_CFLAGS"
3212      else      else
3213          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3214      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
3215    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3216    ac_status=$?    ac_status=$?
3217    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218    (exit $ac_status); }; then    (exit $ac_status); }; then
3219    pkg_cv_libgtkhtml3_14_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null`    pkg_cv_libcurl_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
3220  else  else
3221    pkg_failed=yes    pkg_failed=yes
3222  fi  fi
# Line 3152  else Line 3225  else
3225          pkg_failed=untried          pkg_failed=untried
3226  fi  fi
3227  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3228      if test -n "$libgtkhtml3_14_LIBS"; then      if test -n "$libcurl_LIBS"; then
3229          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"          pkg_cv_libcurl_LIBS="$libcurl_LIBS"
3230      else      else
3231          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3232      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcurl\"") >&5
3233    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5    ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
3234    ac_status=$?    ac_status=$?
3235    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236    (exit $ac_status); }; then    (exit $ac_status); }; then
3237    pkg_cv_libgtkhtml3_14_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null`    pkg_cv_libcurl_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
3238  else  else
3239    pkg_failed=yes    pkg_failed=yes
3240  fi  fi
# Line 3180  else Line 3253  else
3253          _pkg_short_errors_supported=no          _pkg_short_errors_supported=no
3254  fi  fi
3255          if test $_pkg_short_errors_supported = yes; then          if test $_pkg_short_errors_supported = yes; then
3256                  libgtkhtml3_14_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.14"`                  libcurl_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl"`
3257          else          else
3258                  libgtkhtml3_14_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.14"`                  libcurl_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl"`
3259          fi          fi
3260          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3261          echo "$libgtkhtml3_14_PKG_ERRORS" >&5          echo "$libcurl_PKG_ERRORS" >&5
3262    
3263          { echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3264  echo "${ECHO_T}no" >&6; }  echo "${ECHO_T}no" >&6; }
3265                    { { echo "$as_me:$LINENO: error: libcurl missing" >&5
3266    echo "$as_me: error: libcurl missing" >&2;}
3267       { (exit 1); exit 1; }; }
3268    elif test $pkg_failed = untried; then
3269            { { echo "$as_me:$LINENO: error: libcurl missing" >&5
3270    echo "$as_me: error: libcurl missing" >&2;}
3271       { (exit 1); exit 1; }; }
3272    else
3273            libcurl_CFLAGS=$pkg_cv_libcurl_CFLAGS
3274            libcurl_LIBS=$pkg_cv_libcurl_LIBS
3275            { echo "$as_me:$LINENO: result: yes" >&5
3276    echo "${ECHO_T}yes" >&6; }
3277            :
3278    fi
3279    CFLAGS="$CFLAGS $libcurl_CFLAGS"
3280    LIBS="$LIBS $libcurl_LIBS"
3281    
3282    # ok, we can also live with 3.8  # check for libsoup
3283    
3284  pkg_failed=no  pkg_failed=no
3285  { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  { echo "$as_me:$LINENO: checking for libsoup24" >&5
3286  echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }  echo $ECHO_N "checking for libsoup24... $ECHO_C" >&6; }
3287    
3288  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3289      if test -n "$libgtkhtml3_8_CFLAGS"; then      if test -n "$libsoup24_CFLAGS"; then
3290          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libsoup24_CFLAGS="$libsoup24_CFLAGS"
3291      else      else
3292          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3293      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
3294    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3295    ac_status=$?    ac_status=$?
3296    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297    (exit $ac_status); }; then    (exit $ac_status); }; then
3298    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libsoup24_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
3299  else  else
3300    pkg_failed=yes    pkg_failed=yes
3301  fi  fi
# Line 3215  else Line 3304  else
3304          pkg_failed=untried          pkg_failed=untried
3305  fi  fi
3306  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3307      if test -n "$libgtkhtml3_8_LIBS"; then      if test -n "$libsoup24_LIBS"; then
3308          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"          pkg_cv_libsoup24_LIBS="$libsoup24_LIBS"
3309      else      else
3310          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3311      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
3312    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
3313    ac_status=$?    ac_status=$?
3314    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315    (exit $ac_status); }; then    (exit $ac_status); }; then
3316    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libsoup24_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
3317  else  else
3318    pkg_failed=yes    pkg_failed=yes
3319  fi  fi
# Line 3243  else Line 3332  else
3332          _pkg_short_errors_supported=no          _pkg_short_errors_supported=no
3333  fi  fi
3334          if test $_pkg_short_errors_supported = yes; then          if test $_pkg_short_errors_supported = yes; then
3335                  libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`                  libsoup24_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4"`
3336          else          else
3337                  libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`                  libsoup24_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4"`
3338          fi          fi
3339          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3340          echo "$libgtkhtml3_8_PKG_ERRORS" >&5          echo "$libsoup24_PKG_ERRORS" >&5
3341    
3342          { echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3343  echo "${ECHO_T}no" >&6; }  echo "${ECHO_T}no" >&6; }
                 { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5  
 echo "$as_me: error: libgtkhtml-3 missing" >&2;}  
    { (exit 1); exit 1; }; }  
 elif test $pkg_failed = untried; then  
         { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5  
 echo "$as_me: error: libgtkhtml-3 missing" >&2;}  
    { (exit 1); exit 1; }; }  
 else  
         libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS  
         libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS  
         { echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6; }  
   
     CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"  
     LIBS="$LIBS $libgtkhtml3_8_LIBS"  
   
 fi  
   
 elif test $pkg_failed = untried; then  
3344    
   # ok, we can also live with 3.8  
3345    
3346  pkg_failed=no  pkg_failed=no
3347  { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5  { echo "$as_me:$LINENO: checking for libsoup22" >&5
3348  echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }  echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }
3349    
3350  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3351      if test -n "$libgtkhtml3_8_CFLAGS"; then      if test -n "$libsoup22_CFLAGS"; then
3352          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3353      else      else
3354          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3355      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3356    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3357    ac_status=$?    ac_status=$?
3358    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359    (exit $ac_status); }; then    (exit $ac_status); }; then
3360    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
3361  else  else
3362    pkg_failed=yes    pkg_failed=yes
3363  fi  fi
# Line 3297  else Line 3366  else
3366          pkg_failed=untried          pkg_failed=untried
3367  fi  fi
3368  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3369      if test -n "$libgtkhtml3_8_LIBS"; then      if test -n "$libsoup22_LIBS"; then
3370          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3371      else      else
3372          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3373      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3374    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3375    ac_status=$?    ac_status=$?
3376    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377    (exit $ac_status); }; then    (exit $ac_status); }; then
3378    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
3379  else  else
3380    pkg_failed=yes    pkg_failed=yes
3381  fi  fi
# Line 3325  else Line 3394  else
3394          _pkg_short_errors_supported=no          _pkg_short_errors_supported=no
3395  fi  fi
3396          if test $_pkg_short_errors_supported = yes; then          if test $_pkg_short_errors_supported = yes; then
3397                  libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`                  libsoup22_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.2"`
3398          else          else
3399                  libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`                  libsoup22_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.2"`
3400          fi          fi
3401          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3402          echo "$libgtkhtml3_8_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
3403    
3404          { echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3405  echo "${ECHO_T}no" >&6; }  echo "${ECHO_T}no" >&6; }
                 { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5  
 echo "$as_me: error: libgtkhtml-3 missing" >&2;}  
    { (exit 1); exit 1; }; }  
 elif test $pkg_failed = untried; then  
         { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5  
 echo "$as_me: error: libgtkhtml-3 missing" >&2;}  
    { (exit 1); exit 1; }; }  
 else  
         libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS  
         libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS  
         { echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6; }  
3406    
3407      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3408      LIBS="$LIBS $libgtkhtml3_8_LIBS"  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3409    
3410  fi  elif test $pkg_failed = untried; then
3411    
3412        { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3413    echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3414    
3415  else  else
3416          libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3417          libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3418          { echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3419  echo "${ECHO_T}yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3420    
3421    CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3422    LIBS="$LIBS $libgtkhtml3_14_LIBS"      CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
3423        LIBS="$LIBS $libsoup22_LIBS"
3424    
3425  fi  fi
3426    
3427  # check for maemo  elif test $pkg_failed = untried; then
 { echo "$as_me:$LINENO: checking for Maemo" >&5  
 echo $ECHO_N "checking for Maemo... $ECHO_C" >&6; }  
 if test -n "$PKG_CONFIG" && \  
     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5  
   ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5  
   ac_status=$?  
   echo "$as_me:$LINENO: \$? = $ac_status" >&5  
   (exit $ac_status); }; then  
   
   MAEMO="yes"  
   { echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6; }  
3428    
3429    
3430  pkg_failed=no  pkg_failed=no
3431  { echo "$as_me:$LINENO: checking for hildon" >&5  { echo "$as_me:$LINENO: checking for libsoup22" >&5
3432  echo $ECHO_N "checking for hildon... $ECHO_C" >&6; }  echo $ECHO_N "checking for libsoup22... $ECHO_C" >&6; }
3433    
3434  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3435      if test -n "$hildon_CFLAGS"; then      if test -n "$libsoup22_CFLAGS"; then
3436          pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"          pkg_cv_libsoup22_CFLAGS="$libsoup22_CFLAGS"
3437      else      else
3438          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3439      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3440    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3441    ac_status=$?    ac_status=$?
3442    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443    (exit $ac_status); }; then    (exit $ac_status); }; then
3444    pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`    pkg_cv_libsoup22_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.2" 2>/dev/null`
3445  else  else
3446    pkg_failed=yes    pkg_failed=yes
3447  fi  fi
# Line 3401  else Line 3450  else
3450          pkg_failed=untried          pkg_failed=untried
3451  fi  fi
3452  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3453      if test -n "$hildon_LIBS"; then      if test -n "$libsoup22_LIBS"; then
3454          pkg_cv_hildon_LIBS="$hildon_LIBS"          pkg_cv_libsoup22_LIBS="$libsoup22_LIBS"
3455      else      else
3456          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3457      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.2\"") >&5
3458    ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5    ($PKG_CONFIG --exists --print-errors "libsoup-2.2") 2>&5
3459    ac_status=$?    ac_status=$?
3460    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461    (exit $ac_status); }; then    (exit $ac_status); }; then
3462    pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`    pkg_cv_libsoup22_LIBS=`$PKG_CONFIG --libs "libsoup-2.2" 2>/dev/null`
3463  else  else
3464    pkg_failed=yes    pkg_failed=yes
3465  fi  fi
# Line 3429  else Line 3478  else
3478          _pkg_short_errors_supported=no          _pkg_short_errors_supported=no
3479  fi  fi
3480          if test $_pkg_short_errors_supported = yes; then          if test $_pkg_short_errors_supported = yes; then
3481                  hildon_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1"`                  libsoup22_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.2"`
3482          else          else
3483                  hildon_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1"`                  libsoup22_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.2"`
3484          fi          fi
3485          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3486          echo "$hildon_PKG_ERRORS" >&5          echo "$libsoup22_PKG_ERRORS" >&5
3487    
3488          { echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3489  echo "${ECHO_T}no" >&6; }  echo "${ECHO_T}no" >&6; }
3490                  { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5  
3491  echo "$as_me: error: hildon-1 missing" >&2;}      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3492     { (exit 1); exit 1; }; }  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3493    
3494  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3495          { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5  
3496  echo "$as_me: error: hildon-1 missing" >&2;}      { echo "$as_me:$LINENO: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&5
3497     { (exit 1); exit 1; }; }  echo "$as_me: WARNING: libsoup-2.4/2.2 missing, disabling internal map" >&6;}
3498    
3499  else  else
3500          hildon_CFLAGS=$pkg_cv_hildon_CFLAGS          libsoup22_CFLAGS=$pkg_cv_libsoup22_CFLAGS
3501          hildon_LIBS=$pkg_cv_hildon_LIBS          libsoup22_LIBS=$pkg_cv_libsoup22_LIBS
3502          { echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3503  echo "${ECHO_T}yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3504          :  
3505        EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3506        CFLAGS="$CFLAGS $libsoup22_CFLAGS -DLIBSOUP22 -DENABLE_OSM_GPS_MAP"
3507        LIBS="$LIBS $libsoup22_LIBS"
3508    
3509  fi  fi
   CFLAGS="$CFLAGS  -DUSE_MAEMO $hildon_CFLAGS"  
   LIBS="$LIBS $hildon_LIBS"  
3510    
3511    else
3512            libsoup24_CFLAGS=$pkg_cv_libsoup24_CFLAGS
3513            libsoup24_LIBS=$pkg_cv_libsoup24_LIBS
3514            { echo "$as_me:$LINENO: result: yes" >&5
3515    echo "${ECHO_T}yes" >&6; }
3516    
3517      EXTRA_OBJS="$EXTRA_OBJS converter.o osm-gps-map.o map-tool.o osm-gps-map-osd-classic.o"
3518      CFLAGS="$CFLAGS $libsoup24_CFLAGS -DENABLE_OSM_GPS_MAP"
3519      LIBS="$LIBS $libsoup24_LIBS"
3520    
3521    fi
3522    
3523    # check for gtkhtml-3.14
3524    
3525  pkg_failed=no  pkg_failed=no
3526  { echo "$as_me:$LINENO: checking for osso" >&5  { echo "$as_me:$LINENO: checking for libgtkhtml3_14" >&5
3527  echo $ECHO_N "checking for osso... $ECHO_C" >&6; }  echo $ECHO_N "checking for libgtkhtml3_14... $ECHO_C" >&6; }
3528    
3529  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3530      if test -n "$osso_CFLAGS"; then      if test -n "$libgtkhtml3_14_CFLAGS"; then
3531          pkg_cv_osso_CFLAGS="$osso_CFLAGS"          pkg_cv_libgtkhtml3_14_CFLAGS="$libgtkhtml3_14_CFLAGS"
3532      else      else
3533          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3534      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5
3535    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3536    ac_status=$?    ac_status=$?
3537    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538    (exit $ac_status); }; then    (exit $ac_status); }; then
3539    pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`    pkg_cv_libgtkhtml3_14_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.14" 2>/dev/null`
3540  else  else
3541    pkg_failed=yes    pkg_failed=yes
3542  fi  fi
# Line 3479  else Line 3545  else
3545          pkg_failed=untried          pkg_failed=untried
3546  fi  fi
3547  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3548      if test -n "$osso_LIBS"; then      if test -n "$libgtkhtml3_14_LIBS"; then
3549          pkg_cv_osso_LIBS="$osso_LIBS"          pkg_cv_libgtkhtml3_14_LIBS="$libgtkhtml3_14_LIBS"
3550      else      else
3551          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3552      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.14\"") >&5
3553    ($PKG_CONFIG --exists --print-errors "libosso") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.14") 2>&5
3554    ac_status=$?    ac_status=$?
3555    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556    (exit $ac_status); }; then    (exit $ac_status); }; then
3557    pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`    pkg_cv_libgtkhtml3_14_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.14" 2>/dev/null`
3558  else  else
3559    pkg_failed=yes    pkg_failed=yes
3560  fi  fi
# Line 3507  else Line 3573  else
3573          _pkg_short_errors_supported=no          _pkg_short_errors_supported=no
3574  fi  fi
3575          if test $_pkg_short_errors_supported = yes; then          if test $_pkg_short_errors_supported = yes; then
3576                  osso_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libosso"`                  libgtkhtml3_14_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.14"`
3577          else          else
3578                  osso_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libosso"`                  libgtkhtml3_14_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.14"`
3579          fi          fi
3580          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3581          echo "$osso_PKG_ERRORS" >&5          echo "$libgtkhtml3_14_PKG_ERRORS" >&5
3582    
3583          { echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3584  echo "${ECHO_T}no" >&6; }  echo "${ECHO_T}no" >&6; }
                 { { echo "$as_me:$LINENO: error: libosso missing" >&5  
 echo "$as_me: error: libosso missing" >&2;}  
    { (exit 1); exit 1; }; }  
 elif test $pkg_failed = untried; then  
         { { echo "$as_me:$LINENO: error: libosso missing" >&5  
 echo "$as_me: error: libosso missing" >&2;}  
    { (exit 1); exit 1; }; }  
 else  
         osso_CFLAGS=$pkg_cv_osso_CFLAGS  
         osso_LIBS=$pkg_cv_osso_LIBS  
         { echo "$as_me:$LINENO: result: yes" >&5  
 echo "${ECHO_T}yes" >&6; }  
         :  
 fi  
   CFLAGS="$CFLAGS $osso_CFLAGS"  
   LIBS="$LIBS $osso_LIBS"  
3585    
3586      # ok, we can also live with 3.8
3587    
3588  pkg_failed=no  pkg_failed=no
3589  { echo "$as_me:$LINENO: checking for hildon_fm_2" >&5  { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
3590  echo $ECHO_N "checking for hildon_fm_2... $ECHO_C" >&6; }  echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }
3591    
3592  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3593      if test -n "$hildon_fm_2_CFLAGS"; then      if test -n "$libgtkhtml3_8_CFLAGS"; then
3594          pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"          pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3595      else      else
3596          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3597      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3598    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3599    ac_status=$?    ac_status=$?
3600    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601    (exit $ac_status); }; then    (exit $ac_status); }; then
3602    pkg_cv_hildon_fm_2_CFLAGS=`$PKG_CONFIG --cflags "hildon-fm-2" 2>/dev/null`    pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
3603  else  else
3604    pkg_failed=yes    pkg_failed=yes
3605  fi  fi
# Line 3557  else Line 3608  else
3608          pkg_failed=untried          pkg_failed=untried
3609  fi  fi
3610  if test -n "$PKG_CONFIG"; then  if test -n "$PKG_CONFIG"; then
3611      if test -n "$hildon_fm_2_LIBS"; then      if test -n "$libgtkhtml3_8_LIBS"; then
3612          pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"          pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3613      else      else
3614          if test -n "$PKG_CONFIG" && \          if test -n "$PKG_CONFIG" && \
3615      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5      { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3616    ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5    ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3617    ac_status=$?    ac_status=$?
3618    echo "$as_me:$LINENO: \$? = $ac_status" >&5    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619    (exit $ac_status); }; then    (exit $ac_status); }; then
3620    pkg_cv_hildon_fm_2_LIBS=`$PKG_CONFIG --libs "hildon-fm-2" 2>/dev/null`    pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
3621  else  else
3622    pkg_failed=yes    pkg_failed=yes
3623  fi  fi
# Line 3585  else Line 3636  else
3636          _pkg_short_errors_supported=no          _pkg_short_errors_supported=no
3637  fi  fi
3638          if test $_pkg_short_errors_supported = yes; then          if test $_pkg_short_errors_supported = yes; then
3639                  hildon_fm_2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-fm-2"`                  libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3640          else          else
3641                  hildon_fm_2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-fm-2"`                  libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3642          fi          fi
3643          # Put the nasty error message in config.log where it belongs          # Put the nasty error message in config.log where it belongs
3644          echo "$hildon_fm_2_PKG_ERRORS" >&5          echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3645    
3646          { echo "$as_me:$LINENO: result: no" >&5          { echo "$as_me:$LINENO: result: no" >&5
3647  echo "${ECHO_T}no" >&6; }  echo "${ECHO_T}no" >&6; }
3648                  { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5                  { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3649  echo "$as_me: error: hildon-fm-2 missing" >&2;}  echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3650     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3651  elif test $pkg_failed = untried; then  elif test $pkg_failed = untried; then
3652          { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5          { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3653  echo "$as_me: error: hildon-fm-2 missing" >&2;}  echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3654     { (exit 1); exit 1; }; }     { (exit 1); exit 1; }; }
3655  else  else
3656          hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS          libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3657          hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS          libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3658          { echo "$as_me:$LINENO: result: yes" >&5          { echo "$as_me:$LINENO: result: yes" >&5
3659  echo "${ECHO_T}yes" >&6; }  echo "${ECHO_T}yes" >&6; }
3660          :  
3661  fi      CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3662    CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"      LIBS="$LIBS $libgtkhtml3_8_LIBS"
3663    
3664    fi
3665    
3666    elif test $pkg_failed = untried; then
3667    
3668      # ok, we can also live with 3.8
3669    
3670    pkg_failed=no
3671    { echo "$as_me:$LINENO: checking for libgtkhtml3_8" >&5
3672    echo $ECHO_N "checking for libgtkhtml3_8... $ECHO_C" >&6; }
3673    
3674    if test -n "$PKG_CONFIG"; then
3675        if test -n "$libgtkhtml3_8_CFLAGS"; then
3676            pkg_cv_libgtkhtml3_8_CFLAGS="$libgtkhtml3_8_CFLAGS"
3677        else
3678            if test -n "$PKG_CONFIG" && \
3679        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3680      ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3681      ac_status=$?
3682      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683      (exit $ac_status); }; then
3684      pkg_cv_libgtkhtml3_8_CFLAGS=`$PKG_CONFIG --cflags "libgtkhtml-3.8" 2>/dev/null`
3685    else
3686      pkg_failed=yes
3687    fi
3688        fi
3689    else
3690            pkg_failed=untried
3691    fi
3692    if test -n "$PKG_CONFIG"; then
3693        if test -n "$libgtkhtml3_8_LIBS"; then
3694            pkg_cv_libgtkhtml3_8_LIBS="$libgtkhtml3_8_LIBS"
3695        else
3696            if test -n "$PKG_CONFIG" && \
3697        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgtkhtml-3.8\"") >&5
3698      ($PKG_CONFIG --exists --print-errors "libgtkhtml-3.8") 2>&5
3699      ac_status=$?
3700      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701      (exit $ac_status); }; then
3702      pkg_cv_libgtkhtml3_8_LIBS=`$PKG_CONFIG --libs "libgtkhtml-3.8" 2>/dev/null`
3703    else
3704      pkg_failed=yes
3705    fi
3706        fi
3707    else
3708            pkg_failed=untried
3709    fi
3710    
3711    
3712    
3713    if test $pkg_failed = yes; then
3714    
3715    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3716            _pkg_short_errors_supported=yes
3717    else
3718            _pkg_short_errors_supported=no
3719    fi
3720            if test $_pkg_short_errors_supported = yes; then
3721                    libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3722            else
3723                    libgtkhtml3_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgtkhtml-3.8"`
3724            fi
3725            # Put the nasty error message in config.log where it belongs
3726            echo "$libgtkhtml3_8_PKG_ERRORS" >&5
3727    
3728            { echo "$as_me:$LINENO: result: no" >&5
3729    echo "${ECHO_T}no" >&6; }
3730                    { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3731    echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3732       { (exit 1); exit 1; }; }
3733    elif test $pkg_failed = untried; then
3734            { { echo "$as_me:$LINENO: error: libgtkhtml-3 missing" >&5
3735    echo "$as_me: error: libgtkhtml-3 missing" >&2;}
3736       { (exit 1); exit 1; }; }
3737    else
3738            libgtkhtml3_8_CFLAGS=$pkg_cv_libgtkhtml3_8_CFLAGS
3739            libgtkhtml3_8_LIBS=$pkg_cv_libgtkhtml3_8_LIBS
3740            { echo "$as_me:$LINENO: result: yes" >&5
3741    echo "${ECHO_T}yes" >&6; }
3742    
3743        CFLAGS="$CFLAGS $libgtkhtml3_8_CFLAGS"
3744        LIBS="$LIBS $libgtkhtml3_8_LIBS"
3745    
3746    fi
3747    
3748    else
3749            libgtkhtml3_14_CFLAGS=$pkg_cv_libgtkhtml3_14_CFLAGS
3750            libgtkhtml3_14_LIBS=$pkg_cv_libgtkhtml3_14_LIBS
3751            { echo "$as_me:$LINENO: result: yes" >&5
3752    echo "${ECHO_T}yes" >&6; }
3753    
3754      CFLAGS="$CFLAGS $libgtkhtml3_14_CFLAGS"
3755      LIBS="$LIBS $libgtkhtml3_14_LIBS"
3756    
3757    fi
3758    
3759    # check for maemo
3760    { echo "$as_me:$LINENO: checking for Maemo" >&5
3761    echo $ECHO_N "checking for Maemo... $ECHO_C" >&6; }
3762    
3763    ac_ext=c
3764    ac_cpp='$CPP $CPPFLAGS'
3765    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3766    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3767    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3768    { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3769    echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3770    # On Suns, sometimes $CPP names a directory.
3771    if test -n "$CPP" && test -d "$CPP"; then
3772      CPP=
3773    fi
3774    if test -z "$CPP"; then
3775      if test "${ac_cv_prog_CPP+set}" = set; then
3776      echo $ECHO_N "(cached) $ECHO_C" >&6
3777    else
3778          # Double quotes because CPP needs to be expanded
3779        for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3780        do
3781          ac_preproc_ok=false
3782    for ac_c_preproc_warn_flag in '' yes
3783    do
3784      # Use a header file that comes with gcc, so configuring glibc
3785      # with a fresh cross-compiler works.
3786      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3787      # <limits.h> exists even on freestanding compilers.
3788      # On the NeXT, cc -E runs the code through the compiler's parser,
3789      # not just through cpp. "Syntax error" is here to catch this case.
3790      cat >conftest.$ac_ext <<_ACEOF
3791    /* confdefs.h.  */
3792    _ACEOF
3793    cat confdefs.h >>conftest.$ac_ext
3794    cat >>conftest.$ac_ext <<_ACEOF
3795    /* end confdefs.h.  */
3796    #ifdef __STDC__
3797    # include <limits.h>
3798    #else
3799    # include <assert.h>
3800    #endif
3801                         Syntax error
3802    _ACEOF
3803    if { (ac_try="$ac_cpp conftest.$ac_ext"
3804    case "(($ac_try" in
3805      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806      *) ac_try_echo=$ac_try;;
3807    esac
3808    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3809      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3810      ac_status=$?
3811      grep -v '^ *+' conftest.er1 >conftest.err
3812      rm -f conftest.er1
3813      cat conftest.err >&5
3814      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815      (exit $ac_status); } >/dev/null && {
3816             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3817             test ! -s conftest.err
3818           }; then
3819      :
3820    else
3821      echo "$as_me: failed program was:" >&5
3822    sed 's/^/| /' conftest.$ac_ext >&5
3823    
3824      # Broken: fails on valid input.
3825    continue
3826    fi
3827    
3828    rm -f conftest.err conftest.$ac_ext
3829    
3830      # OK, works on sane cases.  Now check whether nonexistent headers
3831      # can be detected and how.
3832      cat >conftest.$ac_ext <<_ACEOF
3833    /* confdefs.h.  */
3834    _ACEOF
3835    cat confdefs.h >>conftest.$ac_ext
3836    cat >>conftest.$ac_ext <<_ACEOF
3837    /* end confdefs.h.  */
3838    #include <ac_nonexistent.h>
3839    _ACEOF
3840    if { (ac_try="$ac_cpp conftest.$ac_ext"
3841    case "(($ac_try" in
3842      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3843      *) ac_try_echo=$ac_try;;
3844    esac
3845    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3846      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3847      ac_status=$?
3848      grep -v '^ *+' conftest.er1 >conftest.err
3849      rm -f conftest.er1
3850      cat conftest.err >&5
3851      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852      (exit $ac_status); } >/dev/null && {
3853             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3854             test ! -s conftest.err
3855           }; then
3856      # Broken: success on invalid input.
3857    continue
3858    else
3859      echo "$as_me: failed program was:" >&5
3860    sed 's/^/| /' conftest.$ac_ext >&5
3861    
3862      # Passes both tests.
3863    ac_preproc_ok=:
3864    break
3865    fi
3866    
3867    rm -f conftest.err conftest.$ac_ext
3868    
3869    done
3870    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3871    rm -f conftest.err conftest.$ac_ext
3872    if $ac_preproc_ok; then
3873      break
3874    fi
3875    
3876        done
3877        ac_cv_prog_CPP=$CPP
3878    
3879    fi
3880      CPP=$ac_cv_prog_CPP
3881    else
3882      ac_cv_prog_CPP=$CPP
3883    fi
3884    { echo "$as_me:$LINENO: result: $CPP" >&5
3885    echo "${ECHO_T}$CPP" >&6; }
3886    ac_preproc_ok=false
3887    for ac_c_preproc_warn_flag in '' yes
3888    do
3889      # Use a header file that comes with gcc, so configuring glibc
3890      # with a fresh cross-compiler works.
3891      # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3892      # <limits.h> exists even on freestanding compilers.
3893      # On the NeXT, cc -E runs the code through the compiler's parser,
3894      # not just through cpp. "Syntax error" is here to catch this case.
3895      cat >conftest.$ac_ext <<_ACEOF
3896    /* confdefs.h.  */
3897    _ACEOF
3898    cat confdefs.h >>conftest.$ac_ext
3899    cat >>conftest.$ac_ext <<_ACEOF
3900    /* end confdefs.h.  */
3901    #ifdef __STDC__
3902    # include <limits.h>
3903    #else
3904    # include <assert.h>
3905    #endif
3906                         Syntax error
3907    _ACEOF
3908    if { (ac_try="$ac_cpp conftest.$ac_ext"
3909    case "(($ac_try" in
3910      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911      *) ac_try_echo=$ac_try;;
3912    esac
3913    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3914      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3915      ac_status=$?
3916      grep -v '^ *+' conftest.er1 >conftest.err
3917      rm -f conftest.er1
3918      cat conftest.err >&5
3919      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920      (exit $ac_status); } >/dev/null && {
3921             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3922             test ! -s conftest.err
3923           }; then
3924      :
3925    else
3926      echo "$as_me: failed program was:" >&5
3927    sed 's/^/| /' conftest.$ac_ext >&5
3928    
3929      # Broken: fails on valid input.
3930    continue
3931    fi
3932    
3933    rm -f conftest.err conftest.$ac_ext
3934    
3935      # OK, works on sane cases.  Now check whether nonexistent headers
3936      # can be detected and how.
3937      cat >conftest.$ac_ext <<_ACEOF
3938    /* confdefs.h.  */
3939    _ACEOF
3940    cat confdefs.h >>conftest.$ac_ext
3941    cat >>conftest.$ac_ext <<_ACEOF
3942    /* end confdefs.h.  */
3943    #include <ac_nonexistent.h>
3944    _ACEOF
3945    if { (ac_try="$ac_cpp conftest.$ac_ext"
3946    case "(($ac_try" in
3947      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948      *) ac_try_echo=$ac_try;;
3949    esac
3950    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3951      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3952      ac_status=$?
3953      grep -v '^ *+' conftest.er1 >conftest.err
3954      rm -f conftest.er1
3955      cat conftest.err >&5
3956      echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957      (exit $ac_status); } >/dev/null && {
3958             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3959             test ! -s conftest.err
3960           }; then
3961      # Broken: success on invalid input.
3962    continue
3963    else
3964      echo "$as_me: failed program was:" >&5
3965    sed 's/^/| /' conftest.$ac_ext >&5
3966    
3967      # Passes both tests.
3968    ac_preproc_ok=:
3969    break
3970    fi
3971    
3972    rm -f conftest.err conftest.$ac_ext
3973    
3974    done
3975    # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3976    rm -f conftest.err conftest.$ac_ext
3977    if $ac_preproc_ok; then
3978      :
3979    else
3980      { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3981    See \`config.log' for more details." >&5
3982    echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3983    See \`config.log' for more details." >&2;}
3984       { (exit 1); exit 1; }; }
3985    fi
3986    
3987    ac_ext=c
3988    ac_cpp='$CPP $CPPFLAGS'
3989    ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3990    ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3991    ac_compiler_gnu=$ac_cv_c_compiler_gnu
3992    
3993    
3994    { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3995    echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3996    if test "${ac_cv_path_GREP+set}" = set; then
3997      echo $ECHO_N "(cached) $ECHO_C" >&6
3998    else
3999      # Extract the first word of "grep ggrep" to use in msg output
4000    if test -z "$GREP"; then
4001    set dummy grep ggrep; ac_prog_name=$2
4002    if test "${ac_cv_path_GREP+set}" = set; then
4003      echo $ECHO_N "(cached) $ECHO_C" >&6
4004    else
4005      ac_path_GREP_found=false
4006    # Loop through the user's path and test for each of PROGNAME-LIST
4007    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4008    for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4009    do
4010      IFS=$as_save_IFS
4011      test -z "$as_dir" && as_dir=.
4012      for ac_prog in grep ggrep; do
4013      for ac_exec_ext in '' $ac_executable_extensions; do
4014        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4015        { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4016        # Check for GNU ac_path_GREP and select it if it is found.
4017      # Check for GNU $ac_path_GREP
4018    case `"$ac_path_GREP" --version 2>&1` in
4019    *GNU*)
4020      ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4021    *)
4022      ac_count=0
4023      echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4024      while :
4025      do
4026        cat "conftest.in" "conftest.in" >"conftest.tmp"
4027        mv "conftest.tmp" "conftest.in"
4028        cp "conftest.in" "conftest.nl"
4029        echo 'GREP' >> "conftest.nl"
4030        "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4031        diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4032        ac_count=`expr $ac_count + 1`
4033        if test $ac_count -gt ${ac_path_GREP_max-0}; then
4034          # Best one so far, save it but keep looking for a better one
4035          ac_cv_path_GREP="$ac_path_GREP"
4036          ac_path_GREP_max=$ac_count
4037        fi
4038        # 10*(2^10) chars as input seems more than enough
4039        test $ac_count -gt 10 && break
4040      done
4041      rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4042    esac
4043    
4044    
4045        $ac_path_GREP_found && break 3
4046      done
4047    done
4048    
4049    done
4050    IFS=$as_save_IFS
4051    
4052    
4053    fi
4054    
4055    GREP="$ac_cv_path_GREP"
4056    if test -z "$GREP"; then
4057      { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4058    echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4059       { (exit 1); exit 1; }; }
4060    fi
4061    
4062    else
4063      ac_cv_path_GREP=$GREP
4064    fi
4065    
4066    
4067    fi
4068    { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4069    echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4070     GREP="$ac_cv_path_GREP"
4071    
4072    
4073    { echo "$as_me:$LINENO: checking for egrep" >&5
4074    echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4075    if test "${ac_cv_path_EGREP+set}" = set; then
4076      echo $ECHO_N "(cached) $ECHO_C" >&6
4077    else
4078      if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4079       then ac_cv_path_EGREP="$GREP -E"
4080       else
4081         # Extract the first word of "egrep" to use in msg output
4082    if test -z "$EGREP"; then
4083    set dummy egrep; ac_prog_name=$2
4084    if test "${ac_cv_path_EGREP+set}" = set; then
4085      echo $ECHO_N "(cached) $ECHO_C" >&6
4086    else
4087      ac_path_EGREP_found=false
4088    # Loop through the user's path and test for each of PROGNAME-LIST
4089    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4090    for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4091    do
4092      IFS=$as_save_IFS
4093      test -z "$as_dir" && as_dir=.
4094      for ac_prog in egrep; do
4095      for ac_exec_ext in '' $ac_executable_extensions; do
4096        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4097        { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4098        # Check for GNU ac_path_EGREP and select it if it is found.
4099      # Check for GNU $ac_path_EGREP
4100    case `"$ac_path_EGREP" --version 2>&1` in
4101    *GNU*)
4102      ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4103    *)
4104      ac_count=0
4105      echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4106      while :
4107      do
4108        cat "conftest.in" "conftest.in" >"conftest.tmp"
4109        mv "conftest.tmp" "conftest.in"
4110        cp "conftest.in" "conftest.nl"
4111        echo 'EGREP' >> "conftest.nl"
4112        "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4113        diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4114        ac_count=`expr $ac_count + 1`
4115        if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4116          # Best one so far, save it but keep looking for a better one
4117          ac_cv_path_EGREP="$ac_path_EGREP"
4118          ac_path_EGREP_max=$ac_count
4119        fi
4120        # 10*(2^10) chars as input seems more than enough
4121        test $ac_count -gt 10 && break
4122      done
4123      rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4124    esac
4125    
4126    
4127        $ac_path_EGREP_found && break 3
4128      done
4129    done
4130    
4131    done
4132    IFS=$as_save_IFS
4133    
4134    
4135    fi
4136    
4137    EGREP="$ac_cv_path_EGREP"
4138    if test -z "$EGREP"; then
4139      { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4140    echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4141       { (exit 1); exit 1; }; }
4142    fi
4143    
4144    else
4145      ac_cv_path_EGREP=$EGREP
4146    fi
4147    
4148    
4149       fi
4150    fi
4151    { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4152    echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4153     EGREP="$ac_cv_path_EGREP"
4154    
4155    
4156    { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4157    echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4158    if test "${ac_cv_header_stdc+set}" = set; then
4159      echo $ECHO_N "(cached) $ECHO_C" >&6
4160    else
4161      cat >conftest.$ac_ext <<_ACEOF
4162    /* confdefs.h.  */
4163    _ACEOF
4164    cat confdefs.h >>conftest.$ac_ext
4165    cat >>conftest.$ac_ext <<_ACEOF
4166    /* end confdefs.h.  */
4167    #include <stdlib.h>
4168    #include <stdarg.h>
4169    #include <string.h>
4170    #include <float.h>
4171    
4172    int
4173    main ()
4174    {
4175    
4176      ;
4177      return 0;
4178    }
4179    _ACEOF
4180    rm -f conftest.$ac_objext
4181    if { (ac_try="$ac_compile"
4182    case "(($ac_try" in
4183      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184      *) ac_try_echo=$ac_try;;
4185    esac
4186    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4187      (eval "$ac_compile") 2>conftest.er1
4188      ac_status=$?
4189      grep -v '^ *+' conftest.er1 >conftest.err
4190      rm -f conftest.er1
4191      cat conftest.err >&5
4192      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193      (exit $ac_status); } && {
4194             test -z "$ac_c_werror_flag" ||
4195             test ! -s conftest.err
4196           } && test -s conftest.$ac_objext; then
4197      ac_cv_header_stdc=yes
4198    else
4199      echo "$as_me: failed program was:" >&5
4200    sed 's/^/| /' conftest.$ac_ext >&5
4201    
4202            ac_cv_header_stdc=no
4203    fi
4204    
4205    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4206    
4207    if test $ac_cv_header_stdc = yes; then
4208      # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4209      cat >conftest.$ac_ext <<_ACEOF
4210    /* confdefs.h.  */
4211    _ACEOF
4212    cat confdefs.h >>conftest.$ac_ext
4213    cat >>conftest.$ac_ext <<_ACEOF
4214    /* end confdefs.h.  */
4215    #include <string.h>
4216    
4217    _ACEOF
4218    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4219      $EGREP "memchr" >/dev/null 2>&1; then
4220      :
4221    else
4222      ac_cv_header_stdc=no
4223    fi
4224    rm -f conftest*
4225    
4226    fi
4227    
4228    if test $ac_cv_header_stdc = yes; then
4229      # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4230      cat >conftest.$ac_ext <<_ACEOF
4231    /* confdefs.h.  */
4232    _ACEOF
4233    cat confdefs.h >>conftest.$ac_ext
4234    cat >>conftest.$ac_ext <<_ACEOF
4235    /* end confdefs.h.  */
4236    #include <stdlib.h>
4237    
4238    _ACEOF
4239    if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4240      $EGREP "free" >/dev/null 2>&1; then
4241      :
4242    else
4243      ac_cv_header_stdc=no
4244    fi
4245    rm -f conftest*
4246    
4247    fi
4248    
4249    if test $ac_cv_header_stdc = yes; then
4250      # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4251      if test "$cross_compiling" = yes; then
4252      :
4253    else
4254      cat >conftest.$ac_ext <<_ACEOF
4255    /* confdefs.h.  */
4256    _ACEOF
4257    cat confdefs.h >>conftest.$ac_ext
4258    cat >>conftest.$ac_ext <<_ACEOF
4259    /* end confdefs.h.  */
4260    #include <ctype.h>
4261    #include <stdlib.h>
4262    #if ((' ' & 0x0FF) == 0x020)
4263    # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4264    # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4265    #else
4266    # define ISLOWER(c) \
4267                       (('a' <= (c) && (c) <= 'i') \
4268                         || ('j' <= (c) && (c) <= 'r') \
4269                         || ('s' <= (c) && (c) <= 'z'))
4270    # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4271    #endif
4272    
4273    #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4274    int
4275    main ()
4276    {
4277      int i;
4278      for (i = 0; i < 256; i++)
4279        if (XOR (islower (i), ISLOWER (i))
4280            || toupper (i) != TOUPPER (i))
4281          return 2;
4282      return 0;
4283    }
4284    _ACEOF
4285    rm -f conftest$ac_exeext
4286    if { (ac_try="$ac_link"
4287    case "(($ac_try" in
4288      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289      *) ac_try_echo=$ac_try;;
4290    esac
4291    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4292      (eval "$ac_link") 2>&5
4293      ac_status=$?
4294      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295      (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4296      { (case "(($ac_try" in
4297      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4298      *) ac_try_echo=$ac_try;;
4299    esac
4300    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4301      (eval "$ac_try") 2>&5
4302      ac_status=$?
4303      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304      (exit $ac_status); }; }; then
4305      :
4306    else
4307      echo "$as_me: program exited with status $ac_status" >&5
4308    echo "$as_me: failed program was:" >&5
4309    sed 's/^/| /' conftest.$ac_ext >&5
4310    
4311    ( exit $ac_status )
4312    ac_cv_header_stdc=no
4313    fi
4314    rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4315    fi
4316    
4317    
4318    fi
4319    fi
4320    { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4321    echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4322    if test $ac_cv_header_stdc = yes; then
4323    
4324    cat >>confdefs.h <<\_ACEOF
4325    #define STDC_HEADERS 1
4326    _ACEOF
4327    
4328    fi
4329    
4330    # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4331    
4332    
4333    
4334    
4335    
4336    
4337    
4338    
4339    
4340    for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4341                      inttypes.h stdint.h unistd.h
4342    do
4343    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4344    { echo "$as_me:$LINENO: checking for $ac_header" >&5
4345    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4346    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4347      echo $ECHO_N "(cached) $ECHO_C" >&6
4348    else
4349      cat >conftest.$ac_ext <<_ACEOF
4350    /* confdefs.h.  */
4351    _ACEOF
4352    cat confdefs.h >>conftest.$ac_ext
4353    cat >>conftest.$ac_ext <<_ACEOF
4354    /* end confdefs.h.  */
4355    $ac_includes_default
4356    
4357    #include <$ac_header>
4358    _ACEOF
4359    rm -f conftest.$ac_objext
4360    if { (ac_try="$ac_compile"
4361    case "(($ac_try" in
4362      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4363      *) ac_try_echo=$ac_try;;
4364    esac
4365    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4366      (eval "$ac_compile") 2>conftest.er1
4367      ac_status=$?
4368      grep -v '^ *+' conftest.er1 >conftest.err
4369      rm -f conftest.er1
4370      cat conftest.err >&5
4371      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372      (exit $ac_status); } && {
4373             test -z "$ac_c_werror_flag" ||
4374             test ! -s conftest.err
4375           } && test -s conftest.$ac_objext; then
4376      eval "$as_ac_Header=yes"
4377    else
4378      echo "$as_me: failed program was:" >&5
4379    sed 's/^/| /' conftest.$ac_ext >&5
4380    
4381            eval "$as_ac_Header=no"
4382    fi
4383    
4384    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4385    fi
4386    ac_res=`eval echo '${'$as_ac_Header'}'`
4387                   { echo "$as_me:$LINENO: result: $ac_res" >&5
4388    echo "${ECHO_T}$ac_res" >&6; }
4389    if test `eval echo '${'$as_ac_Header'}'` = yes; then
4390      cat >>confdefs.h <<_ACEOF
4391    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4392    _ACEOF
4393    
4394    fi
4395    
4396    done
4397    
4398    
4399    if test -n "$PKG_CONFIG" && \
4400        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"maemo-version\"") >&5
4401      ($PKG_CONFIG --exists --print-errors "maemo-version") 2>&5
4402      ac_status=$?
4403      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404      (exit $ac_status); }; then
4405    
4406      MAEMO="yes"
4407      { echo "$as_me:$LINENO: result: yes" >&5
4408    echo "${ECHO_T}yes" >&6; }
4409    
4410    
4411    pkg_failed=no
4412    { echo "$as_me:$LINENO: checking for hildon" >&5
4413    echo $ECHO_N "checking for hildon... $ECHO_C" >&6; }
4414    
4415    if test -n "$PKG_CONFIG"; then
4416        if test -n "$hildon_CFLAGS"; then
4417            pkg_cv_hildon_CFLAGS="$hildon_CFLAGS"
4418        else
4419            if test -n "$PKG_CONFIG" && \
4420        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
4421      ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4422      ac_status=$?
4423      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424      (exit $ac_status); }; then
4425      pkg_cv_hildon_CFLAGS=`$PKG_CONFIG --cflags "hildon-1" 2>/dev/null`
4426    else
4427      pkg_failed=yes
4428    fi
4429        fi
4430    else
4431            pkg_failed=untried
4432    fi
4433    if test -n "$PKG_CONFIG"; then
4434        if test -n "$hildon_LIBS"; then
4435            pkg_cv_hildon_LIBS="$hildon_LIBS"
4436        else
4437            if test -n "$PKG_CONFIG" && \
4438        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1\"") >&5
4439      ($PKG_CONFIG --exists --print-errors "hildon-1") 2>&5
4440      ac_status=$?
4441      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442      (exit $ac_status); }; then
4443      pkg_cv_hildon_LIBS=`$PKG_CONFIG --libs "hildon-1" 2>/dev/null`
4444    else
4445      pkg_failed=yes
4446    fi
4447        fi
4448    else
4449            pkg_failed=untried
4450    fi
4451    
4452    
4453    
4454    if test $pkg_failed = yes; then
4455    
4456    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4457            _pkg_short_errors_supported=yes
4458    else
4459            _pkg_short_errors_supported=no
4460    fi
4461            if test $_pkg_short_errors_supported = yes; then
4462                    hildon_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1"`
4463            else
4464                    hildon_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1"`
4465            fi
4466            # Put the nasty error message in config.log where it belongs
4467            echo "$hildon_PKG_ERRORS" >&5
4468    
4469            { echo "$as_me:$LINENO: result: no" >&5
4470    echo "${ECHO_T}no" >&6; }
4471                    { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
4472    echo "$as_me: error: hildon-1 missing" >&2;}
4473       { (exit 1); exit 1; }; }
4474    elif test $pkg_failed = untried; then
4475            { { echo "$as_me:$LINENO: error: hildon-1 missing" >&5
4476    echo "$as_me: error: hildon-1 missing" >&2;}
4477       { (exit 1); exit 1; }; }
4478    else
4479            hildon_CFLAGS=$pkg_cv_hildon_CFLAGS
4480            hildon_LIBS=$pkg_cv_hildon_LIBS
4481            { echo "$as_me:$LINENO: result: yes" >&5
4482    echo "${ECHO_T}yes" >&6; }
4483            :
4484    fi
4485      CFLAGS="$CFLAGS  -DUSE_MAEMO $hildon_CFLAGS"
4486      LIBS="$LIBS $hildon_LIBS"
4487    
4488    
4489    pkg_failed=no
4490    { echo "$as_me:$LINENO: checking for osso" >&5
4491    echo $ECHO_N "checking for osso... $ECHO_C" >&6; }
4492    
4493    if test -n "$PKG_CONFIG"; then
4494        if test -n "$osso_CFLAGS"; then
4495            pkg_cv_osso_CFLAGS="$osso_CFLAGS"
4496        else
4497            if test -n "$PKG_CONFIG" && \
4498        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
4499      ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4500      ac_status=$?
4501      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502      (exit $ac_status); }; then
4503      pkg_cv_osso_CFLAGS=`$PKG_CONFIG --cflags "libosso" 2>/dev/null`
4504    else
4505      pkg_failed=yes
4506    fi
4507        fi
4508    else
4509            pkg_failed=untried
4510    fi
4511    if test -n "$PKG_CONFIG"; then
4512        if test -n "$osso_LIBS"; then
4513            pkg_cv_osso_LIBS="$osso_LIBS"
4514        else
4515            if test -n "$PKG_CONFIG" && \
4516        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libosso\"") >&5
4517      ($PKG_CONFIG --exists --print-errors "libosso") 2>&5
4518      ac_status=$?
4519      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520      (exit $ac_status); }; then
4521      pkg_cv_osso_LIBS=`$PKG_CONFIG --libs "libosso" 2>/dev/null`
4522    else
4523      pkg_failed=yes
4524    fi
4525        fi
4526    else
4527            pkg_failed=untried
4528    fi
4529    
4530    
4531    
4532    if test $pkg_failed = yes; then
4533    
4534    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4535            _pkg_short_errors_supported=yes
4536    else
4537            _pkg_short_errors_supported=no
4538    fi
4539            if test $_pkg_short_errors_supported = yes; then
4540                    osso_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libosso"`
4541            else
4542                    osso_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libosso"`
4543            fi
4544            # Put the nasty error message in config.log where it belongs
4545            echo "$osso_PKG_ERRORS" >&5
4546    
4547            { echo "$as_me:$LINENO: result: no" >&5
4548    echo "${ECHO_T}no" >&6; }
4549                    { { echo "$as_me:$LINENO: error: libosso missing" >&5
4550    echo "$as_me: error: libosso missing" >&2;}
4551       { (exit 1); exit 1; }; }
4552    elif test $pkg_failed = untried; then
4553            { { echo "$as_me:$LINENO: error: libosso missing" >&5
4554    echo "$as_me: error: libosso missing" >&2;}
4555       { (exit 1); exit 1; }; }
4556    else
4557            osso_CFLAGS=$pkg_cv_osso_CFLAGS
4558            osso_LIBS=$pkg_cv_osso_LIBS
4559            { echo "$as_me:$LINENO: result: yes" >&5
4560    echo "${ECHO_T}yes" >&6; }
4561            :
4562    fi
4563      CFLAGS="$CFLAGS $osso_CFLAGS"
4564      LIBS="$LIBS $osso_LIBS"
4565    
4566    
4567    pkg_failed=no
4568    { echo "$as_me:$LINENO: checking for hildon_fm_2" >&5
4569    echo $ECHO_N "checking for hildon_fm_2... $ECHO_C" >&6; }
4570    
4571    if test -n "$PKG_CONFIG"; then
4572        if test -n "$hildon_fm_2_CFLAGS"; then
4573            pkg_cv_hildon_fm_2_CFLAGS="$hildon_fm_2_CFLAGS"
4574        else
4575            if test -n "$PKG_CONFIG" && \
4576        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
4577      ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4578      ac_status=$?
4579      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580      (exit $ac_status); }; then
4581      pkg_cv_hildon_fm_2_CFLAGS=`$PKG_CONFIG --cflags "hildon-fm-2" 2>/dev/null`
4582    else
4583      pkg_failed=yes
4584    fi
4585        fi
4586    else
4587            pkg_failed=untried
4588    fi
4589    if test -n "$PKG_CONFIG"; then
4590        if test -n "$hildon_fm_2_LIBS"; then
4591            pkg_cv_hildon_fm_2_LIBS="$hildon_fm_2_LIBS"
4592        else
4593            if test -n "$PKG_CONFIG" && \
4594        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-fm-2\"") >&5
4595      ($PKG_CONFIG --exists --print-errors "hildon-fm-2") 2>&5
4596      ac_status=$?
4597      echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598      (exit $ac_status); }; then
4599      pkg_cv_hildon_fm_2_LIBS=`$PKG_CONFIG --libs "hildon-fm-2" 2>/dev/null`
4600    else
4601      pkg_failed=yes
4602    fi
4603        fi
4604    else
4605            pkg_failed=untried
4606    fi
4607    
4608    
4609    
4610    if test $pkg_failed = yes; then
4611    
4612    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4613            _pkg_short_errors_supported=yes
4614    else
4615            _pkg_short_errors_supported=no
4616    fi
4617            if test $_pkg_short_errors_supported = yes; then
4618                    hildon_fm_2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-fm-2"`
4619            else
4620                    hildon_fm_2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-fm-2"`
4621            fi
4622            # Put the nasty error message in config.log where it belongs
4623            echo "$hildon_fm_2_PKG_ERRORS" >&5
4624    
4625            { echo "$as_me:$LINENO: result: no" >&5
4626    echo "${ECHO_T}no" >&6; }
4627                    { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
4628    echo "$as_me: error: hildon-fm-2 missing" >&2;}
4629       { (exit 1); exit 1; }; }
4630    elif test $pkg_failed = untried; then
4631            { { echo "$as_me:$LINENO: error: hildon-fm-2 missing" >&5
4632    echo "$as_me: error: hildon-fm-2 missing" >&2;}
4633       { (exit 1); exit 1; }; }
4634    else
4635            hildon_fm_2_CFLAGS=$pkg_cv_hildon_fm_2_CFLAGS
4636            hildon_fm_2_LIBS=$pkg_cv_hildon_fm_2_LIBS
4637            { echo "$as_me:$LINENO: result: yes" >&5
4638    echo "${ECHO_T}yes" >&6; }
4639            :
4640    fi
4641      CFLAGS="$CFLAGS $hildon_fm_2_CFLAGS"
4642    LIBS="$LIBS $hildon_fm_2_LIBS"    LIBS="$LIBS $hildon_fm_2_LIBS"
4643    
4644    # check for sqlite3 for maemo mapper interface    # check for sqlite3 for maemo mapper interface
# Line 4058  echo "$as_me: Configuring for Maemo $VER Line 5088  echo "$as_me: Configuring for Maemo $VER
5088      MAJOR=`echo $VERSION | cut -b1 -`      MAJOR=`echo $VERSION | cut -b1 -`
5089      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"      CFLAGS="$CFLAGS -DMAEMO_VERSION_MAJOR=$MAJOR"
5090    
5091        MAEMO_VERSION_MAJOR=$MAJOR
5092    
5093    
5094  else  else
5095    
5096      { { echo "$as_me:$LINENO: error: maemo-version not found" >&5      { { echo "$as_me:$LINENO: error: maemo-version not found" >&5
# Line 4066  echo "$as_me: error: maemo-version not f Line 5099  echo "$as_me: error: maemo-version not f
5099    
5100  fi  fi
5101    
5102      INSTALL_PLATTFORM="install-maemo"
5103    
5104      # fremantle uses icons of 48x48 pixels for the app installer,
5105      # older versions used 26x26
5106      if [ "$MAJOR" == "5" ]; then
5107         ICONNAME=48x48/gpxview.png
5108         datarootdir=/opt
5109    
5110           # check for libespeak (broken in diablo, hence doing it here)
5111    
5112    for ac_header in espeak/speak_lib.h
5113    do
5114    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5115    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5116      { echo "$as_me:$LINENO: checking for $ac_header" >&5
5117    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5118    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5119      echo $ECHO_N "(cached) $ECHO_C" >&6
5120    fi
5121    ac_res=`eval echo '${'$as_ac_Header'}'`
5122                   { echo "$as_me:$LINENO: result: $ac_res" >&5
5123    echo "${ECHO_T}$ac_res" >&6; }
5124    else
5125      # Is the header compilable?
5126    { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5127    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5128    cat >conftest.$ac_ext <<_ACEOF
5129    /* confdefs.h.  */
5130    _ACEOF
5131    cat confdefs.h >>conftest.$ac_ext
5132    cat >>conftest.$ac_ext <<_ACEOF
5133    /* end confdefs.h.  */
5134    $ac_includes_default
5135    #include <$ac_header>
5136    _ACEOF
5137    rm -f conftest.$ac_objext
5138    if { (ac_try="$ac_compile"
5139    case "(($ac_try" in
5140      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5141      *) ac_try_echo=$ac_try;;
5142    esac
5143    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5144      (eval "$ac_compile") 2>conftest.er1
5145      ac_status=$?
5146      grep -v '^ *+' conftest.er1 >conftest.err
5147      rm -f conftest.er1
5148      cat conftest.err >&5
5149      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150      (exit $ac_status); } && {
5151             test -z "$ac_c_werror_flag" ||
5152             test ! -s conftest.err
5153           } && test -s conftest.$ac_objext; then
5154      ac_header_compiler=yes
5155    else
5156      echo "$as_me: failed program was:" >&5
5157    sed 's/^/| /' conftest.$ac_ext >&5
5158    
5159            ac_header_compiler=no
5160    fi
5161    
5162    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5163    { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5164    echo "${ECHO_T}$ac_header_compiler" >&6; }
5165    
5166    # Is the header present?
5167    { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5168    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5169    cat >conftest.$ac_ext <<_ACEOF
5170    /* confdefs.h.  */
5171    _ACEOF
5172    cat confdefs.h >>conftest.$ac_ext
5173    cat >>conftest.$ac_ext <<_ACEOF
5174    /* end confdefs.h.  */
5175    #include <$ac_header>
5176    _ACEOF
5177    if { (ac_try="$ac_cpp conftest.$ac_ext"
5178    case "(($ac_try" in
5179      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5180      *) ac_try_echo=$ac_try;;
5181    esac
5182    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5183      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5184      ac_status=$?
5185      grep -v '^ *+' conftest.er1 >conftest.err
5186      rm -f conftest.er1
5187      cat conftest.err >&5
5188      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189      (exit $ac_status); } >/dev/null && {
5190             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5191             test ! -s conftest.err
5192           }; then
5193      ac_header_preproc=yes
5194    else
5195      echo "$as_me: failed program was:" >&5
5196    sed 's/^/| /' conftest.$ac_ext >&5
5197    
5198      ac_header_preproc=no
5199    fi
5200    
5201    rm -f conftest.err conftest.$ac_ext
5202    { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5203    echo "${ECHO_T}$ac_header_preproc" >&6; }
5204    
5205    # So?  What about this header?
5206    case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5207      yes:no: )
5208        { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5209    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5210        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5211    echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5212        ac_header_preproc=yes
5213        ;;
5214      no:yes:* )
5215        { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5216    echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5217        { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5218    echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5219        { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5220    echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5221        { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5222    echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5223        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5224    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5225        { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5226    echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5227        ( cat <<\_ASBOX
5228    ## ------------------------------- ##
5229    ## Report this to till@harbaum.org ##
5230    ## ------------------------------- ##
5231    _ASBOX
5232         ) | sed "s/^/$as_me: WARNING:     /" >&2
5233        ;;
5234    esac
5235    { echo "$as_me:$LINENO: checking for $ac_header" >&5
5236    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5237    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5238      echo $ECHO_N "(cached) $ECHO_C" >&6
5239    else
5240      eval "$as_ac_Header=\$ac_header_preproc"
5241    fi
5242    ac_res=`eval echo '${'$as_ac_Header'}'`
5243                   { echo "$as_me:$LINENO: result: $ac_res" >&5
5244    echo "${ECHO_T}$ac_res" >&6; }
5245    
5246    fi
5247    if test `eval echo '${'$as_ac_Header'}'` = yes; then
5248      cat >>confdefs.h <<_ACEOF
5249    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5250    _ACEOF
5251    
5252             CFLAGS="$CFLAGS -DESPEAK"
5253             LIBS="$LIBS -lespeak"
5254    
5255    fi
5256    
5257    done
5258    
5259      else
5260         ICONNAME=26x26/gpxview.png
5261         { echo "$as_me:$LINENO: Enabling Maemo Mapper support" >&5
5262    echo "$as_me: Enabling Maemo Mapper support" >&6;}
5263      fi
5264    
5265      CFLAGS="$CFLAGS -DENABLE_MAEMO_MAPPER"
5266      EXTRA_OBJS="$EXTRA_OBJS mm_poi.o"
5267    
5268    # maemo uses dbus for ipc with maemo mapper    # maemo uses dbus for ipc with maemo mapper
5269    EXTRA_OBJS="mm_poi.o dbus.o"    EXTRA_OBJS="$EXTRA_OBJS dbus.o"
5270    
5271      { echo "$as_me:$LINENO: Using application installer icon \"$ICONNAME\"" >&5
5272    echo "$as_me: Using application installer icon \"$ICONNAME\"" >&6;}
5273    
5274    INSTALL_PLATTFORM="install-maemo"    # add icon entry to debian/control
5275      ICON=" Maemo icon $ICONNAME
5276    XB-Maemo-Icon-26:
5277    "
5278    
5279      # generate base64 icon, remove first and last line
5280      # and add a space before each line
5281      ICON="$ICON`uuencode -m data/icons/$ICONNAME $ICONNAME | sed '1d;$d;s/^/ /' -`"
5282    
5283    
5284  else  else
# Line 4079  else Line 5286  else
5286    { echo "$as_me:$LINENO: result: no" >&5    { echo "$as_me:$LINENO: result: no" >&5
5287  echo "${ECHO_T}no" >&6; }  echo "${ECHO_T}no" >&6; }
5288    
5289      EXTRA_OBJS="$EXTRA_OBJS bct.o"
5290      CFLAGS="$CFLAGS -DBCT"
5291    
5292    # check for gtk+-2.0    # check for gtk+-2.0
5293    
5294  pkg_failed=no  pkg_failed=no
# Line 4237  fi Line 5447  fi
5447    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"    CFLAGS="$CFLAGS $gnome2_CFLAGS -DENABLE_BROWSER_INTERFACE"
5448    LIBS="$LIBS $gnome2_LIBS"    LIBS="$LIBS $gnome2_LIBS"
5449    
5450      # check for libespeak
5451    
5452    for ac_header in espeak/speak_lib.h
5453    do
5454    as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5455    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5456      { echo "$as_me:$LINENO: checking for $ac_header" >&5
5457    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5458    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5459      echo $ECHO_N "(cached) $ECHO_C" >&6
5460    fi
5461    ac_res=`eval echo '${'$as_ac_Header'}'`
5462                   { echo "$as_me:$LINENO: result: $ac_res" >&5
5463    echo "${ECHO_T}$ac_res" >&6; }
5464    else
5465      # Is the header compilable?
5466    { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5467    echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5468    cat >conftest.$ac_ext <<_ACEOF
5469    /* confdefs.h.  */
5470    _ACEOF
5471    cat confdefs.h >>conftest.$ac_ext
5472    cat >>conftest.$ac_ext <<_ACEOF
5473    /* end confdefs.h.  */
5474    $ac_includes_default
5475    #include <$ac_header>
5476    _ACEOF
5477    rm -f conftest.$ac_objext
5478    if { (ac_try="$ac_compile"
5479    case "(($ac_try" in
5480      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5481      *) ac_try_echo=$ac_try;;
5482    esac
5483    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5484      (eval "$ac_compile") 2>conftest.er1
5485      ac_status=$?
5486      grep -v '^ *+' conftest.er1 >conftest.err
5487      rm -f conftest.er1
5488      cat conftest.err >&5
5489      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490      (exit $ac_status); } && {
5491             test -z "$ac_c_werror_flag" ||
5492             test ! -s conftest.err
5493           } && test -s conftest.$ac_objext; then
5494      ac_header_compiler=yes
5495    else
5496      echo "$as_me: failed program was:" >&5
5497    sed 's/^/| /' conftest.$ac_ext >&5
5498    
5499            ac_header_compiler=no
5500    fi
5501    
5502    rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5503    { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5504    echo "${ECHO_T}$ac_header_compiler" >&6; }
5505    
5506    # Is the header present?
5507    { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5508    echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5509    cat >conftest.$ac_ext <<_ACEOF
5510    /* confdefs.h.  */
5511    _ACEOF
5512    cat confdefs.h >>conftest.$ac_ext
5513    cat >>conftest.$ac_ext <<_ACEOF
5514    /* end confdefs.h.  */
5515    #include <$ac_header>
5516    _ACEOF
5517    if { (ac_try="$ac_cpp conftest.$ac_ext"
5518    case "(($ac_try" in
5519      *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5520      *) ac_try_echo=$ac_try;;
5521    esac
5522    eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5523      (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5524      ac_status=$?
5525      grep -v '^ *+' conftest.er1 >conftest.err
5526      rm -f conftest.er1
5527      cat conftest.err >&5
5528      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529      (exit $ac_status); } >/dev/null && {
5530             test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5531             test ! -s conftest.err
5532           }; then
5533      ac_header_preproc=yes
5534    else
5535      echo "$as_me: failed program was:" >&5
5536    sed 's/^/| /' conftest.$ac_ext >&5
5537    
5538      ac_header_preproc=no
5539    fi
5540    
5541    rm -f conftest.err conftest.$ac_ext
5542    { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5543    echo "${ECHO_T}$ac_header_preproc" >&6; }
5544    
5545    # So?  What about this header?
5546    case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5547      yes:no: )
5548        { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5549    echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5550        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5551    echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5552        ac_header_preproc=yes
5553        ;;
5554      no:yes:* )
5555        { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5556    echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5557        { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5558    echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5559        { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5560    echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5561        { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5562    echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5563        { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5564    echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5565        { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5566    echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5567        ( cat <<\_ASBOX
5568    ## ------------------------------- ##
5569    ## Report this to till@harbaum.org ##
5570    ## ------------------------------- ##
5571    _ASBOX
5572         ) | sed "s/^/$as_me: WARNING:     /" >&2
5573        ;;
5574    esac
5575    { echo "$as_me:$LINENO: checking for $ac_header" >&5
5576    echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5577    if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5578      echo $ECHO_N "(cached) $ECHO_C" >&6
5579    else
5580      eval "$as_ac_Header=\$ac_header_preproc"
5581    fi
5582    ac_res=`eval echo '${'$as_ac_Header'}'`
5583                   { echo "$as_me:$LINENO: result: $ac_res" >&5
5584    echo "${ECHO_T}$ac_res" >&6; }
5585    
5586    fi
5587    if test `eval echo '${'$as_ac_Header'}'` = yes; then
5588      cat >>confdefs.h <<_ACEOF
5589    #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5590    _ACEOF
5591    
5592        CFLAGS="$CFLAGS -DESPEAK"
5593        LIBS="$LIBS -lespeak"
5594    
5595    fi
5596    
5597    done
5598    
5599    
5600      # check for libgps
5601    
5602    pkg_failed=no
5603    { echo "$as_me:$LINENO: checking for gps" >&5
5604    echo $ECHO_N "checking for gps... $ECHO_C" >&6; }
5605    
5606    if test -n "$PKG_CONFIG"; then
5607        if test -n "$gps_CFLAGS"; then
5608            pkg_cv_gps_CFLAGS="$gps_CFLAGS"
5609        else
5610            if test -n "$PKG_CONFIG" && \
5611        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgps\"") >&5
5612      ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
5613      ac_status=$?
5614      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615      (exit $ac_status); }; then
5616      pkg_cv_gps_CFLAGS=`$PKG_CONFIG --cflags "libgps" 2>/dev/null`
5617    else
5618      pkg_failed=yes
5619    fi
5620        fi
5621    else
5622            pkg_failed=untried
5623    fi
5624    if test -n "$PKG_CONFIG"; then
5625        if test -n "$gps_LIBS"; then
5626            pkg_cv_gps_LIBS="$gps_LIBS"
5627        else
5628            if test -n "$PKG_CONFIG" && \
5629        { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgps\"") >&5
5630      ($PKG_CONFIG --exists --print-errors "libgps") 2>&5
5631      ac_status=$?
5632      echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633      (exit $ac_status); }; then
5634      pkg_cv_gps_LIBS=`$PKG_CONFIG --libs "libgps" 2>/dev/null`
5635    else
5636      pkg_failed=yes
5637    fi
5638        fi
5639    else
5640            pkg_failed=untried
5641    fi
5642    
5643    
5644    
5645    if test $pkg_failed = yes; then
5646    
5647    if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5648            _pkg_short_errors_supported=yes
5649    else
5650            _pkg_short_errors_supported=no
5651    fi
5652            if test $_pkg_short_errors_supported = yes; then
5653                    gps_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgps"`
5654            else
5655                    gps_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgps"`
5656            fi
5657            # Put the nasty error message in config.log where it belongs
5658            echo "$gps_PKG_ERRORS" >&5
5659    
5660            { echo "$as_me:$LINENO: result: no" >&5
5661    echo "${ECHO_T}no" >&6; }
5662                    { echo "$as_me:$LINENO: No libgps found, using direct GPSD" >&5
5663    echo "$as_me: No libgps found, using direct GPSD" >&6;}
5664    elif test $pkg_failed = untried; then
5665            { echo "$as_me:$LINENO: No libgps found, using direct GPSD" >&5
5666    echo "$as_me: No libgps found, using direct GPSD" >&6;}
5667    else
5668            gps_CFLAGS=$pkg_cv_gps_CFLAGS
5669            gps_LIBS=$pkg_cv_gps_LIBS
5670            { echo "$as_me:$LINENO: result: yes" >&5
5671    echo "${ECHO_T}yes" >&6; }
5672    
5673        CFLAGS="$CFLAGS $gps_CFLAGS -DUSE_LIBGPS"
5674        LIBS="$LIBS $gps_LIBS"
5675    
5676    fi
5677    
5678    INSTALL_PLATTFORM="install-debian"    INSTALL_PLATTFORM="install-debian"
5679    
5680      ICON=" No icon"
5681    
5682  fi  fi
5683    
5684    
5685  ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile"  
5686    
5687    ac_config_files="$ac_config_files Makefile src/Makefile data/Makefile debian/control"
5688    
5689    
5690  cat >confcache <<\_ACEOF  cat >confcache <<\_ACEOF
# Line 4672  exec 6>&1 Line 6113  exec 6>&1
6113  # report actual input values of CONFIG_FILES etc. instead of their  # report actual input values of CONFIG_FILES etc. instead of their
6114  # values after options handling.  # values after options handling.
6115  ac_log="  ac_log="
6116  This file was extended by GPXView $as_me 0.6.10, which was  This file was extended by GPXView $as_me 0.9.4, which was
6117  generated by GNU Autoconf 2.61.  Invocation command line was  generated by GNU Autoconf 2.61.  Invocation command line was
6118    
6119    CONFIG_FILES    = $CONFIG_FILES    CONFIG_FILES    = $CONFIG_FILES
# Line 4715  Report bugs to <bug-autoconf@gnu.org>." Line 6156  Report bugs to <bug-autoconf@gnu.org>."
6156  _ACEOF  _ACEOF
6157  cat >>$CONFIG_STATUS <<_ACEOF  cat >>$CONFIG_STATUS <<_ACEOF
6158  ac_cs_version="\\  ac_cs_version="\\
6159  GPXView config.status 0.6.10  GPXView config.status 0.9.4
6160  configured by $0, generated by GNU Autoconf 2.61,  configured by $0, generated by GNU Autoconf 2.61,
6161    with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"    with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6162    
# Line 4817  do Line 6258  do
6258      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6259      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;      "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6260      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;      "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
6261        "debian/control") CONFIG_FILES="$CONFIG_FILES debian/control" ;;
6262    
6263    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6264  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
# Line 4932  gnome_vfs_module_CFLAGS!$gnome_vfs_modul Line 6374  gnome_vfs_module_CFLAGS!$gnome_vfs_modul
6374  gnome_vfs_module_LIBS!$gnome_vfs_module_LIBS$ac_delim  gnome_vfs_module_LIBS!$gnome_vfs_module_LIBS$ac_delim
6375  libxml2_CFLAGS!$libxml2_CFLAGS$ac_delim  libxml2_CFLAGS!$libxml2_CFLAGS$ac_delim
6376  libxml2_LIBS!$libxml2_LIBS$ac_delim  libxml2_LIBS!$libxml2_LIBS$ac_delim
6377    libcurl_CFLAGS!$libcurl_CFLAGS$ac_delim
6378    libcurl_LIBS!$libcurl_LIBS$ac_delim
6379    libsoup24_CFLAGS!$libsoup24_CFLAGS$ac_delim
6380    libsoup24_LIBS!$libsoup24_LIBS$ac_delim
6381    libsoup22_CFLAGS!$libsoup22_CFLAGS$ac_delim
6382    libsoup22_LIBS!$libsoup22_LIBS$ac_delim
6383  libgtkhtml3_14_CFLAGS!$libgtkhtml3_14_CFLAGS$ac_delim  libgtkhtml3_14_CFLAGS!$libgtkhtml3_14_CFLAGS$ac_delim
6384  libgtkhtml3_14_LIBS!$libgtkhtml3_14_LIBS$ac_delim  libgtkhtml3_14_LIBS!$libgtkhtml3_14_LIBS$ac_delim
6385  libgtkhtml3_8_CFLAGS!$libgtkhtml3_8_CFLAGS$ac_delim  libgtkhtml3_8_CFLAGS!$libgtkhtml3_8_CFLAGS$ac_delim
# Line 4950  gpsbt_CFLAGS!$gpsbt_CFLAGS$ac_delim Line 6398  gpsbt_CFLAGS!$gpsbt_CFLAGS$ac_delim
6398  gpsbt_LIBS!$gpsbt_LIBS$ac_delim  gpsbt_LIBS!$gpsbt_LIBS$ac_delim
6399  liblocation_CFLAGS!$liblocation_CFLAGS$ac_delim  liblocation_CFLAGS!$liblocation_CFLAGS$ac_delim
6400  liblocation_LIBS!$liblocation_LIBS$ac_delim  liblocation_LIBS!$liblocation_LIBS$ac_delim
6401  EXTRA_OBJS!$EXTRA_OBJS$ac_delim  MAEMO_VERSION_MAJOR!$MAEMO_VERSION_MAJOR$ac_delim
6402  INSTALL_PLATTFORM!$INSTALL_PLATTFORM$ac_delim  CPP!$CPP$ac_delim
6403    GREP!$GREP$ac_delim
6404    EGREP!$EGREP$ac_delim
6405  gtk_CFLAGS!$gtk_CFLAGS$ac_delim  gtk_CFLAGS!$gtk_CFLAGS$ac_delim
6406  gtk_LIBS!$gtk_LIBS$ac_delim  gtk_LIBS!$gtk_LIBS$ac_delim
6407  gnome2_CFLAGS!$gnome2_CFLAGS$ac_delim  gnome2_CFLAGS!$gnome2_CFLAGS$ac_delim
6408  gnome2_LIBS!$gnome2_LIBS$ac_delim  gnome2_LIBS!$gnome2_LIBS$ac_delim
6409    gps_CFLAGS!$gps_CFLAGS$ac_delim
6410    gps_LIBS!$gps_LIBS$ac_delim
6411    EXTRA_OBJS!$EXTRA_OBJS$ac_delim
6412    ICON!$ICON$ac_delim
6413    INSTALL_PLATTFORM!$INSTALL_PLATTFORM$ac_delim
6414  LIBOBJS!$LIBOBJS$ac_delim  LIBOBJS!$LIBOBJS$ac_delim
6415  LTLIBOBJS!$LTLIBOBJS$ac_delim  LTLIBOBJS!$LTLIBOBJS$ac_delim
6416  _ACEOF  _ACEOF
6417    
6418    if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then    if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 94; then
6419      break      break
6420    elif $ac_last_try; then    elif $ac_last_try; then
6421      { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5      { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5

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