~ubuntu-branches/ubuntu/trusty/forked-daapd/trusty-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Julien BLACHE
  • Date: 2011-09-11 16:19:40 UTC
  • mfrom: (1.1.10 upstream)
  • mto: (2.1.4 experimental)
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: package-import@ubuntu.com-20110911161940-yvnf3zs1bg0wfr1m
Tags: upstream-0.19gcd
ImportĀ upstreamĀ versionĀ 0.19gcd

Show diffs side-by-side

added added

removed removed

Lines of Context:
3019
3019
 
3020
3020
# Define the identity of the package.
3021
3021
 PACKAGE=forked-daapd
3022
 
 VERSION=0.18gcd
 
3022
 VERSION=0.19gcd
3023
3023
 
3024
3024
 
3025
3025
cat >>confdefs.h <<_ACEOF
15198
15198
     fi
15199
15199
  fi
15200
15200
 
15201
 
  # Extract the first word of "libgcrypt-config", so it can be a program name with args.
15202
 
set dummy libgcrypt-config; ac_word=$2
 
15201
  if test -n "$ac_tool_prefix"; then
 
15202
  # Extract the first word of "${ac_tool_prefix}libgcrypt-config", so it can be a program name with args.
 
15203
set dummy ${ac_tool_prefix}libgcrypt-config; ac_word=$2
15203
15204
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15204
15205
$as_echo_n "checking for $ac_word... " >&6; }
15205
15206
if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false; then :
15225
15226
  done
15226
15227
IFS=$as_save_IFS
15227
15228
 
15228
 
  test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no"
15229
15229
  ;;
15230
15230
esac
15231
15231
fi
15239
15239
fi
15240
15240
 
15241
15241
 
 
15242
fi
 
15243
if test -z "$ac_cv_path_LIBGCRYPT_CONFIG"; then
 
15244
  ac_pt_LIBGCRYPT_CONFIG=$LIBGCRYPT_CONFIG
 
15245
  # Extract the first word of "libgcrypt-config", so it can be a program name with args.
 
15246
set dummy libgcrypt-config; ac_word=$2
 
15247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15248
$as_echo_n "checking for $ac_word... " >&6; }
 
15249
if ${ac_cv_path_ac_pt_LIBGCRYPT_CONFIG+:} false; then :
 
15250
  $as_echo_n "(cached) " >&6
 
15251
else
 
15252
  case $ac_pt_LIBGCRYPT_CONFIG in
 
15253
  [\\/]* | ?:[\\/]*)
 
15254
  ac_cv_path_ac_pt_LIBGCRYPT_CONFIG="$ac_pt_LIBGCRYPT_CONFIG" # Let the user override the test with a path.
 
15255
  ;;
 
15256
  *)
 
15257
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15258
for as_dir in $PATH
 
15259
do
 
15260
  IFS=$as_save_IFS
 
15261
  test -z "$as_dir" && as_dir=.
 
15262
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15263
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15264
    ac_cv_path_ac_pt_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15265
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15266
    break 2
 
15267
  fi
 
15268
done
 
15269
  done
 
15270
IFS=$as_save_IFS
 
15271
 
 
15272
  ;;
 
15273
esac
 
15274
fi
 
15275
ac_pt_LIBGCRYPT_CONFIG=$ac_cv_path_ac_pt_LIBGCRYPT_CONFIG
 
15276
if test -n "$ac_pt_LIBGCRYPT_CONFIG"; then
 
15277
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_LIBGCRYPT_CONFIG" >&5
 
15278
$as_echo "$ac_pt_LIBGCRYPT_CONFIG" >&6; }
 
15279
else
 
15280
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15281
$as_echo "no" >&6; }
 
15282
fi
 
15283
 
 
15284
  if test "x$ac_pt_LIBGCRYPT_CONFIG" = x; then
 
15285
    LIBGCRYPT_CONFIG="no"
 
15286
  else
 
15287
    case $cross_compiling:$ac_tool_warned in
 
15288
yes:)
 
15289
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
15290
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
15291
ac_tool_warned=yes ;;
 
15292
esac
 
15293
    LIBGCRYPT_CONFIG=$ac_pt_LIBGCRYPT_CONFIG
 
15294
  fi
 
15295
else
 
15296
  LIBGCRYPT_CONFIG="$ac_cv_path_LIBGCRYPT_CONFIG"
 
15297
fi
 
15298
 
15242
15299
  tmp=1:1.2.0
15243
15300
  if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
15244
15301
     req_libgcrypt_api=`echo "$tmp"     | sed 's/\(.*\):\(.*\)/\1/'`
15311
15368
    LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags`
15312
15369
    LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG --libs`
15313
15370
    :
 
15371
    if test x"$host" != x ; then
 
15372
      libgcrypt_config_host=`$LIBGCRYPT_CONFIG --host 2>/dev/null || echo none`
 
15373
      if test x"$libgcrypt_config_host" != xnone ; then
 
15374
        if test x"$libgcrypt_config_host" != x"$host" ; then
 
15375
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
 
15376
***
 
15377
*** The config script $LIBGCRYPT_CONFIG was
 
15378
*** built for $libgcrypt_config_host and thus may not match the
 
15379
*** used host $host.
 
15380
*** You may want to use the configure option --with-libgcrypt-prefix
 
15381
*** to specify a matching config script.
 
15382
***" >&5
 
15383
$as_echo "$as_me: WARNING:
 
15384
***
 
15385
*** The config script $LIBGCRYPT_CONFIG was
 
15386
*** built for $libgcrypt_config_host and thus may not match the
 
15387
*** used host $host.
 
15388
*** You may want to use the configure option --with-libgcrypt-prefix
 
15389
*** to specify a matching config script.
 
15390
***" >&2;}
 
15391
        fi
 
15392
      fi
 
15393
    fi
15314
15394
  else
15315
15395
    LIBGCRYPT_CFLAGS=""
15316
15396
    LIBGCRYPT_LIBS=""