configure.ac 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585
  1. # -*- Autoconf -*-
  2. # Process this file with autoconf to produce a configure script.
  3. AC_INIT(MCT, 2.8)
  4. # PROCESS THE FOLLOWING MAKEFILES
  5. AC_CONFIG_MACRO_DIR([m4])
  6. AC_CONFIG_FILES(Makefile.conf)
  7. AC_CONFIG_HEADER(config.h)
  8. # DECLARE PACKAGE OPTIONS
  9. AC_ARG_ENABLE(mpiserial,
  10. AC_HELP_STRING([--enable-mpiserial],
  11. [Use the included MPI replacement library for single processor]),
  12. [DONOTCHECKMPI="DONOTCHECKMPI"]
  13. )
  14. AC_ARG_ENABLE(debugging,
  15. AC_HELP_STRING([--enable-debugging],
  16. [Use the debugging flag and disable the optimization flag]),
  17. [DEBUGGING="ENABLED"]
  18. )
  19. AC_ARG_ENABLE(selectedrealkind,
  20. AC_HELP_STRING([--enable-selectedrealkind],
  21. [define single precision and double precision numbers using the selected_real_kind function. Default uses the kind inquiry function.]),
  22. [SRKDEF="SELECTEDREALKIND"]
  23. )
  24. AC_ARG_ENABLE(sequence,
  25. AC_HELP_STRING([--enable-sequence],[Modify MCT types to make them contiguous in memory.]),
  26. [SRKDEF="SEQUENCE"],)
  27. AC_ARG_ENABLE(babel,
  28. AC_HELP_STRING([--enable-babel],[Supply this option if you plan on building the Babel bindings to MCT]),
  29. [SRKDEF="SEQUENCE"],)
  30. # DECLARE THE FOLLOWING PRECIOUS VARIABLES
  31. AC_ARG_VAR(MPILIBS,[MPI library command line invocation])
  32. AC_ARG_VAR(MPIHEADER,[MPI header include path with INCLUDEFLAG])
  33. AC_ARG_VAR(FPP,C-preprocessor for Fortran source code)
  34. AC_ARG_VAR(FPPFLAGS,C-preprocessing flags for Fortran source code)
  35. AC_ARG_VAR(FC,The Fortran compiler)
  36. AC_ARG_VAR(FCFLAGS,User-defined Fortran compiler flags)
  37. AC_ARG_VAR(PROGFCFLAGS,User-defined Fortran compiler flags for example programs)
  38. AC_ARG_VAR(CFLAGS,Customized C source compilation flags)
  39. AC_ARG_VAR(DEBUG,Fortran compiler flag for generating symbolic debugging information)
  40. AC_ARG_VAR(OPT,Fortran compiler flag for optimization level)
  41. AC_ARG_VAR(REAL8,[Fortran compiler flag for setting the default REAL size to REAL(KIND=8)])
  42. AC_ARG_VAR(BIT64,Fortran compiler flag for generating 64-bit objects)
  43. AC_ARG_VAR(ENDIAN,Fortran compiler flag for converting big-endian to little-endian)
  44. AC_ARG_VAR(INCLUDEFLAG,Fortran compiler flag for specifying module search path)
  45. AC_ARG_VAR(INCLUDEPATH,Additional library and module paths with INCLUDEFLAG)
  46. AC_ARG_VAR(AR,Archive command)
  47. AC_ARG_VAR(BABELROOT,Root directory of your Babel installation. i.e.: $BABELROOT/bin/babel $BABELROOT/lib/libsidl.so)
  48. AC_ARG_VAR(COMPILER_ROOT,Root directory of your FORTRAN compiler)
  49. AC_ARG_VAR(FORT_SIZE, Number of bits in Fortran real and double kind)
  50. # INCLUDE BABELROOT and COMPILER_ROOT in Makefile.conf(autoconf output)
  51. AC_SUBST(BABELROOT)
  52. AC_SUBST(COMPILER_ROOT)
  53. AC_SUBST(PYTHON)
  54. AC_SUBST(PYTHONOPTS)
  55. # SET TEMPORARY VARIABLES
  56. # OS AND PLATFORM NAME
  57. test "$osname"=NONE && osname=`uname -s`
  58. test "$machinename"=NONE && machinename=`uname -m`
  59. fullhostname=`hostname -f`
  60. # HARDCODE SPECIFIC MACHINES FOR EXTRAORDINARY CIRCUMSTANCES
  61. # CHECK IF WE ARE ON THE EARTH SIMULATOR
  62. ES="NO"
  63. if echo $osname | grep -i esos >/dev/null 2>&1; then
  64. ES="YES"
  65. fi
  66. if echo $osname | grep -i hp-ux >/dev/null 2>&1; then
  67. if test "$ac_hostname" = "moon"; then
  68. ES="YES"
  69. # TELLS CONFIGURE NOT TO RUN ANY TESTS THAT REQUIRE EXECUTION
  70. cross_compiling="yes"
  71. fi
  72. fi
  73. if test "$ES" = "YES"; then
  74. echo "Using preset configuration values for the Earth Simulator"
  75. if test -z "$CC"; then
  76. CC="escc"
  77. fi
  78. if test -z "$FC"; then
  79. FC="esf90"
  80. fi
  81. if test -z "$MPIFC"; then
  82. MPIFC="esmpif90"
  83. fi
  84. if test -z "$AR"; then
  85. AR="esar cqs"
  86. fi
  87. if test -z "FPP"; then
  88. FPPFLAGS=" "
  89. fi
  90. if test -z "$FCFLAGS"; then
  91. FCFLAGS="-EP -Wf'-pvctl fullmsg -L fmtlist transform map'"
  92. fi
  93. if test -z "$OPT"; then
  94. OPT="-C vopt"
  95. fi
  96. if test -z "$CPPDEFS"; then
  97. CPPDEFS="-DESVEC"
  98. fi
  99. fi
  100. # Check if we are on the ANL BG/P
  101. if echo $fullhostname | egrep -q '.\.(challenger|intrepid)\.alcf\.anl\.gov'
  102. then if test -z "$FC"; then
  103. FC=bgxlf90_r
  104. fi
  105. if test -z "$MPIFC"; then
  106. MPIFC=mpixlf90_r
  107. fi
  108. if test -z "$CC"; then
  109. CC=mpixlc_r
  110. fi
  111. fi
  112. # START TESTS
  113. # CHECK FOR THE C COMPILER
  114. AC_PROG_CC([cc])
  115. # CHECK FOR BYTE ORDERING
  116. AC_C_BIGENDIAN
  117. # CHECK FOR THE FORTRAN COMPILER
  118. # RLJ- specify the order, include PathScale and do not search for F77
  119. AC_PROG_FC([xlf95 pgf95 ifort gfortran pathf95 ftn lf95 f95 fort ifc efc g95 xlf90 pgf90 pathf90 epcf90 pghpf])
  120. # CHECK FOR MPI LIBRARIES
  121. AC_LANG_PUSH(Fortran)
  122. AC_FC_SRCEXT(F90)
  123. OLDFCFLAGS="$FCFLAGS"
  124. if test -n "$MPIHEADER"; then
  125. FCFLAGS="$FCFLAGS $MPIHEADER"
  126. fi
  127. # CHECK MPI BY DEFAULT
  128. if test -z "$DONOTCHECKMPI"; then
  129. ACX_MPI
  130. fi
  131. # DONT CHECK MPI IF SERIALMPI OPTION IS ENABLED
  132. if test -n "$DONOTCHECKMPI"; then
  133. echo "MPISERIAL ENABLED: BYPASSING MPI CHECK"
  134. if test -z "$MPIFC"; then
  135. MPIFC=$FC
  136. fi
  137. if test -z "$FORT_SIZE"; then
  138. FORT_SIZE="real4double8"
  139. echo "FORT_SIZE IS PRESET TO $FORT_SIZE"
  140. fi
  141. abs_top_builddir=`pwd`
  142. MPISERPATH=$abs_top_builddir/mpi-serial
  143. AC_SUBST(MPISERPATH)
  144. MPIHEADER=-I$MPISERPATH
  145. MPILIBS="-L$MPISERPATH -lmpi-serial"
  146. fi
  147. FCFLAGS="$OLDFCFLAGS"
  148. # A HACK TO FIX ACX_MPI TO GET MPILIBS TO BE AN EMPTY STRING
  149. if test "$MPILIBS" = " "; then
  150. MPILIBS=""
  151. fi
  152. # SET FC TO MPIFC. IF MPILIBS IS PRESENT, SET FC TO FC.
  153. if test -z "$FC"; then
  154. FC=$MPIFC
  155. if test "$FC" != "$MPIFC"; then
  156. if test -n "$MPILIBS"; then
  157. FC=$FC
  158. fi
  159. fi
  160. fi
  161. # FOR SANITY, CHECK THAT FILENAME EXTENSION FOR FC IS CONSISTENT WITH FC
  162. OLDFC="$FC"
  163. FC="$FC"
  164. AC_COMPILE_IFELSE(
  165. [ subroutine oof()
  166. return
  167. end], [],
  168. [AC_MSG_WARN([$FC FAILED TO COMPILE FILENAME EXTENSION $ac_ext])
  169. ])
  170. FC="$OLDFC"
  171. # CHECK HOW TO GET THE COMPILER VERSION.
  172. echo "Checking Compiler Version"
  173. AX_FC_VERSION()
  174. AC_LANG_POP(Fortran)
  175. # Check how to use the cpp with fortran
  176. AC_FC_PP_DEFINE()
  177. # CHECK HOW TO NAME MANGLE C FUNCTIONS SO THAT IT CAN BE CALLED FROM FORTRAN
  178. OLDFC="$FC"
  179. AC_FC_WRAPPERS()
  180. FC="$OLDFC"
  181. # CHECK THAT THE FORTRAN COMPILER CAN CORRECTLY PROCESS THESE DIRECTIVES
  182. # IF NOT, USE THE EXTERNAL C PREPROCESSOR
  183. OLDFC="$FC"
  184. defineflag="-Daardvark"
  185. if test "$OLDFC" = "xlf90"; then
  186. defineflag="-WF,-Daardvark"
  187. fi
  188. if test "$OLDFC" = "frt"; then
  189. defineflag="-Wp,-Daardvark"
  190. fi
  191. FC="$OLDFC"
  192. # DEFINE VARIABLES ACCORDING TO OS AND COMPILER
  193. echo "Hostname=$ac_hostname"
  194. echo "Machine=$machinename"
  195. echo "OS=$osname"
  196. # CHECK OS NAME
  197. if echo $osname | grep -i aix >/dev/null 2>&1; then
  198. SYSDEF="AIX"
  199. fi
  200. if echo $osname | grep -i darwin >/dev/null 2>&1; then
  201. SYSDEF="DARWIN"
  202. fi
  203. if echo $osname | grep -i unix_system_v >/dev/null 2>&1; then
  204. SYSDEF="UNIXSYSTEMV"
  205. fi
  206. if echo $osname | grep -i irix >/dev/null 2>&1; then
  207. SYSDEF="IRIX"
  208. fi
  209. if echo $osname | grep -i irix64 >/dev/null 2>&1; then
  210. SYSDEF="IRIX64"
  211. fi
  212. if echo $osname | grep -i linux >/dev/null 2>&1; then
  213. SYSDEF="LINUX"
  214. fi
  215. if echo $osname | grep -i osf1 >/dev/null 2>&1; then
  216. SYSDEF="OSF1"
  217. fi
  218. if echo $osname | grep -i super >/dev/null 2>&1; then
  219. SYSDEF="SUPERUX"
  220. fi
  221. if echo $osname | grep -i sun >/dev/null 2>&1; then
  222. SYSDEF="SUNOS"
  223. fi
  224. if echo $osname | grep -i t3e >/dev/null 2>&1; then
  225. SYSDEF="T3E"
  226. fi
  227. if echo $osname | grep -i unicos >/dev/null 2>&1; then
  228. SYSDEF="UNICOS"
  229. fi
  230. if test -z "$SYSDEF"; then
  231. AC_MSG_WARN([OPERATING SYSTEM UNKNOWN])
  232. SYSDEF="UNKNOWNOS"
  233. fi
  234. # Set the default FCFLAGS for non-gfortran compilers.
  235. # NOTE: This may change with a new version of autoconf.
  236. DEFFCFLAGS="-g"
  237. #####################################################
  238. # CHECK COMPILER NAME and add specific flags
  239. if echo $FC | grep xlf >/dev/null 2>&1; then
  240. echo "Fortran Compiler is XLF"
  241. CPRDEF="XLF"
  242. if test -z "$REAL8"; then
  243. REAL8="-qrealsize=8"
  244. fi
  245. if test -z "$OPT"; then
  246. OPT="-O2 -qarch=auto"
  247. fi
  248. if test -z "$DEBUG"; then
  249. DEBUG="-qdbg"
  250. fi
  251. if test "$FCFLAGS" = "$DEFFCFLAGS"; then
  252. FCFLAGS=""
  253. fi
  254. elif echo $FC | grep pgf >/dev/null 2>&1; then
  255. echo "Fortran Compiler is Portland Group"
  256. CPRDEF="PGI"
  257. if test -z "$REAL8"; then
  258. REAL8="-r8"
  259. fi
  260. if test -z "$BIT64"; then
  261. BIT64="-pc 64"
  262. fi
  263. if test "$FCFLAGS" = "$DEFFCFLAGS"; then
  264. FCFLAGS=""
  265. fi
  266. if test -z "$ENDIAN"; then
  267. ENDIAN="-byteswapio"
  268. fi
  269. if test -z "$OPT"; then
  270. OPT="-O2"
  271. fi
  272. if test -z "$DEBUG"; then
  273. DEBUG="-g"
  274. fi
  275. elif echo $FC | grep ftn >/dev/null 2>&1; then
  276. if echo $ac_fc_version_output | grep -i Portland >/dev/null 2>&1; then
  277. echo "Fortran Compiler is Portland Group, Cray"
  278. CPRDEF="PGI"
  279. SYSDEF="CNLINUX"
  280. if test -z "$REAL8"; then
  281. REAL8="-r8"
  282. fi
  283. if test -z "$BIT64"; then
  284. BIT64="-pc 64"
  285. fi
  286. if test "$FCFLAGS" = "$DEFFCFLAGS"; then
  287. FCFLAGS=""
  288. fi
  289. if test -z "$ENDIAN"; then
  290. ENDIAN="-byteswapio"
  291. fi
  292. if test -z "$OPT"; then
  293. OPT="-O2"
  294. fi
  295. if test -z "$DEBUG"; then
  296. DEBUG="-g"
  297. fi
  298. fi
  299. elif echo $FC | grep ifort >/dev/null 2>&1; then
  300. echo "Fortran Compiler is Intel ifort"
  301. CPRDEF="INTEL"
  302. if test -z "$REAL8"; then
  303. REAL8="-r8"
  304. fi
  305. if test "$FCFLAGS" = "$DEFFCFLAGS"; then
  306. FCFLAGS="-w -ftz"
  307. fi
  308. if test -z "$PROGFCFLAGS"; then
  309. PROGFCFLAGS="-assume byterecl"
  310. fi
  311. if test -z "$ENDIAN"; then
  312. ENDIAN="-convert big_endian"
  313. fi
  314. if test -z "$OPT"; then
  315. OPT="-O2"
  316. fi
  317. if test -z "$DEBUG"; then
  318. DEBUG="-g"
  319. fi
  320. elif echo $FC | grep g95 >/dev/null 2>&1; then
  321. echo "Fortran Compiler is GNU"
  322. CPRDEF="GNU"
  323. elif echo $FC | grep gfortran >/dev/null 2>&1; then
  324. echo "Fortran Compiler is GNU"
  325. CPRDEF="GNU"
  326. # For gfortran, default flags are different
  327. if test "$FCFLAGS" = "-g -O2"; then
  328. FCFLAGS=""
  329. fi
  330. if test -z "$DEBUG"; then
  331. DEBUG="-g"
  332. fi
  333. if test -z "$OPT"; then
  334. OPT="-O2"
  335. fi
  336. ###########################################################
  337. # the compiler flags below have not been verified recently
  338. ###########################################################
  339. elif echo $FC | grep frt >/dev/null 2>&1; then
  340. echo "Fortran Compiler is UXP/V"
  341. echo "Suggested additional vectorization flags: -Wv,-s5,-t3,-noalias,-ilfunc,-md"
  342. CPRDEF="FUJITSU"
  343. if test -z "$F90FLAGS"; then
  344. F90FLAGS="-Am -X9"
  345. fi
  346. if test -z "$BIT64"; then
  347. BIT64="-KA64"
  348. fi
  349. if test -z "$REAL8"; then
  350. REAL8="-Ad"
  351. fi
  352. elif echo $ac_fc_version_output | grep Lahey >/dev/null 2>&1; then
  353. echo "Fortran Compiler is Lahey"
  354. CPRDEF="LAHEY"
  355. elif echo $FC | grep ifc >/dev/null 2>&1; then
  356. echo "Fortran Compiler is Intel 7.x or earlier"
  357. echo "Intel ifc compiler must set the environment variable F_UFMTENDIAN=big to do endian conversion"
  358. CPRDEF="INTEL"
  359. if test -z "$REAL8"; then
  360. REAL8="-r8"
  361. fi
  362. if test -z "$F90FLAGS"; then
  363. F90FLAGS="-w"
  364. fi
  365. if test -z "$OPT"; then
  366. OPT="-O2"
  367. fi
  368. elif echo $FC | grep efc >/dev/null 2>&1; then
  369. echo "Fortran Compiler is Intel 7.x or earlier for IA-64"
  370. echo "Intel efc compiler must set the environment variable F_UFMTENDIAN=big to do endian conversion"
  371. CPRDEF="INTEL"
  372. if test -z "$REAL8"; then
  373. REAL8="-r8"
  374. fi
  375. if test -z "$F90FLAGS"; then
  376. F90FLAGS="-w -ftz"
  377. fi
  378. if test -z "$OPT"; then
  379. OPT="-O2"
  380. fi
  381. elif echo $FC | grep pathf90 >/dev/null 2>&1; then
  382. echo "Fortran Compiler is PathScale"
  383. CPRDEF="PATHSC"
  384. if test -z "$REAL8"; then
  385. REAL8="-r8"
  386. fi
  387. if test -z "$BIT64"; then
  388. BIT64="-m64"
  389. fi
  390. if test -z "$OPT"; then
  391. OPT="-O2"
  392. fi
  393. elif echo $ac_fc_version_output | grep -i nag >/dev/null 2>&1; then
  394. echo "Fortran Compiler is NAG"
  395. CPRDEF="NAG"
  396. if test -z "$F90FLAGS"; then
  397. F90FLAGS="-dusty -kind=byte"
  398. fi
  399. if test -z "$OPT"; then
  400. OPT="-O2"
  401. fi
  402. elif echo $ac_fc_version_output | grep -i absoft >/dev/null 2>&1; then
  403. echo "Fortran Compiler is Absoft"
  404. CPRDEF="ABSOFT"
  405. if test -z "$REAL8"; then
  406. REAL8="-N113"
  407. fi
  408. if test -z "$INCLUDEFLAG"; then
  409. INCLUDEFLAG="-p"
  410. fi
  411. if test -z "$OPT"; then
  412. OPT="-O2"
  413. fi
  414. elif echo $ac_fc_version_output | grep -i workshop >/dev/null 2>&1; then
  415. echo "Fortran Compiler is Workshop"
  416. CPRDEF="WORKSHOP"
  417. if test -z "$INCLUDEFLAG"; then
  418. INCLUDEFLAG="-M"
  419. fi
  420. elif echo $ac_fc_version_output | grep -i mipspro >/dev/null 2>&1; then
  421. echo "Fortran Compiler is MIPSPro"
  422. CPRDEF="MIPSPRO"
  423. EXTRACFLAGS="-64"
  424. if test -z "$OPT"; then
  425. OPT="-O3"
  426. fi
  427. if test -z "$REAL8"; then
  428. REAL8="-r8"
  429. fi
  430. if test -z "$BIT64"; then
  431. BIT64="-64"
  432. fi
  433. elif echo $ac_fc_version_output | grep -i compaq >/dev/null 2>&1; then
  434. echo "Fortran Compiler is Compaq"
  435. CPRDEF="COMPAQ"
  436. MPILIBS="$MPILIBS -lelan"
  437. if test -z "$OPT"; then
  438. OPT="-fast"
  439. fi
  440. if test -z "$REAL8"; then
  441. REAL8="-real_size 64"
  442. fi
  443. if test -z "$ENDIAN"; then
  444. ENDIAN="-convert big_endian"
  445. fi
  446. # Compaq Fortran changed its name to HP Fortran.
  447. # Lets support both versions for now.
  448. elif echo $ac_fc_version_output | grep HP >/dev/null 2>&1; then
  449. echo "Fortran Compiler is HP"
  450. CPRDEF="COMPAQ"
  451. MPILIBS="$MPILIBS -lelan"
  452. if test -z "$OPT"; then
  453. OPT="-fast"
  454. fi
  455. if test -z "$REAL8"; then
  456. REAL8="-real_size 64"
  457. fi
  458. if test -z "$ENDIAN"; then
  459. ENDIAN="-convert big_endian"
  460. fi
  461. elif echo $ac_fc_version_output | grep -i sx >/dev/null 2>&1; then
  462. echo "Fortran Compiler is SX"
  463. CPRDEF="SX"
  464. if test -z "$F90FLAGS"; then
  465. F90FLAGS="-EP -Wf'-pvctl noassoc'"
  466. fi
  467. if test -z "$OPT"; then
  468. OPT="-Chopt"
  469. fi
  470. fi
  471. ###########################################################
  472. # END of compiler-specific flag setting
  473. ###########################################################
  474. CPPDEFS="$CPPDEFS -DSYS$SYSDEF -DCPR$CPRDEF"
  475. if test -n "$SRKDEF"; then
  476. CPPDEFS="$CPPDEFS -D$SRKDEF"
  477. fi
  478. # IF DEBUGGING ENABLED, DISABLE OPTIMIZATION FLAG
  479. if test "$DEBUGGING" = "ENABLED"; then
  480. OPT=""
  481. else
  482. DEBUG=""
  483. fi
  484. # SET HARDCODED VARIABLES AS A LAST RESORT
  485. # ALWAYS ENABLE CRULE IN MAKEFILE
  486. AC_SUBST(CRULE,[.c.o])
  487. AC_SUBST(CPPDEFS)
  488. # INCLUDE FLAG IF NOT ALREADY SET IS MOST LIKELY -I
  489. if test -z "$INCLUDEFLAG"; then
  490. INCLUDEFLAG="-I"
  491. fi
  492. # ARCHIVE COMMAND SIMILAR ACROSS ALL PLATFORMS
  493. if test -z "$AR"; then
  494. AR="ar cq"
  495. fi
  496. echo
  497. echo Output Variables: {CC=$CC} {CFLAGS=$CFLAGS} \
  498. {FC=$FC} {FCFLAGS=$FCFLAGS} {PROGFCFLAGS=$PROGFCFLAGS}\
  499. {CPPDEFS=$CPPDEFS} {OPT=$OPT} {DEBUG=$DEBUG} {REAL8=$REAL8} \
  500. {BIT64=$BIT64} {ENDIAN=$ENDIAN} {MPIFC=$MPIFC} \
  501. {MPILIBS=$MPILIBS} {MPIHEADER=$MPIHEADER} \
  502. {INCLUDEFLAG=$INCLUDEFLAG} {INCLUDEPATH=$INCLUDEPATH} \
  503. {AR=$AR} {BABELROOT=$BABELROOT} {COMPILER_ROOT=$COMPILER_ROOT} \
  504. {PYTHON=$PYTHON} {PYTHONOPTS=$PYTHONOPTS} {FORT_SIZE=$FORT_SIZE} {prefix=$prefix} \
  505. {SRCDIR=$SRCDIR} {FC_DEFINE=$FC_DEFINE}
  506. echo
  507. AC_OUTPUT
  508. echo Please check the Makefile.conf
  509. echo Have a nice day!
  510. # test -z is true for empty strings
  511. # test -n is true for non-empty strings