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

« back to all changes in this revision

Viewing changes to src/tools/ga-5-1/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.m4 by GNU Autoconf 2.67.
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
 
case $0 in #((
83
 
  *[\\/]* ) as_myself=$0 ;;
84
 
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
85
 
for as_dir in $PATH
86
 
do
87
 
  IFS=$as_save_IFS
88
 
  test -z "$as_dir" && as_dir=.
89
 
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
90
 
  done
91
 
IFS=$as_save_IFS
92
 
 
93
 
     ;;
94
 
esac
95
 
# We did not find ourselves, most probably we were run as `sh COMMAND'
96
 
# in which case we are not to be found in the path.
97
 
if test "x$as_myself" = x; then
98
 
  as_myself=$0
99
 
fi
100
 
if test ! -f "$as_myself"; then
101
 
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
102
 
  exit 1
103
 
fi
104
 
 
105
 
# Unset variables that we do not need and which cause bugs (e.g. in
106
 
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
107
 
# suppresses any "Segmentation fault" message there.  '((' could
108
 
# trigger a bug in pdksh 5.2.14.
109
 
for as_var in BASH_ENV ENV MAIL MAILPATH
110
 
do eval test x\${$as_var+set} = xset \
111
 
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
112
 
done
113
 
PS1='$ '
114
 
PS2='> '
115
 
PS4='+ '
116
 
 
117
 
# NLS nuisances.
118
 
LC_ALL=C
119
 
export LC_ALL
120
 
LANGUAGE=C
121
 
export LANGUAGE
122
 
 
123
 
# CDPATH.
124
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
125
 
 
126
 
if test "x$CONFIG_SHELL" = x; then
127
 
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
128
 
  emulate sh
129
 
  NULLCMD=:
130
 
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
131
 
  # is contrary to our usage.  Disable this feature.
132
 
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
133
 
  setopt NO_GLOB_SUBST
134
 
