~jfi/ptask/package-ubuntu

« back to all changes in this revision

Viewing changes to configure

  • Committer: jporsini
  • Date: 2014-01-22 19:58:08 UTC
  • Revision ID: svn-v4:150fdd79-9831-44f0-b659-6bc0400daafd:packages/ubuntu/ptask/trunk:1643
new release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.69 for ptask 0.0.4.
 
3
# Generated by GNU Autoconf 2.69 for ptask 0.0.5.
4
4
#
5
5
# Report bugs to <jeanfi@gmail.com>.
6
6
#
580
580
# Identity of this package.
581
581
PACKAGE_NAME='ptask'
582
582
PACKAGE_TARNAME='ptask'
583
 
PACKAGE_VERSION='0.0.4'
584
 
PACKAGE_STRING='ptask 0.0.4'
 
583
PACKAGE_VERSION='0.0.5'
 
584
PACKAGE_STRING='ptask 0.0.5'
585
585
PACKAGE_BUGREPORT='jeanfi@gmail.com'
586
586
PACKAGE_URL='http://wpitchoune.net/ptask'
587
587
 
599
599
GLIB_COMPILE_SCHEMAS
600
600
gsettingsschemadir
601
601
GSETTINGS_DISABLE_SCHEMAS_COMPILE
 
602
JSON_FALSE
 
603
JSON_TRUE
602
604
JSON_LIBS
603
605
JSON_CFLAGS
604
606
GTK_LIBS
656
658
LDFLAGS
657
659
CFLAGS
658
660
CC
 
661
AM_BACKSLASH
 
662
AM_DEFAULT_VERBOSITY
 
663
AM_DEFAULT_V
 
664
AM_V
659
665
am__untar
660
666
am__tar
661
667
AMTAR
720
726
ac_subst_files=''
721
727
ac_user_opts='
722
728
enable_option_checking
 
729
enable_silent_rules
723
730
enable_dependency_tracking
724
731
with_x
725
732
enable_nls
1290
1297
  # Omit some internal or obsolete options to make the list less imposing.
1291
1298
  # This message is too long to be a string in the A/UX 3.1 sh.
1292
1299
  cat <<_ACEOF
1293
 
\`configure' configures ptask 0.0.4 to adapt to many kinds of systems.
 
1300
\`configure' configures ptask 0.0.5 to adapt to many kinds of systems.
1294
1301
 
1295
1302
Usage: $0 [OPTION]... [VAR=VALUE]...
1296
1303
 
1364
1371
 
1365
1372
if test -n "$ac_init_help"; then
1366
1373
  case $ac_init_help in
1367
 
     short | recursive ) echo "Configuration of ptask 0.0.4:";;
 
1374
     short | recursive ) echo "Configuration of ptask 0.0.5:";;
1368
1375
   esac
1369
1376
  cat <<\_ACEOF
1370
1377
 
1372
1379
  --disable-option-checking  ignore unrecognized --enable/--with options
1373
1380
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1374
1381
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1375
 
  --disable-dependency-tracking  speeds up one-time build
1376
 
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1382
  --enable-silent-rules   less verbose build output (undo: "make V=1")
 
1383
  --disable-silent-rules  verbose build output (undo: "make V=0")
 
1384
  --enable-dependency-tracking
 
1385
                          do not reject slow dependency extractors
 
1386
  --disable-dependency-tracking
 
1387
                          speeds up one-time build
1377
1388
  --disable-nls           do not use Native Language Support
1378
1389
  --disable-rpath         do not hardcode runtime library paths
1379
1390
  --disable-schemas-compile
1480
1491
test -n "$ac_init_help" && exit $ac_status
1481
1492
if $ac_init_version; then
1482
1493
  cat <<\_ACEOF
1483
 
ptask configure 0.0.4
 
1494
ptask configure 0.0.5
1484
1495
generated by GNU Autoconf 2.69
1485
1496
 
1486
1497
Copyright (C) 2012 Free Software Foundation, Inc.
1660
1671
This file contains any messages produced by compilers while
1661
1672
running configure, to aid debugging if configure makes a mistake.
1662
1673
 
1663
 
It was created by ptask $as_me 0.0.4, which was
 
1674
It was created by ptask $as_me 0.0.5, which was
1664
1675
generated by GNU Autoconf 2.69.  Invocation command line was
1665
1676
 
1666
1677
  $ $0 $@
2010
2021
 
2011
2022
 
2012
2023
 
2013
 
am__api_version='1.11'
 
2024
am__api_version='1.13'
2014
2025
 
2015
2026
ac_aux_dir=
2016
2027
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2136
2147
 
2137
2148
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2138
2149
$as_echo_n "checking whether build environment is sane... " >&6; }
2139
 
# Just in case
2140
 
sleep 1
2141
 
echo timestamp > conftest.file
2142
2150
# Reject unsafe characters in $srcdir or the absolute working directory
2143
2151
# name.  Accept space and tab only in the latter.
2144
2152
am_lf='
2149
2157
esac
2150
2158
case $srcdir in
2151
2159
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2152
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2160
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2153
2161
esac
2154
2162
 
2155
 
# Do `set' in a subshell so we don't clobber the current shell's
 
