Switch to unified view

a/src/configure b/src/configure
1
#! /bin/sh
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for Recoll 1.19.0.
3
# Generated by GNU Autoconf 2.69 for Recoll 1.19.5.
4
#
4
#
5
#
5
#
6
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7
#
7
#
8
#
8
#
...
...
575
MAKEFLAGS=
575
MAKEFLAGS=
576
576
577
# Identity of this package.
577
# Identity of this package.
578
PACKAGE_NAME='Recoll'
578
PACKAGE_NAME='Recoll'
579
PACKAGE_TARNAME='recoll'
579
PACKAGE_TARNAME='recoll'
580
PACKAGE_VERSION='1.19.0'
580
PACKAGE_VERSION='1.19.5'
581
PACKAGE_STRING='Recoll 1.19.0'
581
PACKAGE_STRING='Recoll 1.19.5'
582
PACKAGE_BUGREPORT=''
582
PACKAGE_BUGREPORT=''
583
PACKAGE_URL=''
583
PACKAGE_URL=''
584
584
585
ac_unique_file="index/recollindex.cpp"
585
ac_unique_file="index/recollindex.cpp"
586
# Factoring default headers for most tests.
586
# Factoring default headers for most tests.
...
...
650
X_PRE_LIBS
650
X_PRE_LIBS
651
X_CFLAGS
651
X_CFLAGS
652
CXXCPP
652
CXXCPP
653
XMKMF
653
XMKMF
654
QMAKEPATH
654
QMAKEPATH
655
XAPIAN_CONFIG
655
XAPIAN_CONFIG2
656
XAPIAN_CONFIG1
657
XAPIAN_CONFIG0
656
aspellProg
658
aspellProg
657
fileProg
659
fileProg
658
EGREP
660
EGREP
659
GREP
661
GREP
660
CPP
662
CPP
...
...
1277
#
1279
#
1278
if test "$ac_init_help" = "long"; then
1280
if test "$ac_init_help" = "long"; then
1279
  # Omit some internal or obsolete options to make the list less imposing.
1281
  # Omit some internal or obsolete options to make the list less imposing.
1280
  # This message is too long to be a string in the A/UX 3.1 sh.
1282
  # This message is too long to be a string in the A/UX 3.1 sh.
1281
  cat <<_ACEOF
1283
  cat <<_ACEOF
