Changeset 638b6a in git
- Timestamp:
- Mar 15, 2004, 2:36:29 PM (20 years ago)
- Branches:
- (u'spielwiese', 'a719bcf0b8dbc648b128303a49777a094b57592c')
- Children:
- a5e67fb1d8c3b440c5911cc422d60e30701248ab
- Parents:
- a880e537d54d933abe28e817d141a624a3dd2fce
- Location:
- MP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
MP/configure
ra880e53 r638b6a 64 64 ac_help="$ac_help 65 65 \ 66 --with-malloc =HEADER use external malloc routines declared in HEADER"66 --with-malloc_h=HEADER use external malloc routines declared in HEADER" 67 67 68 68 # Initialize some variables set by options. … … 3775 3775 3776 3776 3777 # Check whether --with-malloc or --without-mallocwas given.3778 if test "${with_malloc +set}" = set; then3779 withval="$with_malloc "3780 : 3781 fi 3782 3783 3784 if test "${with_malloc +set}" = set; then3785 ac_safe=`echo "${with_malloc }" | sed 'y%./+-%__p_%'`3786 echo $ac_n "checking for ${with_malloc }""... $ac_c" 1>&63787 echo "configure:3788: checking for ${with_malloc }" >&53777 # Check whether --with-malloc_h or --without-malloc_h was given. 3778 if test "${with_malloc_h+set}" = set; then 3779 withval="$with_malloc_h" 3780 : 3781 fi 3782 3783 3784 if test "${with_malloc_h+set}" = set; then 3785 ac_safe=`echo "${with_malloc_h}" | sed 'y%./+-%__p_%'` 3786 echo $ac_n "checking for ${with_malloc_h}""... $ac_c" 1>&6 3787 echo "configure:3788: checking for ${with_malloc_h}" >&5 3788 3788 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3789 3789 echo $ac_n "(cached) $ac_c" 1>&6 … … 3792 3792 #line 3793 "configure" 3793 3793 #include "confdefs.h" 3794 #include <${with_malloc }>3794 #include <${with_malloc_h}> 3795 3795 EOF 3796 3796 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" … … 3820 3820 echo $ac_n "checking where malloc rotuines come from""... $ac_c" 1>&6 3821 3821 echo "configure:3822: checking where malloc rotuines come from" >&5 3822 if test "${with_malloc +set}" = set; then3823 echo "$ac_t""${with_malloc }" 1>&63822 if test "${with_malloc_h+set}" = set; then 3823 echo "$ac_t""${with_malloc_h}" 1>&6 3824 3824 cat >> confdefs.h <<\EOF 3825 3825 #define WITH_EXTERNAL_MALLOC 1 … … 3827 3827 3828 3828 cat >> confdefs.h <<EOF 3829 #define EXTERNAL_MALLOC_H "${with_malloc }"3829 #define EXTERNAL_MALLOC_H "${with_malloc_h}" 3830 3830 EOF 3831 3831 -
MP/configure.in
ra880e53 r638b6a 477 477 478 478 dnl Check for external memory managements 479 AC_ARG_WITH(malloc , \480 [ --with-malloc =HEADER use external malloc routines declared in HEADER])481 482 if test "${with_malloc +set}" = set; then483 AC_CHECK_HEADER(${with_malloc },,with_malloc=)479 AC_ARG_WITH(malloc_h, \ 480 [ --with-malloc_h=HEADER use external malloc routines declared in HEADER]) 481 482 if test "${with_malloc_h+set}" = set; then 483 AC_CHECK_HEADER(${with_malloc_h},,with_malloc=) 484 484 fi 485 485 AC_MSG_CHECKING(where malloc rotuines come from) 486 if test "${with_malloc +set}" = set; then487 AC_MSG_RESULT(${with_malloc })486 if test "${with_malloc_h+set}" = set; then 487 AC_MSG_RESULT(${with_malloc_h}) 488 488 AC_DEFINE(WITH_EXTERNAL_MALLOC) 489 AC_DEFINE_UNQUOTED(EXTERNAL_MALLOC_H, "${with_malloc }")489 AC_DEFINE_UNQUOTED(EXTERNAL_MALLOC_H, "${with_malloc_h}") 490 490 else 491 491 AC_MSG_RESULT(stdlib.h)
Note: See TracChangeset
for help on using the changeset viewer.