]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/acinclude.m4
implementing the copy contructors for two helper classes because compiler on macos...
[u/mrichter/AliRoot.git] / HLT / acinclude.m4
index 8cb3d72324e527c630f28e64bf414cf8c03d06cc..3f8c4886fc8a9e1ee9ac8f0286e4f55948abedbc 100644 (file)
@@ -149,7 +149,8 @@ AC_DEFUN([ROOT_PATH],
   else 
    rootbin=$PATH
   fi
-  AC_PATH_PROG(ROOTCONF, root-config , no, $rootbin)
+  AC_PATH_PROG(ROOTCONF, root-config , no, $rootbin)   # used by HLT build system
+  AC_PATH_PROG(ROOTCONFIG, root-config , no, $rootbin) # used by AliRoot build system
   AC_PATH_PROG(ROOTEXEC, root , no, $rootbin)
   AC_PATH_PROG(ROOTCINT, rootcint , no, $rootbin)
        
@@ -276,7 +277,9 @@ AC_ARG_ENABLE([$1],
      save_LIBS="$LIBS"
      CPPFLAGS="$save_CPPFLAGS [$3]"
 
-     AC_CHECK_HEADERS([$2], [], [enable_module="missheader"])
+     if test "x[$2]" != "x"; then
+        AC_CHECK_HEADERS([$2], [], [enable_module="missheader"])
+     fi
 
      dnl ==========================================================================
      dnl