2163
# Do 'set' in a subshell so we don't clobber the current shell's
2156
2164
# arguments.  Must try -L first in case configure is actually a
2157
2165
# symlink; some systems play weird games with the mod time of symlinks
2158
2166
# (eg FreeBSD returns the mod time of the symlink's containing
2159
2167
# directory).
2160
2168
if (
2161
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2162
 
   if test "$*" = "X"; then
2163
 
      # -L didn't work.
2164
 
      set X `ls -t "$srcdir/configure" conftest.file`
2165
 
   fi
2166
 
   rm -f conftest.file
2167
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2168
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2169
 
 
2170
 
      # If neither matched, then we have a broken ls.  This can happen
2171
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2172
 
      # broken ls alias from the environment.  This has actually
2173
 
      # happened.  Such a system could not be considered "sane".
2174
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2175
 
alias in your environment" "$LINENO" 5
2176
 
   fi
2177
 
 
 
2169
   am_has_slept=no
 
2170
   for am_try in 1 2; do
 
2171
     echo "timestamp, slept: $am_has_slept" > conftest.file
 
2172
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2173
     if test "$*" = "X"; then
 
2174
        # -L didn't work.
 
2175
        set X `ls -t "$srcdir/configure" conftest.file`
 
2176
     fi
 
2177
     if test "$*" != "X $srcdir/configure conftest.file" \
 
2178
        && test "$*" != "X conftest.file $srcdir/configure"; then
 
2179
 
 
2180
        # If neither matched, then we have a broken ls.  This can happen
 
2181
        # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2182
        # broken ls alias from the environment.  This has actually
 
2183
        # happened.  Such a system could not be considered "sane".
 
2184
        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2185
  alias in your environment" "$LINENO" 5
 
2186
     fi
 
2187
     if test "$2" = conftest.file || test $am_try -eq 2; then
 
2188
       break
 
2189
     fi
 
2190
     # Just in case.
 
2191
     sleep 1
 
2192
     am_has_slept=yes
 
2193
   done
2178
2194
   test "$2" = conftest.file
2179
2195
   )
2180
2196
then
2186
2202
fi
2187
2203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2188
2204
$as_echo "yes" >&6; }
 
2205
# If we didn't sleep, we still need to ensure time stamps of config.status and
 
2206
# generated files are strictly newer.
 
2207
am_sleep_pid=
 
2208
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
2209
  ( sleep 1 ) &
 
2210
  am_sleep_pid=$!
 
2211
fi
 
2212
 
 
2213
rm -f conftest.file
 
2214
 
2189
2215
test "$program_prefix" != NONE &&
2190
2216
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2191
2217
# Use a double $ so make ignores it.
2208
2234
  esac
2209
2235
fi
2210
2236
# Use eval to expand $SHELL
2211
 
if eval "$MISSING --run true"; then
2212
 
  am_missing_run="$MISSING --run "
 
2237
if eval "$MISSING --is-lightweight"; then
 
2238
  am_missing_run="$MISSING "
2213
2239
else
2214
2240
  am_missing_run=
2215
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2216
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2241
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 
2242
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2217
2243
fi
2218
2244
 
2219
2245
if test x"${install_sh}" != xset; then
2225
2251
  esac
2226
2252
fi
2227
2253
 
2228
 
# Installed binaries are usually stripped using `strip' when the user
2229
 
