~ubuntu-branches/ubuntu/utopic/linphone/utopic-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-05-23 10:04:07 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100523100407-wev5qrmhwwbs0whh
Tags: 3.3.0-1
* New upstream release

* debian/control: s/is a is an/is an/ (Closes: #582661)
* debian/control s/It main/Its main/ (Closes: #582665) 
* configure --disable-strict (Closes: 561708)
* Cleanup arches libv4l-dev libasound2-dev (Closes: #542595)
* Cleanup debian/watch
* Drop fix_desktop_section.dpatch - included upstream
* Drop desktop-icon.dpatch - included upstream
* Drop always_ipv4_for_ipv4_hosts.dpatch - included upstream
* Drop dpatch
* Upstream dropped /usr/bin/sipomatic

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.64 for linphone 3.2.1.
 
3
# Generated by GNU Autoconf 2.65 for linphone 3.3.0.
4
4
#
5
5
# Report bugs to <linphone-developers@nongnu.org>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9
 
# Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
 
10
# Inc.
 
11
#
10
12
#
11
13
# This configure script is free software; the Free Software Foundation
12
14
# gives unlimited permission to copy, distribute and modify it.
676
678
 
677
679
 
678
680
 
679
 
exec 7<&0 </dev/null 6>&1
 
681
test -n "$DJDIR" || exec 7<&0 </dev/null
 
682
exec 6>&1
680
683
 
681
684
# Name of the host.
682
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
698
701
# Identity of this package.
699
702
PACKAGE_NAME='linphone'
700
703
PACKAGE_TARNAME='linphone'
701
 
PACKAGE_VERSION='3.2.1'
702
 
PACKAGE_STRING='linphone 3.2.1'
 
704
PACKAGE_VERSION='3.3.0'
 
705
PACKAGE_STRING='linphone 3.3.0'
703
706
PACKAGE_BUGREPORT='linphone-developers@nongnu.org'
704
707
PACKAGE_URL=''
705
708
 
745
748
am__EXEEXT_TRUE
746
749
LTLIBOBJS
747
750
LIBOBJS
 
751
HAVE_DOXYGEN_FALSE
 
752
HAVE_DOXYGEN_TRUE
 
753
DOXYGEN
748
754
MS2_VERSION
749
755
ORTP_VERSION
750
756
EXTERNAL_ORTP_FALSE
866
872
LDFLAGS
867
873
CFLAGS
868
874
CC
 
875
AM_BACKSLASH
 
876
AM_DEFAULT_VERBOSITY
869
877
am__untar
870
878
am__tar
871
879
AMTAR
944
952
ac_subst_files=''
945
953
ac_user_opts='
946
954
enable_option_checking
 
955
enable_silent_rules
947
956
enable_dependency_tracking
948
957
enable_nls
949
958
enable_shared
962
971
enable_date
963
972
enable_ipv6
964
973
enable_truespeech
 
974
enable_nonstandard_gsm
965
975
enable_rsvp
966
976
with_osip
967
977
with_osip_version
1537
1547
  # Omit some internal or obsolete options to make the list less imposing.
1538
1548
  # This message is too long to be a string in the A/UX 3.1 sh.
1539
1549
  cat <<_ACEOF
1540
 
\`configure' configures linphone 3.2.1 to adapt to many kinds of systems.
 
1550
\`configure' configures linphone 3.3.0 to adapt to many kinds of systems.
1541
1551
 
1542
1552
Usage: $0 [OPTION]... [VAR=VALUE]...
1543
1553
 
1608
1618
 
1609
1619
if test -n "$ac_init_help"; then
1610
1620
  case $ac_init_help in
1611
 
     short | recursive ) echo "Configuration of linphone 3.2.1:";;
 
1621
     short | recursive ) echo "Configuration of linphone 3.3.0:";;
1612
1622
   esac
1613
1623
  cat <<\_ACEOF
1614
1624
 
1616
1626
  --disable-option-checking  ignore unrecognized --enable/--with options
1617
1627
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1618
1628
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1629
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1630
  --disable-silent-rules         verbose build output (undo: `make V=0')
1619
1631
  --disable-dependency-tracking  speeds up one-time build
1620
1632
  --enable-dependency-tracking   do not reject slow dependency extractors
1621
1633
  --disable-nls           do not use Native Language Support
1631
1643
  --enable-date    Use build date in internal version number
1632
1644
  --enable-ipv6    Turn on ipv6 support
1633
1645
  --enable-truespeech    Turn on TrueSpeech support (x86 only)
 
1646
  --enable-nonstandard-gsm    Enable GSM codec at nonstandard rates (11025hz, 16000hz)
1634
1647
  --enable-rsvp           enable support for QoS reservations.
1635
1648
  --enable-video    Turn on video support compiling
1636
1649
  --enable-alsa    Turn on alsa native support compiling
1664
1677
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1665
1678
              nonstandard directory <lib dir>
1666
1679
  LIBS        libraries to pass to the linker, e.g. -l<library>
1667
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1680
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1668
1681
              you have headers in a nonstandard directory <include dir>
1669
1682
  CPP         C preprocessor
1670
1683
  PKG_CONFIG  path to pkg-config utility
1749
1762
test -n "$ac_init_help" && exit $ac_status
1750
1763
if $ac_init_version; then
1751
1764
  cat <<\_ACEOF
1752
 
linphone configure 3.2.1
1753
 
generated by GNU Autoconf 2.64
 
1765
linphone configure 3.3.0
 
1766
generated by GNU Autoconf 2.65
1754
1767
 
1755
1768
Copyright (C) 2009 Free Software Foundation, Inc.
1756
1769
This configure script is free software; the Free Software Foundation
1797
1810
        ac_retval=1
1798
1811
fi
1799
1812
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800
 
  return $ac_retval
 
1813
  as_fn_set_status $ac_retval
1801
1814
 
1802
1815
} # ac_fn_c_try_compile
1803
1816
 
1843
1856
  # left behind by Apple's compiler.  We do this before executing the actions.
1844
1857
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845
1858
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846
 
  return $ac_retval
 
1859
  as_fn_set_status $ac_retval
1847
1860
 
1848
1861
} # ac_fn_c_try_link
1849
1862
 
1880
1893
    ac_retval=1
1881
1894
fi
1882
1895
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1883
 
  return $ac_retval
 
1896
  as_fn_set_status $ac_retval
1884
1897
 
1885
1898
} # ac_fn_c_try_cpp
1886
1899
 
1922
1935
fi
1923
1936
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1924
1937
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1925
 
  return $ac_retval
 
1938
  as_fn_set_status $ac_retval
1926
1939
 
1927
1940
} # ac_fn_c_try_run
1928
1941
 
2120
2133
This file contains any messages produced by compilers while
2121
2134
running configure, to aid debugging if configure makes a mistake.
2122
2135
 
2123
 
It was created by linphone $as_me 3.2.1, which was
2124
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
2136
It was created by linphone $as_me 3.3.0, which was
 
2137
generated by GNU Autoconf 2.65.  Invocation command line was
2125
2138
 
2126
2139
  $ $0 $@
2127
2140
 
2374
2387
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2375
2388
do
2376
2389
  test "x$ac_site_file" = xNONE && continue
2377
 
  if test -r "$ac_site_file"; then
 
2390
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2378
2391
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2379
2392
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2380
2393
    sed 's/^/| /' "$ac_site_file" >&5
2383
2396
done
2384
2397
 
2385
2398
if test -r "$cache_file"; then
2386
 
  # Some versions of bash will fail to source /dev/null (special
2387
 
  # files actually), so we avoid doing that.
2388
 
  if test -f "$cache_file"; then
 
2399
  # Some versions of bash will fail to source /dev/null (special files
 
2400
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2401
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2389
2402
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2390
2403
$as_echo "$as_me: loading cache $cache_file" >&6;}
2391
2404
    case $cache_file in
2400
2413
fi
2401
2414
 
2402
2415
gt_needs="$gt_needs "
 
2416
gt_needs="$gt_needs "
2403
2417
# Check that the precious variables saved in the cache have kept the same
2404
2418
# value.
2405
2419
ac_cache_corrupted=false
2938
2952
 
2939
2953
fi
2940
2954
 
 
2955
  test -d ./--version && rmdir ./--version
2941
2956
  if test "${ac_cv_path_mkdir+set}" = set; then
2942
2957
    MKDIR_P="$ac_cv_path_mkdir -p"
2943
2958
  else
2945
2960
    # value for MKDIR_P within a source directory, because that will
2946
2961
    # break other packages using the cache if that directory is
