~ubuntu-branches/ubuntu/trusty/nwchem/trusty-proposed

« back to all changes in this revision

Viewing changes to src/tools/ga-5-2/tools/ga-config.in

  • Committer: Package Import Robot
  • Author(s): Michael Banck, Daniel Leidert, Andreas Tille, Michael Banck
  • Date: 2013-07-04 12:14:55 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130704121455-5tvsx2qabor3nrui
Tags: 6.3-1
* New upstream release.
* Fixes anisotropic properties (Closes: #696361).
* New features include:
  + Multi-reference coupled cluster (MRCC) approaches
  + Hybrid DFT calculations with short-range HF 
  + New density-functionals including Minnesota (M08, M11) and HSE hybrid
    functionals
  + X-ray absorption spectroscopy (XAS) with TDDFT
  + Analytical gradients for the COSMO solvation model
  + Transition densities from TDDFT 
  + DFT+U and Electron-Transfer (ET) methods for plane wave calculations
  + Exploitation of space group symmetry in plane wave geometry optimizations
  + Local density of states (LDOS) collective variable added to Metadynamics
  + Various new XC functionals added for plane wave calculations, including
    hybrid and range-corrected ones
  + Electric field gradients with relativistic corrections 
  + Nudged Elastic Band optimization method
  + Updated basis sets and ECPs 

[ Daniel Leidert ]
* debian/watch: Fixed.

[ Andreas Tille ]
* debian/upstream: References

[ Michael Banck ]
* debian/upstream (Name): New field.
* debian/patches/02_makefile_flags.patch: Refreshed.
* debian/patches/06_statfs_kfreebsd.patch: Likewise.
* debian/patches/07_ga_target_force_linux.patch: Likewise.
* debian/patches/05_avoid_inline_assembler.patch: Removed, no longer needed.
* debian/patches/09_backported_6.1.1_fixes.patch: Likewise.
* debian/control (Build-Depends): Added gfortran-4.7 and gcc-4.7.
* debian/patches/10_force_gcc-4.7.patch: New patch, explicitly sets
  gfortran-4.7 and gcc-4.7, fixes test suite hang with gcc-4.8 (Closes:
  #701328, #713262).
* debian/testsuite: Added tests for COSMO analytical gradients and MRCC.
* debian/rules (MRCC_METHODS): New variable, required to enable MRCC methods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Generated from ga-config.in.m4sh by GNU Autoconf 2.69.
 
3
## -------------------- ##
 
4
## M4sh Initialization. ##
 
5
## -------------------- ##
 
6
 
 
7
# Be more Bourne compatible
 
8
DUALCASE=1; export DUALCASE # for MKS sh
 
9
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
10
  emulate sh
 
11
  NULLCMD=:
 
12
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
13
  # is contrary to our usage.  Disable this feature.
 
14
  alias -g '${1+"$@"}'='"$@"'
 
15
  setopt NO_GLOB_SUBST
 
16
else
 
17
  case `(set -o) 2>/dev/null` in #(
 
18
  *posix*) :
 
19
    set -o posix ;; #(
 
20
  *) :
 
21
     ;;
 
22
esac
 
23
fi
 
24
 
 
25
 
 
26
as_nl='
 
27
'
 
28
export as_nl
 
29
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
30
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
31
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
32
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
33
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
34
# but without wasting forks for bash or zsh.
 
35
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
36
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
37
  as_echo='print -r --'
 
38
  as_echo_n='print -rn --'
 
39
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
40
  as_echo='printf %s\n'
 
41
  as_echo_n='printf %s'
 
42
else
 
43
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
44
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
45
    as_echo_n='/usr/ucb/echo -n'
 
46
  else
 
47
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
48
    as_echo_n_body='eval
 
49
      arg=$1;
 
50
      case $arg in #(
 
51
      *"$as_nl"*)
 
52
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
53
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
54
      esac;
 
55
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
56
    '
 
57
    export as_echo_n_body
 
58
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
59
  fi
 
60
  export as_echo_body
 
61
  as_echo='sh -c $as_echo_body as_echo'
 
62
fi
 
63
 
 
64
# The user is always right.
 
65
if test "${PATH_SEPARATOR+set}" != set; then
 
66
  PATH_SEPARATOR=:
 
67
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
68
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
69
      PATH_SEPARATOR=';'
 
70
  }
 
71
fi
 
72
 
 
73
 
 
74
# IFS
 
75
# We need space, tab and new line, in precisely that order.  Quoting is
 
76
# there to prevent editors from complaining about space-tab.
 
77
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
78
# splitting by setting IFS to empty value.)
 
79
IFS=" ""        $as_nl"
 
80
 
 
81
# Find who we are.  Look in the path if we contain no directory separator.
 
82
as_myself=
 
83
case $0 in #((
 
84
  *[\\/]* ) as_myself=$0 ;;
 
85
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
86
for as_dir in $PATH
 
87
do
 
