Changeset 1251


Ignore:
Timestamp:
Mar 31, 2009 4:18:20 PM (11 years ago)
Author:
andreasw
Message:

make sure that preprocessor flags only appear for C compiler (fixed ticket #71)

Location:
ThirdParty/Mumps/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Mumps/trunk/Makefile.am

    r1186 r1251  
    4848DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)`
    4949
    50 AM_CPPFLAGS = -DMUMPS_ARITH=MUMPS_ARITH_d \
     50AM_CPPFLAGS = \
    5151        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/src` \
    5252        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/libseq` \
  • ThirdParty/Mumps/trunk/Makefile.in

    r1232 r1251  
    299299
    300300DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)`
    301 AM_CPPFLAGS = -DMUMPS_ARITH=MUMPS_ARITH_d \
     301AM_CPPFLAGS = \
    302302        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/src` \
    303303        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/libseq` \
  • ThirdParty/Mumps/trunk/configure

    r1233 r1251  
    53715371
    53725372
    5373 MY_DEFS="$MY_DEFS -DALLOW_NON_INIT"
    5374 
     5373MY_DEFS="$MY_DEFS -DALLOW_NON_INIT -DMUMPS_ARITH=MUMPS_ARITH_d"
     5374
     5375
     5376echo "$as_me:$LINENO: checking for additional preprocessor C flags" >&5
     5377echo $ECHO_N "checking for additional preprocessor C flags... $ECHO_C" >&6
     5378echo "$as_me:$LINENO: result: $MY_DEFS" >&5
     5379echo "${ECHO_T}$MY_DEFS" >&6
    53755380
    53765381# Initialize automake
     
    69926997*-*-irix6*)
    69936998  # Find out which ABI we are using.
    6994   echo '#line 6994 "configure"' > conftest.$ac_ext
     6999  echo '#line 6999 "configure"' > conftest.$ac_ext
    69957000  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    69967001  (eval $ac_compile) 2>&5
     
    89888993   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    89898994   -e 's:$: $lt_compiler_flag:'`
    8990    (eval echo "\"\$as_me:8990: $lt_compile\"" >&5)
     8995   (eval echo "\"\$as_me:8995: $lt_compile\"" >&5)
    89918996   (eval "$lt_compile" 2>conftest.err)
    89928997   ac_status=$?
    89938998   cat conftest.err >&5
    8994    echo "$as_me:8994: \$? = $ac_status" >&5
     8999   echo "$as_me:8999: \$? = $ac_status" >&5
    89959000   if (exit $ac_status) && test -s "$ac_outfile"; then
    89969001     # The compiler can only warn and ignore the option if not recognized
     
    92569261   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    92579262   -e 's:$: $lt_compiler_flag:'`
    9258    (eval echo "\"\$as_me:9258: $lt_compile\"" >&5)
     9263   (eval echo "\"\$as_me:9263: $lt_compile\"" >&5)
    92599264   (eval "$lt_compile" 2>conftest.err)
    92609265   ac_status=$?
    92619266   cat conftest.err >&5
    9262    echo "$as_me:9262: \$? = $ac_status" >&5
     9267   echo "$as_me:9267: \$? = $ac_status" >&5
    92639268   if (exit $ac_status) && test -s "$ac_outfile"; then
    92649269     # The compiler can only warn and ignore the option if not recognized
     
    93609365   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    93619366   -e 's:$: $lt_compiler_flag:'`
    9362    (eval echo "\"\$as_me:9362: $lt_compile\"" >&5)
     9367   (eval echo "\"\$as_me:9367: $lt_compile\"" >&5)
    93639368   (eval "$lt_compile" 2>out/conftest.err)
    93649369   ac_status=$?
    93659370   cat out/conftest.err >&5
    9366    echo "$as_me:9366: \$? = $ac_status" >&5
     9371   echo "$as_me:9371: \$? = $ac_status" >&5
    93679372   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    93689373   then
     
    1177711782  lt_status=$lt_dlunknown
    1177811783  cat > conftest.$ac_ext <<EOF
    11779 #line 11779 "configure"
     11784#line 11784 "configure"
    1178011785#include "confdefs.h"
    1178111786
     
    1187711882  lt_status=$lt_dlunknown
    1187811883  cat > conftest.$ac_ext <<EOF
    11879 #line 11879 "configure"
     11884#line 11884 "configure"
    1188011885#include "confdefs.h"
    1188111886
     
    1423714242   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1423814243   -e 's:$: $lt_compiler_flag:'`
    14239    (eval echo "\"\$as_me:14239: $lt_compile\"" >&5)
     14244   (eval echo "\"\$as_me:14244: $lt_compile\"" >&5)
    1424014245   (eval "$lt_compile" 2>conftest.err)
    1424114246   ac_status=$?
    1424214247   cat conftest.err >&5
    14243    echo "$as_me:14243: \$? = $ac_status" >&5
     14248   echo "$as_me:14248: \$? = $ac_status" >&5
    1424414249   if (exit $ac_status) && test -s "$ac_outfile"; then
    1424514250     # The compiler can only warn and ignore the option if not recognized
     
    1434114346   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1434214347   -e 's:$: $lt_compiler_flag:'`
    14343    (eval echo "\"\$as_me:14343: $lt_compile\"" >&5)
     14348   (eval echo "\"\$as_me:14348: $lt_compile\"" >&5)
    1434414349   (eval "$lt_compile" 2>out/conftest.err)
    1434514350   ac_status=$?
    1434614351   cat out/conftest.err >&5
    14347    echo "$as_me:14347: \$? = $ac_status" >&5
     14352   echo "$as_me:14352: \$? = $ac_status" >&5
    1434814353   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1434914354   then
     
    1591115916   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1591215917   -e 's:$: $lt_compiler_flag:'`
    15913    (eval echo "\"\$as_me:15913: $lt_compile\"" >&5)
     15918   (eval echo "\"\$as_me:15918: $lt_compile\"" >&5)
    1591415919   (eval "$lt_compile" 2>conftest.err)
    1591515920   ac_status=$?
    1591615921   cat conftest.err >&5
    15917    echo "$as_me:15917: \$? = $ac_status" >&5
     15922   echo "$as_me:15922: \$? = $ac_status" >&5
    1591815923   if (exit $ac_status) && test -s "$ac_outfile"; then
    1591915924     # The compiler can only warn and ignore the option if not recognized
     
    1601516020   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1601616021   -e 's:$: $lt_compiler_flag:'`
    16017    (eval echo "\"\$as_me:16017: $lt_compile\"" >&5)
     16022   (eval echo "\"\$as_me:16022: $lt_compile\"" >&5)
    1601816023   (eval "$lt_compile" 2>out/conftest.err)
    1601916024   ac_status=$?
    1602016025   cat out/conftest.err >&5
    16021    echo "$as_me:16021: \$? = $ac_status" >&5
     16026   echo "$as_me:16026: \$? = $ac_status" >&5
    1602216027   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1602316028   then
     
    1822218227   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1822318228   -e 's:$: $lt_compiler_flag:'`
    18224    (eval echo "\"\$as_me:18224: $lt_compile\"" >&5)
     18229   (eval echo "\"\$as_me:18229: $lt_compile\"" >&5)
    1822518230   (eval "$lt_compile" 2>conftest.err)
    1822618231   ac_status=$?
    1822718232   cat conftest.err >&5
    18228    echo "$as_me:18228: \$? = $ac_status" >&5
     18233   echo "$as_me:18233: \$? = $ac_status" >&5
    1822918234   if (exit $ac_status) && test -s "$ac_outfile"; then
    1823018235     # The compiler can only warn and ignore the option if not recognized
     
    1849018495   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1849118496   -e 's:$: $lt_compiler_flag:'`
    18492    (eval echo "\"\$as_me:18492: $lt_compile\"" >&5)
     18497   (eval echo "\"\$as_me:18497: $lt_compile\"" >&5)
    1849318498   (eval "$lt_compile" 2>conftest.err)
    1849418499   ac_status=$?
    1849518500   cat conftest.err >&5
    18496    echo "$as_me:18496: \$? = $ac_status" >&5
     18501   echo "$as_me:18501: \$? = $ac_status" >&5
    1849718502   if (exit $ac_status) && test -s "$ac_outfile"; then
    1849818503     # The compiler can only warn and ignore the option if not recognized
     
    1859418599   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1859518600   -e 's:$: $lt_compiler_flag:'`
    18596    (eval echo "\"\$as_me:18596: $lt_compile\"" >&5)
     18601   (eval echo "\"\$as_me:18601: $lt_compile\"" >&5)
    1859718602   (eval "$lt_compile" 2>out/conftest.err)
    1859818603   ac_status=$?
    1859918604   cat out/conftest.err >&5
    18600    echo "$as_me:18600: \$? = $ac_status" >&5
     18605   echo "$as_me:18605: \$? = $ac_status" >&5
    1860118606   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1860218607   then
  • ThirdParty/Mumps/trunk/configure.ac

    r1232 r1251  
    8787AC_COIN_CHECK_HEADER([pthread.h],,[MY_DEFS="$MY_DEFS -DWITHOUT_PTHREAD=1"])
    8888
    89 MY_DEFS="$MY_DEFS -DALLOW_NON_INIT"
     89MY_DEFS="$MY_DEFS -DALLOW_NON_INIT -DMUMPS_ARITH=MUMPS_ARITH_d"
    9090AC_SUBST(MY_DEFS)
     91
     92AC_MSG_CHECKING([for additional preprocessor C flags])
     93AC_MSG_RESULT([$MY_DEFS])
    9194
    9295# Initialize automake
Note: See TracChangeset for help on using the changeset viewer.