2947
2962
    # removed, or if the value is a relative name.
2948
 
    test -d ./--version && rmdir ./--version
2949
2963
    MKDIR_P="$ac_install_sh -d"
2950
2964
  fi
2951
2965
fi
3062
3076
 
3063
3077
# Define the identity of the package.
3064
3078
 PACKAGE='linphone'
3065
 
 VERSION='3.2.1'
 
3079
 VERSION='3.3.0'
3066
3080
 
3067
3081
 
3068
3082
cat >>confdefs.h <<_ACEOF
3183
3197
 
3184
3198
 
3185
3199
 
 
3200
# Check whether --enable-silent-rules was given.
 
3201
if test "${enable_silent_rules+set}" = set; then :
 
3202
  enableval=$enable_silent_rules;
 
3203
fi
 
3204
 
 
3205
case $enable_silent_rules in
 
3206
yes) AM_DEFAULT_VERBOSITY=0;;
 
3207
no)  AM_DEFAULT_VERBOSITY=1;;
 
3208
*)   AM_DEFAULT_VERBOSITY=0;;
 
3209
esac
 
3210
AM_BACKSLASH='\'
 
3211
 
3186
3212
ac_config_headers="$ac_config_headers config.h"
3187
3213
 
3188
3214
 
3571
3597
... rest of stderr output deleted ...
3572
3598
         10q' conftest.err >conftest.er1
3573
3599
    cat conftest.er1 >&5
3574
 
    rm -f conftest.er1 conftest.err
3575
3600
  fi
 
3601
  rm -f conftest.er1 conftest.err
3576
3602
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3577
3603
  test $ac_status = 0; }
3578
3604
done
3579
3605
 
3580
3606
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581
3607
/* end confdefs.h.  */
3582
 
#include <stdio.h>
 
3608
 
3583
3609
int
3584
3610
main ()
3585
3611
{
3586
 
FILE *f = fopen ("conftest.out", "w");
3587
 
 return ferror (f) || fclose (f) != 0;
3588
3612
 
3589
3613
  ;
3590
3614
  return 0;
3591
3615
}
3592
3616
_ACEOF
3593
3617
ac_clean_files_save=$ac_clean_files
3594
 
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
 
3618
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3595
3619
# Try to create an executable without -o first, disregard a.out.
3596
3620
# It will help us diagnose broken compilers, and finding out an intuition
3597
3621
# of exeext.
3598
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3599
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3623
$as_echo_n "checking whether the C compiler works... " >&6; }
3600
3624
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3601
3625
 
3602
3626
# The possible output files:
3658
3682
else
3659
3683
  ac_file=''
3660
3684
fi
3661
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3662
 
$as_echo "$ac_file" >&6; }
3663
3685
if test -z "$ac_file"; then :
3664
 
  $as_echo "$as_me: failed program was:" >&5
 
3686
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3687
$as_echo "no" >&6; }
 
3688
$as_echo "$as_me: failed program was:" >&5
3665
3689
sed 's/^/| /' conftest.$ac_ext >&5
3666
3690
 
3667
3691
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3669
3693
{ as_fn_set_status 77
3670
3694
as_fn_error "C compiler cannot create executables
3671
3695
See \`config.log' for more details." "$LINENO" 5; }; }
 
3696
else
 
3697
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3698
$as_echo "yes" >&6; }
3672
3699
fi
 
3700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3701
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3703
$as_echo "$ac_file" >&6; }
3673
3704
ac_exeext=$ac_cv_exeext
3674
3705
 
3675
 
# Check that the compiler produces executables we can run.  If not, either
3676
 
# the compiler is broken, or we cross compile.
3677
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3678
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3679
 
# If not cross compiling, check that we can run a simple program.
3680
 
if test "$cross_compiling" != yes; then
3681
 
  if { ac_try='./$ac_file'
3682
 
  { { case "(($ac_try" in
3683
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3684
 
  *) ac_try_echo=$ac_try;;
3685
 
esac
3686
 
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3687
 
$as_echo "$ac_try_echo"; } >&5
3688
 
  (eval "$ac_try") 2>&5
3689
 
  ac_status=$?
3690
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3691
 
  test $ac_status = 0; }; }; then
3692
 
    cross_compiling=no
3693
 
  else
3694
 
    if test "$cross_compiling" = maybe; then
3695
 
        cross_compiling=yes
3696
 
    else
3697
 
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3698
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3699
 
as_fn_error "cannot run C compiled programs.
3700
 
If you meant to cross compile, use \`--host'.
3701
 
See \`config.log' for more details." "$LINENO" 5; }
3702
 
    fi
3703
 
  fi
3704
 
fi
3705
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3706
 
$as_echo "yes" >&6; }
3707
 
 
3708
 
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
 
3706
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3709
3707
ac_clean_files=$ac_clean_files_save
3710
 
# Check that the compiler produces executables we can run.  If not, either
3711
 
# the compiler is broken, or we cross compile.
3712
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3713
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3714
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3715
 
$as_echo "$cross_compiling" >&6; }
3716
 
 
3717
3708
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3718
3709
$as_echo_n "checking for suffix of executables... " >&6; }
3719
3710
if { { ac_try="$ac_link"
3746
3737
as_fn_error "cannot compute suffix of executables: cannot compile and link
3747
3738
See \`config.log' for more details." "$LINENO" 5; }
3748
3739
fi
3749
 
rm -f conftest$ac_cv_exeext
 
3740
rm -f conftest conftest$ac_cv_exeext
3750
3741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3751
3742
$as_echo "$ac_cv_exeext" >&6; }
3752
3743
 
3753
3744
rm -f conftest.$ac_ext
3754
3745
EXEEXT=$ac_cv_exeext
3755
3746
ac_exeext=$EXEEXT
 
3747
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3748
/* end confdefs.h.  */
 
3749
#include <stdio.h>
 
3750
int
 
3751
main ()
 
3752
{
 
3753
FILE *f = fopen ("conftest.out", "w");
 
3754
 return ferror (f) || fclose (f) != 0;
 
3755
 
 
3756
  ;
 
3757
  return 0;
 
3758
}
 
3759
_ACEOF
 
3760
ac_clean_files="$ac_clean_files conftest.out"
 
3761
# Check that the compiler produces executables we can run.  If not, either
 
3762
# the compiler is broken, or we cross compile.
 
3763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3764
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3765
if test "$cross_compiling" != yes; then
 
3766
  { { ac_try="$ac_link"
 
3767
case "(($ac_try" in
 
3768
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3769
  *) ac_try_echo=$ac_try;;
 
3770
esac
 
3771
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3772
$as_echo "$ac_try_echo"; } >&5
 
3773
  (eval "$ac_link") 2>&5
 
3774
  ac_status=$?
 
3775
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3776
  test $ac_status = 0; }
 
3777
  if { ac_try='./conftest$ac_cv_exeext'
 
3778
  { { case "(($ac_try" in
 
3779
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3780
  *) ac_try_echo=$ac_try;;
 
3781
esac
 
3782
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3783
$as_echo "$ac_try_echo"; } >&5
 
3784
  (eval "$ac_try") 2>&5
 
3785
  ac_status=$?
 
3786
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3787
  test $ac_status = 0; }; }; then
 
3788
    cross_compiling=no
 
3789
  else
 
3790
    if test "$cross_compiling" = maybe; then
 
3791
        cross_compiling=yes
 
3792
    else
 
3793
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3794
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3795
as_fn_error "cannot run C compiled programs.
 
3796
If you meant to cross compile, use \`--host'.
 
3797
See \`config.log' for more details." "$LINENO" 5; }
 
3798
    fi
 
3799
  fi
 
3800
fi
 
3801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3802
$as_echo "$cross_compiling" >&6; }
 
3803
 
 
3804
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3805
ac_clean_files=$ac_clean_files_save
3756
3806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3757
3807
$as_echo_n "checking for suffix of object files... " >&6; }
3758
3808
if test "${ac_cv_objext+set}" = set; then :
4509
4559
... rest of stderr output deleted ...
4510
4560
         10q' conftest.err >conftest.er1
4511
4561
    cat conftest.er1 >&5
4512
 
    rm -f conftest.er1 conftest.err
4513
4562
  fi
 
4563
  rm -f conftest.er1 conftest.err
4514
4564
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4515
4565
  test $ac_status = 0; }
4516
4566
done
5218
5268
... rest of stderr output deleted ...
5219
5269
         10q' conftest.err >conftest.er1
5220
5270
    cat conftest.er1 >&5
5221
 
    rm -f conftest.er1 conftest.err
5222
5271
  fi
 
5272
  rm -f conftest.er1 conftest.err
5223
5273
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5224
5274
  test $ac_status = 0; }
5225
5275
done
6074
6124
 
6075
6125
 
6076
6126
case $target_os in
 
6127
        *mingw32ce)
 
6128
        CFLAGS="$CFLAGS -D_WIN32_WCE -DORTP_STATIC -D_WIN32_WINNT=0x0501"
 
6129
        CXXFLAGS="$CXXFLAGS -DORTP_STATIC -D_WIN32_WINNT=0x0501"
 
6130
        LIBS="$LIBS -lws2 -liphlpapi"
 
6131
                mingw_found=yes
 
6132
                mingwce_found=yes
 
6133
                ;;
6077
6134
        *mingw*)
6078
 
                CFLAGS="$CFLAGS -DORTP_STATIC -D_WIN32_WINNT=0x0501"
 
6135
                CFLAGS="$CFLAGS -DORTP_STATIC -D_WIN32_WINNT=0x0501 "
6079
6136
                CXXFLAGS="$CXXFLAGS -DORTP_STATIC -D_WIN32_WINNT=0x0501"
6080
6137
                LIBS="$LIBS -lws2_32"
6081
6138
                GUI_FLAGS="-mwindows"
6960
7017
 
6961
7018
 
6962
7019
 
6963
 
macro_version='2.2.6'
6964
 
macro_revision='1.3012'
 
7020
macro_version='2.2.6b'
 
7021
macro_revision='1.3017'
6965
7022
 
6966
7023
 
6967
7024
 
7431
7488
else
7432
7489
  lt_cv_nm_interface="BSD nm"
7433
7490
  echo "int some_variable = 0;" > conftest.$ac_ext
7434
 
  (eval echo "\"\$as_me:7434: $ac_compile\"" >&5)
 
7491
  (eval echo "\"\$as_me:7491: $ac_compile\"" >&5)
7435
7492
  (eval "$ac_compile" 2>conftest.err)
7436
7493
  cat conftest.err >&5
7437
 
  (eval echo "\"\$as_me:7437: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
7494
  (eval echo "\"\$as_me:7494: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7438
7495
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7439
7496
  cat conftest.err >&5
7440
 
  (eval echo "\"\$as_me:7440: output\"" >&5)
 
7497
  (eval echo "\"\$as_me:7497: output\"" >&5)
7441
7498
  cat conftest.out >&5
7442
7499
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7443
7500
    lt_cv_nm_interface="MS dumpbin"
7900
7957
  ;;
7901
7958
 
7902
7959
# This must be Linux ELF.
7903
 
linux* | k*bsd*-gnu)
 
7960
linux* | k*bsd*-gnu | kopensolaris*-gnu)
7904
7961
  lt_cv_deplibs_check_method=pass_all
7905
7962
  ;;
7906
7963
 
8639
8696
  ;;
8640
8697
*-*-irix6*)
8641
8698
  # Find out which ABI we are using.
8642
 
  echo '#line 8642 "configure"' > conftest.$ac_ext
 
8699
  echo '#line 8699 "configure"' > conftest.$ac_ext
8643
8700
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8644
8701
  (eval $ac_compile) 2>&5
8645
8702
  ac_status=$?
9917
9974
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9918
9975
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9919
9976
   -e 's:$: $lt_compiler_flag:'`
9920
 
   (eval echo "\"\$as_me:9920: $lt_compile\"" >&5)
 
9977
   (eval echo "\"\$as_me:9977: $lt_compile\"" >&5)
9921
9978
   (eval "$lt_compile" 2>conftest.err)
9922
9979
   ac_status=$?
9923
9980
   cat conftest.err >&5
9924
 
   echo "$as_me:9924: \$? = $ac_status" >&5
 
9981
   echo "$as_me:9981: \$? = $ac_status" >&5
9925
9982
   if (exit $ac_status) && test -s "$ac_outfile"; then
9926
9983
     # The compiler can only warn and ignore the option if not recognized
9927
9984
     # So say no if there are warnings other than the usual output.
10086
10143
      lt_prog_compiler_static='-non_shared'
10087
10144
      ;;
10088
10145
 
10089
 
    linux* | k*bsd*-gnu)
 
