We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ecd28c + 7305765 commit fd641f5Copy full SHA for fd641f5
configure
@@ -96,11 +96,12 @@ if(-e $BANNER_FILE) {
96
close(BANNER);
97
}
98
99
-# Check that $ROOTSYS is set
+# Check that ROOT can be seen
100
#
101
-$ROOTSYS = $ENV{'ROOTSYS'};
102
-die ("*** Error *** The ROOTSYS environmental variable is not defined. Is ROOT installed?")
103
-unless defined $ROOTSYS;
+`hash root-config`;
+$HAVE_ROOT_CONFIG = $?;
+die ("*** Error *** Cannot find root-config. Is ROOT installed?")
104
+unless $HAVE_ROOT_CONFIG == 0;
105
106
# Check whether ROOT itself was build with GSL enabled
107
# (GENIE uses GSL via ROOT's MathMore library.)
0 commit comments