88
  IFS=$as_save_IFS
 
89
  test -z "$as_dir" && as_dir=.
 
90
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
91
  done
 
92
IFS=$as_save_IFS
 
93
 
 
94
     ;;
 
95
esac
 
96
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
97
# in which case we are not to be found in the path.
 
98
if test "x$as_myself" = x; then
 
99
  as_myself=$0
 
100
fi
 
101
if test ! -f "$as_myself"; then
 
102
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
103
  exit 1
 
104
fi
 
105
 
 
106
# Unset variables that we do not need and which cause bugs (e.g. in
 
107
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
108
# suppresses any "Segmentation fault" message there.  '((' could
 
109
# trigger a bug in pdksh 5.2.14.
 
110
for as_var in BASH_ENV ENV MAIL MAILPATH
 
111
do eval test x\${$as_var+set} = xset \
 
112
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
113
done
 
114
PS1='$ '
 
115
PS2='> '
 
116
PS4='+ '
 
117
 
 
118
# NLS nuisances.
 
119
LC_ALL=C
 
120
export LC_ALL
 
121
LANGUAGE=C
 
122
export LANGUAGE
 
123
 
 
124
# CDPATH.
 
125
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
126
 
 
127
if test "x$CONFIG_SHELL" = x; then
 
128
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
129
  emulate sh
 
130
  NULLCMD=:
 
131
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
132
  # is contrary to our usage.  Disable this feature.
 
133
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
134
  setopt NO_GLOB_SUBST
 
135
else
 
136
  case \`(set -o) 2>/dev/null\` in #(
 
137
  *posix*) :
 
138
    set -o posix ;; #(
 
139
  *) :
 
140
     ;;
 
141
esac
 
142
fi
 
143
"
 
144
  as_required="as_fn_return () { (exit \$1); }
 
145
as_fn_success () { as_fn_return 0; }
 
146
as_fn_failure () { as_fn_return 1; }
 
147
as_fn_ret_success () { return 0; }
 
148
as_fn_ret_failure () { return 1; }
 
149
 
 
150
exitcode=0
 
151
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
152
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
153
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
154
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
155
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
156
 
 
157
else
 
158
  exitcode=1; echo positional parameters were not saved.
 
159
fi
 
160
test x\$exitcode = x0 || exit 1
 
161
test -x / || exit 1"
 
162
  as_suggested=""
 
163
  if (eval "$as_required") 2>/dev/null; then :
 
164
  as_have_required=yes
 
165
else
 
166
  as_have_required=no
 
167
fi
 
168
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
169
 
 
170
else
 
171
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
172
as_found=false
 
173
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
174
do
 
175
  IFS=$as_save_IFS
 
176
  test -z "$as_dir" && as_dir=.
 
177
  as_found=:
 
178
  case $as_dir in #(
 
179
         /*)
 
180
           for as_base in sh bash ksh sh5; do
 
181
             # Try only shells that exist, to save several forks.
 
182
             as_shell=$as_dir/$as_base
 
183
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
184
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
185
  CONFIG_SHELL=$as_shell as_have_required=yes
 
186
                   break 2
 
187
fi
 
188
           done;;
 
189
       esac
 
190
  as_found=false
 
191
done
 
192
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
193
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
194
  CONFIG_SHELL=$SHELL as_have_required=yes
 
195
fi; }
 
196
IFS=$as_save_IFS
 
197
 
 
198
 
 
199
      if test "x$CONFIG_SHELL" != x; then :
 
200
  export CONFIG_SHELL
 
201
             # We cannot yet assume a decent shell, so we have to provide a
 
202
# neutralization value for shells without unset; and this also
 
203
# works around shells that cannot unset nonexistent variables.
 
204
# Preserve -v and -x to the replacement shell.
 
205
BASH_ENV=/dev/null
 
206
ENV=/dev/null
 
207
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
208
case $- in # ((((
 
209
  *v*x* | *x*v* ) as_opts=-vx ;;
 
210
  *v* ) as_opts=-v ;;
 
211
  *x* ) as_opts=-x ;;
 
212
  * ) as_opts= ;;
 
213
esac
 
214
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
215
# Admittedly, this is quite paranoid, since all the known shells bail
 
216
# out after a failed `exec'.
 
217
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
218
exit 255
 
219
fi
 
220
 
 
221
    if test x$as_have_required = xno; then :
 
222
  $as_echo "$0: This script requires a shell more modern than all"
 
223
  $as_echo "$0: the shells that I found on your system."
 
224
  if test x${ZSH_VERSION+set} = xset ; then
 
225
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
226
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
227
  else
 
228
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
 
229
$0: including any error possibly output before this
 
230
$0: message. Then install a modern shell, or manually run
 
231
$0: the script under such a shell if you do have one."
 
232
  fi
 
233
  exit 1
 
234
fi
 
235
fi
 
236
fi
 
237
SHELL=${CONFIG_SHELL-/bin/sh}
 
