~ubuntu-branches/debian/sid/gsl/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Dirk Eddelbuettel
  • Date: 2008-12-16 06:17:55 UTC
  • mfrom: (1.3.2 upstream) (3.1.15 jaunty)
  • Revision ID: james.westby@ubuntu.com-20081216061755-9la7p0qwrhopk8pl
Tags: 1.12+dfsg-1
* New upstream version released today

* doc/*: As before, removed the 'non-free' documentation to create a 
  source package that complies with Debian's interpretation of what is free. 

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.61 for gsl 1.11.
 
3
# Generated by GNU Autoconf 2.61 for gsl 1.12.
4
4
#
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
721
721
# Identity of this package.
722
722
PACKAGE_NAME='gsl'
723
723
PACKAGE_TARNAME='gsl'
724
 
PACKAGE_VERSION='1.11'
725
 
PACKAGE_STRING='gsl 1.11'
 
724
PACKAGE_VERSION='1.12'
 
725
PACKAGE_STRING='gsl 1.12'
726
726
PACKAGE_BUGREPORT=''
727
727
 
728
728
ac_unique_file="gsl_math.h"
852
852
DUMPBIN
853
853
ac_ct_DUMPBIN
854
854
NM
 
855
OBJDUMP
855
856
AR
856
857
RANLIB
857
858
lt_ECHO
858
859
DSYMUTIL
859
860
NMEDIT
 
861
LIPO
 
862
OTOOL
 
863
OTOOL64
860
864
GSL_CFLAGS
861
865
GSL_LIBS
862
866
MINGW32_HOST_TRUE
1392
1396
  # Omit some internal or obsolete options to make the list less imposing.
1393
1397
  # This message is too long to be a string in the A/UX 3.1 sh.
1394
1398
  cat <<_ACEOF
1395
 
\`configure' configures gsl 1.11 to adapt to many kinds of systems.
 
1399
\`configure' configures gsl 1.12 to adapt to many kinds of systems.
1396
1400
 
1397
1401
Usage: $0 [OPTION]... [VAR=VALUE]...
1398
1402
 
1462
1466
 
1463
1467
if test -n "$ac_init_help"; then
1464
1468
  case $ac_init_help in
1465
 
     short | recursive ) echo "Configuration of gsl 1.11:";;
 
1469
     short | recursive ) echo "Configuration of gsl 1.12:";;
1466
1470
   esac
1467
1471
  cat <<\_ACEOF
1468
1472
 
1557
1561
test -n "$ac_init_help" && exit $ac_status
1558
1562
if $ac_init_version; then
1559
1563
  cat <<\_ACEOF
1560
 
gsl configure 1.11
 
1564
gsl configure 1.12
1561
1565
generated by GNU Autoconf 2.61
1562
1566
 
1563
1567
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1571
1575
This file contains any messages produced by compilers while
1572
1576
running configure, to aid debugging if configure makes a mistake.
1573
1577
 
1574
 
It was created by gsl $as_me 1.11, which was
 
1578
It was created by gsl $as_me 1.12, which was
1575
1579
generated by GNU Autoconf 2.61.  Invocation command line was
1576
1580
 
1577
1581
  $ $0 $@
2263
2267
 
2264
2268
# Define the identity of the package.
2265
2269
 PACKAGE='gsl'
2266
 
 VERSION='1.11'
 
2270
 VERSION='1.12'
2267
2271
 
2268
2272
 
2269
2273
cat >>confdefs.h <<_ACEOF
2435
2439
 
2436
2440
 
2437
2441
 
2438
 
GSL_CURRENT=12
 
2442
GSL_CURRENT=13
2439
2443
GSL_REVISION=0
2440
 
GSL_AGE=12
 
2444
GSL_AGE=13
2441
2445
CBLAS_CURRENT=0
2442
2446
CBLAS_REVISION=0
2443
2447
CBLAS_AGE=0
3829
3833
 
3830
3834
 
3831
3835
 
3832
 
macro_version='2.2'
3833
 
macro_revision='1.2599'
 
3836
macro_version='2.2.6'
 
3837
macro_revision='1.3012'
3834
3838
 
3835
3839
 
3836
3840
 
4321
4325
 
4322
4326
 
4323
4327
 
4324
 
 
4325
4328
{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4326
4329
echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4327
4330
if test "${lt_cv_path_NM+set}" = set; then
4500
4503
else
4501
4504
  lt_cv_nm_interface="BSD nm"
4502
4505
  echo "int some_variable = 0;" > conftest.$ac_ext
4503
 
  (eval echo "\"\$as_me:4503: $ac_compile\"" >&5)
 
4506
  (eval echo "\"\$as_me:4506: $ac_compile\"" >&5)
4504
4507
  (eval "$ac_compile" 2>conftest.err)
4505
4508
  cat conftest.err >&5
4506
 
  (eval echo "\"\$as_me:4506: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4509
  (eval echo "\"\$as_me:4509: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4507
4510
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4508
4511
  cat conftest.err >&5
4509
 
  (eval echo "\"\$as_me:4509: output\"" >&5)
 
4512
  (eval echo "\"\$as_me:4512: output\"" >&5)
4510
4513
  cat conftest.out >&5
4511
4514
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4512
4515
    lt_cv_nm_interface="MS dumpbin"
4541
4544
    lt_cv_sys_max_cmd_len=-1;
4542
4545
    ;;
4543
4546
 
4544
 
  cygwin* | mingw*)
 
4547
  cygwin* | mingw* | cegcc*)
4545
4548
    # On Win9x/ME, this test blows up -- it succeeds, but takes
4546
4549
    # about 5 minutes as the teststring grows exponentially.
4547
4550
    # Worse, since 9x/ME are not pre-emptively multitasking,
4650
4653
 
4651
4654
 
4652
4655
 
4653
 
 
4654
4656
: ${CP="cp -f"}
4655
4657
: ${MV="mv -f"}
4656
4658
: ${RM="rm -f"}
4661
4663
xsi_shell=no
4662
4664
( _lt_dummy="a/b/c"
4663
4665
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4664
 
      = c,a/b,, ) >/dev/null 2>&1 \
 
4666
      = c,a/b,, \
 
4667
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
4668
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4665
4669
  && xsi_shell=yes
4666
4670
{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
4667
4671
echo "${ECHO_T}$xsi_shell" >&6; }
4741
4745
 
4742
4746
 
4743
4747
 
 
4748
if test -n "$ac_tool_prefix"; then
 
4749
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
4750
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
4751
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4752
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4753
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
4754
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4755
else
 
4756
  if test -n "$OBJDUMP"; then
 
4757
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
4758
else
 
4759
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4760
for as_dir in $PATH
 
4761
do
 
4762
  IFS=$as_save_IFS
 
4763
  test -z "$as_dir" && as_dir=.
 
4764
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4765
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4766
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
4767
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4768
    break 2
 
4769
  fi
 
4770
done
 
4771
done
 
4772
IFS=$as_save_IFS
 
4773
 
 
4774
fi
 
4775
fi
 
4776
OBJDUMP=$ac_cv_prog_OBJDUMP
 
4777
if test -n "$OBJDUMP"; then
 
4778
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
4779
echo "${ECHO_T}$OBJDUMP" >&6; }
 
4780
else
 
4781
  { echo "$as_me:$LINENO: result: no" >&5
 
4782
echo "${ECHO_T}no" >&6; }
 
4783
fi
 
4784
 
 
4785
 
 
4786
fi
 
4787
if test -z "$ac_cv_prog_OBJDUMP"; then
 
4788
  ac_ct_OBJDUMP=$OBJDUMP
 
4789
  # Extract the first word of "objdump", so it can be a program name with args.
 
4790
set dummy objdump; ac_word=$2
 
4791
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4792
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
4793
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
4794
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4795
else
 
4796
  if test -n "$ac_ct_OBJDUMP"; then
 
4797
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
4798
else
 
4799
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4800
for as_dir in $PATH
 
4801
do
 
4802
  IFS=$as_save_IFS
 
4803
  test -z "$as_dir" && as_dir=.
 
4804
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4805
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4806
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
4807
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4808
    break 2
 
4809
  fi
 
4810
done
 
4811
done
 
4812
IFS=$as_save_IFS
 
4813
 
 
4814
fi
 
4815
fi
 
4816
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
4817
if test -n "$ac_ct_OBJDUMP"; then
 
4818
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
4819
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
 
4820
else
 
4821
  { echo "$as_me:$LINENO: result: no" >&5
 
4822
echo "${ECHO_T}no" >&6; }
 
4823
fi
 
4824
 
 
4825
  if test "x$ac_ct_OBJDUMP" = x; then
 
4826
    OBJDUMP="false"
 
4827
  else
 
4828
    case $cross_compiling:$ac_tool_warned in
 
4829
yes:)
 
4830
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
4831
whose name does not start with the host triplet.  If you think this
 
4832
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
4833
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
4834
whose name does not start with the host triplet.  If you think this
 
4835
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
4836
ac_tool_warned=yes ;;
 
4837
esac
 
4838
    OBJDUMP=$ac_ct_OBJDUMP
 
4839
  fi
 
4840
else
 
4841
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
4842
fi
 
4843
 
 
4844
test -z "$OBJDUMP" && OBJDUMP=objdump
 
4845
 
 
4846
 
 
4847
 
 
4848
 
 
4849
 
 
4850
 
 
4851
 
 
4852
 
4744
4853
 
4745
4854
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4746
4855
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4795
4904
  fi
4796
4905
  ;;
4797
4906
 
 
4907
cegcc)
 
4908
  # use the weaker test based on 'objdump'. See mingw*.
 
4909
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
4910
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4911
  ;;
 
4912
 
4798
4913
darwin* | rhapsody*)
4799
4914
  lt_cv_deplibs_check_method=pass_all
4800
4915
  ;;
5345
5460
aix*)
5346
5461
  symcode='[BCDT]'
5347
5462
  ;;
5348
 
cygwin* | mingw* | pw32*)
 
5463
cygwin* | mingw* | pw32* | cegcc*)
5349
5464
  symcode='[ABCDGISTW]'
5350
5465
  ;;
5351
5466
hpux*)
5605
5720
  ;;
5606
5721
*-*-irix6*)
5607
5722
  # Find out which ABI we are using.
5608
 
  echo '#line 5608 "configure"' > conftest.$ac_ext
 
5723
  echo '#line 5723 "configure"' > conftest.$ac_ext
5609
5724
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5610
5725
  (eval $ac_compile) 2>&5
5611
5726
  ac_status=$?
5987
6102
  NMEDIT="$ac_cv_prog_NMEDIT"
5988
6103
fi
5989
6104
 
 
6105
    if test -n "$ac_tool_prefix"; then
 
6106
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6107
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6108
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6109
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6110
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6111
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6112
else
 
6113
  if test -n "$LIPO"; then
 
6114
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6115
else
 
6116
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6117
for as_dir in $PATH
 
6118
do
 
6119
  IFS=$as_save_IFS
 
6120
  test -z "$as_dir" && as_dir=.
 
6121
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6122
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6123
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6124
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6125
    break 2
 
6126
  fi
 
6127
done
 
6128
done
 
6129
IFS=$as_save_IFS
 
6130
 
 
6131
fi
 
6132
fi
 
6133
LIPO=$ac_cv_prog_LIPO
 
6134
if test -n "$LIPO"; then
 
6135
  { echo "$as_me:$LINENO: result: $LIPO" >&5
 
6136
echo "${ECHO_T}$LIPO" >&6; }
 
6137
else
 
6138
  { echo "$as_me:$LINENO: result: no" >&5
 
6139
echo "${ECHO_T}no" >&6; }
 
6140
fi
 
6141
 
 
6142
 
 
6143
fi
 
6144
if test -z "$ac_cv_prog_LIPO"; then
 
6145
  ac_ct_LIPO=$LIPO
 
6146
  # Extract the first word of "lipo", so it can be a program name with args.
 
6147
set dummy lipo; ac_word=$2
 
6148
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6149
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6150
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6151
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6152
else
 
6153
  if test -n "$ac_ct_LIPO"; then
 
6154
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6155
else
 
6156
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6157
for as_dir in $PATH
 
6158
do
 
6159
  IFS=$as_save_IFS
 
6160
  test -z "$as_dir" && as_dir=.
 
6161
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6162
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6163
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6164
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6165
    break 2
 
6166
  fi
 
6167
done
 
6168
done
 
6169
IFS=$as_save_IFS
 
6170
 
 
6171
fi
 
6172
fi
 
6173
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6174
if test -n "$ac_ct_LIPO"; then
 
6175
  { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6176
echo "${ECHO_T}$ac_ct_LIPO" >&6; }
 
6177
else
 
6178
  { echo "$as_me:$LINENO: result: no" >&5
 
6179
echo "${ECHO_T}no" >&6; }
 
6180
fi
 
6181
 
 
6182
  if test "x$ac_ct_LIPO" = x; then
 
6183
    LIPO=":"
 
6184
  else
 
6185
    case $cross_compiling:$ac_tool_warned in
 
6186
yes:)
 
6187
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6188
whose name does not start with the host triplet.  If you think this
 
6189
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6190
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6191
whose name does not start with the host triplet.  If you think this
 
6192
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6193
ac_tool_warned=yes ;;
 
6194
esac
 
6195
    LIPO=$ac_ct_LIPO
 
6196
  fi
 
6197
else
 
6198
  LIPO="$ac_cv_prog_LIPO"
 
6199
fi
 
6200
 
 
6201
    if test -n "$ac_tool_prefix"; then
 
6202
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6203
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6204
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6205
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6206
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6207
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6208
else
 
6209
  if test -n "$OTOOL"; then
 
6210
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6211
else
 
6212
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6213
for as_dir in $PATH
 
6214
do
 
6215
  IFS=$as_save_IFS
 
6216
  test -z "$as_dir" && as_dir=.
 
6217
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6218
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6219
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6220
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6221
    break 2
 
6222
  fi
 
6223
done
 
6224
done
 
6225
IFS=$as_save_IFS
 
6226
 
 
6227
fi
 
6228
fi
 
6229
OTOOL=$ac_cv_prog_OTOOL
 
6230
if test -n "$OTOOL"; then
 
6231
  { echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6232
echo "${ECHO_T}$OTOOL" >&6; }
 
6233
else
 
6234
  { echo "$as_me:$LINENO: result: no" >&5
 
6235
echo "${ECHO_T}no" >&6; }
 
6236
fi
 
6237
 
 
6238
 
 
6239
fi
 
6240
if test -z "$ac_cv_prog_OTOOL"; then
 
6241
  ac_ct_OTOOL=$OTOOL
 
6242
  # Extract the first word of "otool", so it can be a program name with args.
 
6243
set dummy otool; ac_word=$2
 
6244
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6245
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6246
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6247
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6248
else
 
6249
  if test -n "$ac_ct_OTOOL"; then
 
6250
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6251
else
 
6252
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6253
for as_dir in $PATH
 
6254
do
 
6255
  IFS=$as_save_IFS
 
6256
  test -z "$as_dir" && as_dir=.
 
6257
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6258
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6259
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6260
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6261
    break 2
 
6262
  fi
 
6263
done
 
6264
done
 
6265
IFS=$as_save_IFS
 
6266
 
 
6267
fi
 
6268
fi
 
6269
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6270
if test -n "$ac_ct_OTOOL"; then
 
6271
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6272
echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
 
6273
else
 
6274
  { echo "$as_me:$LINENO: result: no" >&5
 
6275
echo "${ECHO_T}no" >&6; }
 
6276
fi
 
6277
 
 
6278
  if test "x$ac_ct_OTOOL" = x; then
 
6279
    OTOOL=":"
 
6280
  else
 
6281
    case $cross_compiling:$ac_tool_warned in
 
6282
yes:)
 
6283
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6284
whose name does not start with the host triplet.  If you think this
 
6285
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6286
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6287
whose name does not start with the host triplet.  If you think this
 
6288
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6289
ac_tool_warned=yes ;;
 
6290
esac
 
6291
    OTOOL=$ac_ct_OTOOL
 
6292
  fi
 
6293
else
 
6294
  OTOOL="$ac_cv_prog_OTOOL"
 
6295
fi
 
6296
 
 
6297
    if test -n "$ac_tool_prefix"; then
 
6298
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6299
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6300
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6301
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6302
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6303
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6304
else
 
6305
  if test -n "$OTOOL64"; then
 
6306
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6307
else
 
6308
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6309
for as_dir in $PATH
 
6310
do
 
6311
  IFS=$as_save_IFS
 
6312
  test -z "$as_dir" && as_dir=.
 
6313
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6314
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6315
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6316
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6317
    break 2
 
6318
  fi
 
6319
done
 
6320
done
 
6321
IFS=$as_save_IFS
 
6322
 
 
6323
fi
 
6324
fi
 
6325
OTOOL64=$ac_cv_prog_OTOOL64
 
6326
if test -n "$OTOOL64"; then
 
6327
  { echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6328
echo "${ECHO_T}$OTOOL64" >&6; }
 
6329
else
 
6330
  { echo "$as_me:$LINENO: result: no" >&5
 
6331
echo "${ECHO_T}no" >&6; }
 
6332
fi
 
6333
 
 
6334
 
 
6335
fi
 
6336
if test -z "$ac_cv_prog_OTOOL64"; then
 
6337
  ac_ct_OTOOL64=$OTOOL64
 
6338
  # Extract the first word of "otool64", so it can be a program name with args.
 
6339
set dummy otool64; ac_word=$2
 
6340
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6341
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6342
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6343
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6344
else
 
6345
  if test -n "$ac_ct_OTOOL64"; then
 
6346
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6347
else
 
6348
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6349
for as_dir in $PATH
 
6350
do
 
6351
  IFS=$as_save_IFS
 
6352
  test -z "$as_dir" && as_dir=.
 
6353
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6354
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6355
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
6356
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6357
    break 2
 
6358
  fi
 
6359
done
 
6360
done
 
6361
IFS=$as_save_IFS
 
6362
 
 
6363
fi
 
6364
fi
 
6365
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
6366
if test -n "$ac_ct_OTOOL64"; then
 
6367
  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
6368
echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
 
6369
else
 
6370
  { echo "$as_me:$LINENO: result: no" >&5
 
6371
echo "${ECHO_T}no" >&6; }
 
6372
fi
 
6373
 
 
6374
  if test "x$ac_ct_OTOOL64" = x; then
 
6375
    OTOOL64=":"
 
6376
  else
 
6377
    case $cross_compiling:$ac_tool_warned in
 
6378
yes:)
 
6379
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6380
whose name does not start with the host triplet.  If you think this
 
6381
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6382
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6383
whose name does not start with the host triplet.  If you think this
 
6384
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6385
ac_tool_warned=yes ;;
 
6386
esac
 
6387
    OTOOL64=$ac_ct_OTOOL64
 
6388
  fi
 
6389
else
 
6390
  OTOOL64="$ac_cv_prog_OTOOL64"
 
6391
fi
 
6392
 
 
6393
 
 
6394
 
 
6395
 
 
6396
 
 
6397
 
 
6398
 
 
6399
 
 
6400
 
 
6401
 
 
6402
 
 
6403
 
 
6404
 
 
6405
 
 
6406
 
 
6407
 
5990
6408
 
5991
6409
 
5992
6410
 
6009
6427
        # by either setting the environment variable LT_MULTI_MODULE
6010
6428
        # non-empty at configure time, or by adding -multi_module to the
6011
6429
        # link flags.
 
6430
        rm -rf libconftest.dylib*
6012
6431
        echo "int foo(void){return 1;}" > conftest.c
 
6432
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6433
-dynamiclib -Wl,-single_module conftest.c" >&5
6013
6434
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6014
 
          -dynamiclib ${wl}-single_module conftest.c
6015
 
        if test -f libconftest.dylib; then
 
6435
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
6436
        _lt_result=$?
 
6437
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6016
6438
          lt_cv_apple_cc_single_mod=yes
6017
 
          rm -rf libconftest.dylib*
 
6439
        else
 
6440
          cat conftest.err >&5
6018
6441
        fi
6019
 
        rm conftest.c
 
6442
        rm -rf libconftest.dylib*
 
6443
        rm -f conftest.*
6020
6444
      fi
6021
6445
fi
6022
6446
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6913
7337
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6914
7338
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6915
7339
   -e 's:$: $lt_compiler_flag:'`
6916
 
   (eval echo "\"\$as_me:6916: $lt_compile\"" >&5)
 
7340
   (eval echo "\"\$as_me:7340: $lt_compile\"" >&5)
6917
7341
   (eval "$lt_compile" 2>conftest.err)
6918
7342
   ac_status=$?
6919
7343
   cat conftest.err >&5
6920
 
   echo "$as_me:6920: \$? = $ac_status" >&5
 
7344
   echo "$as_me:7344: \$? = $ac_status" >&5
6921
7345
   if (exit $ac_status) && test -s "$ac_outfile"; then
6922
7346
     # The compiler can only warn and ignore the option if not recognized
6923
7347
     # So say no if there are warnings other than the usual output.
6967
7391
      ;;
6968
7392
 
6969
7393
    amigaos*)
6970
 
      if test "$host_cpu" = m68k; then
6971
 
        # FIXME: we need at least 68020 code to build shared libraries, but
6972
 
        # adding the `-m68020' flag to GCC prevents building anything better,
6973
 
        # like `-m68040'.
6974
 
        lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6975
 
      fi
 
7394
      case $host_cpu in
 
7395
      powerpc)
 
7396
            # see comment about AmigaOS4 .so support
 
7397
            lt_prog_compiler_pic='-fPIC'
 
7398
        ;;
 
7399
      m68k)
 
7400
            # FIXME: we need at least 68020 code to build shared libraries, but
 
7401
            # adding the `-m68020' flag to GCC prevents building anything better,
 
7402
            # like `-m68040'.
 
7403
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7404
        ;;
 
7405
      esac
6976
7406
      ;;
6977
7407
 
6978
7408
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6979
7409
      # PIC is the default for these OSes.
6980
7410
      ;;
6981
7411
 
6982
 
    mingw* | cygwin* | pw32* | os2*)
 
7412
    mingw* | cygwin* | pw32* | os2* | cegcc*)
6983
7413
      # This hack is so that the source file can tell whether it is being
6984
7414
      # built for inclusion in a dll (and should export symbols for example).
6985
7415
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
6994
7424
      ;;
6995
7425
 
6996
7426
    hpux*)
6997
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6998
 
      # not for PA HP-UX.
 
7427
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
7428
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
7429
      # sets the default TLS model and affects inlining.
6999
7430
      case $host_cpu in
7000
 
      hppa*64*|ia64*)
 
7431
      hppa*64*)
7001
7432
        # +Z the default
7002
7433
        ;;
7003
7434
      *)
7047
7478
      fi
7048
7479
      ;;
7049
7480
 
7050
 
    mingw* | cygwin* | pw32* | os2*)
 
7481
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7051
7482
      # This hack is so that the source file can tell whether it is being
7052
7483
      # built for inclusion in a dll (and should export symbols for example).
7053
7484
      lt_prog_compiler_pic='-DDLL_EXPORT'
7077
7508
 
7078
7509
    linux* | k*bsd*-gnu)
7079
7510
      case $cc_basename in
7080
 
      icc* | ecc* | ifort*)
 
7511
      # old Intel for x86_64 which still supported -KPIC.
 
7512
      ecc*)
7081
7513
        lt_prog_compiler_wl='-Wl,'
7082
7514
        lt_prog_compiler_pic='-KPIC'
7083
7515
        lt_prog_compiler_static='-static'
7084
7516
        ;;
 
7517
      # icc used to be incompatible with GCC.
 
7518
      # ICC 10 doesn't accept -KPIC any more.
 
7519
      icc* | ifort*)
 
7520
        lt_prog_compiler_wl='-Wl,'
 
7521
        lt_prog_compiler_pic='-fPIC'
 
7522
        lt_prog_compiler_static='-static'
 
7523
        ;;
 
7524
      # Lahey Fortran 8.1.
 
7525
      lf95*)
 
7526
        lt_prog_compiler_wl='-Wl,'
 
7527
        lt_prog_compiler_pic='--shared'
 
7528
        lt_prog_compiler_static='--static'
 
7529
        ;;
7085
7530
      pgcc* | pgf77* | pgf90* | pgf95*)
7086
7531
        # Portland Group compilers (*not* the Pentium gcc compiler,
7087
7532
        # which looks to be a dead project)
7231
7676
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7232
7677
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7233
7678
   -e 's:$: $lt_compiler_flag:'`
7234
 
   (eval echo "\"\$as_me:7234: $lt_compile\"" >&5)
 
7679
   (eval echo "\"\$as_me:7679: $lt_compile\"" >&5)
7235
7680
   (eval "$lt_compile" 2>conftest.err)
7236
7681
   ac_status=$?
7237
7682
   cat conftest.err >&5
7238
 
   echo "$as_me:7238: \$? = $ac_status" >&5
 
7683
   echo "$as_me:7683: \$? = $ac_status" >&5
7239
7684
   if (exit $ac_status) && test -s "$ac_outfile"; then
7240
7685
     # The compiler can only warn and ignore the option if not recognized
7241
7686
     # So say no if there are warnings other than the usual output.
7336
7781
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7337
7782
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7338
7783
   -e 's:$: $lt_compiler_flag:'`
7339
 
   (eval echo "\"\$as_me:7339: $lt_compile\"" >&5)
 
7784
   (eval echo "\"\$as_me:7784: $lt_compile\"" >&5)
7340
7785
   (eval "$lt_compile" 2>out/conftest.err)
7341
7786
   ac_status=$?
7342
7787
   cat out/conftest.err >&5
7343
 
   echo "$as_me:7343: \$? = $ac_status" >&5
 
7788
   echo "$as_me:7788: \$? = $ac_status" >&5
7344
7789
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7345
7790
   then
7346
7791
     # The compiler can only warn and ignore the option if not recognized
7391
7836
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7392
7837
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7393
7838
   -e 's:$: $lt_compiler_flag:'`
7394
 
   (eval echo "\"\$as_me:7394: $lt_compile\"" >&5)
 
7839
   (eval echo "\"\$as_me:7839: $lt_compile\"" >&5)
7395
7840
   (eval "$lt_compile" 2>out/conftest.err)
7396
7841
   ac_status=$?
7397
7842
   cat out/conftest.err >&5
7398
 
   echo "$as_me:7398: \$? = $ac_status" >&5
 
7843
   echo "$as_me:7843: \$? = $ac_status" >&5
7399
7844
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7400
7845
   then
7401
7846
     # The compiler can only warn and ignore the option if not recognized
7495
7940
  extract_expsyms_cmds=
7496
7941
 
7497
7942
  case $host_os in
7498
 
  cygwin* | mingw* | pw32*)
 
7943
  cygwin* | mingw* | pw32* | cegcc*)
7499
7944
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7500
7945
    # When not using gcc, we currently assume that we are using
7501
7946
    # Microsoft Visual C++.
7557
8002
      ;;
7558
8003
 
7559
8004
    amigaos*)
7560
 
      if test "$host_cpu" = m68k; then
7561
 
        archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7562
 
        hardcode_libdir_flag_spec='-L$libdir'
7563
 
        hardcode_minus_L=yes
7564
 
      fi
7565
 
 
7566
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7567
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
7568
 
      # to version 4, is to share data among multiple programs linked
7569
 
      # with the same dynamic library.  Since this doesn't match the
7570
 
      # behavior of shared libraries on other platforms, we can't use
7571
 
      # them.
7572
 
      ld_shlibs=no
 
8005
      case $host_cpu in
 
8006
      powerpc)
 
8007
            # see comment about AmigaOS4 .so support
 
8008
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8009
            archive_expsym_cmds=''
 
8010
        ;;
 
8011
      m68k)
 
8012
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
8013
            hardcode_libdir_flag_spec='-L$libdir'
 
8014
            hardcode_minus_L=yes
 
8015
        ;;
 
8016
      esac
7573
8017
      ;;
7574
8018
 
7575
8019
    beos*)
7583
8027
      fi
7584
8028
      ;;
7585
8029
 
7586
 
    cygwin* | mingw* | pw32*)
 
8030
    cygwin* | mingw* | pw32* | cegcc*)
7587
8031
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7588
8032
      # as there is no search path for DLLs.
7589
8033
      hardcode_libdir_flag_spec='-L$libdir'
7649
8093
          tmp_addflag=' -i_dynamic -nofor_main' ;;
7650
8094
        ifc* | ifort*)                  # Intel Fortran compiler
7651
8095
          tmp_addflag=' -nofor_main' ;;
 
8096
        lf95*)                          # Lahey Fortran 8.1
 
8097
          whole_archive_flag_spec=
 
8098
          tmp_sharedflag='--shared' ;;
7652
8099
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
7653
8100
          tmp_sharedflag='-qmkshrobj'
7654
8101
          tmp_addflag= ;;
7880
8327
        fi
7881
8328
      fi
7882
8329
 
 
8330
      export_dynamic_flag_spec='${wl}-bexpall'
7883
8331
      # It seems that -bexpall does not export symbols beginning with
7884
8332
      # underscore (_), so it is better to generate a list of symbols to export.
7885
8333
      always_export_symbols=yes
8028
8476
      ;;
8029
8477
 
8030
8478
    amigaos*)
8031
 
      if test "$host_cpu" = m68k; then
8032
 
        archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8033
 
        hardcode_libdir_flag_spec='-L$libdir'
8034
 
        hardcode_minus_L=yes
8035
 
      fi
8036
 
      # see comment about different semantics on the GNU ld section
8037
 
      ld_shlibs=no
 
8479
      case $host_cpu in
 
8480
      powerpc)
 
8481
            # see comment about AmigaOS4 .so support
 
8482
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8483
            archive_expsym_cmds=''
 
8484
        ;;
 
8485
      m68k)
 
8486
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
8487
            hardcode_libdir_flag_spec='-L$libdir'
 
8488
            hardcode_minus_L=yes
 
8489
        ;;
 
8490
      esac
8038
8491
      ;;
8039
8492
 
8040
8493
    bsdi[45]*)
8041
8494
      export_dynamic_flag_spec=-rdynamic
8042
8495
      ;;
8043
8496
 
8044
 
    cygwin* | mingw* | pw32*)
 
8497
    cygwin* | mingw* | pw32* | cegcc*)
8045
8498
      # When not using gcc, we currently assume that we are using
8046
8499
      # Microsoft Visual C++.
8047
8500
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8072
8525
  whole_archive_flag_spec=''
8073
8526
  link_all_deplibs=yes
8074
8527
  allow_undefined_flag="$_lt_dar_allow_undefined"
8075
 
  if test "$GCC" = "yes"; then
 
8528
  case $cc_basename in
 
8529
     ifort*) _lt_dar_can_shared=yes ;;
 
8530
     *) _lt_dar_can_shared=$GCC ;;
 
8531
  esac
 
8532
  if test "$_lt_dar_can_shared" = "yes"; then
8076
8533
    output_verbose_link_cmd=echo
8077
8534
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8078
8535
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8164
8621
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8165
8622
          ;;
8166
8623
        ia64*)
8167
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
8624
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8168
8625
          ;;
8169
8626
        *)
8170
8627
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8868
9325
  ;;
8869
9326
 
8870
9327
amigaos*)
8871
 
  if test "$host_cpu" = m68k; then
 
9328
  case $host_cpu in
 
9329
  powerpc)
 
9330
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
9331
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
9332
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9333
    ;;
 
9334
  m68k)
8872
9335
    library_names_spec='$libname.ixlibrary $libname.a'
8873
9336
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
8874
9337
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8875
 
  else
8876
 
    dynamic_linker=no
8877
 
  fi
 
9338
    ;;
 
9339
  esac
8878
9340
  ;;
8879
9341
 
8880
9342
beos*)
8897
9359
  # libtool to hard-code these into programs
8898
9360
  ;;
8899
9361
 
8900
 
cygwin* | mingw* | pw32*)
 
9362
cygwin* | mingw* | pw32* | cegcc*)
8901
9363
  version_type=windows
8902
9364
  shrext_cmds=".dll"
8903
9365
  need_version=no
8904
9366
  need_lib_prefix=no
8905
9367
 
8906
9368
  case $GCC,$host_os in
8907
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
9369
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
8908
9370
    library_names_spec='$libname.dll.a'
8909
9371
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
8910
9372
    postinstall_cmds='base_file=`basename \${file}`~
8927
9389
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8928
9390
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8929
9391
      ;;
8930
 
    mingw*)
 
9392
    mingw* | cegcc*)
8931
9393
      # MinGW DLLs use traditional 'lib' prefix
8932
9394
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8933
9395
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9396
9858
  version_type=linux
9397
9859
  need_lib_prefix=no
9398
9860
  need_version=no
9399
 
  library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9861
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9400
9862
  shlibpath_var=LD_LIBRARY_PATH
9401
9863
  shlibpath_overrides_runpath=no
9402
9864
  hardcode_into_libs=yes
9573
10035
    lt_cv_dlopen_self=yes
9574
10036
    ;;
9575
10037
 
9576
 
  mingw* | pw32*)
 
10038
  mingw* | pw32* | cegcc*)
9577
10039
    lt_cv_dlopen="LoadLibrary"
9578
10040
    lt_cv_dlopen_libs=
9579
10041
    ;;
10130
10592
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10131
10593
  lt_status=$lt_dlunknown
10132
10594
  cat > conftest.$ac_ext <<_LT_EOF
10133
 
#line 10133 "configure"
 
10595
#line 10595 "configure"
10134
10596
#include "confdefs.h"
10135
10597
 
10136
10598
#if HAVE_DLFCN_H
10171
10633
#  endif
10172
10634
#endif
10173
10635
 
10174
 
#ifdef __cplusplus
10175
 
extern "C" void exit (int);
10176
 
#endif
10177
 
 
10178
10636
void fnord() { int i=42;}
10179
10637
int main ()
10180
10638
{
10190
10648
  else
10191
10649
    puts (dlerror ());
10192
10650
 
10193
 
    exit (status);
 
10651
  return status;
10194
10652
}
10195
10653
_LT_EOF
10196
10654
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10230
10688
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10231
10689
  lt_status=$lt_dlunknown
10232
10690
  cat > conftest.$ac_ext <<_LT_EOF
10233
 
#line 10233 "configure"
 
10691
#line 10691 "configure"
10234
10692
#include "confdefs.h"
10235
10693
 
10236
10694
#if HAVE_DLFCN_H
10271
10729
#  endif
10272
10730
#endif
10273
10731
 
10274
 
#ifdef __cplusplus
10275
 
extern "C" void exit (int);
10276
 
#endif
10277
 
 
10278
10732
void fnord() { int i=42;}
10279
10733
int main ()
10280
10734
{
10290
10744
  else
10291
10745
    puts (dlerror ());
10292
10746
 
10293
 
    exit (status);
 
10747
  return status;
10294
10748
}
10295
10749
_LT_EOF
10296
10750
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10720
11174
 
10721
11175
 
10722
11176
 
10723
 
{ echo "$as_me:$LINENO: checking for extern inline" >&5
10724
 
echo $ECHO_N "checking for extern inline... $ECHO_C" >&6; }
 
11177
{ echo "$as_me:$LINENO: checking for GNU-style extern inline" >&5
 
11178
echo $ECHO_N "checking for GNU-style extern inline... $ECHO_C" >&6; }
10725
11179
if test "${ac_cv_c_extern_inline+set}" = set; then
10726
11180
  echo $ECHO_N "(cached) $ECHO_C" >&6
10727
11181
else
10780
11234
#define HAVE_INLINE
10781
11235
_ACEOF
10782
11236
 
 
11237
else
 
11238
   { echo "$as_me:$LINENO: checking for C99-style inline" >&5
 
11239
echo $ECHO_N "checking for C99-style inline... $ECHO_C" >&6; }
 
11240
if test "${ac_cv_c_c99inline+set}" = set; then
 
11241
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11242
else
 
11243
  ac_cv_c_c99inline=no
 
11244
   cat >conftest.$ac_ext <<_ACEOF
 
11245
/* confdefs.h.  */
 
11246
_ACEOF
 
11247
cat confdefs.h >>conftest.$ac_ext
 
11248
cat >>conftest.$ac_ext <<_ACEOF
 
11249
/* end confdefs.h.  */
 
11250
#ifdef __GNUC_STDC_INLINE__
 
11251
   inline double foo(double x);
 
11252
   inline double foo(double x) { return x + 1.0 ; };
 
11253
   #endif
 
11254
int
 
11255
main ()
 
11256
{
 
11257
  foo(1.0)
 
11258
  ;
 
11259
  return 0;
 
11260
}
 
11261
_ACEOF
 
11262
rm -f conftest.$ac_objext
 
11263
if { (ac_try="$ac_compile"
 
11264
case "(($ac_try" in
 
11265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11266
  *) ac_try_echo=$ac_try;;
 
11267
esac
 
11268
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11269
  (eval "$ac_compile") 2>conftest.er1
 
11270
  ac_status=$?
 
11271
  grep -v '^ *+' conftest.er1 >conftest.err
 
11272
  rm -f conftest.er1
 
11273
  cat conftest.err >&5
 
11274
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11275
  (exit $ac_status); } && {
 
11276
         test -z "$ac_c_werror_flag" ||
 
11277
         test ! -s conftest.err
 
11278
       } && test -s conftest.$ac_objext; then
 
