Skip to content

Commit

Permalink
undid change
Browse files Browse the repository at this point in the history
  • Loading branch information
sananthanarayan committed Jan 17, 2025
1 parent 78dc69b commit 8b92b51
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions Modules/ThirdParty/HDF5/src/itkhdf5/c++/src/h5c++.in
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ for arg in $@ ; do

do_link="no"
dash_c="-c"
;
;;
-o)
if test "x$dash_c" = "x-c"; then
compile_args="$compile_args $arg"
Expand All @@ -214,45 +214,45 @@ for arg in $@ ; do
do_link="yes"
get_output_file="yes"
fi
;
;;
-E|-M|-MT)
compile_args="$compile_args $arg"
dash_c="-c"
do_link="no"
;
;;
-l*)
libraries=" $libraries $arg "
;
;;
-prefix=*)
prefix="`expr "$arg" : '-prefix=\(.*\)'`"
;
;;
-echo)
set -x
;
;;
-show)
SHOW="echo"
;
;;
-showconfig)
showconfigure
exit $status
;
;;
-shlib)
USE_SHARED_LIB="yes"
;
;;
-noshlib)
USE_SHARED_LIB="no"
;
;;
-help)
usage
;
;;
*\"*)
qarg="'"$arg"'"
qargs="$qargs $qarg"
;
;;
*\'*)
qarg='"'"$arg"'"'
qargs="$qargs $qarg"
;
;;
*)
if [ -s "$arg" ] ; then
ext=`expr "$arg" : '.*\(\..*\)'`
Expand Down Expand Up @@ -280,7 +280,7 @@ for arg in $@ ; do
compile_args="$compile_args $arg"
link_args="$link_args $arg"
fi
;
;;
esac
done
link_args="$link_args $qargs"
Expand Down Expand Up @@ -312,15 +312,15 @@ if test "x$do_link" = "xyes"; then
# MacOS X doesn't support the "-Wl,-rpath -Wl," style of linker flags.
# It appears to want none of them specified.
case "$host_os" in
darwin*) flag="" ;
*) flag="-Wl,-rpath -Wl," ;
darwin*) flag="" ;;
*) flag="-Wl,-rpath -Wl," ;;
esac
;
hpux*) flag="-Wl,+b -Wl," ;
freebsd*|solaris*) flag="-R" ;
rs6000*|aix*) flag="-L" ;
sgi) flag="-rpath " ;
*) flag="" ;
;;
hpux*) flag="-Wl,+b -Wl," ;;
freebsd*|solaris*) flag="-R" ;;
rs6000*|aix*) flag="-L" ;;
sgi) flag="-rpath " ;;
*) flag="" ;;
esac

if test -n "$flag"; then
Expand All @@ -334,19 +334,19 @@ if test "x$do_link" = "xyes"; then
case "$lib" in
-lhdf5)
new_libraries="$new_libraries ${libdir}/libhdf5.a"
;
;;
-lhdf5_hl)
new_libraries="$new_libraries ${libdir}/libhdf5_hl.a"
;
;;
-lhdf5_cpp)
new_libraries="$new_libraries ${libdir}/libhdf5_cpp.a"
;
;;
-lhdf5_hl_cpp)
new_libraries="$new_libraries ${libdir}/libhdf5_hl_cpp.a"
;
;;
*)
new_libraries="$new_libraries $lib"
;
;;
esac
done
libraries="$new_libraries"
Expand Down

0 comments on commit 8b92b51

Please sign in to comment.