238
export SHELL
 
239
# Unset more variables known to interfere with behavior of common tools.
 
240
CLICOLOR_FORCE= GREP_OPTIONS=
 
241
unset CLICOLOR_FORCE GREP_OPTIONS
 
242
 
 
243
## --------------------- ##
 
244
## M4sh Shell Functions. ##
 
245
## --------------------- ##
 
246
# as_fn_unset VAR
 
247
# ---------------
 
248
# Portably unset VAR.
 
249
as_fn_unset ()
 
250
{
 
251
  { eval $1=; unset $1;}
 
252
}
 
253
as_unset=as_fn_unset
 
254
## -------------------- ##
 
255
## Main body of script. ##
 
256
## -------------------- ##
 
257
 
 
258
 
 
259
f77="@F77@"
 
260
cc="@CC@"
 
261
cppflags="@SCALAPACK_CPPFLAGS@ @LAPACK_CPPFLAGS@ @BLAS_CPPFLAGS@ @GA_MP_CPPFLAGS@ @ARMCI_NETWORK_CPPFLAGS@ -I@prefix@/include"
 
262
cflags="@GA_COPT@"
 
263
fflags="@GA_FOPT@ @FFLAG_INT@"
 
264
fint="@FFLAG_INT@"
 
265
ldflags="@SCALAPACK_LDFLAGS@ @LAPACK_LDFLAGS@ @BLAS_LDFLAGS@ @GA_MP_LDFLAGS@ @ARMCI_NETWORK_LDFLAGS@ -L@prefix@/lib"
 
266
libs="-lga @SCALAPACK_LIBS@ @LAPACK_LIBS@ @BLAS_LIBS@ -larmci @GA_MP_LIBS@ @ARMCI_NETWORK_LIBS@"
 
267
flibs="@FLIBS@"
 
268
enable_f77_true="@ENABLE_F77_TRUE@"
 
269
version="@PACKAGE_VERSION@"
 
270
 
 
271
if test "x$enable_f77_true" = x; then :
 
272
  enable_f77=yes
 
273
else
 
274
  enable_f77=no
 
275
fi
 
276
 
 
277
usage="Usage: ga-config [OPTIONS]...
 
278
 
 
279
With the exception of --version and --help, all other options can be combined
 
280
or run exclusively.  Output is echoed to stdout.
 
281
 
 
282
Options:
 
283
 
 
284
  --f77
 
285
  --cc
 
286
  --cppflags
 
287
  --cflags
 
288
  --fflags
 
289
  --fint
 
290
  --ldflags
 
291
  --libs
 
292
  --flibs
 
293
  --enable-f77
 
294
  --version
 
295
  --help
 
296
"
 
297
 
 
298
result=
 
299
 
 
300
while test $# != 0
 
301
do
 
302
  case $1 in
 
303
  --*=?*)
 
304
    ac_option=`expr "X$1" : 'X\(^=*\)='`
 
305
    ac_optarg=`expr "X$1" : 'X^=*=\(.*\)'`
 
306
    ac_shift=:
 
307
    ;;
 
308
  --*=)
 
309
    ac_option=`expr "X$1" : 'X\(^=*\)='`
 
310
    ac_optarg=
 
311
    ac_shift=:
 
312
    ;;
 
313
  *)
 
314
    ac_option=$1
 
315
    ac_optarg=$2
 
316
    ac_shift=shift
 
317
    ;;
 
318
  esac
 
319
 
 
320
  case $ac_option in
 
321
  # Handling of the options.
 
322
  -help | --help | --hel | --he | -h )
 
323
    $as_echo "$usage"; exit ;;
 
324
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
325
    $as_echo "$version"; exit ;;
 
326
  -f77 | --f77)
 
327
    result="$result $f77" ;;
 
328
  -cc | --cc )
 
329
    result="$result $cc" ;;
 
330
  -cppflags | --cppflags )
 
331
    result="$result $cppflags" ;;
 
332
  -cflags | --cflags )
 
333
    result="$result $cflags" ;;
 
334
  -fflags | --fflags )
 
335
    result="$result $fflags" ;;
 
336
  -ldflags | --ldflags )
 
337
    result="$result $ldflags" ;;
 
338
  -libs | --libs )
 
339
    result="$result $libs" ;;
 
340
  -flibs | --flibs )
 
341
    result="$result $flibs" ;;
 
342
  -fint | --fint )
 
343
    result="$result $fint" ;;
 
344
  -enable-f77 | --enable-f77 )
 
345
    result="$result $enable_f77" ;;
 
346
  # This is an error.
 
347
  *) $as_echo "unrecognized option: \`$1'
 
348
Try \`$0 --help' for more information."; exit ;;
 
349
  esac
 
350
  shift
 
351
done
 
352
 
 
353
$as_echo "$result" | sed 's/  */ /g;s/" /"/g;s/ "/"/g;s/^  *//;s/  *$//'