/[gcl]/gcl/configure.in
ViewVC logotype

Diff of /gcl/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.199 by camm, Wed Sep 21 18:45:03 2005 UTC revision 1.200 by camm, Thu Sep 22 21:07:18 2005 UTC
# Line 280  def_custreloc="no" Line 280  def_custreloc="no"
280  def_locbfd="no"  def_locbfd="no"
281  def_pic="no";  def_pic="no";
282  def_static="no";  def_static="no";
 def_static="debug";  
283  case $use in  case $use in
284       *linux)       *linux)
285          ln -snf linux.defs h/$use.defs;          ln -snf linux.defs h/$use.defs;
# Line 293  case $use in Line 292  case $use in
292  # def_static -- Function descriptors are currently realized at runtime in a non-reproducible fashion  # def_static -- Function descriptors are currently realized at runtime in a non-reproducible fashion
293  # on these architectures -- CM                    # on these architectures -- CM                  
294                  ia64*)                  ia64*)
295                          def_dlopen="yes" ; def_statsysbfd="no" ; def_static="no" ;;                          def_dlopen="yes" ; def_statsysbfd="no" ;;
296                  hppa*)                  hppa*)
297                          def_dlopen="yes" ; def_statsysbfd="no" ; def_pic="yes" ; def_debug="yes" ;;                          def_dlopen="yes" ; def_statsysbfd="no" ; def_pic="yes" ; def_debug="yes" ;;
298          esac;;          esac;;
# Line 376  fi Line 375  fi
375    
376  TLIBS=""  TLIBS=""
377  if test "$enable_static" = "yes" ; then  if test "$enable_static" = "yes" ; then
378     TLIBS="-static $TLIBS";     TLIBS="-static -Wl,-zmuldefs $TLIBS";
379       AC_DEFINE(STATIC_LINKING)
380  fi  fi
381    
382  ## finally warn if we did not find a recognized machine.s  ## finally warn if we did not find a recognized machine.s
# Line 1248  AC_MSG_CHECKING(for shared library/C sta Line 1248  AC_MSG_CHECKING(for shared library/C sta
1248  if test "$use" = "mingw" ; then  if test "$use" = "mingw" ; then
1249    heap_ceiling=2000000000    heap_ceiling=2000000000
1250  else  else
1251    if test "$enable_static" = "yes" ; then
1252      heap_ceiling=0x0
1253    else
1254  echo "int main() {return 0;}" >foo.c  echo "int main() {return 0;}" >foo.c
1255  $CC foo.c -o foo  $CC foo.c -o foo
1256  heap_ceiling=`ldd foo | tail -n 1 | awk '{print $NF}' | tr -d '()'`  heap_ceiling=`ldd foo | tail -n 1 | awk '{print $NF}' | tr -d '()'`
# Line 1260  int main() { Line 1263  int main() {
1263      fprintf(fp,"0x%lx",h);      fprintf(fp,"0x%lx",h);
1264      return 0;}],heap_ceiling=`cat conftest1`,echo failed;exit 1,echo failed;exit 1)      return 0;}],heap_ceiling=`cat conftest1`,echo failed;exit 1,echo failed;exit 1)
1265  fi  fi
1266    fi
1267  AC_MSG_RESULT($heap_ceiling)  AC_MSG_RESULT($heap_ceiling)
1268  AC_DEFINE_UNQUOTED(SHARED_LIB_HEAP_CEILING,$heap_ceiling)  AC_DEFINE_UNQUOTED(SHARED_LIB_HEAP_CEILING,$heap_ceiling)
1269    

Legend:
Removed from v.1.199  
changed lines
  Added in v.1.200

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26