浏览代码

tools/starpu_codelet_profile.in: check bash location

Nathalie Furmento 12 年之前
父节点
当前提交
d3e58c1c93
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 3 0
      configure.ac
  2. 1 1
      tools/starpu_codelet_profile.in

+ 3 - 0
configure.ac

@@ -78,6 +78,9 @@ AC_HEADER_STDC
 
 AC_C_RESTRICT
 
+# Check if bash is available
+AC_CHECK_PROGS([BASH], [bash])
+
 AC_PATH_PROGS([STARPU_MS_LIB], [lib])
 AC_ARG_VAR([STARPU_MS_LIB], [Path to Microsoft's Visual Studio `lib' tool])
 AM_CONDITIONAL([STARPU_HAVE_MS_LIB], [test "x$STARPU_MS_LIB" != "x"])

+ 1 - 1
tools/starpu_codelet_profile.in

@@ -1,4 +1,4 @@
-#!/bin/bash
+#!@BASH@
 
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #