[svn-r6856] Purpose:

Bug Fix

Description:
    When doing a "configure" using the h5cc script as the compiler, it
    would fail to accept the "-E" flag as running the preprocessor. The
    problem was that it was trying to link the file afterwards. Of
    course, the file wouldn't be there, so it would fail.

Solution:
    Changed it so that if the -E flag is used, then we don't try to link
    (this is how it's done in mpicc...I must have copied it wrongly).

Platforms tested:
    Linux & Kelgia (small change not needing full testing)

Misc. update:
This commit is contained in:
Bill Wendling 2003-05-13 10:52:13 -05:00
parent 699d1727e0
commit 8751379484

View File

@ -151,7 +151,7 @@ for arg in $@ ; do
allargs="$allargs $arg"
compile_args="$compile_args $arg"
dash_c="yes"
dash_o="no"
do_link="no"
;;
-l*)
link_args="$link_args $arg"