1282
\`configure' configures Recoll 1.19.0 to adapt to many kinds of systems.
1284
\`configure' configures Recoll 1.19.5 to adapt to many kinds of systems.
1283
1285
1284
Usage: $0 [OPTION]... [VAR=VALUE]...
1286
Usage: $0 [OPTION]... [VAR=VALUE]...
1285
1287
1286
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1288
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1287
VAR=VALUE.  See below for descriptions of some of the useful variables.
1289
VAR=VALUE.  See below for descriptions of some of the useful variables.
...
...
1342
_ACEOF
1344
_ACEOF
1343
fi
1345
fi
1344
1346
1345
if test -n "$ac_init_help"; then
1347
if test -n "$ac_init_help"; then
1346
  case $ac_init_help in
1348
  case $ac_init_help in
1347
     short | recursive ) echo "Configuration of Recoll 1.19.0:";;
1349
     short | recursive ) echo "Configuration of Recoll 1.19.5:";;
1348
   esac
1350
   esac
1349
  cat <<\_ACEOF
1351
  cat <<\_ACEOF
1350
1352
1351
Optional Features:
1353
Optional Features:
1352
  --disable-option-checking  ignore unrecognized --enable/--with options
1354
  --disable-option-checking  ignore unrecognized --enable/--with options
...
...
1471
fi
1473
fi
1472
1474
1473
test -n "$ac_init_help" && exit $ac_status
1475
test -n "$ac_init_help" && exit $ac_status
1474
if $ac_init_version; then
1476
if $ac_init_version; then
1475
  cat <<\_ACEOF
1477
  cat <<\_ACEOF
1476
Recoll configure 1.19.0
1478
Recoll configure 1.19.5
1477
generated by GNU Autoconf 2.69
1479
generated by GNU Autoconf 2.69
1478
1480
1479
Copyright (C) 2012 Free Software Foundation, Inc.
1481
Copyright (C) 2012 Free Software Foundation, Inc.
1480
This configure script is free software; the Free Software Foundation
1482
This configure script is free software; the Free Software Foundation
1481
gives unlimited permission to copy, distribute and modify it.
1483
gives unlimited permission to copy, distribute and modify it.
...
...
2024
} # ac_fn_cxx_check_func
2026
} # ac_fn_cxx_check_func
2025
cat >config.log <<_ACEOF
2027
cat >config.log <<_ACEOF
2026
This file contains any messages produced by compilers while
2028
This file contains any messages produced by compilers while
2027
running configure, to aid debugging if configure makes a mistake.
2029
running configure, to aid debugging if configure makes a mistake.
2028
2030
2029
It was created by Recoll $as_me 1.19.0, which was
2031
It was created by Recoll $as_me 1.19.5, which was
2030
generated by GNU Autoconf 2.69.  Invocation command line was
2032
generated by GNU Autoconf 2.69.  Invocation command line was
2031
2033
2032
  $ $0 $@
2034
  $ $0 $@
2033
2035
2034
_ACEOF
2036
_ACEOF
...
...
2888
2890
2889
if test C$CXX = C ; then
2891
if test C$CXX = C ; then
2890
   as_fn_error $? "C++ compiler needed. Please install one (ie: gnu g++)" "$LINENO" 5
2892
   as_fn_error $? "C++ compiler needed. Please install one (ie: gnu g++)" "$LINENO" 5
2891
fi
2893
fi
2892
2894
2893
sys=`uname | tr / _`
2895
sys=`uname | tr / _ | awk -F_ '{print $1}'`
2894
2896
2895
if test ! -f mk/$sys ; then
2897
if test ! -f mk/$sys ; then
2896
   { $as_echo "$as_me:${as_lineno-$LINENO}:
2898
   { $as_echo "$as_me:${as_lineno-$LINENO}:
2897
    No system configuration file found in mk/ for uname = '$sys'.
2899
    No system configuration file found in mk/ for uname = '$sys'.
2898
    Trying with Default file.
2900
    Trying with Default file.
...
...
4450
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4452
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4451
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4453
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4452
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4454
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4453
4455
4454
LIBICONV=""
4456
LIBICONV=""
4455
S_LDFLAGS=$LDFLAGS
4457
S_LIBS=$LIBS
4456
S_CPPFLAGS=$CPPFLAGS
4458
S_CPPFLAGS=$CPPFLAGS
4457
for dir in ${libdir} /opt/local/lib /usr/local/lib ;do
4459
for dir in ${libdir} /opt/local/lib /usr/local/lib;do
4458
  CPPFLAGS="$S_CPPFLAGS -I$dir/../include"
4460
  CPPFLAGS="$S_CPPFLAGS -I$dir/../include"
4459
4461
4460
  LDFLAGS="$S_LDFLAGS -L$dir"
4462
  LIBS="$S_LIBS -L$dir"
4461
4463
4462
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463
/* end confdefs.h.  */
4465
/* end confdefs.h.  */
4464
#include <stdlib.h>
4466
#include <stdlib.h>
4465
#include <iconv.h>
4467
#include <iconv.h>
...
...
4480
    conftest$ac_exeext conftest.$ac_ext
4482
    conftest$ac_exeext conftest.$ac_ext
4481
  if test A"$LIBICONV" != A ; then
4483
  if test A"$LIBICONV" != A ; then
4482
     break
4484
     break
4483
  fi
4485
  fi
4484
4486
4485
  LDFLAGS="$S_LDFLAGS -L$dir -liconv"
4487
  LIBS="$S_LIBS -L$dir -liconv"
4486
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487
/* end confdefs.h.  */
4489
/* end confdefs.h.  */
4488
#include <stdlib.h>
4490
#include <stdlib.h>
4489
#include <iconv.h>
4491
#include <iconv.h>
4490
int
4492
int
...
...
4506
     break
4508
     break
4507
  fi
4509
  fi
4508
4510
4509
done
4511
done
4510
4512
4511
LDFLAGS=$S_LDFLAGS
4513
LIBS=$S_LIBS
4512
CPPFLAGS=$S_CPPFLAGS
4514
CPPFLAGS=$S_CPPFLAGS
4513
4515
4514
if test A"$LIBICONV" = A ; then
4516
if test A"$LIBICONV" = A ; then
4515
   as_fn_error $? "Cannot find iconv_open anywhere. Please install iconv" "$LINENO" 5
4517
   as_fn_error $? "Cannot find iconv_open anywhere. Please install iconv" "$LINENO" 5
4516
   exit 1
4518
   exit 1
...
...
4579
$as_echo "#define PUTENV_ARG_CONST 1" >>confdefs.h
4581
$as_echo "#define PUTENV_ARG_CONST 1" >>confdefs.h
4580
4582
4581
fi
4583
fi
4582
4584
4583
4585
4584
#### Look for Xapian
4586
#### Look for Xapian. Done in a strange way to work around autoconf
4587
# cache
4588
XAPIAN_CONFIG=no
4589
if test "$XAPIAN_CONFIG" = "no"; then
4585
# Extract the first word of "xapian-config", so it can be a program name with args.
4590
    # Extract the first word of "xapian-config", so it can be a program name with args.
4586
set dummy xapian-config; ac_word=$2
4591
set dummy xapian-config; ac_word=$2
4587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4588
$as_echo_n "checking for $ac_word... " >&6; }
4593
$as_echo_n "checking for $ac_word... " >&6; }
4589
if ${ac_cv_path_XAPIAN_CONFIG+:} false; then :
4594
if ${ac_cv_path_XAPIAN_CONFIG0+:} false; then :
4590
  $as_echo_n "(cached) " >&6
4595
  $as_echo_n "(cached) " >&6
4591
else
4596
else
4592
  case $XAPIAN_CONFIG in
4597
  case $XAPIAN_CONFIG0 in
4593
  [\\/]* | ?:[\\/]*)
4598
  [\\/]* | ?:[\\/]*)
4594
  ac_cv_path_XAPIAN_CONFIG="$XAPIAN_CONFIG" # Let the user override the test with a path.
4599
  ac_cv_path_XAPIAN_CONFIG0="$XAPIAN_CONFIG0" # Let the user override the test with a path.
4595
  ;;
4600
  ;;
4596
  *)
4601
  *)
4597
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4602
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598
for as_dir in $PATH
4603
for as_dir in $PATH
4599
do
4604
do
4600
  IFS=$as_save_IFS
4605
  IFS=$as_save_IFS
4601
  test -z "$as_dir" && as_dir=.
4606
  test -z "$as_dir" && as_dir=.
4602
    for ac_exec_ext in '' $ac_executable_extensions; do
4607
    for ac_exec_ext in '' $ac_executable_extensions; do
4603
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4608
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4604
    ac_cv_path_XAPIAN_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4609
    ac_cv_path_XAPIAN_CONFIG0="$as_dir/$ac_word$ac_exec_ext"
4605
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4610
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4606
    break 2
4611
    break 2
4607
  fi
4612
  fi
4608
done
4613
done
4609
  done
4614
  done
4610
IFS=$as_save_IFS
4615
IFS=$as_save_IFS
4611
4616
4612
  test -z "$ac_cv_path_XAPIAN_CONFIG" && ac_cv_path_XAPIAN_CONFIG="no"
4617
  test -z "$ac_cv_path_XAPIAN_CONFIG0" && ac_cv_path_XAPIAN_CONFIG0="no"
4613
  ;;
4618
  ;;
4614
esac
4619
esac
4615
fi
4620
fi
4616
XAPIAN_CONFIG=$ac_cv_path_XAPIAN_CONFIG
4621
XAPIAN_CONFIG0=$ac_cv_path_XAPIAN_CONFIG0
4617
if test -n "$XAPIAN_CONFIG"; then
4622
if test -n "$XAPIAN_CONFIG0"; then
4618
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAPIAN_CONFIG" >&5
4623
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAPIAN_CONFIG0" >&5
4619
$as_echo "$XAPIAN_CONFIG" >&6; }
4624
$as_echo "$XAPIAN_CONFIG0" >&6; }
4620
else
4625
else
4621
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4626
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4622
$as_echo "no" >&6; }
4627
$as_echo "no" >&6; }
4623
fi
4628
fi
4624
4629
4630
4631
    XAPIAN_CONFIG=$XAPIAN_CONFIG0
4632
fi
4633
if test "$XAPIAN_CONFIG" = "no"; then
4634
   # Extract the first word of "xapian-config-1.3", so it can be a program name with args.
4635
set dummy xapian-config-1.3; ac_word=$2
4636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4637
$as_echo_n "checking for $ac_word... " >&6; }
4638
if ${ac_cv_path_XAPIAN_CONFIG1+:} false; then :
4639
  $as_echo_n "(cached) " >&6
4640
else
4641
  case $XAPIAN_CONFIG1 in
4642
  [\\/]* | ?:[\\/]*)
4643
  ac_cv_path_XAPIAN_CONFIG1="$XAPIAN_CONFIG1" # Let the user override the test with a path.
4644
  ;;
4645
  *)
4646
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4647
for as_dir in $PATH
4648
do
4649
  IFS=$as_save_IFS
4650
  test -z "$as_dir" && as_dir=.
4651
    for ac_exec_ext in '' $ac_executable_extensions; do
4652
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4653
    ac_cv_path_XAPIAN_CONFIG1="$as_dir/$ac_word$ac_exec_ext"
4654
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4655
    break 2
4656
  fi
4657
done
4658
  done
4659
IFS=$as_save_IFS
4660
4661
  test -z "$ac_cv_path_XAPIAN_CONFIG1" && ac_cv_path_XAPIAN_CONFIG1="no"
4662
  ;;
4663
esac
4664
fi
4665
XAPIAN_CONFIG1=$ac_cv_path_XAPIAN_CONFIG1
4666
if test -n "$XAPIAN_CONFIG1"; then
4667
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAPIAN_CONFIG1" >&5
4668
$as_echo "$XAPIAN_CONFIG1" >&6; }
4669
else
4670
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671
$as_echo "no" >&6; }
4672
fi
4673
4674
4675
   XAPIAN_CONFIG=$XAPIAN_CONFIG1
4676
fi
4677
if test "$XAPIAN_CONFIG" = "no"; then
4678
   # Extract the first word of "xapian-config-1.1", so it can be a program name with args.
4679
set dummy xapian-config-1.1; ac_word=$2
4680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681
$as_echo_n "checking for $ac_word... " >&6; }
4682
if ${ac_cv_path_XAPIAN_CONFIG2+:} false; then :
4683
  $as_echo_n "(cached) " >&6
4684
else
4685
  case $XAPIAN_CONFIG2 in
4686
  [\\/]* | ?:[\\/]*)
4687
  ac_cv_path_XAPIAN_CONFIG2="$XAPIAN_CONFIG2" # Let the user override the test with a path.
4688
  ;;
4689
  *)
4690
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691
for as_dir in $PATH
4692
do
4693
  IFS=$as_save_IFS
4694
  test -z "$as_dir" && as_dir=.
4695
    for ac_exec_ext in '' $ac_executable_extensions; do
4696
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4697
    ac_cv_path_XAPIAN_CONFIG2="$as_dir/$ac_word$ac_exec_ext"
4698
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4699
    break 2
4700
  fi
4701
done
4702
  done
4703
IFS=$as_save_IFS
4704
4705
  test -z "$ac_cv_path_XAPIAN_CONFIG2" && ac_cv_path_XAPIAN_CONFIG2="no"
4706
  ;;
4707
esac
4708
fi
4709
XAPIAN_CONFIG2=$ac_cv_path_XAPIAN_CONFIG2
4710
if test -n "$XAPIAN_CONFIG2"; then
4711
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAPIAN_CONFIG2" >&5
4712
$as_echo "$XAPIAN_CONFIG2" >&6; }
4713
else
4714
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4715
$as_echo "no" >&6; }
4716
fi
4717
4718
4719
   XAPIAN_CONFIG=$XAPIAN_CONFIG2
4720
fi
4625
4721
4626
if test "$XAPIAN_CONFIG" = "no" ; then
4722
if test "$XAPIAN_CONFIG" = "no" ; then
4627
   as_fn_error $? "Cannot find xapian-config command in $PATH. Is
4723
   as_fn_error $? "Cannot find xapian-config command in $PATH. Is
4628
xapian-core installed ?" "$LINENO" 5
4724
xapian-core installed ?" "$LINENO" 5
4629
   exit 1
4725
   exit 1
...
...
6257
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6353
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6258
# Save the log message, to keep $0 and so on meaningful, and to
6354
# Save the log message, to keep $0 and so on meaningful, and to
6259
# report actual input values of CONFIG_FILES etc. instead of their
6355
# report actual input values of CONFIG_FILES etc. instead of their
6260
# values after options handling.
6356
# values after options handling.
6261
ac_log="
6357
ac_log="
6262
This file was extended by Recoll $as_me 1.19.0, which was
6358
This file was extended by Recoll $as_me 1.19.5, which was
6263
generated by GNU Autoconf 2.69.  Invocation command line was
6359
generated by GNU Autoconf 2.69.  Invocation command line was
6264
6360
6265
  CONFIG_FILES    = $CONFIG_FILES
6361
  CONFIG_FILES    = $CONFIG_FILES
6266
  CONFIG_HEADERS  = $CONFIG_HEADERS
6362
  CONFIG_HEADERS  = $CONFIG_HEADERS
6267
  CONFIG_LINKS    = $CONFIG_LINKS
6363
  CONFIG_LINKS    = $CONFIG_LINKS
...
...
6319
6415
6320
_ACEOF
6416
_ACEOF
6321
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6417
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6322
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6418
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6323
ac_cs_version="\\
6419
ac_cs_version="\\
6324
Recoll config.status 1.19.0
6420
Recoll config.status 1.19.5
6325
configured by $0, generated by GNU Autoconf 2.69,
6421
configured by $0, generated by GNU Autoconf 2.69,
6326
  with options \\"\$ac_cs_config\\"
6422
  with options \\"\$ac_cs_config\\"
6327
6423
6328
Copyright (C) 2012 Free Software Foundation, Inc.
6424
Copyright (C) 2012 Free Software Foundation, Inc.
6329
This config.status script is free software; the Free Software Foundation
6425
This config.status script is free software; the Free Software Foundation