fix: TPROCTE_HOME Being Used In Place Of TPRO_HOME

When compiling Trick with the --with-tpro option for use of a real-time clock, the TPROCTE_HOME variable was being assigned the contents of the withval variable instead of being assigned to the TPRO_HOME variable. The TPROCTE_HOME variable was never used and the TPRO_HOME variable will always be an empty string. Thus, the configuration file will always check for only /h/tpro.h instead of <user-provided-path-to-tpro>/h/tpro.h
This commit is contained in:
Esteban Duran 2019-05-21 21:58:49 -05:00 committed by GitHub
parent c4bc35d897
commit 9bfd314726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
configure vendored
View File

@ -624,7 +624,7 @@ USE_ER7_UTILS
GTEST_HOME
GSL_HOME
BC635_HOME
TPROCTE_HOME
TPRO_HOME
DMTCP_HOME
HDF5_HOME
UDUNITS_EXCLUDE
@ -7076,7 +7076,7 @@ fi
# Check whether --with-tpro was given.
if test "${with_tpro+set}" = set; then :
withval=$with_tpro; TPROCTE_HOME="$withval"
withval=$with_tpro; TPRO_HOME="$withval"
as_ac_File=`$as_echo "ac_cv_file_$TPRO_HOME/h/tpro.h" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $TPRO_HOME/h/tpro.h" >&5
$as_echo_n "checking for $TPRO_HOME/h/tpro.h... " >&6; }
@ -7103,7 +7103,7 @@ fi
else
TPROCTE_HOME=""
TPRO_HOME=""
fi