Explorar o código

tools: make starpu_workers_activity a .in file to substitute variables defined in configure.ac

Nathalie Furmento %!s(int64=13) %!d(string=hai) anos
pai
achega
fb3b5345f5
Modificáronse 2 ficheiros con 4 adicións e 2 borrados
  1. 2 0
      configure.ac
  2. 2 2
      tools/starpu_workers_activity

+ 2 - 0
configure.ac

@@ -1589,6 +1589,7 @@ AC_CHECK_MEMBER([struct cudaDeviceProp.pciBusID],
 AC_CONFIG_COMMANDS([executable-scripts], [
   chmod +x tests/regression/regression.sh
   chmod +x gcc-plugin/tests/run-test
+  chmod +x tools/starpu_workers_activity
 ])
 
 AC_CONFIG_FILES(tests/regression/regression.sh tests/regression/profiles tests/regression/profiles.build.only)
@@ -1598,6 +1599,7 @@ AC_OUTPUT([
 	Makefile
 	src/Makefile
 	tools/Makefile
+	tools/starpu_workers_activity
 	socl/Makefile
 	socl/src/Makefile
 	socl/examples/Makefile

+ 2 - 2
tools/starpu_workers_activity

@@ -33,12 +33,12 @@ usage()
     echo "	-h, --help          display this help and exit"
     echo "	-v, --version       output version information and exit"
     echo ""
-    echo "Report bugs to <$PACKAGE_BUGREPORT>"
+    echo "Report bugs to <@PACKAGE_BUGREPORT@>"
     exit 0
 }
 
 if [ "$1" == "-v" ] || [ "$1" == "--version" ] ; then
-    echo "$PROGNAME ${STARPU_MAJOR_VERSION}.${STARPU_MINOR_VERSION}"
+    echo "$PROGNAME @STARPU_MAJOR_VERSION@.@STARPU_MINOR_VERSION@"
     exit 0
 fi