~ubuntu-branches/ubuntu/dapper/boost/dapper

« back to all changes in this revision

Viewing changes to libs/config/configure

  • Committer: Bazaar Package Importer
  • Author(s): Domenico Andreoli, Christophe Prud'homme, Domenico Andreoli
  • Date: 2006-01-11 11:11:42 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060111111142-xy6z1i5himlgu8iw
Tags: 1.33.1-2
[ Christophe Prud'homme ]
* Bug fix: "libboost-wave-dev: Dependency on libboost-filesystem-dev
  missing", thanks to Martin v . Löwis (Closes: #346367).

[ Domenico Andreoli ]
* boost/graph/topological_sort.hpp: removed name of unused parameter
  to prevent long compiler warning.  Closes: #347519.
* Applied patch from upstream CVS to fix parsing of valid options
  with a common root.  Closes: #345714.
* libboost-python-dev now correctly depends on python2.4-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1304
1304
 
1305
1305
fi;
1306
1306
 
 
1307
 
 
1308
if test -f /bin/sed ; then
 
1309
   SED=/bin/sed
 
1310
else
 
1311
   if test -f /usr/bin/sed ; then
 
1312
      SED=/usr/bin/sed
 
1313
   else
 
1314
      SED=sed
 
1315
   fi
 
1316
fi
 
1317
 
1307
1318
echo "$as_me:$LINENO: checking for boost main tree" >&5
1308
1319
echo $ECHO_N "checking for boost main tree... $ECHO_C" >&6
1309
1320
boost_base=
1315
1326
  #echo "--with boost is set"
1316
1327
  if test "x$withval" != "x"; then
1317
1328
    if test "x$withval" != no; then
1318
 
      boost_base=`echo "$withval" | sed 's,//*,/,g' | sed 's,/$,,'`
 
1329
      boost_base=`echo "$withval" | $SED 's,//*,/,g' | $SED 's,/$,,'`
1319
1330
      #echo boost_base=$boost_base
1320
1331
      if test -f "$boost_base/boost/config.hpp"; then
1321
1332
        if test -f "$boost_base/libs/config/configure"; then :; else
2171
2182
#
2172
2183
for file in $boost_base/libs/config/test/boost_no*.ipp; do
2173
2184
 
2174
 
   basename=`echo $file | sed 's/.*boost_\(.*\)\.ipp/\1/'`
2175
 
   macroname=`cat $file | grep '^//[]    []*MACRO:' | sed 's/.*MACRO:[]    []*\([]_A-Z0-9[]*\).*/\1/'`
2176
 
   title=`cat $file | grep '^//[]  []*TITLE:' | sed 's/.*TITLE:[]    []*\([]^  [].*\)/\1/'`
 
2185
   basename=`echo $file | $SED 's/.*boost_\(.*\)\.ipp/\1/'`
 
2186
   macroname=`cat $file | grep '^//[    ]*MACRO:' | $SED 's/.*MACRO:[   ]*\([_A-Z0-9]*\).*/\1/'`
 
2187
   title=`cat $file | grep '^//[        ]*TITLE:' | $SED 's/.*TITLE:[   ]*\([^  ].*\)/\1/'`
2177
2188
   namespace=`echo $macroname | tr [A-Z] [a-z]`
2178
2189
 
2179
2190
#echo file      = $file
2312
2323
#
2313
2324
for file in $boost_base/libs/config/test/boost_has*.ipp; do
2314
2325
 
2315
 
   basename=`echo $file | sed 's/.*boost_\(.*\)\.ipp/\1/'`
2316
 
   macroname=`cat $file | grep '^//[]    []*MACRO:' | sed 's/.*MACRO:[]    []*\([]_A-Z0-9[]*\).*/\1/'`
2317
 
   title=`cat $file | grep '^//[]  []*TITLE:' | sed 's/.*TITLE:[]    []*\([]^  [].*\)/\1/'`
 
2326
   basename=`echo $file | $SED 's/.*boost_\(.*\)\.ipp/\1/'`
 
2327
   macroname=`cat $file | grep '^//[    ]*MACRO:' | $SED 's/.*MACRO:[   ]*\([_A-Z0-9]*\).*/\1/'`
 
2328
   title=`cat $file | grep '^//[        ]*TITLE:' | $SED 's/.*TITLE:[   ]*\([^  ].*\)/\1/'`
2318
2329
   namespace=`echo $macroname | tr [A-Z] [a-z]`
2319
2330
 
2320
2331
#  echo $file
2663
2674
  # 1. Remove the extension, and $U if already installed.
2664
2675
  ac_i=`echo "$ac_i" |
2665
2676
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2666
 
  # 2. Add them.
2667
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2668
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
2677
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
2678
  #    will be set to the directory where LIBOBJS objects are built.
 
2679
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
2680
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2669
2681
done
2670
2682
LIBOBJS=$ac_libobjs
2671
2683
 
3341
3353
 
3342
3354
 
3343
3355
 
 
3356