else
135
 
  case \`(set -o) 2>/dev/null\` in #(
136
 
  *posix*) :
137
 
    set -o posix ;; #(
138
 
  *) :
139
 
     ;;
140
 
esac
141
 
fi
142
 
"
143
 
  as_required="as_fn_return () { (exit \$1); }
144
 
as_fn_success () { as_fn_return 0; }
145
 
as_fn_failure () { as_fn_return 1; }
146
 
as_fn_ret_success () { return 0; }
147
 
as_fn_ret_failure () { return 1; }
148
 
 
149
 
exitcode=0
150
 
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
151
 
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
152
 
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
153
 
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
154
 
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
155
 
 
156
 
else
157
 
  exitcode=1; echo positional parameters were not saved.
158
 
fi
159
 
test x\$exitcode = x0 || exit 1"
160
 
  as_suggested=""
161
 
  if (eval "$as_required") 2>/dev/null; then :
162
 
  as_have_required=yes
163
 
else
164
 
  as_have_required=no
165
 
fi
166
 
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
167
 
 
168
 
else
169
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
170
 
as_found=false
171
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
172
 
do
173
 
  IFS=$as_save_IFS
174
 
  test -z "$as_dir" && as_dir=.
175
 
  as_found=:
176
 
  case $as_dir in #(
177
 
         /*)
178
 
           for as_base in sh bash ksh sh5; do
179
 
             # Try only shells that exist, to save several forks.
180
 
             as_shell=$as_dir/$as_base
181
 
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
182
 
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
183
 
  CONFIG_SHELL=$as_shell as_have_required=yes
184
 
                   break 2
185
 
fi
186
 
           done;;
187
 
       esac
188
 
  as_found=false
189
 
done
190
 
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
191
 
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
192
 
  CONFIG_SHELL=$SHELL as_have_required=yes
193
 
fi; }
194
 
IFS=$as_save_IFS
195
 
 
196
 
 
197
 
      if test "x$CONFIG_SHELL" != x; then :
198
 
  # We cannot yet assume a decent shell, so we have to provide a
199
 
        # neutralization value for shells without unset; and this also
200
 
        # works around shells that cannot unset nonexistent variables.
201
 
        BASH_ENV=/dev/null
202
 
        ENV=/dev/null
203
 
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
204
 
        export CONFIG_SHELL
205
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
206
 
fi
207
 
 
208
 
    if test x$as_have_required = xno; then :
209
 
  $as_echo "$0: This script requires a shell more modern than all"
210
 
  $as_echo "$0: the shells that I found on your system."
211
 
  if test x${ZSH_VERSION+set} = xset ; then
212
 
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
213
 
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
214
 
  else
215
 
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
216
 
$0: including any error possibly output before this
217
 
$0: message. Then install a modern shell, or manually run
218
 
$0: the script under such a shell if you do have one."
219
 
  fi
220
 
  exit 1
221
 
fi
222
 
fi
223
 
fi
224
 
SHELL=${CONFIG_SHELL-/bin/sh}
225
 
export SHELL
226
 
# Unset more variables known to interfere with behavior of common tools.
227
 
CLICOLOR_FORCE= GREP_OPTIONS=
228
 
unset CLICOLOR_FORCE GREP_OPTIONS
229
 
 
230
 
## --------------------- ##
231
 
## M4sh Shell Functions. ##
232
 
## --------------------- ##
233
 
# as_fn_unset VAR
234
 
# ---------------
235
 
# Portably unset VAR.
236
 
as_fn_unset ()
237
 
{
238
 
  { eval $1=; unset $1;}
239
 
}
240
 
as_unset=as_fn_unset
241
 
## -------------------- ##
242
 
## Main body of script. ##
243
 
## -------------------- ##
244
 
 
245
 
 
246
 
f77="@F77@"
247
 
cc="@CC@"
248
 
cppflags="@SCALAPACK_CPPFLAGS@ @LAPACK_CPPFLAGS@ @BLAS_CPPFLAGS@ @GA_MP_CPPFLAGS@ @ARMCI_NETWORK_CPPFLAGS@ -I@prefix@/include"
249
 
cflags="@GA_COPT@"
250
 
fflags="@GA_FOPT@ @FFLAG_INT@"
251
 
ldflags="@SCALAPACK_LDFLAGS@ @LAPACK_LDFLAGS@ @BLAS_LDFLAGS@ @GA_MP_LDFLAGS@ @ARMCI_NETWORK_LDFLAGS@ -L@prefix@/lib"
252
 
libs="-lga @SCALAPACK_LIBS@ @LAPACK_LIBS@ @BLAS_LIBS@ @GA_MP_LIBS@ @ARMCI_NETWORK_LIBS@"
253
 
flibs="@FLIBS@"
254
 
enable_f77_true="@ENABLE_F77_TRUE@"
255
 
version="@PACKAGE_VERSION@"
256
 
 
257
 
if test "x$enable_f77_true" = x; then :
258
 
  enable_f77=no
259
 
else
260
 
  enable_f77=yes
261
 
fi
262
 
 
263
 
usage="Usage: ga-config [OPTIONS]...
264
 
 
265
 
With the exception of --version and --help, all other options can be combined
266
 
or run exclusively.  Output is echoed to stdout.
267
 
 
268
 
Options:
269
 
 
270
 
  --f77
271
 
  --cc
272
 
  --cppflags
273
 
  --cflags
274
 
  --fflags
275
 
  --ldflags
276
 
  --libs
277
 
  --flibs
278
 
  --enable-f77
279
 
  --version
280
 
  --help
281
 
"
282
 
 
283
 
result=
284
 
 
285
 
while test $# != 0
286
 
do
287
 
  case $1 in
288
 
  --*=?*)
289
 
    ac_option=`expr "X$1" : 'X\(^=*\)='`
290
 
    ac_optarg=`expr "X$1" : 'X^=*=\(.*\)'`
291
 
    ac_shift=:
292
 
    ;;
293
 
  --*=)
294
 
    ac_option=`expr "X$1" : 'X\(^=*\)='`
295
 
    ac_optarg=
296
 
    ac_shift=:
297
 
    ;;
298
 
  *)
299
 
    ac_option=$1
300
 
    ac_optarg=$2
301
 
    ac_shift=shift
302
 
    ;;
303
 
  esac
304
 
 
305
 
  case $ac_option in
306
 
  # Handling of the options.
307
 
  -help | --help | --hel | --he | -h )
308
 
    $as_echo "$usage"; exit ;;
309
 
  -version | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
310
 
    $as_echo "$version"; exit ;;
311
 
  -f77 | --f77)
312
 
    result="$result $f77" ;;
313
 
  -cc | --cc )
314
 
    result="$result $cc" ;;
315
 
  -cppflags | --cppflags )
316
 
    result="$result $cppflags" ;;
317
 
  -cflags | --cflags )
318
 
    result="$result $cflags" ;;
319
 
  -fflags | --fflags )
320
 
    result="$result $fflags" ;;
321
 
  -ldflags | --ldflags )
322
 
    result="$result $ldflags" ;;
323
 
  -libs | --libs )
324
 
    result="$result $libs" ;;
325
 
  -flibs | --flibs )
326
 
    result="$result $flibs" ;;
327
 
  -enable-f77 | --enable-f77 )
328
 
    result="$result $enable_f77" ;;
329
 
  # This is an error.
330
 
  *) $as_echo "unrecognized option: \`$1'
331
 
Try \`$0 --help' for more information."; exit ;;
332
 
  esac
333
 
  shift
334
 
done
335
 
 
336
 
$as_echo "$result" | sed 's/  */ /g;s/" /"/g;s/ "/"/g;s/^  *//;s/  *$//'