-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
564 lines (472 loc) · 18.5 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
# Configure script for ISP
# =============================================================================
# MACROS
# =============================================================================
# ====================
# SEARCH_MPIDIR
# ====================
# Find path of MPI directory.
AC_DEFUN([SEARCH_MPIDIR], [
MPI_PATH=/usr/local$PATH_SEPARATOR/usr/local/mpich$PATH_SEPARATOR/usr$PATH_SEPARATOR/usr/mpich
AC_PATH_PROGS([mpi_dir],[bin/mpiexec bin/mpirun],[],${MPI_PATH})
mpi_dir=`echo ${mpi_dir} | sed -e 's,/bin/mpiexec$,,g' -e 's,/bin/mpirun$,,g'`
]) # end of SEARCH_MPIDIR
# ====================
# SEARCH_MPICC
# ====================
# Find name and path of MPI C compiler.
AC_DEFUN([SEARCH_MPICC], [
MPI_PATH=$mpi_bin_dir$PATH_SEPARATOR$mpi_dir/bin$PATH_SEPARATOR$PATH$PATH_SEPARATOR/usr/local/bin$PATH_SEPARATOR/usr/local/mpich/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR/usr/mpich/bin
AC_PATH_PROGS([mpicc],[mpicc mpcc mpcc_r],[],${MPI_PATH})
]) # end of SEARCH_MPICC
# ====================
# SEARCH_MPICXX
# ====================
# Find name and path of MPI cxx compiler.
AC_DEFUN([SEARCH_MPICXX], [
MPI_PATH=$mpi_bin_dir$PATH_SEPARATOR$mpi_dir/bin$PATH_SEPARATOR$PATH$PATH_SEPARATOR/usr/local/bin$PATH_SEPARATOR/usr/local/mpich/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR/usr/mpich/bin
AC_PATH_PROGS([mpicxx],[mpicxx mpiCC mpCC mpCC_r],[],${MPI_PATH})
]) # end of SEARCH_MPICXX
# ====================
# SEARCH_JAVA
# ====================
# Find the path of java, javac, and jar.
AC_DEFUN([SEARCH_JAVA], [
if test -z "${JAVA_HOME}" ; then
JAVA_PATH=${PATH}
else
## try jre/bin first just in case we don't have full JDK
JAVA_PATH=${JAVA_HOME}$PATH_SEPARATOR${JAVA_HOME}/jre/bin$PATH_SEPARATOR${JAVA_HOME}/bin$PATH_SEPARATOR${JAVA_HOME}/../bin$PATH_SEPARATOR${PATH}
fi
JAVA_PATH=${JAVA_PATH}$PATH_SEPARATOR/usr/java/bin$PATH_SEPARATOR/usr/jdk/bin$PATH_SEPARATOR/usr/lib/java/bin$PATH_SEPARATOR/usr/lib/jdk/bin$PATH_SEPARATOR/usr/local/java/bin$PATH_SEPARATOR/usr/local/jdk/bin$PATH_SEPARATOR/usr/local/lib/java/bin$PATH_SEPARATOR/usr/local/lib/jdk/bin
AC_PATH_PROG(java,java,[java],${JAVA_PATH})
AC_PATH_PROG(javac,javac,[javac],${JAVA_PATH})
AC_PATH_PROG(jar,jar,[jar],${JAVA_PATH})
]) #end of SEARCH_JAVA
# =====================
# CHECK_MPIC_COMPILE
# =====================
# Check compilation of MPI C program.
# Try with MPI_Finalize and also with PMPI_Finalize.
AC_DEFUN([CHECK_MPIC_COMPILE], [
AC_MSG_CHECKING([for compilation of an MPI C program])
old_CC=$CC
old_CFLAGS=$CFLAGS
old_LIBS=$LIBS
CC="$mpicc"
CFLAGS=""
LIBS=""
# Only test for MPI_Finalize; MPI_Init takes argc, argv,
# which configure-main doesn't provide
AC_LANG_PUSH(C)
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([#include "mpi.h"],
[MPI_Finalize();],
[PMPI_Finalize();])],
[AC_MSG_RESULT([success])
AC_DEFINE([HAVE_MPI], [1],
[Define if program for MPI could be compiled and linked])],
[AC_MSG_ERROR([MPI C compiler not found; check paths for MPI package first...])])
AC_LANG_POP([C])
CC=$old_CC
CFLAGS=$old_CFLAGS
LIBS=$old_LIBS
]) # end of CHECK_MPIC_COMPILE
# =====================
# CHECK_MPICXX_COMPILE
# =====================
# Check compilation of MPI C++ program.
# Try with MPI_Finalize and also with PMPI_Finalize.
AC_DEFUN([CHECK_MPICXX_COMPILE], [
AC_MSG_CHECKING([for compilation of an MPI C++ program])
old_CXX=$CXX
old_CXXFLAGS=$CXXFLAGS
old_LIBS=$LIBS
CXX="$mpicxx"
CXXFLAGS=""
LIBS=""
# Only test for MPI_Finalize; MPI_Init takes argc, argv,
# which configure-main doesn't provide
success=1
AC_LANG_PUSH(C++)
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([#include "mpi.h"],
[MPI_Finalize();],
[PMPI_Finalize();])],
[AC_MSG_RESULT([success])
success=1],
[AC_MSG_WARN([MPI C++ compiler not found...])
success=0])
AC_LANG_POP([C++])
AM_CONDITIONAL([COND_MPICXX], [test "$success" = 1])
CXX=$old_CXX
CXXFLAGS=$old_CXXFLAGS
LIBS=$old_LIBS
]) # end of CHECK_MPICXX_COMPILE
# ====================
# AX_OPENMP
# ====================
# This is Steven G. Johnson's script to detect OpenMP. It is from:
# http://autoconf-archive.cryp.to/ax_openmp.html
AC_DEFUN([AX_OPENMP], [
AC_PREREQ(2.61) dnl for _AC_LANG_PREFIX
AC_CACHE_CHECK([for OpenMP flag of _AC_LANG compiler], ax_cv_[]_AC_LANG_ABBREV[]_openmp, [save[]_AC_LANG_PREFIX[]FLAGS=$[]_AC_LANG_PREFIX[]FLAGS
ax_cv_[]_AC_LANG_ABBREV[]_openmp=unknown
# Flags to try: -fopenmp (gcc), -openmp (icc), -mp (SGI & PGI),
# -xopenmp (Sun), -omp (Tru64), -qsmp=omp (AIX), none
ax_openmp_flags="-fopenmp -openmp -mp -xopenmp -omp -qsmp=omp none"
if test "x$OPENMP_[]_AC_LANG_PREFIX[]FLAGS" != x; then
ax_openmp_flags="$OPENMP_[]_AC_LANG_PREFIX[]FLAGS $ax_openmp_flags"
fi
for ax_openmp_flag in $ax_openmp_flags; do
case $ax_openmp_flag in
none) []_AC_LANG_PREFIX[]FLAGS=$save[]_AC_LANG_PREFIX[] ;;
*) []_AC_LANG_PREFIX[]FLAGS="$save[]_AC_LANG_PREFIX[]FLAGS $ax_openmp_flag" ;;
esac
AC_TRY_LINK_FUNC(omp_set_num_threads,
[ax_cv_[]_AC_LANG_ABBREV[]_openmp=$ax_openmp_flag; break])
done
[]_AC_LANG_PREFIX[]FLAGS=$save[]_AC_LANG_PREFIX[]FLAGS
])
if test "x$ax_cv_[]_AC_LANG_ABBREV[]_openmp" = "xunknown"; then
m4_default([$2],:)
else
if test "x$ax_cv_[]_AC_LANG_ABBREV[]_openmp" != "xnone"; then
OPENMP_[]_AC_LANG_PREFIX[]FLAGS=$ax_cv_[]_AC_LANG_ABBREV[]_openmp
fi
m4_default([$1], [AC_DEFINE(HAVE_OPENMP,1,[Define if OpenMP is enabled])])
openmpExists=1
fi
])dnl AX_OPENMP
# Expand a variable all the way, so it can be used in .in files.
AC_DEFUN([AS_AC_EXPAND],
[
EXP_VAR=[$1]
FROM_VAR=[$2]
dnl first expand prefix and exec_prefix if necessary
prefix_save=$prefix
exec_prefix_save=$exec_prefix
dnl if no prefix given, then use /usr/local, the default prefix
if test "x$prefix" = "xNONE"; then
prefix="$ac_default_prefix"
fi
dnl if no exec_prefix given, then use prefix
if test "x$exec_prefix" = "xNONE"; then
exec_prefix=$prefix
fi
full_var="$FROM_VAR"
dnl loop until it doesn't change anymore
while true; do
new_full_var="`eval echo $full_var`"
if test "x$new_full_var" = "x$full_var"; then break; fi
full_var=$new_full_var
done
dnl clean up
full_var=$new_full_var
AC_SUBST([$1], "$full_var")
dnl restore prefix and exec_prefix
prefix=$prefix_save
exec_prefix=$exec_prefix_save
])
# =============================================================================
# AUTOCONF STUFF
# =============================================================================
AC_PREREQ(2.61)
AC_INIT([isp],[0.2.0],[[email protected]])
AM_INIT_AUTOMAKE([isp], [0.2.0], [no-define])
AM_MAINTAINER_MODE
AC_CONFIG_SRCDIR([scheduler/Scheduler.cpp])
AC_CONFIG_SRCDIR([profiler/Profiler.c])
AC_CONFIG_SRCDIR([libopts/libopts.c])
AC_CONFIG_HEADER([libopts/config.h])
AC_CONFIG_HEADER([scheduler/config.hpp])
AC_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
AC_CONFIG_MACRO_DIR([m4])
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_RANLIB
# Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h unistd.h],
[],
[AC_MSG_ERROR([not found])])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
AC_TYPE_PID_T
AC_TYPE_SIZE_T
AC_HEADER_TIME
# Checks for library functions.
AC_FUNC_FORK
AC_FUNC_MALLOC
AC_FUNC_SELECT_ARGTYPES
AC_TYPE_SIGNAL
AC_CHECK_FUNCS([gethostbyname memmove memset select socket strdup])
#=====================
#LIBOPTS
AC_DISABLE_SHARED
case "${enable_local_libopts+set}" in
set) ;;
*) enable_local_libopts=yes ;;
esac
case "${enable_libopts_install+set}" in
set) ;;
*) enable_libopts_install=no ;;
esac
LIBOPTS_CHECK
#=====================
# =============================================================================
# ALLOW USER TO SET COMPILER
# =============================================================================
# C compiler
AC_ARG_WITH([cc],
AS_HELP_STRING([--with-cc=c_compiler],
[Give the path to C compiler [gcc]]),
[CC="$withval"]) # default
# C++ compiler
AC_ARG_WITH([cxx],
AS_HELP_STRING([--with-cxx=c++_compiler],
[Give the path to C++ compiler [g++]]),
[CXX="$withval"]) # default
# =============================================================================
# DETECT MPI
# =============================================================================
# MPI directory
#AC_MSG_CHECKING([for the MPI directory])
AC_ARG_WITH([mpi_dir],
AS_HELP_STRING([--with-mpi-dir=MPIDIR],
[Give the path for MPI @<:@search in standard locations@:>@]),
[AC_MSG_CHECKING([for the MPI directory]) # user option
mpi_dir="$withval"
AC_MSG_RESULT([$mpi_dir])],
[SEARCH_MPIDIR]) # default
#AC_MSG_RESULT([$mpi_dir])
MPIDIR=$mpi_dir
AC_SUBST([MPIDIR])
# MPI include directory (mpi.h)
AC_MSG_CHECKING([for the MPI include directory])
AC_ARG_WITH([mpi_inc_dir],
AS_HELP_STRING([--with-mpi-inc-dir=MPI_INCDIR],
[Give the path for MPI-include-files @<:@MPIDIR/include@:>@]),
[mpi_inc_dir="$withval"], # user option
[mpi_inc_dir="$mpi_dir/include"]) # default
if ![ test -f "$mpi_inc_dir/mpi.h" ] ; then
AC_MSG_ERROR([mpi.h not found - try using --with-mpi-dir=.. or --with-mpi-inc-dir=.. options])
fi
AC_MSG_RESULT([$mpi_inc_dir])
MPI_INCDIR=$mpi_inc_dir
AC_SUBST([MPI_INCDIR])
# MPI bin directory
AC_MSG_CHECKING([for the MPI bin directory])
AC_ARG_WITH([mpi_bin_dir],
AS_HELP_STRING([--with-mpi-bin-dir=MPI_BINDIR],
[Give the path for MPI-binaries @<:@MPIDIR/bin@:>@]),
[mpi_bin_dir="$withval"], # user option
[mpi_bin_dir="$mpi_dir/bin"]) # default
AC_MSG_RESULT([$mpi_bin_dir])
MPI_BINDIR=$mpi_bin_dir
AC_SUBST([MPI_BINDIR])
AM_CONDITIONAL([COND_HAS_MPIEXEC], [test -e "$mpi_bin_dir/mpiexec"])
# MPI c compiler
#AC_MSG_CHECKING([for the MPI c compiler])
AC_ARG_WITH([mpicc],
AS_HELP_STRING([--with-mpicc=MPICC],
[Give the path for the MPI c compiler @<:@detected automatically@:>@]),
[AC_MSG_CHECKING([for the MPI c compiler]) # user option
mpicc="$withval"
AC_MSG_RESULT([$mpicc])],
[SEARCH_MPICC]) # default
#AC_MSG_RESULT([$mpicc])
MPICC=$mpicc
AC_SUBST([MPICC])
# MPI cxx compiler
#AC_MSG_CHECKING([for the MPI cxx compiler])
AC_ARG_WITH([mpicxx],
AS_HELP_STRING([--with-mpicxx=MPICXX],
[Give the path for the MPI cxx compiler @<:@detected automatically@:>@]),
[AC_MSG_CHECKING([for the MPI cxx compiler]) # user option
mpicc="$withval"
AC_MSG_RESULT([$mpicc])],
[SEARCH_MPICXX]) # default
#AC_MSG_RESULT([$mpicxx])
MPICXX=$mpicxx
AC_SUBST([MPICXX])
CHECK_MPIC_COMPILE
CHECK_MPICXX_COMPILE
# =============================================================================
# DETECT FUNCTION NAME VARIABLE
# =============================================================================
AC_MSG_CHECKING([for function name variable])
AC_LANG_PUSH(C)
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([const char* test = __PRETTY_FUNCTION__;])],
[funcname=__PRETTY_FUNCTION__
AC_MSG_RESULT([__PRETTY_FUNCTION__])],
[AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([const char* test = __FUNCTION__;])],
[funcname=__FUNCTION__
AC_MSG_RESULT([__FUNCTION__])],
[AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([const char* test = __func__;])],
[funcname=__func__
AC_MSG_RESULT([__func__])],
[funcname=\"???\"
AC_MSG_RESULT([none])])])])
AC_LANG_POP([C])
FUNCTION_NAME_VAR=$funcname
AC_SUBST([FUNCTION_NAME_VAR])
# =============================================================================
# DETECT FOR STATIC SCHEDULER COMPILATION
# =============================================================================
AC_MSG_CHECKING([for static linking option])
old_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -static"
AC_LANG_PUSH(C++)
AC_LINK_IFELSE(
[AC_LANG_PROGRAM([int test = 0;])],
[AC_MSG_RESULT([-static])
success=1],
[AC_MSG_RESULT([no])
success=0])
AC_LANG_POP([C++])
AM_CONDITIONAL([COND_STATIC_LINK], [test "$success" = 1])
LDFLAGS=$old_LDFLAGS
# =============================================================================
# DETECT OPENMP
# =============================================================================
AC_ARG_ENABLE([openmp],
AS_HELP_STRING([--enable-openmp],
[Enable multi-threaded version using OpenMP.
In some cases (i.e. >= 16 cores) this might speed-up
ISP, but in all of our benchmarks it has only slowed
it down.]),
[USE_OPENMP=1])
if test "${USE_OPENMP}"; then
AX_OPENMP([AC_CHECK_HEADER(omp.h, [USE_OPENMP=1], [unset USE_OPENMP])], [unset USE_OPENMP])
if test "${USE_OPENMP}"; then
CFLAGS="$CFLAGS -DUSE_OPENMP $OPENMP_CFLAGS"
CXXFLAGS="$CXXFLAGS -DUSE_OPENMP $OPENMP_CXXFLAGS"
fi
fi
# =============================================================================
# FIB ENABLED?
# =============================================================================
AC_ARG_ENABLE([fib],
AS_HELP_STRING([--disable-fib],
[Disable the runtime option of FIB.]),
[],
[CXXFLAGS="$CXXFLAGS -DFIB"
CFLAGS="$CFLAGS -DFIB"])
# =============================================================================
# CONFIG_DEBUG_SCHED
# =============================================================================
AC_ARG_ENABLE([debug-sched],
AS_HELP_STRING([--enable-debug-sched],
[Enable scheduler debug messages.]),
[CXXFLAGS="$CXXFLAGS -DCONFIG_DEBUG_SCHED"
CFLAGS="$CFLAGS -DCONFIG_DEBUG_SCHED"],
[])
# =============================================================================
# CONFIG_DEBUG_PROF
# =============================================================================
AC_ARG_ENABLE([debug-prof],
AS_HELP_STRING([--enable-debug-prof],
[Enable profiler debug messages.]),
[CXXFLAGS="$CXXFLAGS -DCONFIG_DEBUG_PROF"
CFLAGS="$CFLAGS -DCONFIG_DEBUG_PROF"],
[])
# =============================================================================
# CONFIG_DEBUG
# =============================================================================
AC_ARG_ENABLE([debug],
AS_HELP_STRING([--enable-debug],
[Enable scheduler and profiler debug messages.]),
[CXXFLAGS="$CXXFLAGS -DCONFIG_DEBUG_PROF -DCONFIG_DEBUG_SCHED"
CFLAGS="$CFLAGS -DCONFIG_DEBUG_PROF -DCONFIG_DEBUG_SCHED"],
[])
# =============================================================================
# CONFIG_OPTIONAL_AMPLE_SET_FIX
# =============================================================================
AC_ARG_ENABLE([optional-ample-set-fix],
AS_HELP_STRING([--enable-optional-ample-set-fix],
[Make the ample set fix optional.]),
[CXXFLAGS="$CXXFLAGS -DCONFIG_OPTIONAL_AMPLE_SET_FIX"
CFLAGS="$CFLAGS -DCONFIG_OPTIONAL_AMPLE_SET_FIX"],
[])
# =============================================================================
# CONFIG_BOUNDED_MIXING
# =============================================================================
AC_ARG_ENABLE([bounded-mixing],
AS_HELP_STRING([--enable-bounded-mixing],
[Enable vounded mixing.]),
[CXXFLAGS="$CXXFLAGS -DCONFIG_BOUNDED_MIXING"
CFLAGS="$CFLAGS -DCONFIG_BOUNDED_MIXING"],
[])
# =============================================================================
# GUI / JAVA
# =============================================================================
AC_ARG_ENABLE([gui],
AS_HELP_STRING([--disable-gui],
[Disable the Java GUI.]),
[USE_GUI=0],
[USE_GUI=1])
if test "${USE_GUI}"; then
# Find JAVA Executable
AC_ARG_WITH([java],
AS_HELP_STRING([--with-java=JAVAPATH],
[Give the path for the JAVA executable @<:@automatic search@:>@]),
[AC_MSG_CHECKING([for java]) # user option
java="$withval"
javac="javac"
jar="jar"
AC_MSG_RESULT([$java])],
[SEARCH_JAVA]) # default
if ![ test -f "$java" ]; then
USE_GUI=0
AC_MSG_WARN([java not detected, UI disabled])
else
JAVA=$java
AC_SUBST([JAVA])
JAVAC=$javac
AC_SUBST([JAVAC])
JAR=$jar
AC_SUBST([JAR])
fi
fi
AM_CONDITIONAL([COND_GUI], [test "$USE_GUI" = 1])
AM_CONDITIONAL([COND_COMPILE_JAVA], [test -e "UI/UI/ispMainUI.java"])
# =============================================================================
# ISP-TESTS
# =============================================================================
# Create if exists.
#if test -d "isp-tests" ; then
# AC_CONFIG_FILES([isp-tests/run], [chmod +x isp-tests/run])
# AC_CONFIG_FILES([isp-tests/mpi.h])
#fi
AM_CONDITIONAL([COND_TESTS], [test -d "isp-tests"])
AS_AC_EXPAND(BINDIR, $bindir)
AS_AC_EXPAND(LIBDIR, $libdir)
AS_AC_EXPAND(include_ispdir, $includedir)
include_ispdir=${include_ispdir}/isp
AS_AC_EXPAND(INCDIR, $includedir)
INCDIR=${INCDIR}/isp
AC_CONFIG_FILES([Makefile
scheduler/Makefile
profiler/Makefile
UI/Makefile
scripts/Makefile
scripts/isp
scripts/ispcc2
scripts/ispCC
scripts/mopper
scripts/ispcxx
scripts/ispUI
scripts/mpi.h
scripts/assert.h])
AC_CONFIG_COMMANDS(ispcc,
[rm -f scripts/ispcc; mv scripts/ispcc2 scripts/ispcc])
AC_OUTPUT