# run `make install-strip'.  However `strip' might not be the right
 
2254
# Installed binaries are usually stripped using 'strip' when the user
 
2255
# run "make install-strip".  However 'strip' might not be the right
2230
2256
# tool to use in cross-compilation environments, therefore Automake
2231
 
# will honor the `STRIP' environment variable to overrule this program.
 
2257
# will honor the 'STRIP' environment variable to overrule this program.
2232
2258
if test "$cross_compiling" != no; then
2233
2259
  if test -n "$ac_tool_prefix"; then
2234
2260
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2367
2393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2368
2394
$as_echo "$MKDIR_P" >&6; }
2369
2395
 
2370
 
mkdir_p="$MKDIR_P"
2371
 
case $mkdir_p in
2372
 
  [\\/$]* | ?:[\\/]*) ;;
2373
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2374
 
esac
2375
 
 
2376
2396
for ac_prog in gawk mawk nawk awk
2377
2397
do
2378
2398
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2455
2475
fi
2456
2476
rmdir .tst 2>/dev/null
2457
2477
 
 
2478
# Check whether --enable-silent-rules was given.
 
2479
if test "${enable_silent_rules+set}" = set; then :
 
2480
  enableval=$enable_silent_rules;
 
2481
fi
 
2482
 
 
2483
case $enable_silent_rules in # (((
 
2484
  yes) AM_DEFAULT_VERBOSITY=0;;
 
2485
   no) AM_DEFAULT_VERBOSITY=1;;
 
2486
    *) AM_DEFAULT_VERBOSITY=1;;
 
2487
esac
 
2488
am_make=${MAKE-make}
 
2489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
2490
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
2491
if ${am_cv_make_support_nested_variables+:} false; then :
 
2492
  $as_echo_n "(cached) " >&6
 
2493
else
 
2494
  if $as_echo 'TRUE=$(BAR$(V))
 
2495
BAR0=false
 
2496
BAR1=true
 
2497
V=1
 
2498
am__doit:
 
2499
        @$(TRUE)
 
2500
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
2501
  am_cv_make_support_nested_variables=yes
 
2502
else
 
2503
  am_cv_make_support_nested_variables=no
 
2504
fi
 
2505
fi
 
2506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
2507
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
2508
if test $am_cv_make_support_nested_variables = yes; then
 
2509
    AM_V='$(V)'
 
2510
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
2511
else
 
2512
  AM_V=$AM_DEFAULT_VERBOSITY
 
2513
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
2514
fi
 
2515
AM_BACKSLASH='\'
 
2516
 
2458
2517
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2459
2518
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2460
2519
  # is not polluted with repeated "-I."
2477
2536
 
2478
2537
# Define the identity of the package.
2479
2538
 PACKAGE='ptask'
2480
 
 VERSION='0.0.4'
 
2539
 VERSION='0.0.5'
2481
2540
 
2482
2541
 
2483
2542
cat >>confdefs.h <<_ACEOF
2505
2564
 
2506
2565
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2507
2566
 
 
2567
# For better backward compatibility.  To be removed once Automake 1.9.x
 
2568
# dies out for good.  For more background, see:
 
2569
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 
2570
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 
2571
mkdir_p='$(MKDIR_P)'
 
2572
 
2508
2573
# We need awk for the "check" target.  The system "awk" is bad on
2509
2574
# some platforms.
2510
2575
# Always define AMTAR for backward compatibility.  Yes, it's still used
2511
2576
# in the wild :-(  We should find a proper way to deprecate it ...
2512
2577
AMTAR='$${TAR-tar}'
2513
2578
 
 
2579
 
 
2580
# We'll loop over all known methods to create a tar archive until one works.
 
2581
_am_tools='gnutar  pax cpio none'
 
2582
 
2514
2583
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2515
2584
 
2516
2585
 
2519
2588
 
2520
2589
 
2521
2590
 
 
2591
 
2522
2592
ac_config_headers="$ac_config_headers config.h"
2523
2593
 
2524
2594
 
3330
3400
_am_result=none
3331
3401
# First try GNU make style include.
3332
3402
echo "include confinc" > confmf
3333
 
# Ignore all kinds of additional output from `make'.
 
3403
# Ignore all kinds of additional output from 'make'.
3334
3404
case `$am_make -s -f confmf 2> /dev/null` in #(
3335
3405
*the\ am__doit\ target*)
3336
3406
  am__include=include
3386
3456
  # We make a subdir and do the tests there.  Otherwise we can end up
3387
3457
  # making bogus files that we don't know about and never remove.  For
3388
3458
  # instance it was reported that on HP-UX the gcc test will end up
3389
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3390
 
  # in D'.
 
3459
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
3460
  # in D".
3391
3461
  rm -rf conftest.dir
3392
3462
  mkdir conftest.dir
3393
3463
  # Copy depcomp to subdir because otherwise we won't find it if we're
3422
3492
    : > sub/conftest.c
3423
3493
    for i in 1 2 3 4 5 6; do
3424
3494
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3425
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3426
 
      # Solaris 8's {/usr,}/bin/sh.
3427
 
      touch sub/conftst$i.h
 
3495
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
3496
      # Solaris 10 /bin/sh.
 
3497
      echo '/* dummy */' > sub/conftst$i.h
3428
3498
    done
3429
3499
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3430
3500
 
3431
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3501
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3432
3502
    # mode.  It turns out that the SunPro C++ compiler does not properly
3433
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3434
 
    # versions had trouble with output in subdirs
 
3503
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
3504
    # versions had trouble with output in subdirs.
3435
3505
    am__obj=sub/conftest.${OBJEXT-o}
3436
3506
    am__minus_obj="-o $am__obj"
3437
3507
    case $depmode in
3440
3510
      test "$am__universal" = false || continue
3441
3511
      ;;
3442
3512
    nosideeffect)
3443
 
      # after this tag, mechanisms are not by side-effect, so they'll
3444
 
      # only be used when explicitly requested
 
3513
      # After this tag, mechanisms are not by side-effect, so they'll
 
3514
      # only be used when explicitly requested.
3445
3515
      if test "x$enable_dependency_tracking" = xyes; then
3446
3516
        continue
3447
3517
      else
3449
3519
      fi
3450
3520
      ;;
3451
3521
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3452
 
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3522
      # This compiler won't grok '-c -o', but also, the minuso test has
3453
3523
      # not run yet.  These depmodes are late enough in the game, and
3454
3524
      # so weak that their functioning should not be impacted.
3455
3525
      am__obj=conftest.${OBJEXT-o}
4143
4213
 
4144
4214
 
4145
4215
 
 
4216
mkdir_p="$MKDIR_P"
 
4217
case $mkdir_p in
 
4218
  [\\/$]* | ?:[\\/]*) ;;
 
4219
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
4220
esac
 
4221
 
 
4222
 
4146
4223
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4147
4224
$as_echo_n "checking whether NLS is requested... " >&6; }
4148
4225
    # Check whether --enable-nls was given.
6769
6846
GTK_CFLAGS+=" -DGTK_DISABLE_SINGLE_INCLUDES "
6770
6847
# ensure that no gtk deprecated symbols are used
6771
6848
GTK_CFLAGS+=" -DGDK_DISABLE_DEPRECATED "
6772
 
GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
 
6849
# GTK_CFLAGS+=" -DGTK_DISABLE_DEPRECATED "
6773
6850
# ensure use of accessors
6774
6851
GTK_CFLAGS+=" -DGSEAL_ENABLE "
6775
6852
 
6786
6863
    pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
6787
6864
 elif test -n "$PKG_CONFIG"; then
6788
6865
    if test -n "$PKG_CONFIG" && \
 
6866
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
 
6867
  ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
 
6868
  ac_status=$?
 
6869
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6870
  test $ac_status = 0; }; then
 
6871
  pkg_cv_JSON_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
 
6872
                      test "x$?" != "x0" && pkg_failed=yes
 
6873
else
 
6874
  pkg_failed=yes
 
6875
fi
 
6876
 else
 
6877
    pkg_failed=untried
 
6878
fi
 
6879
if test -n "$JSON_LIBS"; then
 
6880
    pkg_cv_JSON_LIBS="$JSON_LIBS"
 
6881
 elif test -n "$PKG_CONFIG"; then
 
6882
    if test -n "$PKG_CONFIG" && \
 
6883
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
 
6884
  ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
 
6885
  ac_status=$?
 