11279
  ac_cv_c_c99inline="yes"
 
11280
else
 
11281
  echo "$as_me: failed program was:" >&5
 
11282
sed 's/^/| /' conftest.$ac_ext >&5
 
11283
 
 
11284
 
 
11285
fi
 
11286
 
 
11287
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11288
 
 
11289
fi
 
11290
{ echo "$as_me:$LINENO: result: $ac_cv_c_c99inline" >&5
 
11291
echo "${ECHO_T}$ac_cv_c_c99inline" >&6; }
 
11292
 
 
11293
   if test "$ac_cv_c_c99inline" != no ; then
 
11294
 
 
11295
cat >>confdefs.h <<\_ACEOF
 
11296
#define HAVE_INLINE
 
11297
_ACEOF
 
11298
 
 
11299
   fi
10783
11300
fi
10784
11301
 
10785
11302
 
12574
13091
else
12575
13092
  ac_cv_c_fpu_sse=no
12576
13093
    if test "$cross_compiling" = yes; then
12577
 
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12578
 
See \`config.log' for more details." >&5
12579
 
echo "$as_me: error: cannot run test program while cross compiling
12580
 
See \`config.log' for more details." >&2;}
12581
 
   { (exit 1); exit 1; }; }
 
13094
 
 
13095
        cat >conftest.$ac_ext <<_ACEOF
 
13096
/* confdefs.h.  */
 
13097
_ACEOF
 
13098
cat confdefs.h >>conftest.$ac_ext
 
13099
cat >>conftest.$ac_ext <<_ACEOF
 
13100
/* end confdefs.h.  */
 
13101
 
 
13102
#include <stdlib.h>
 
13103
#define _FPU_SETMXCSR(cw_sse) asm volatile ("ldmxcsr %0" : : "m" (*&cw_sse))
 
13104
 
 
13105
int
 
13106
main ()
 
13107
{
 
13108
 unsigned int mode = 0x1f80 ; _FPU_SETMXCSR(mode); exit(0);
 
13109
  ;
 
13110
  return 0;
 
13111
}
 
13112
_ACEOF
 
13113
rm -f conftest.$ac_objext
 
13114
if { (ac_try="$ac_compile"
 
13115
case "(($ac_try" in
 
13116
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13117
  *) ac_try_echo=$ac_try;;
 
13118
esac
 
13119
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13120
  (eval "$ac_compile") 2>conftest.er1
 
13121
  ac_status=$?
 
13122
  grep -v '^ *+' conftest.er1 >conftest.err
 
13123
  rm -f conftest.er1
 
13124
  cat conftest.err >&5
 
13125
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13126
  (exit $ac_status); } && {
 
13127
         test -z "$ac_c_werror_flag" ||
 
13128
         test ! -s conftest.err
 
13129
       } && test -s conftest.$ac_objext; then
 
13130
  ac_cv_c_fpu_sse="yes"
 
13131
else
 
13132
  echo "$as_me: failed program was:" >&5
 
13133
sed 's/^/| /' conftest.$ac_ext >&5
 
13134
 
 
13135
        ac_cv_c_fpu_sse="no"
 
13136
fi
 
13137
 
 
13138
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13139
 
12582
13140
else
12583
13141
  cat >conftest.$ac_ext <<_ACEOF
12584
13142
/* confdefs.h.  */
12624
13182
echo "$as_me: failed program was:" >&5
12625
13183
sed 's/^/| /' conftest.$ac_ext >&5
12626
13184
 
 
13185
( exit $ac_status )
 
13186
ac_cv_c_fpu_sse="no"
12627
13187
fi
12628
13188
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12629
13189
fi
12630
13190
 
12631
13191
 
12632
 
 
12633
13192
fi
12634
13193
{ echo "$as_me:$LINENO: result: $ac_cv_c_fpu_sse" >&5
12635
13194
echo "${ECHO_T}$ac_cv_c_fpu_sse" >&6; }
 
13195
 
12636
13196
    if test $ac_cv_c_fpu_sse = yes; then
12637
13197
 
12638
13198
cat >>confdefs.h <<\_ACEOF
13320
13880
# report actual input values of CONFIG_FILES etc. instead of their
13321
13881
# values after options handling.
13322
13882
ac_log="
13323
 
This file was extended by gsl $as_me 1.11, which was
 
13883
This file was extended by gsl $as_me 1.12, which was
13324
13884
generated by GNU Autoconf 2.61.  Invocation command line was
13325
13885
 
13326
13886
  CONFIG_FILES    = $CONFIG_FILES
13373
13933
_ACEOF
13374
13934
cat >>$CONFIG_STATUS <<_ACEOF
13375
13935
ac_cs_version="\\
13376
 
gsl config.status 1.11
 
13936
gsl config.status 1.12
13377
13937
configured by $0, generated by GNU Autoconf 2.61,
13378
13938
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13379
13939
 
13514
14074
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13515
14075
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13516
14076
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
14077
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13517
14078
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13518
14079
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13519
14080
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13543
14104
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13544
14105
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13545
14106
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
14107
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
14108
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
14109
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13546
14110
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13547
14111
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13548
14112
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13616
14180
lt_SP2NL \
13617
14181
lt_NL2SP \
13618
14182
reload_flag \
 
14183
OBJDUMP \
13619
14184
deplibs_check_method \
13620
14185
file_magic_cmd \
13621
14186
AR \
13639
14204
need_locks \
13640
14205
DSYMUTIL \
13641
14206
NMEDIT \
 
14207
LIPO \
 
14208
OTOOL \
 
14209
OTOOL64 \
13642
14210
shrext_cmds \
13643
14211
export_dynamic_flag_spec \
13644
14212
whole_archive_flag_spec \
13939
14507
DUMPBIN!$DUMPBIN$ac_delim
13940
14508
ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
13941
14509
NM!$NM$ac_delim
 
14510
OBJDUMP!$OBJDUMP$ac_delim
13942
14511
AR!$AR$ac_delim
13943
14512
RANLIB!$RANLIB$ac_delim
13944
14513
lt_ECHO!$lt_ECHO$ac_delim
13945
14514
DSYMUTIL!$DSYMUTIL$ac_delim
13946
14515
NMEDIT!$NMEDIT$ac_delim
 
14516
LIPO!$LIPO$ac_delim
 
14517
_ACEOF
 
14518
 
 
14519
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
14520
    break
 
14521
  elif $ac_last_try; then
 
14522
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
14523
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
14524
   { (exit 1); exit 1; }; }
 
14525
  else
 
14526
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
14527
  fi
 
14528
done
 
14529
 
 
14530
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
14531
if test -n "$ac_eof"; then
 
14532
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
14533
  ac_eof=`expr $ac_eof + 1`
 
14534
fi
 
14535
 
 
14536
cat >>$CONFIG_STATUS <<_ACEOF
 
14537
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
14538
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
14539
_ACEOF
 
14540
sed '
 
14541
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
14542
s/^/s,@/; s/!/@,|#_!!_#|/
 
14543
:n
 
14544
t n
 
14545
s/'"$ac_delim"'$/,g/; t
 
14546
s/$/\\/; p
 
14547
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
14548
' >>$CONFIG_STATUS <conf$$subs.sed
 
14549
rm -f conf$$subs.sed
 
14550
cat >>$CONFIG_STATUS <<_ACEOF
 
14551
CEOF$ac_eof
 
14552
_ACEOF
 
14553
 
 
14554
 
 
14555
ac_delim='%!_!# '
 
14556
for ac_last_try in false false false false false :; do
 
14557
  cat >conf$$subs.sed <<_ACEOF
 
14558
OTOOL!$OTOOL$ac_delim
 
14559
OTOOL64!$OTOOL64$ac_delim
13947
14560
GSL_CFLAGS!$GSL_CFLAGS$ac_delim
13948
14561
GSL_LIBS!$GSL_LIBS$ac_delim
13949
 
_ACEOF
13950
 
 
13951
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13952
 
    break
13953
 
  elif $ac_last_try; then
13954
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13955
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13956
 
   { (exit 1); exit 1; }; }
13957
 
  else
13958
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13959
 
  fi
13960
 
done
13961
 
 
13962
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13963
 
if test -n "$ac_eof"; then
13964
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13965
 
  ac_eof=`expr $ac_eof + 1`
13966
 
fi
13967
 
 
13968
 
cat >>$CONFIG_STATUS <<_ACEOF
13969
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13970
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13971
 
_ACEOF
13972
 
sed '
13973
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13974
 
s/^/s,@/; s/!/@,|#_!!_#|/
13975
 
:n
13976
 
t n
13977
 
s/'"$ac_delim"'$/,g/; t
13978
 
s/$/\\/; p
13979
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13980
 
' >>$CONFIG_STATUS <conf$$subs.sed
13981
 
rm -f conf$$subs.sed
13982
 
cat >>$CONFIG_STATUS <<_ACEOF
13983
 
CEOF$ac_eof
13984
 
_ACEOF
13985
 
 
13986
 
 
13987
 
ac_delim='%!_!# '
13988
 
for ac_last_try in false false false false false :; do
13989
 
  cat >conf$$subs.sed <<_ACEOF
13990
14562
MINGW32_HOST_TRUE!$MINGW32_HOST_TRUE$ac_delim
13991
14563
MINGW32_HOST_FALSE!$MINGW32_HOST_FALSE$ac_delim
13992
14564
LIBOBJS!$LIBOBJS$ac_delim
14010
14582
LTLIBOBJS!$LTLIBOBJS$ac_delim
14011
14583
_ACEOF
14012
14584
 
14013
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then
 
14585
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 25; then
14014
14586
    break
14015
14587
  elif $ac_last_try; then
14016
14588
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14469
15041
#! $SHELL
14470
15042
 
14471
15043
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14472
 
# Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
 
15044
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14473
15045
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14474
15046
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14475
15047
#
14575
15147
reload_flag=$lt_reload_flag
14576
15148
reload_cmds=$lt_reload_cmds
14577
15149
 
 
15150
# An object symbol dumper.
 
15151
OBJDUMP=$lt_OBJDUMP
 
15152
 
14578
15153
# Method to check whether dependent libraries are shared objects.
14579
15154
deplibs_check_method=$lt_deplibs_check_method
14580
15155
 
14632
15207
# Tool to change global to local symbols on Mac OS X.
14633
15208
NMEDIT=$lt_NMEDIT
14634
15209
 
 
15210
# Tool to manipulate fat objects and archives on Mac OS X.
 
15211
LIPO=$lt_LIPO
 
15212
 
 
15213
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
15214
OTOOL=$lt_OTOOL
 
15215
 
 
15216
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
15217
OTOOL64=$lt_OTOOL64
 
15218
 
14635
15219
# Old archive suffix (normally "a").
14636
15220
libext=$libext
14637
15221
 
14872
15456
  case $xsi_shell in
14873
15457
  yes)
14874
15458
    cat << \_LT_EOF >> "$cfgfile"
 
15459
 
14875
15460
# func_dirname file append nondir_replacement
14876
15461
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14877
15462
# otherwise set result to NONDIR_REPLACEMENT.
14939
15524
    *)    func_lo2o_result=${1} ;;
14940
15525
  esac
14941
15526
}
 
15527
 
 
15528
# func_xform libobj-or-source
 
15529
func_xform ()
 
15530
{
 
15531
  func_xform_result=${1%.*}.lo
 
15532
}
 
15533
 
 
15534
# func_arith arithmetic-term...
 
15535
func_arith ()
 
15536
{
 
15537
  func_arith_result=$(( $* ))
 
15538
}
 
15539
 
 
15540
# func_len string
 
15541
# STRING may not start with a hyphen.
 
15542
func_len ()
 
15543
{
 
15544
  func_len_result=${#1}
 
15545
}
 
15546
 
14942
15547
_LT_EOF
14943
15548
    ;;
14944
15549
  *) # Bourne compatible functions.
14945
15550
    cat << \_LT_EOF >> "$cfgfile"
 
15551
 
14946
15552
# func_dirname file append nondir_replacement
14947
15553
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14948
15554
# otherwise set result to NONDIR_REPLACEMENT.
14963
15569
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14964
15570
}
14965
15571
 
14966
 
# func_dirname_and_basename file append nondir_replacement
14967
 
# perform func_basename and func_dirname in a single function
14968
 
# call:
14969
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
14970
 
#             add APPEND to the result, otherwise set result
14971
 
#             to NONDIR_REPLACEMENT.
14972
 
#             value returned in "$func_dirname_result"
14973
 
#   basename: Compute filename of FILE.
14974
 
#             value retuned in "$func_basename_result"
14975
 
# Implementation must be kept synchronized with func_dirname
14976
 
# and func_basename. For efficiency, we do not delegate to
14977
 
# those functions but instead duplicate the functionality here.
14978
 
func_dirname_and_basename ()
14979
 
{
14980
 
  # Extract subdirectory from the argument.
14981
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14982
 
  if test "X$func_dirname_result" = "X${1}"; then
14983
 
    func_dirname_result="${3}"
14984
 
  else
14985
 
    func_dirname_result="$func_dirname_result${2}"
14986
 
  fi
14987
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14988
 
}
14989
15572
 
14990
15573
# func_stripname prefix suffix name
14991
15574
# strip PREFIX and SUFFIX off of NAME.
15019
15602
{
15020
15603
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15021
15604
}
 
15605
 
 
15606
# func_xform libobj-or-source
 
15607
func_xform ()
 
15608
{
 
15609
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
15610
}
 
15611
 
 
15612
# func_arith arithmetic-term...
 
15613
func_arith ()
 
15614
{
 
15615
  func_arith_result=`expr "$@"`
 
15616
}
 
15617
 
 
15618
# func_len string
 
15619
# STRING may not start with a hyphen.
 
15620
func_len ()
 
15621
{
 
15622
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
15623
}
 
15624
 
15022
15625
_LT_EOF
15023
15626
esac
15024
15627
 
15043
15646
{
15044
15647
  eval "$1=\$$1\$2"
15045
15648
}
 
15649
 
15046
15650
_LT_EOF
15047
15651
    ;;
15048
15652
  esac