10146
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
10090
10147
      case $cc_basename in
10091
10148
      # old Intel for x86_64 which still supported -KPIC.
10092
10149
      ecc*)
10256
10313
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10257
10314
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10258
10315
   -e 's:$: $lt_compiler_flag:'`
10259
 
   (eval echo "\"\$as_me:10259: $lt_compile\"" >&5)
 
10316
   (eval echo "\"\$as_me:10316: $lt_compile\"" >&5)
10260
10317
   (eval "$lt_compile" 2>conftest.err)
10261
10318
   ac_status=$?
10262
10319
   cat conftest.err >&5
10263
 
   echo "$as_me:10263: \$? = $ac_status" >&5
 
10320
   echo "$as_me:10320: \$? = $ac_status" >&5
10264
10321
   if (exit $ac_status) && test -s "$ac_outfile"; then
10265
10322
     # The compiler can only warn and ignore the option if not recognized
10266
10323
     # So say no if there are warnings other than the usual output.
10361
10418
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10362
10419
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10363
10420
   -e 's:$: $lt_compiler_flag:'`
10364
 
   (eval echo "\"\$as_me:10364: $lt_compile\"" >&5)
 
10421
   (eval echo "\"\$as_me:10421: $lt_compile\"" >&5)
10365
10422
   (eval "$lt_compile" 2>out/conftest.err)
10366
10423
   ac_status=$?
10367
10424
   cat out/conftest.err >&5
10368
 
   echo "$as_me:10368: \$? = $ac_status" >&5
 
10425
   echo "$as_me:10425: \$? = $ac_status" >&5
10369
10426
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10370
10427
   then
10371
10428
     # The compiler can only warn and ignore the option if not recognized