6886
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6887
  test $ac_status = 0; }; then
 
6888
  pkg_cv_JSON_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
 
6889
                      test "x$?" != "x0" && pkg_failed=yes
 
6890
else
 
6891
  pkg_failed=yes
 
6892
fi
 
6893
 else
 
6894
    pkg_failed=untried
 
6895
fi
 
6896
 
 
6897
 
 
6898
 
 
6899
if test $pkg_failed = yes; then
 
6900
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6901
$as_echo "no" >&6; }
 
6902
 
 
6903
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
6904
        _pkg_short_errors_supported=yes
 
6905
else
 
6906
        _pkg_short_errors_supported=no
 
6907
fi
 
6908
        if test $_pkg_short_errors_supported = yes; then
 
6909
                JSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
 
6910
        else
 
6911
                JSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
 
6912
        fi
 
6913
        # Put the nasty error message in config.log where it belongs
 
6914
        echo "$JSON_PKG_ERRORS" >&5
 
6915
 
 
6916
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
 
6917
$as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
 
6918
elif test $pkg_failed = untried; then
 
6919
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6920
$as_echo "no" >&6; }
 
6921
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json-c missing\"" >&5
 
6922
$as_echo "$as_me: WARNING: \"json-c missing\"" >&2;}
 
6923
else
 
6924
        JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
 
6925
        JSON_LIBS=$pkg_cv_JSON_LIBS
 
6926
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6927
$as_echo "yes" >&6; }
 
6928
 
 
6929
$as_echo "#define HAVE_JSON 1" >>confdefs.h
 
6930
 
 
6931
fi
 
6932
 
 
6933
if test "$JSON_LIBS" == ""; then
 
6934
 
 
6935
pkg_failed=no
 
6936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSON" >&5
 
6937
$as_echo_n "checking for JSON... " >&6; }
 
6938
 
 
6939
if test -n "$JSON_CFLAGS"; then
 
6940
    pkg_cv_JSON_CFLAGS="$JSON_CFLAGS"
 
6941
 elif test -n "$PKG_CONFIG"; then
 
6942
    if test -n "$PKG_CONFIG" && \
6789
6943
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
6790
6944
  ($PKG_CONFIG --exists --print-errors "json") 2>&5
6791
6945
  ac_status=$?
6836
6990
        # Put the nasty error message in config.log where it belongs
6837
6991
        echo "$JSON_PKG_ERRORS" >&5
6838
6992
 
6839
 
        as_fn_error $? "Package requirements (json) were not met:
6840
 
 
6841
 
$JSON_PKG_ERRORS
6842
 
 
6843
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
6844
 
installed software in a non-standard prefix.
6845
 
 
6846
 
Alternatively, you may set the environment variables JSON_CFLAGS
6847
 
and JSON_LIBS to avoid the need to call pkg-config.
6848
 
See the pkg-config man page for more details." "$LINENO" 5
 
6993
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
 
6994
$as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
6849
6995
elif test $pkg_failed = untried; then
6850
6996
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851
6997
$as_echo "no" >&6; }
6852
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6853
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6854
 
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
6855
 
is in your PATH or set the PKG_CONFIG environment variable to the full
6856
 
path to pkg-config.
6857
 
 
6858
 
Alternatively, you may set the environment variables JSON_CFLAGS
6859
 
and JSON_LIBS to avoid the need to call pkg-config.
6860
 
See the pkg-config man page for more details.
6861
 
 
6862
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6863
 
See \`config.log' for more details" "$LINENO" 5; }
 
6998
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"json0 missing\"" >&5
 
6999
$as_echo "$as_me: WARNING: \"json0 missing\"" >&2;}
6864
7000
else
6865
7001
        JSON_CFLAGS=$pkg_cv_JSON_CFLAGS
6866
7002
        JSON_LIBS=$pkg_cv_JSON_LIBS
6867
7003
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6868
7004
$as_echo "yes" >&6; }
6869
7005
 
6870
 
fi
 
7006
$as_echo "#define HAVE_JSON 1" >>confdefs.h
 
7007
 
 
7008
 
 
7009
$as_echo "#define HAVE_JSON_0 1" >>confdefs.h
 
7010
 
 
7011
fi
 
7012
fi
 
7013
 
 
7014
 if test -n "$JSON_LIBS"; then
 
7015
  JSON_TRUE=
 
7016
  JSON_FALSE='#'
 
7017
else
 
7018
  JSON_TRUE='#'
 
7019
  JSON_FALSE=
 
7020
fi
 
7021
 
6871
7022
 
6872
7023
 
6873
7024
 
7306
7457
LTLIBOBJS=$ac_ltlibobjs
7307
7458
 
7308
7459
 
 
7460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 
7461
$as_echo_n "checking that generated files are newer than configure... " >&6; }
 
7462
   if test -n "$am_sleep_pid"; then
 
7463
     # Hide warnings about reused PIDs.
 
7464
     wait $am_sleep_pid 2>/dev/null
 
7465
   fi
 
7466
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 
7467
$as_echo "done" >&6; }
7309
7468
 if test -n "$EXEEXT"; then
7310
7469
  am__EXEEXT_TRUE=
7311
7470
  am__EXEEXT_FALSE='#'
7322
7481
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7323
7482
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7324
7483
fi
 
7484
if test -z "${JSON_TRUE}" && test -z "${JSON_FALSE}"; then
 
7485
  as_fn_error $? "conditional \"JSON\" was never defined.
 
7486
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
7487
fi
7325
7488
if test -z "${CPPCHECK_TRUE}" && test -z "${CPPCHECK_FALSE}"; then
7326
7489
  as_fn_error $? "conditional \"CPPCHECK\" was never defined.
7327
7490
Usually this means the macro was only invoked conditionally." "$LINENO" 5
7723
7886
# report actual input values of CONFIG_FILES etc. instead of their
7724
7887
# values after options handling.
7725
7888
ac_log="
7726
 
This file was extended by ptask $as_me 0.0.4, which was
 
7889
This file was extended by ptask $as_me 0.0.5, which was
7727
7890
generated by GNU Autoconf 2.69.  Invocation command line was
7728
7891
 
7729
7892
  CONFIG_FILES    = $CONFIG_FILES
7790
7953
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7791
7954
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7792
7955
ac_cs_version="\\
7793
 
ptask config.status 0.0.4
 
7956
ptask config.status 0.0.5
7794
7957
configured by $0, generated by GNU Autoconf 2.69,
7795
7958
  with options \\"\$ac_cs_config\\"
7796
7959
 
8531
8694
 
8532
8695
  case $ac_file$ac_mode in
8533
8696
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8534
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
8697
  # Older Autoconf quotes --file arguments for eval, but not when files
8535
8698
  # are listed without --file.  Let's play safe and only enable the eval
8536
8699
  # if we detect the quoting.
8537
8700
  case $CONFIG_FILES in
8544
8707
    # Strip MF so we end up with the name of the file.
8545
8708
    mf=`echo "$mf" | sed -e 's/:.*$//'`
8546
8709
    # Check whether this is an Automake generated Makefile or not.
8547
 
    # We used to match only the files named `Makefile.in', but
 
8710
    # We used to match only the files named 'Makefile.in', but
8548
8711
    # some people rename them; so instead we look at the file content.
8549
8712
    # Grep'ing the first line is not enough: some people post-process
8550
8713
    # each Makefile.in and add a new line on top of each file to say so.
8578
8741
      continue
8579
8742
    fi
8580
8743
    # Extract the definition of DEPDIR, am__include, and am__quote
8581
 
    # from the Makefile without running `make'.
 
8744
    # from the Makefile without running 'make'.
8582
8745
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8583
8746
    test -z "$DEPDIR" && continue
8584
8747
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
8585
 
    test -z "am__include" && continue
 
8748
    test -z "$am__include" && continue
8586
8749
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8587
 
    # When using ansi2knr, U may be empty or an underscore; expand it
8588
 
    U=`sed -n 's/^U = //p' < "$mf"`
8589
8750
    # Find all dependency output files, they are included files with
8590
8751
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
8591
8752
    # simplest approach to changing $(DEPDIR) to its actual value in the
8592
8753
    # expansion.
8593
8754
    for file in `sed -n "
8594
8755
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8595
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
8756
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8596
8757
      # Make sure the directory exists.
8597
8758
      test -f "$dirpart/$file" && continue
8598
8759
      fdir=`$as_dirname -- "$file" ||