10416
10473
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10417
10474
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10418
10475
   -e 's:$: $lt_compiler_flag:'`
10419
 
   (eval echo "\"\$as_me:10419: $lt_compile\"" >&5)
 
10476
   (eval echo "\"\$as_me:10476: $lt_compile\"" >&5)
10420
10477
   (eval "$lt_compile" 2>out/conftest.err)
10421
10478
   ac_status=$?
10422
10479
   cat out/conftest.err >&5
10423
 
   echo "$as_me:10423: \$? = $ac_status" >&5
 
10480
   echo "$as_me:10480: \$? = $ac_status" >&5
10424
10481
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10425
10482
   then
10426
10483
     # The compiler can only warn and ignore the option if not recognized
10559
10616
    fi
10560
10617
    supports_anon_versioning=no
10561
10618
    case `$LD -v 2>&1` in
 
10619
      *GNU\ gold*) supports_anon_versioning=yes ;;
10562
10620
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10563
10621
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10564
10622
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10650
10708
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10651
10709
      ;;
10652
10710
 
10653
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
10711
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10654
10712
      tmp_diet=no
10655
10713
      if test "$host_os" = linux-dietlibc; then
10656
10714
        case $cc_basename in
12112
12170
  ;;
12113
12171
 
12114
12172
# This must be Linux ELF.
12115
 
linux* | k*bsd*-gnu)
 
12173
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12116
12174
  version_type=linux
12117
12175
  need_lib_prefix=no
12118
12176
  need_version=no
12799
12857
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12800
12858
  lt_status=$lt_dlunknown
12801
12859
  cat > conftest.$ac_ext <<_LT_EOF
12802
 
#line 12802 "configure"
 
12860
#line 12860 "configure"
12803
12861
#include "confdefs.h"
12804
12862
 
12805
12863
#if HAVE_DLFCN_H
12895
12953
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12896
12954
  lt_status=$lt_dlunknown
12897
12955
  cat > conftest.$ac_ext <<_LT_EOF
12898
 
#line 12898 "configure"
 
12956
#line 12956 "configure"
12899
12957
#include "confdefs.h"
12900
12958
 
12901
12959
#if HAVE_DLFCN_H
15010
15068
 
15011
15069
LIBS="$LIBS $LIBINTL"
15012
15070
else
15013
 
 
15014
 
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15015
 
 
15016
 
 
15017
 
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15018
 
 
15019
 
LIBS="$LIBS -L/usr/lib -lintl"
 
15071
        if test "$mingwce_found" != "yes" ; then
 
15072
 
 
15073
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
15074
 
 
15075
 
 
15076
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
15077
 
 
15078
                LIBS="$LIBS -L/usr/lib -lintl"
 
15079
        else
 
15080
 
 
15081
 
 
15082
 
 
15083
 
 
15084
 
 
15085
 
 
15086
 
 
15087
 
 
15088
 
 
15089
 
 
15090
 
 
15091
 
 
15092
 
 
15093
 
 
15094
 
 
15095
 
 
15096
 
 
15097
 
 
15098
 
 
15099
 
 
15100
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
 
15101
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
 
15102
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
 
15103
  $as_echo_n "(cached) " >&6
 
15104
else
 
15105
  gt_save_LIBS="$LIBS"
 
15106
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
15107
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15108
/* end confdefs.h.  */
 
15109
#include <CoreFoundation/CFPreferences.h>
 
15110
int
 
15111
main ()
 
15112
{
 
15113
CFPreferencesCopyAppValue(NULL, NULL)
 
15114
  ;
 
15115
  return 0;
 
15116
}
 
15117
_ACEOF
 
15118
if ac_fn_c_try_link "$LINENO"; then :
 
15119
  gt_cv_func_CFPreferencesCopyAppValue=yes
 
15120
else
 
15121
  gt_cv_func_CFPreferencesCopyAppValue=no
 
15122
fi
 
15123
rm -f core conftest.err conftest.$ac_objext \
 
15124
    conftest$ac_exeext conftest.$ac_ext
 
15125
     LIBS="$gt_save_LIBS"
 
15126
fi
 
15127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
15128
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
 
15129
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
 
15130
 
 
15131
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
 
15132
 
 
15133
  fi
 
15134
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
 
15135
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
 
15136
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
 
15137
  $as_echo_n "(cached) " >&6
 
15138
else
 
15139
  gt_save_LIBS="$LIBS"
 
15140
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
15141
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15142
/* end confdefs.h.  */
 
15143
#include <CoreFoundation/CFLocale.h>
 
15144
int
 
15145
main ()
 
15146
{
 
15147
CFLocaleCopyCurrent();
 
15148
  ;
 
15149
  return 0;
 
15150
}
 
15151
_ACEOF
 
15152
if ac_fn_c_try_link "$LINENO"; then :
 
15153
  gt_cv_func_CFLocaleCopyCurrent=yes
 
15154
else
 
15155
  gt_cv_func_CFLocaleCopyCurrent=no
 
15156
fi
 
15157
rm -f core conftest.err conftest.$ac_objext \
 
15158
    conftest$ac_exeext conftest.$ac_ext
 
15159
     LIBS="$gt_save_LIBS"
 
15160
fi
 
15161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
15162
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
 
15163
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
15164
 
 
15165
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
 
15166
 
 
15167
  fi
 
15168
  INTL_MACOSX_LIBS=
 
15169
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
15170
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
 
15171
  fi
 
15172
 
 
15173
 
 
15174
 
 
15175
 
 
15176
 
 
15177
 
 
15178
  LIBINTL=
 
15179
  LTLIBINTL=
 
15180
  POSUB=
 
15181
 
 
15182
    case " $gt_needs " in
 
15183
    *" need-formatstring-macros "*) gt_api_version=3 ;;
 
15184
    *" need-ngettext "*) gt_api_version=2 ;;
 
15185
    *) gt_api_version=1 ;;
 
15186
  esac
 
15187
  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
 
15188
  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
 
15189
 
 
15190
    if test "$USE_NLS" = "yes"; then
 
15191
    gt_use_preinstalled_gnugettext=no
 
15192
 
 
15193
 
 
15194
        if test $gt_api_version -ge 3; then
 
15195
          gt_revision_test_code='
 
15196
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
 
15197
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
 
15198
#endif
 
15199
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
 
15200
'
 
15201
        else
 
15202
          gt_revision_test_code=
 
15203
        fi
 
15204
        if test $gt_api_version -ge 2; then
 
15205
          gt_expression_test_code=' + * ngettext ("", "", 0)'
 
15206
        else
 
15207
          gt_expression_test_code=
 
15208
        fi
 
15209
 
 
15210
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
 
15211
$as_echo_n "checking for GNU gettext in libc... " >&6; }
 
15212
if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then :
 
15213
  $as_echo_n "(cached) " >&6
 
15214
else
 
15215
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15216
/* end confdefs.h.  */
 
15217
#include <libintl.h>
 
15218
$gt_revision_test_code
 
15219
extern int _nl_msg_cat_cntr;
 
15220
extern int *_nl_domain_bindings;
 
15221
int
 
15222
main ()
 
15223
{
 
15224
bindtextdomain ("", "");
 
15225
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
 
15226
  ;
 
15227
  return 0;
 
15228
}
 
15229
_ACEOF
 
15230
if ac_fn_c_try_link "$LINENO"; then :
 
15231
  eval "$gt_func_gnugettext_libc=yes"
 
15232
else
 
15233
  eval "$gt_func_gnugettext_libc=no"
 
15234
fi
 
15235
rm -f core conftest.err conftest.$ac_objext \
 
15236
    conftest$ac_exeext conftest.$ac_ext
 
15237
fi
 
15238
eval ac_res=\$$gt_func_gnugettext_libc
 
15239
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
15240
$as_echo "$ac_res" >&6; }
 
15241
 
 
15242
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
 
15243
 
 
15244
 
 
15245
 
 
15246
 
 
15247
 
 
15248
          am_save_CPPFLAGS="$CPPFLAGS"
 
15249
 
 
15250
  for element in $INCICONV; do
 
15251
    haveit=
 
15252
    for x in $CPPFLAGS; do
 
15253
 
 
15254
  acl_save_prefix="$prefix"
 
15255
  prefix="$acl_final_prefix"
 
15256
  acl_save_exec_prefix="$exec_prefix"
 
15257
  exec_prefix="$acl_final_exec_prefix"
 
15258
  eval x=\"$x\"
 
15259
  exec_prefix="$acl_save_exec_prefix"
 
15260
  prefix="$acl_save_prefix"
 
15261
 
 
15262
      if test "X$x" = "X$element"; then
 
15263
        haveit=yes
 
15264
        break
 
15265
      fi
 
15266
    done
 
15267
    if test -z "$haveit"; then
 
15268
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
15269
    fi
 
15270
  done
 
15271
 
 
15272
 
 
15273
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 
15274
$as_echo_n "checking for iconv... " >&6; }
 
15275
if test "${am_cv_func_iconv+set}" = set; then :
 
15276
  $as_echo_n "(cached) " >&6
 
15277
else
 
15278
 
 
15279
    am_cv_func_iconv="no, consider installing GNU libiconv"
 
15280
    am_cv_lib_iconv=no
 
15281
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15282
/* end confdefs.h.  */
 
15283
#include <stdlib.h>
 
15284
#include <iconv.h>
 
15285
int
 
15286
main ()
 
15287
{
 
15288
iconv_t cd = iconv_open("","");
 
15289
       iconv(cd,NULL,NULL,NULL,NULL);
 
15290
       iconv_close(cd);
 
15291
  ;
 
15292
  return 0;
 
15293
}
 
15294
_ACEOF
 
15295
if ac_fn_c_try_link "$LINENO"; then :
 
15296
  am_cv_func_iconv=yes
 
15297
fi
 
15298
rm -f core conftest.err conftest.$ac_objext \
 
15299
    conftest$ac_exeext conftest.$ac_ext
 
15300
    if test "$am_cv_func_iconv" != yes; then
 
15301
      am_save_LIBS="$LIBS"
 
15302
      LIBS="$LIBS $LIBICONV"
 
15303
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15304
/* end confdefs.h.  */
 
15305
#include <stdlib.h>
 
15306
#include <iconv.h>
 
15307
int
 
15308
main ()
 
15309
{
 
15310
iconv_t cd = iconv_open("","");
 
15311
         iconv(cd,NULL,NULL,NULL,NULL);
 
15312
         iconv_close(cd);
 
15313
  ;
 
15314
  return 0;
 
15315
}
 
15316
_ACEOF
 
15317
if ac_fn_c_try_link "$LINENO"; then :
 
15318
  am_cv_lib_iconv=yes
 
15319
        am_cv_func_iconv=yes
 
15320
fi
 
15321
rm -f core conftest.err conftest.$ac_objext \
 
15322
    conftest$ac_exeext conftest.$ac_ext
 
15323
      LIBS="$am_save_LIBS"
 
15324
    fi
 
15325
 
 
15326
fi
 
15327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
 
15328
$as_echo "$am_cv_func_iconv" >&6; }
 
15329
  if test "$am_cv_func_iconv" = yes; then
 
15330
 
 
15331
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
 
15332
 
 
15333
  fi
 
15334
  if test "$am_cv_lib_iconv" = yes; then
 
15335
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
 
15336
$as_echo_n "checking how to link with libiconv... " >&6; }
 
15337
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
 
15338
$as_echo "$LIBICONV" >&6; }
 
15339
  else
 
15340
            CPPFLAGS="$am_save_CPPFLAGS"
 
15341
    LIBICONV=
 
15342
    LTLIBICONV=
 
15343
  fi
 
15344
 
 
15345
 
 
15346
 
 
15347
 
 
15348
 
 
15349
 
 
15350
 
 
15351
    use_additional=yes
 
15352
 
 
15353
  acl_save_prefix="$prefix"
 
15354
  prefix="$acl_final_prefix"
 
15355
  acl_save_exec_prefix="$exec_prefix"
 
15356
  exec_prefix="$acl_final_exec_prefix"
 
15357
 
 
15358
    eval additional_includedir=\"$includedir\"
 
15359
    eval additional_libdir=\"$libdir\"
 
15360
 
 
15361
  exec_prefix="$acl_save_exec_prefix"
 
15362
  prefix="$acl_save_prefix"
 
15363
 
 
15364
 
 
15365
# Check whether --with-libintl-prefix was given.
 
15366
if test "${with_libintl_prefix+set}" = set; then :
 
15367
  withval=$with_libintl_prefix;
 
15368
    if test "X$withval" = "Xno"; then
 
15369
      use_additional=no
 
15370
    else
 
15371
      if test "X$withval" = "X"; then
 
15372
 
 
15373
  acl_save_prefix="$prefix"
 
15374
  prefix="$acl_final_prefix"
 
15375
  acl_save_exec_prefix="$exec_prefix"
 
15376
  exec_prefix="$acl_final_exec_prefix"
 
15377
 
 
15378
          eval additional_includedir=\"$includedir\"
 
15379
          eval additional_libdir=\"$libdir\"
 
15380
 
 
15381
  exec_prefix="$acl_save_exec_prefix"
 
15382
  prefix="$acl_save_prefix"
 
15383
 
 
15384
      else
 
15385
        additional_includedir="$withval/include"
 
15386
        additional_libdir="$withval/$acl_libdirstem"
 
15387
      fi
 
15388
    fi
 
15389
 
 
15390
fi
 
15391
 
 
15392
      LIBINTL=
 
15393
  LTLIBINTL=
 
15394
  INCINTL=
 
15395
  rpathdirs=
 
15396
  ltrpathdirs=
 
15397
  names_already_handled=
 
15398
  names_next_round='intl '
 
15399
  while test -n "$names_next_round"; do
 
15400
    names_this_round="$names_next_round"
 
15401
    names_next_round=
 
15402
    for name in $names_this_round; do
 
15403
      already_handled=
 
15404
      for n in $names_already_handled; do
 
15405
        if test "$n" = "$name"; then
 
15406
          already_handled=yes
 
15407
          break
 
15408
        fi
 
15409
      done
 
15410
      if test -z "$already_handled"; then
 
15411
        names_already_handled="$names_already_handled $name"
 
15412
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
15413
        eval value=\"\$HAVE_LIB$uppername\"
 
15414
        if test -n "$value"; then
 
15415
          if test "$value" = yes; then
 
15416
            eval value=\"\$LIB$uppername\"
 
15417
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
 
15418
            eval value=\"\$LTLIB$uppername\"
 
15419
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
 
15420
          else
 
15421
                                    :
 
15422
          fi
 
15423
        else
 
15424
                              found_dir=
 
15425
          found_la=
 
15426
          found_so=
 
15427
          found_a=
 
15428
          if test $use_additional = yes; then
 
15429
            if test -n "$shlibext" \
 
15430
               && { test -f "$additional_libdir/lib$name.$shlibext" \
 
15431
                    || { test "$shlibext" = dll \
 
15432
                         && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
 
15433
              found_dir="$additional_libdir"
 
15434
              if test -f "$additional_libdir/lib$name.$shlibext"; then
 
15435
                found_so="$additional_libdir/lib$name.$shlibext"
 
15436
              else
 
15437
                found_so="$additional_libdir/lib$name.dll.a"
 
15438
              fi
 
15439
              if test -f "$additional_libdir/lib$name.la"; then
 
15440
                found_la="$additional_libdir/lib$name.la"
 
15441
              fi
 
15442
            else
 
15443
              if test -f "$additional_libdir/lib$name.$libext"; then
 
15444
                found_dir="$additional_libdir"
 
15445
                found_a="$additional_libdir/lib$name.$libext"
 
15446
                if test -f "$additional_libdir/lib$name.la"; then
 
15447
                  found_la="$additional_libdir/lib$name.la"
 
15448
                fi
 
15449
              fi
 
15450
            fi
 
15451
          fi
 
15452
          if test "X$found_dir" = "X"; then
 
15453
            for x in $LDFLAGS $LTLIBINTL; do
 
15454
 
 
15455
  acl_save_prefix="$prefix"
 
15456
  prefix="$acl_final_prefix"
 
15457
  acl_save_exec_prefix="$exec_prefix"
 
15458
  exec_prefix="$acl_final_exec_prefix"
 
15459
  eval x=\"$x\"
 
15460
  exec_prefix="$acl_save_exec_prefix"
 
15461
  prefix="$acl_save_prefix"
 
15462
 
 
15463
              case "$x" in
 
15464
                -L*)
 
15465
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
15466
                  if test -n "$shlibext" \
 
15467
                     && { test -f "$dir/lib$name.$shlibext" \
 
15468
                          || { test "$shlibext" = dll \
 
15469
                               && test -f "$dir/lib$name.dll.a"; }; }; then
 
15470
                    found_dir="$dir"
 
15471
                    if test -f "$dir/lib$name.$shlibext"; then
 
15472
                      found_so="$dir/lib$name.$shlibext"
 
15473
                    else
 
15474
                      found_so="$dir/lib$name.dll.a"
 
15475
                    fi
 
15476
                    if test -f "$dir/lib$name.la"; then
 
15477
                      found_la="$dir/lib$name.la"
 
15478
                    fi
 
15479
                  else
 
15480
                    if test -f "$dir/lib$name.$libext"; then
 
15481
                      found_dir="$dir"
 
15482
                      found_a="$dir/lib$name.$libext"
 
15483
                      if test -f "$dir/lib$name.la"; then
 
15484
                        found_la="$dir/lib$name.la"
 
15485
                      fi
 
15486
                    fi
 
15487
                  fi
 
15488
                  ;;
 
15489
              esac
 
15490
              if test "X$found_dir" != "X"; then
 
15491
                break
 
15492
              fi
 
15493
            done
 
15494
          fi
 
15495
          if test "X$found_dir" != "X"; then
 
15496
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
 
15497
            if test "X$found_so" != "X"; then
 
15498
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
15499
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
15500
              else
 
15501
                                                                                haveit=
 
15502
                for x in $ltrpathdirs; do
 
15503
                  if test "X$x" = "X$found_dir"; then
 
15504
                    haveit=yes
 
15505
                    break
 
15506
                  fi
 
15507
                done
 
15508
                if test -z "$haveit"; then
 
15509
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
15510
                fi
 
15511
                                if test "$hardcode_direct" = yes; then
 
15512
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
15513
                else
 
15514
                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
 
15515
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
15516
                                                            haveit=
 
15517
                    for x in $rpathdirs; do
 
15518
                      if test "X$x" = "X$found_dir"; then
 
15519
                        haveit=yes
 
15520
                        break
 
15521
                      fi
 
15522
                    done
 
15523
                    if test -z "$haveit"; then
 
15524
                      rpathdirs="$rpathdirs $found_dir"
 
15525
                    fi
 
15526
                  else
 
15527
                                                                                haveit=
 
15528
                    for x in $LDFLAGS $LIBINTL; do
 
15529
 
 
15530
  acl_save_prefix="$prefix"
 
15531
  prefix="$acl_final_prefix"
 
15532
  acl_save_exec_prefix="$exec_prefix"
 
15533
  exec_prefix="$acl_final_exec_prefix"
 
15534
  eval x=\"$x\"
 
15535
  exec_prefix="$acl_save_exec_prefix"
 
15536
  prefix="$acl_save_prefix"
 
15537
 
 
15538
                      if test "X$x" = "X-L$found_dir"; then
 
15539
                        haveit=yes
 
15540
                        break
 
15541
                      fi
 
15542
                    done
 
15543
                    if test -z "$haveit"; then
 
15544
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
 
15545
                    fi
 
15546
                    if test "$hardcode_minus_L" != no; then
 
15547
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
15548
                    else
 
15549
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
15550
                    fi
 
15551
                  fi
 
15552
                fi
 
15553
              fi
 
15554
            else
 
15555
              if test "X$found_a" != "X"; then
 
15556
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
 
15557
              else
 
15558
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
 
15559
              fi
 
15560
            fi
 
15561
                        additional_includedir=
 
15562
            case "$found_dir" in
 
15563
              */$acl_libdirstem | */$acl_libdirstem/)
 
15564
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
15565
                additional_includedir="$basedir/include"
 
15566
                ;;
 
15567
            esac
 
15568
            if test "X$additional_includedir" != "X"; then
 
15569
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
15570
                haveit=
 
15571
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
15572
                  if test -n "$GCC"; then
 
15573
                    case $host_os in
 
15574
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
15575
                    esac
 
15576
                  fi
 
15577
                fi
 
15578
                if test -z "$haveit"; then
 
15579
                  for x in $CPPFLAGS $INCINTL; do
 
15580
 
 
15581
  acl_save_prefix="$prefix"
 
15582
  prefix="$acl_final_prefix"
 
15583
  acl_save_exec_prefix="$exec_prefix"
 
15584
  exec_prefix="$acl_final_exec_prefix"
 
15585
  eval x=\"$x\"
 
15586
  exec_prefix="$acl_save_exec_prefix"
 
15587
  prefix="$acl_save_prefix"
 
15588
 
 
15589
                    if test "X$x" = "X-I$additional_includedir"; then
 
15590
                      haveit=yes
 
15591
                      break
 
15592
                    fi
 
15593
                  done
 
15594
                  if test -z "$haveit"; then
 
15595
                    if test -d "$additional_includedir"; then
 
15596
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
 
15597
                    fi
 
15598
                  fi
 
15599
                fi
 
15600
              fi
 
15601
            fi
 
15602
                        if test -n "$found_la"; then
 
15603
                                                        save_libdir="$libdir"
 
15604
              case "$found_la" in
 
15605
                */* | *\\*) . "$found_la" ;;
 
15606
                *) . "./$found_la" ;;
 
15607
              esac
 
15608
              libdir="$save_libdir"
 
15609
                            for dep in $dependency_libs; do
 
15610
                case "$dep" in
 
15611
                  -L*)
 
15612
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
15613
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
15614
                      haveit=
 
15615
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
15616
                        if test -n "$GCC"; then
 
15617
                          case $host_os in
 
15618
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
15619
                          esac
 
15620
                        fi
 
15621
                      fi
 
15622
                      if test -z "$haveit"; then
 
15623
                        haveit=
 
15624
                        for x in $LDFLAGS $LIBINTL; do
 
15625
 
 
15626
  acl_save_prefix="$prefix"
 
15627
  prefix="$acl_final_prefix"
 
15628
  acl_save_exec_prefix="$exec_prefix"
 
15629
  exec_prefix="$acl_final_exec_prefix"
 
15630
  eval x=\"$x\"
 
15631
  exec_prefix="$acl_save_exec_prefix"
 
15632
  prefix="$acl_save_prefix"
 
15633
 
 
15634
                          if test "X$x" = "X-L$additional_libdir"; then
 
15635
                            haveit=yes
 
15636
                            break
 
15637
                          fi
 
15638
                        done
 
15639
                        if test -z "$haveit"; then
 
15640
                          if test -d "$additional_libdir"; then
 
15641
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
 
15642
                          fi
 
15643
                        fi
 
15644
                        haveit=
 
15645
                        for x in $LDFLAGS $LTLIBINTL; do
 
15646
 
 
15647
  acl_save_prefix="$prefix"
 
15648
  prefix="$acl_final_prefix"
 
15649
  acl_save_exec_prefix="$exec_prefix"
 
15650
  exec_prefix="$acl_final_exec_prefix"
 
15651
  eval x=\"$x\"
 
15652
  exec_prefix="$acl_save_exec_prefix"
 
15653
  prefix="$acl_save_prefix"
 
15654
 
 
15655
                          if test "X$x" = "X-L$additional_libdir"; then
 
15656
                            haveit=yes
 
15657
                            break
 
15658
                          fi
 
15659
                        done
 
15660
                        if test -z "$haveit"; then
 
15661
                          if test -d "$additional_libdir"; then
 
15662
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
 
15663
                          fi
 
15664
                        fi
 
15665
                      fi
 
15666
                    fi
 
15667
                    ;;
 
15668
                  -R*)
 
15669
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
15670
                    if test "$enable_rpath" != no; then
 
15671
                                                                  haveit=
 
15672
                      for x in $rpathdirs; do
 
15673
                        if test "X$x" = "X$dir"; then
 
15674
                          haveit=yes
 
15675
                          break
 
15676
                        fi
 
15677
                      done
 
15678
                      if test -z "$haveit"; then
 
15679
                        rpathdirs="$rpathdirs $dir"
 
15680
                      fi
 
15681
                                                                  haveit=
 
15682
                      for x in $ltrpathdirs; do
 
15683
                        if test "X$x" = "X$dir"; then
 
15684
                          haveit=yes
 
15685
                          break
 
15686
                        fi
 
15687
                      done
 
15688
                      if test -z "$haveit"; then
 
15689
                        ltrpathdirs="$ltrpathdirs $dir"
 
15690
                      fi
 
15691
                    fi
 
15692
                    ;;
 
15693
                  -l*)
 
15694
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
15695
                    ;;
 
15696
                  *.la)
 
15697
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
15698
                    ;;
 
15699
                  *)
 
15700
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
 
15701
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
 
15702
                    ;;
 
15703
                esac
 
15704
              done
 
15705
            fi
 
15706
          else
 
15707
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
15708
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
 
15709
          fi
 
15710
        fi
 
15711
      fi
 
15712
    done
 
15713
  done
 
15714
  if test "X$rpathdirs" != "X"; then
 
15715
    if test -n "$hardcode_libdir_separator"; then
 
15716
                        alldirs=
 
15717
      for found_dir in $rpathdirs; do
 
15718
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
 
15719
      done
 
15720
            acl_save_libdir="$libdir"
 
15721
      libdir="$alldirs"
 
15722
      eval flag=\"$hardcode_libdir_flag_spec\"
 
15723
      libdir="$acl_save_libdir"
 
15724
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
15725
    else
 
15726
            for found_dir in $rpathdirs; do
 
15727
        acl_save_libdir="$libdir"
 
15728
        libdir="$found_dir"
 
15729
        eval flag=\"$hardcode_libdir_flag_spec\"
 
15730
        libdir="$acl_save_libdir"
 
15731
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
15732
      done
 
15733
    fi
 
15734
  fi
 
15735
  if test "X$ltrpathdirs" != "X"; then
 
15736
            for found_dir in $ltrpathdirs; do
 
15737
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
 
15738
    done
 
15739
  fi
 
15740
 
 
15741
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
 
15742
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
 
15743
if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then :
 
15744
  $as_echo_n "(cached) " >&6
 
15745
else
 
15746
  gt_save_CPPFLAGS="$CPPFLAGS"
 
15747
            CPPFLAGS="$CPPFLAGS $INCINTL"
 
15748
            gt_save_LIBS="$LIBS"
 
15749
            LIBS="$LIBS $LIBINTL"
 
15750
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15751
/* end confdefs.h.  */
 
15752
#include <libintl.h>
 
15753
$gt_revision_test_code
 
15754
extern int _nl_msg_cat_cntr;
 
15755
extern
 
15756
#ifdef __cplusplus
 
15757
"C"
 
15758
#endif
 
15759
const char *_nl_expand_alias (const char *);
 
15760
int
 
15761
main ()
 
15762
{
 
15763
bindtextdomain ("", "");
 
15764
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
15765
  ;
 
15766
  return 0;
 
15767
}
 
15768
_ACEOF
 
15769
if ac_fn_c_try_link "$LINENO"; then :
 
15770
  eval "$gt_func_gnugettext_libintl=yes"
 
15771
else
 
15772
  eval "$gt_func_gnugettext_libintl=no"
 
15773
fi
 
15774
rm -f core conftest.err conftest.$ac_objext \
 
15775
    conftest$ac_exeext conftest.$ac_ext
 
15776
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
 
15777
              LIBS="$LIBS $LIBICONV"
 
15778
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15779
/* end confdefs.h.  */
 
15780
#include <libintl.h>
 
15781
$gt_revision_test_code
 
15782
extern int _nl_msg_cat_cntr;
 
15783
extern
 
15784
#ifdef __cplusplus
 
15785
"C"
 
15786
#endif
 
15787
const char *_nl_expand_alias (const char *);
 
15788
int
 
15789
main ()
 
15790
{
 
15791
bindtextdomain ("", "");
 
15792
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
15793
  ;
 
15794
  return 0;
 
15795
}
 
15796
_ACEOF
 
15797
if ac_fn_c_try_link "$LINENO"; then :
 
15798
  LIBINTL="$LIBINTL $LIBICONV"
 
15799
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
 
15800
                eval "$gt_func_gnugettext_libintl=yes"
 
15801
 
 
15802
fi
 
15803
rm -f core conftest.err conftest.$ac_objext \
 
15804
    conftest$ac_exeext conftest.$ac_ext
 
15805
            fi
 
15806
            CPPFLAGS="$gt_save_CPPFLAGS"
 
15807
            LIBS="$gt_save_LIBS"
 
15808
fi
 
15809
eval ac_res=\$$gt_func_gnugettext_libintl
 
15810
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
15811
$as_echo "$ac_res" >&6; }
 
15812
        fi
 
15813
 
 
15814
                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
 
15815
           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
 
15816
                && test "$PACKAGE" != gettext-runtime \
 
15817
                && test "$PACKAGE" != gettext-tools; }; then
 
15818
          gt_use_preinstalled_gnugettext=yes
 
15819
        else
 
15820
                    LIBINTL=
 
15821
          LTLIBINTL=
 
15822
          INCINTL=
 
15823
        fi
 
15824
 
 
15825
 
 
15826
 
 
15827
    if test -n "$INTL_MACOSX_LIBS"; then
 
15828
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
15829
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
15830
                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
 
15831
        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
 
15832
      fi
 
15833
    fi
 
15834
 
 
15835
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
15836
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
15837
 
 
15838
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
15839
 
 
15840
    else
 
15841
      USE_NLS=no
 
15842
    fi
 
15843
  fi
 
15844
 
 
15845
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
 
15846
$as_echo_n "checking whether to use NLS... " >&6; }
 
15847
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
15848
$as_echo "$USE_NLS" >&6; }
 
15849
  if test "$USE_NLS" = "yes"; then
 
15850
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
 
15851
$as_echo_n "checking where the gettext function comes from... " >&6; }
 
15852
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
15853
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
15854
        gt_source="external libintl"
 
15855
      else
 
15856
        gt_source="libc"
 
15857
      fi
 
15858
    else
 
15859
      gt_source="included intl directory"
 
15860
    fi
 
15861
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
 
15862
$as_echo "$gt_source" >&6; }
 
15863
  fi
 
15864
 
 
15865
  if test "$USE_NLS" = "yes"; then
 
15866
 
 
15867
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
15868
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
15869
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
 
15870
$as_echo_n "checking how to link with libintl... " >&6; }
 
15871
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
 
15872
$as_echo "$LIBINTL" >&6; }
 
15873
 
 
15874
  for element in $INCINTL; do
 
15875
    haveit=
 
15876
    for x in $CPPFLAGS; do
 
15877
 
 
15878
  acl_save_prefix="$prefix"
 
15879
  prefix="$acl_final_prefix"
 
15880
  acl_save_exec_prefix="$exec_prefix"
 
15881
  exec_prefix="$acl_final_exec_prefix"
 
15882
  eval x=\"$x\"
 
15883
  exec_prefix="$acl_save_exec_prefix"
 
15884
  prefix="$acl_save_prefix"
 
15885
 
 
15886
      if test "X$x" = "X$element"; then
 
15887
        haveit=yes
 
15888
        break
 
15889
      fi
 
15890
    done
 
15891
    if test -z "$haveit"; then
 
15892
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
15893
    fi
 
15894
  done
 
15895
 
 
15896
      fi
 
15897
 
 
15898
 
 
15899
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
15900
 
 
15901
 
 
15902
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
 
15903
 
 
15904
    fi
 
15905
 
 
15906
        POSUB=po
 
15907
  fi
 
15908
 
 
15909
 
 
15910
 
 
15911
    INTLLIBS="$LIBINTL"
 
15912
 
 
15913
 
 
15914
 
 
15915
 
 
15916
 
 
15917
 
 
15918
                LIBS="$LIBS $LIBINTL"
 
15919
        fi
15020
15920
fi
15021
15921
 
15022
15922
GETTEXT_PACKAGE=linphone
15404
16304
fi
15405
16305
 
15406
16306
 
 
16307
# Check whether --enable-nonstandard-gsm was given.
 
16308
if test "${enable_nonstandard_gsm+set}" = set; then :
 
16309
  enableval=$enable_nonstandard_gsm; case "${enableval}" in
 
16310
        yes) exotic_gsm=yes
 
16311
 
 
16312
$as_echo "#define ENABLE_NONSTANDARD_GSM 1" >>confdefs.h
 
16313
 
 
16314
         ;;
 
16315
        no)  exotic_gsm=no ;;
 
16316
        *) as_fn_error "bad value ${enableval} for --enable-nonstandard-gsm" "$LINENO" 5 ;;
 
16317
      esac
 
16318
else
 
16319
  exotic_gsm=no
 
16320
fi
15407
16321
 
15408
16322
 
15409
16323
 
15808
16722
 
15809
16723
fi
15810
16724
 
 
16725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for eXosip_get_socket in -leXosip2" >&5
 
16726
$as_echo_n "checking for eXosip_get_socket in -leXosip2... " >&6; }
 
16727
if test "${ac_cv_lib_eXosip2_eXosip_get_socket+set}" = set; then :
 
16728
  $as_echo_n "(cached) " >&6
 
16729
else
 
16730
  ac_check_lib_save_LIBS=$LIBS
 
16731
LIBS="-leXosip2 -losipparser2 -losip2  $LIBS"
 
16732
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16733
/* end confdefs.h.  */
 
16734
 
 
16735
/* Override any GCC internal prototype to avoid an error.
 
16736
   Use char because int might match the return type of a GCC
 
16737
   builtin and then its argument prototype would still apply.  */
 
16738
#ifdef __cplusplus
 
16739
extern "C"
 
16740
#endif
 
16741
char eXosip_get_socket ();
 
16742
int
 
16743
main ()
 
16744
{
 
16745
return eXosip_get_socket ();
 
16746
  ;
 
16747
  return 0;
 
16748
}
 
16749
_ACEOF
 
16750
if ac_fn_c_try_link "$LINENO"; then :
 
16751
  ac_cv_lib_eXosip2_eXosip_get_socket=yes
 
16752
else
 
16753
  ac_cv_lib_eXosip2_eXosip_get_socket=no
 
16754
fi
 
16755
rm -f core conftest.err conftest.$ac_objext \
 
16756
    conftest$ac_exeext conftest.$ac_ext
 
16757
LIBS=$ac_check_lib_save_LIBS
 
16758
fi
 
16759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_eXosip2_eXosip_get_socket" >&5
 
16760
$as_echo "$ac_cv_lib_eXosip2_eXosip_get_socket" >&6; }
 
16761
if test "x$ac_cv_lib_eXosip2_eXosip_get_socket" = x""yes; then :
 
16762
 
 
16763
$as_echo "#define HAVE_EXOSIP_GET_SOCKET 1" >>confdefs.h
 
16764
 
 
16765
else
 
16766
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find eXosip_get_socket in eXosip2 !" >&5
 
16767
$as_echo "$as_me: WARNING: Could not find eXosip_get_socket in eXosip2 !" >&2;}
 
16768
fi
 
16769
 
15811
16770
LIBS=$LIBS_save
15812
16771
LDFLAGS=$LDFLAGS_save
15813
16772
 
16355
17314
fi
16356
17315
 
16357
17316
 
 
17317
 
 
17318
ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv"
 
17319
if test "x$ac_cv_func_getenv" = x""yes; then :
 
17320
 
 
17321
$as_echo "#define HAVE_GETENV 1" >>confdefs.h
 
17322
 
 
17323
fi
 
17324
 
 
17325
 
 
17326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sighandler_t" >&5
 
17327
$as_echo_n "checking for sighandler_t... " >&6; }
 
17328
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17329
/* end confdefs.h.  */
 
17330
#include <signal.h>
 
17331
int
 
17332
main ()
 
17333
{
 
17334
sighandler_t *f;
 
17335
  ;
 
17336
  return 0;
 
17337
}
 
17338
_ACEOF
 
17339
if ac_fn_c_try_compile "$LINENO"; then :
 
17340
  has_sighandler_t=yes
 
17341
else
 
17342
  has_sighandler_t=no
 
17343
fi
 
17344
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_sighandler_t" >&5
 
17346
$as_echo "$has_sighandler_t" >&6; }
 
17347
if test "$has_sighandler_t" = "yes" ; then
 
17348
 
 
17349
$as_echo "#define HAVE_SIGHANDLER_T 1" >>confdefs.h
 
17350
 
 
17351
fi
 
17352
 
16358
17353
##################################################
16359
17354
# Stricter build options (after external packages)
16360
17355
##################################################
16371
17366
 
16372
17367
 
16373
17368
if test "$GCC$strictness" = "yesyes" ; then
16374
 
        STRICT_OPTIONS="-Wall -Wp,-D_FORTIFY_SOURCE=2"
 
17369
        STRICT_OPTIONS="-Wall "
16375
17370
        STRICT_OPTIONS="$STRICT_OPTIONS -Werror"
16376
17371
        CFLAGS="$CFLAGS -fno-strict-aliasing"
16377
17372
fi
16633
17628
 
16634
17629
 
16635
17630
 
16636
 
ac_config_files="$ac_config_files Makefile m4/Makefile po/Makefile.in pixmaps/Makefile coreapi/Makefile gtk-glade/Makefile console/Makefile share/Makefile share/C/Makefile share/fr/Makefile share/it/Makefile share/ja/Makefile share/cs/Makefile share/linphone.pc scripts/Makefile linphone.spec linphone.iss"
 
17631
 
 
17632
# Extract the first word of "doxygen", so it can be a program name with args.
 
17633
set dummy doxygen; ac_word=$2
 
17634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17635
$as_echo_n "checking for $ac_word... " >&6; }
 
17636
if test "${ac_cv_path_DOXYGEN+set}" = set; then :
 
17637
  $as_echo_n "(cached) " >&6
 
17638
else
 
17639
  case $DOXYGEN in
 
17640
  [\\/]* | ?:[\\/]*)
 
17641
  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
 
17642
  ;;
 
17643
  *)
 
17644
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17645
for as_dir in $PATH
 
17646
do
 
17647
  IFS=$as_save_IFS
 
17648
  test -z "$as_dir" && as_dir=.
 
17649
    for ac_exec_ext in '' $ac_executable_extensions; do
 
17650
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17651
    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
 
17652
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17653
    break 2
 
17654
  fi
 
17655
done
 
17656
  done
 
17657
IFS=$as_save_IFS
 
17658
 
 
17659
  test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="false"
 
17660
  ;;
 
17661
esac
 
17662
fi
 
17663
DOXYGEN=$ac_cv_path_DOXYGEN
 
17664
if test -n "$DOXYGEN"; then
 
17665
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
 
17666
$as_echo "$DOXYGEN" >&6; }
 
17667
else
 
17668
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17669
$as_echo "no" >&6; }
 
17670
fi
 
17671
 
 
17672
 
 
17673
 if test $DOXYGEN != false; then
 
17674
  HAVE_DOXYGEN_TRUE=
 
17675
  HAVE_DOXYGEN_FALSE='#'
 
17676
else
 
17677
  HAVE_DOXYGEN_TRUE='#'
 
17678
  HAVE_DOXYGEN_FALSE=
 
17679
fi
 
17680
 
 
17681
 
 
17682
 
 
17683
ac_config_files="$ac_config_files Makefile m4/Makefile po/Makefile.in pixmaps/Makefile coreapi/Makefile coreapi/help/Makefile coreapi/help/Doxyfile coreapi/help/doxygen.dox gtk-glade/Makefile console/Makefile share/Makefile share/C/Makefile share/fr/Makefile share/it/Makefile share/ja/Makefile share/cs/Makefile share/linphone.pc share/linphone.desktop scripts/Makefile linphone.spec linphone.iss"
16637
17684
 
16638
17685
cat >confcache <<\_ACEOF
16639
17686
# This file is a shell script that caches the results of configure
16789
17836
  as_fn_error "conditional \"EXTERNAL_ORTP\" was never defined.
16790
17837
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16791
17838
fi
 
17839
if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
 
17840
  as_fn_error "conditional \"HAVE_DOXYGEN\" was never defined.
 
17841
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17842
fi
16792
17843
 
16793
17844
: ${CONFIG_STATUS=./config.status}
16794
17845
ac_write_fail=0
17197
18248
# report actual input values of CONFIG_FILES etc. instead of their
17198
18249
# values after options handling.
17199
18250
ac_log="
17200
 
This file was extended by linphone $as_me 3.2.1, which was
17201
 
generated by GNU Autoconf 2.64.  Invocation command line was
 
18251
This file was extended by linphone $as_me 3.3.0, which was
 
18252
generated by GNU Autoconf 2.65.  Invocation command line was
17202
18253
 
17203
18254
  CONFIG_FILES    = $CONFIG_FILES
17204
18255
  CONFIG_HEADERS  = $CONFIG_HEADERS
17238
18289
 
17239
18290
  -h, --help       print this help, then exit
17240
18291
  -V, --version    print version number and configuration settings, then exit
 
18292
      --config     print configuration, then exit
17241
18293
  -q, --quiet, --silent
17242
18294
                   do not print progress messages
17243
18295
  -d, --debug      don't remove temporary files
17260
18312
 
17261
18313
_ACEOF
17262
18314
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18315
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17263
18316
ac_cs_version="\\
17264
 
linphone config.status 3.2.1
17265
 
configured by $0, generated by GNU Autoconf 2.64,
17266
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
18317
linphone config.status 3.3.0
 
18318
configured by $0, generated by GNU Autoconf 2.65,
 
18319
  with options \\"\$ac_cs_config\\"
17267
18320
 
17268
18321
Copyright (C) 2009 Free Software Foundation, Inc.
17269
18322
This config.status script is free software; the Free Software Foundation
17301
18354
    ac_cs_recheck=: ;;
17302
18355
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17303
18356
    $as_echo "$ac_cs_version"; exit ;;
 
18357
  --config | --confi | --conf | --con | --co | --c )
 
18358
    $as_echo "$ac_cs_config"; exit ;;
17304
18359
  --debug | --debu | --deb | --de | --d | -d )
17305
18360
    debug=: ;;
17306
18361
  --file | --fil | --fi | --f )
17656
18711
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17657
18712
    "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
17658
18713
    "coreapi/Makefile") CONFIG_FILES="$CONFIG_FILES coreapi/Makefile" ;;
 
18714
    "coreapi/help/Makefile") CONFIG_FILES="$CONFIG_FILES coreapi/help/Makefile" ;;
 
18715
    "coreapi/help/Doxyfile") CONFIG_FILES="$CONFIG_FILES coreapi/help/Doxyfile" ;;
 
18716
    "coreapi/help/doxygen.dox") CONFIG_FILES="$CONFIG_FILES coreapi/help/doxygen.dox" ;;
17659
18717
    "gtk-glade/Makefile") CONFIG_FILES="$CONFIG_FILES gtk-glade/Makefile" ;;
17660
18718
    "console/Makefile") CONFIG_FILES="$CONFIG_FILES console/Makefile" ;;
17661
18719
    "share/Makefile") CONFIG_FILES="$CONFIG_FILES share/Makefile" ;;
17665
18723
    "share/ja/Makefile") CONFIG_FILES="$CONFIG_FILES share/ja/Makefile" ;;
17666
18724
    "share/cs/Makefile") CONFIG_FILES="$CONFIG_FILES share/cs/Makefile" ;;
17667
18725
    "share/linphone.pc") CONFIG_FILES="$CONFIG_FILES share/linphone.pc" ;;
 
18726
    "share/linphone.desktop") CONFIG_FILES="$CONFIG_FILES share/linphone.desktop" ;;
17668
18727
    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
17669
18728
    "linphone.spec") CONFIG_FILES="$CONFIG_FILES linphone.spec" ;;
17670
18729
    "linphone.iss") CONFIG_FILES="$CONFIG_FILES linphone.iss" ;;
17772
18831
t delim
17773
18832
:nl
17774
18833
h
17775
 
s/\(.\{148\}\).*/\1/
 
18834
s/\(.\{148\}\)..*/\1/
17776
18835
t more1
17777
18836
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17778
18837
p
17786
18845
t nl
17787
18846
:delim
17788
18847
h
17789
 
s/\(.\{148\}\).*/\1/
 
18848
s/\(.\{148\}\)..*/\1/
17790
18849
t more2
17791
18850
s/["\\]/\\&/g; s/^/"/; s/$/"/
17792
18851
p