Changeset 408


Ignore:
Timestamp:
Apr 26, 2006 10:46:37 AM (18 years ago)
Author:
cxsong
Message:

changed for relocatable builds

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/app-fermi/cee/Makefile

    r151 r408  
    11# define rappture src directory
     2ifndef RP_BASE
    23RP_BASE         = /opt/rappture
     4endif
    35
    46PROGS           = fermi
  • trunk/examples/app-fermi/fortran/Makefile

    r153 r408  
    22#
    33# Replace this with the location of your rappture installation:
     4ifndef RAPPTURE_DIR
    45RAPPTURE_DIR = /opt/rappture
     6endif
    57
    68# no need to edit the rest...
  • trunk/examples/c-example/Makefile

    r152 r408  
    11# define rappture src directory
     2ifndef RP_BASE
    23RP_BASE         = /opt/rappture
     4endif
    35
    46PROGS           = plot plotc
  • trunk/gui/configure

    r166 r408  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.57.
     3# Generated by GNU Autoconf 2.59.
    44#
    5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
    6 # Free Software Foundation, Inc.
     5# Copyright (C) 2003 Free Software Foundation, Inc.
    76# This configure script is free software; the Free Software Foundation
    87# gives unlimited permission to copy, distribute and modify it.
     
    2120  set -o posix
    2221fi
     22DUALCASE=1; export DUALCASE # for MKS sh
    2323
    2424# Support unset when possible.
    25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    2626  as_unset=unset
    2727else
     
    4242  LC_TELEPHONE LC_TIME
    4343do
    44   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    4545    eval $as_var=C; export $as_var
    4646  else
     
    219219  as_mkdir_p=:
    220220else
     221  test -d ./-p && rmdir ./-p
    221222  as_mkdir_p=false
    222223fi
     
    225226
    226227# Sed expression to map a string onto a valid CPP name.
    227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    228229
    229230# Sed expression to map a string onto a valid variable name.
    230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    231232
    232233
     
    631632# Be sure to have absolute paths.
    632633for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    633               localstatedir libdir includedir oldincludedir infodir mandir
     634              localstatedir libdir includedir oldincludedir infodir mandir
    634635do
    635636  eval ac_val=$`echo $ac_var`
     
    671672  ac_confdir=`(dirname "$0") 2>/dev/null ||
    672673$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    673         X"$0" : 'X\(//\)[^/]' \| \
    674         X"$0" : 'X\(//\)$' \| \
    675         X"$0" : 'X\(/\)' \| \
    676         .     : '\(.\)' 2>/dev/null ||
     674        X"$0" : 'X\(//\)[^/]' \| \
     675        X"$0" : 'X\(//\)$' \| \
     676        X"$0" : 'X\(/\)' \| \
     677        .     : '\(.\)' 2>/dev/null ||
    677678echo X"$0" |
    678679    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    762763Installation directories:
    763764  --prefix=PREFIX         install architecture-independent files in PREFIX
    764                           [$ac_default_prefix]
     765                          [$ac_default_prefix]
    765766  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    766                           [PREFIX]
     767                          [PREFIX]
    767768
    768769By default, \`make install' will install all the files in
     
    860861    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    861862esac
    862 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    863 # absolute.
    864 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    865 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
    866 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    867 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     863
     864# Do not use `cd foo && pwd` to compute absolute paths, because
     865# the directories may not exist.
     866case `pwd` in
     867.) ac_abs_builddir="$ac_dir";;
     868*)
     869  case "$ac_dir" in
     870  .) ac_abs_builddir=`pwd`;;
     871  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     872  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     873  esac;;
     874esac
     875case $ac_abs_builddir in
     876.) ac_abs_top_builddir=${ac_top_builddir}.;;
     877*)
     878  case ${ac_top_builddir}. in
     879  .) ac_abs_top_builddir=$ac_abs_builddir;;
     880  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     881  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     882  esac;;
     883esac
     884case $ac_abs_builddir in
     885.) ac_abs_srcdir=$ac_srcdir;;
     886*)
     887  case $ac_srcdir in
     888  .) ac_abs_srcdir=$ac_abs_builddir;;
     889  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     890  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     891  esac;;
     892esac
     893case $ac_abs_builddir in
     894.) ac_abs_top_srcdir=$ac_top_srcdir;;
     895*)
     896  case $ac_top_srcdir in
     897  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     898  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     899  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     900  esac;;
     901esac
    868902
    869903    cd $ac_dir
     
    876910      $SHELL $ac_srcdir/configure  --help=recursive
    877911    elif test -f $ac_srcdir/configure.ac ||
    878            test -f $ac_srcdir/configure.in; then
     912           test -f $ac_srcdir/configure.in; then
    879913      echo
    880914      $ac_configure --help
     
    882916      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    883917    fi
    884     cd $ac_popdir
     918    cd "$ac_popdir"
    885919  done
    886920fi
     
    890924  cat <<\_ACEOF
    891925
    892 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
    893 Free Software Foundation, Inc.
     926Copyright (C) 2003 Free Software Foundation, Inc.
    894927This configure script is free software; the Free Software Foundation
    895928gives unlimited permission to copy, distribute and modify it.
     
    903936
    904937It was created by $as_me, which was
    905 generated by GNU Autoconf 2.57.  Invocation command line was
     938generated by GNU Autoconf 2.59.  Invocation command line was
    906939
    907940  $ $0 $@
     
    9801013      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    9811014      if test $ac_must_keep_next = true; then
    982         ac_must_keep_next=false # Got value, back to normal.
     1015        ac_must_keep_next=false # Got value, back to normal.
    9831016      else
    984         case $ac_arg in
    985           *=* | --config-cache | -C | -disable-* | --disable-* \
    986           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
    987           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
    988           | -with-* | --with-* | -without-* | --without-* | --x)
    989             case "$ac_configure_args0 " in
    990               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
    991             esac
    992             ;;
    993           -* ) ac_must_keep_next=true ;;
    994         esac
     1017        case $ac_arg in
     1018          *=* | --config-cache | -C | -disable-* | --disable-* \
     1019          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
     1020          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
     1021          | -with-* | --with-* | -without-* | --without-* | --x)
     1022            case "$ac_configure_args0 " in
     1023              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
     1024            esac
     1025            ;;
     1026          -* ) ac_must_keep_next=true ;;
     1027        esac
    9951028      fi
    9961029      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     
    10261059    *ac_space=\ *)
    10271060      sed -n \
    1028         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1029           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1061        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1062          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
    10301063      ;;
    10311064    *)
    10321065      sed -n \
    1033         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1066        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    10341067      ;;
    10351068    esac;
     
    10601093      do
    10611094        eval ac_val=$`echo $ac_var`
    1062         echo "$ac_var='"'"'$ac_val'"'"'"
     1095        echo "$ac_var='"'"'$ac_val'"'"'"
    10631096      done | sort
    10641097      echo
     
    10791112    echo "$as_me: exit $exit_status"
    10801113  } >&5
    1081   rm -f core core.* *.core &&
     1114  rm -f core *.core &&
    10821115  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
    10831116    exit $exit_status
     
    11591192ac_cache_corrupted=false
    11601193for ac_var in `(set) 2>&1 |
    1161                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1194               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
    11621195  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    11631196  eval ac_new_set=\$ac_env_${ac_var}_set
     
    11761209    *)
    11771210      if test "x$ac_old_val" != "x$ac_new_val"; then
    1178         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1211        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    11791212echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1180         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1213        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    11811214echo "$as_me:   former value:  $ac_old_val" >&2;}
    1182         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1215        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    11831216echo "$as_me:   current value: $ac_new_val" >&2;}
    1184         ac_cache_corrupted=:
     1217        ac_cache_corrupted=:
    11851218      fi;;
    11861219  esac
     
    16541687
    16551688cat >conftest.$ac_ext <<_ACEOF
    1656 #line $LINENO "configure"
    16571689/* confdefs.h.  */
    16581690_ACEOF
     
    16741706# It will help us diagnose broken compilers, and finding out an intuition
    16751707# of exeext.
    1676 echo "$as_me:$LINENO: checking for C compiler default output" >&5
    1677 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
     1708echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     1709echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    16781710ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    16791711if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
     
    16951727  case $ac_file in
    16961728    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1697         ;;
     1729        ;;
    16981730    conftest.$ac_ext )
    1699         # This is the source file.
    1700         ;;
     1731        # This is the source file.
     1732        ;;
    17011733    [ab].out )
    1702         # We found the default executable, but exeext='' is most
    1703         # certainly right.
    1704         break;;
     1734        # We found the default executable, but exeext='' is most
     1735        # certainly right.
     1736        break;;
    17051737    *.* )
    1706         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1707         # FIXME: I believe we export ac_cv_exeext for Libtool,
    1708         # but it would be cool to find out if it's true.  Does anybody
    1709         # maintain Libtool? --akim.
    1710         export ac_cv_exeext
    1711         break;;
     1738        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     1739        # FIXME: I believe we export ac_cv_exeext for Libtool,
     1740        # but it would be cool to find out if it's true.  Does anybody
     1741        # maintain Libtool? --akim.
     1742        export ac_cv_exeext
     1743        break;;
    17121744    * )
    1713         break;;
     1745        break;;
    17141746  esac
    17151747done
     
    17851817    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
    17861818    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1787           export ac_cv_exeext
    1788           break;;
     1819          export ac_cv_exeext
     1820          break;;
    17891821    * ) break;;
    17901822  esac
     
    18111843else
    18121844  cat >conftest.$ac_ext <<_ACEOF
    1813 #line $LINENO "configure"
    18141845/* confdefs.h.  */
    18151846_ACEOF
     
    18621893else
    18631894  cat >conftest.$ac_ext <<_ACEOF
    1864 #line $LINENO "configure"
    18651895/* confdefs.h.  */
    18661896_ACEOF
     
    18821912rm -f conftest.$ac_objext
    18831913if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1884   (eval $ac_compile) 2>&5
     1914  (eval $ac_compile) 2>conftest.er1
     1915  ac_status=$?
     1916  grep -v '^ *+' conftest.er1 >conftest.err
     1917  rm -f conftest.er1
     1918  cat conftest.err >&5
     1919  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1920  (exit $ac_status); } &&
     1921         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     1922  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1923  (eval $ac_try) 2>&5
    18851924  ac_status=$?
    18861925  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1887   (exit $ac_status); } &&
    1888         { ac_try='test -s conftest.$ac_objext'
     1926  (exit $ac_status); }; } &&
     1927        { ac_try='test -s conftest.$ac_objext'
    18891928  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    18901929  (eval $ac_try) 2>&5
     
    18991938ac_compiler_gnu=no
    19001939fi
    1901 rm -f conftest.$ac_objext conftest.$ac_ext
     1940rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    19021941ac_cv_c_compiler_gnu=$ac_compiler_gnu
    19031942
     
    19151954else
    19161955  cat >conftest.$ac_ext <<_ACEOF
    1917 #line $LINENO "configure"
    19181956/* confdefs.h.  */
    19191957_ACEOF
     
    19321970rm -f conftest.$ac_objext
    19331971if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1934   (eval $ac_compile) 2>&5
     1972  (eval $ac_compile) 2>conftest.er1
     1973  ac_status=$?
     1974  grep -v '^ *+' conftest.er1 >conftest.err
     1975  rm -f conftest.er1
     1976  cat conftest.err >&5
     1977  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     1978  (exit $ac_status); } &&
     1979         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     1980  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     1981  (eval $ac_try) 2>&5
    19351982  ac_status=$?
    19361983  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1937   (exit $ac_status); } &&
    1938         { ac_try='test -s conftest.$ac_objext'
     1984  (exit $ac_status); }; } &&
     1985        { ac_try='test -s conftest.$ac_objext'
    19391986  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    19401987  (eval $ac_try) 2>&5
     
    19491996ac_cv_prog_cc_g=no
    19501997fi
    1951 rm -f conftest.$ac_objext conftest.$ac_ext
     1998rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    19521999fi
    19532000echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     
    19762023ac_save_CC=$CC
    19772024cat >conftest.$ac_ext <<_ACEOF
    1978 #line $LINENO "configure"
    19792025/* confdefs.h.  */
    19802026_ACEOF
     
    20042050  return s;
    20052051}
     2052
     2053/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     2054   function prototypes and stuff, but not '\xHH' hex character constants.
     2055   These don't provoke an error unfortunately, instead are silently treated
     2056   as 'x'.  The following induces an error, until -std1 is added to get
     2057   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     2058   array size at least.  It's necessary to write '\x00'==0 to get something
     2059   that's true only with -std1.  */
     2060int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2061
    20062062int test (int i, double x);
    20072063struct s1 {int (*f) (int a);};
     
    20302086  rm -f conftest.$ac_objext
    20312087if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2032   (eval $ac_compile) 2>&5
     2088  (eval $ac_compile) 2>conftest.er1
     2089  ac_status=$?
     2090  grep -v '^ *+' conftest.er1 >conftest.err
     2091  rm -f conftest.er1
     2092  cat conftest.err >&5
     2093  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2094  (exit $ac_status); } &&
     2095         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     2096  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2097  (eval $ac_try) 2>&5
    20332098  ac_status=$?
    20342099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2035   (exit $ac_status); } &&
    2036         { ac_try='test -s conftest.$ac_objext'
     2100  (exit $ac_status); }; } &&
     2101        { ac_try='test -s conftest.$ac_objext'
    20372102  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20382103  (eval $ac_try) 2>&5
     
    20472112
    20482113fi
    2049 rm -f conftest.$ac_objext
     2114rm -f conftest.err conftest.$ac_objext
    20502115done
    20512116rm -f conftest.$ac_ext conftest.$ac_objext
     
    20752140rm -f conftest.$ac_objext
    20762141if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2077   (eval $ac_compile) 2>&5
     2142  (eval $ac_compile) 2>conftest.er1
     2143  ac_status=$?
     2144  grep -v '^ *+' conftest.er1 >conftest.err
     2145  rm -f conftest.er1
     2146  cat conftest.err >&5
     2147  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2148  (exit $ac_status); } &&
     2149         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     2150  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2151  (eval $ac_try) 2>&5
    20782152  ac_status=$?
    20792153  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2080   (exit $ac_status); } &&
    2081         { ac_try='test -s conftest.$ac_objext'
     2154  (exit $ac_status); }; } &&
     2155        { ac_try='test -s conftest.$ac_objext'
    20822156  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    20832157  (eval $ac_try) 2>&5
     
    20862160  (exit $ac_status); }; }; then
    20872161  for ac_declaration in \
    2088    ''\
    2089    '#include <stdlib.h>' \
     2162   '' \
    20902163   'extern "C" void std::exit (int) throw (); using std::exit;' \
    20912164   'extern "C" void std::exit (int); using std::exit;' \
     
    20952168do
    20962169  cat >conftest.$ac_ext <<_ACEOF
    2097 #line $LINENO "configure"
    20982170/* confdefs.h.  */
    20992171_ACEOF
     
    21012173cat >>conftest.$ac_ext <<_ACEOF
    21022174/* end confdefs.h.  */
     2175$ac_declaration
    21032176#include <stdlib.h>
    2104 $ac_declaration
    21052177int
    21062178main ()
     
    21132185rm -f conftest.$ac_objext
    21142186if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2115   (eval $ac_compile) 2>&5
     2187  (eval $ac_compile) 2>conftest.er1
     2188  ac_status=$?
     2189  grep -v '^ *+' conftest.er1 >conftest.err
     2190  rm -f conftest.er1
     2191  cat conftest.err >&5
     2192  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2193  (exit $ac_status); } &&
     2194         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     2195  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2196  (eval $ac_try) 2>&5
    21162197  ac_status=$?
    21172198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2118   (exit $ac_status); } &&
    2119         { ac_try='test -s conftest.$ac_objext'
     2199  (exit $ac_status); }; } &&
     2200        { ac_try='test -s conftest.$ac_objext'
    21202201  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21212202  (eval $ac_try) 2>&5
     
    21302211continue
    21312212fi
    2132 rm -f conftest.$ac_objext conftest.$ac_ext
     2213rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    21332214  cat >conftest.$ac_ext <<_ACEOF
    2134 #line $LINENO "configure"
    21352215/* confdefs.h.  */
    21362216_ACEOF
     
    21492229rm -f conftest.$ac_objext
    21502230if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2151   (eval $ac_compile) 2>&5
     2231  (eval $ac_compile) 2>conftest.er1
     2232  ac_status=$?
     2233  grep -v '^ *+' conftest.er1 >conftest.err
     2234  rm -f conftest.er1
     2235  cat conftest.err >&5
     2236  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2237  (exit $ac_status); } &&
     2238         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     2239  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2240  (eval $ac_try) 2>&5
    21522241  ac_status=$?
    21532242  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2154   (exit $ac_status); } &&
    2155         { ac_try='test -s conftest.$ac_objext'
     2243  (exit $ac_status); }; } &&
     2244        { ac_try='test -s conftest.$ac_objext'
    21562245  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21572246  (eval $ac_try) 2>&5
     
    21652254
    21662255fi
    2167 rm -f conftest.$ac_objext conftest.$ac_ext
     2256rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    21682257done
    21692258rm -f conftest*
     
    21792268
    21802269fi
    2181 rm -f conftest.$ac_objext conftest.$ac_ext
     2270rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    21822271ac_ext=c
    21832272ac_cpp='$CPP $CPPFLAGS'
     
    21982287# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    21992288# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     2289# OS/2's system install, which has a completely different semantic
    22002290# ./install, which can be erroneously created by make from ./install.sh.
    22012291echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     
    22142304  ./ | .// | /cC/* | \
    22152305  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     2306  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    22162307  /usr/ucb/* ) ;;
    22172308  *)
     
    22212312    for ac_prog in ginstall scoinst install; do
    22222313      for ac_exec_ext in '' $ac_executable_extensions; do
    2223         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    2224           if test $ac_prog = install &&
    2225             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2226             # AIX install.  It has an incompatible calling convention.
    2227             :
    2228           elif test $ac_prog = install &&
    2229             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    2230             # program-specific install script used by HP pwplus--don't use.
    2231             :
    2232           else
    2233             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2234             break 3
    2235           fi
    2236         fi
     2314        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     2315          if test $ac_prog = install &&
     2316            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2317            # AIX install.  It has an incompatible calling convention.
     2318            :
     2319          elif test $ac_prog = install &&
     2320            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     2321            # program-specific install script used by HP pwplus--don't use.
     2322            :
     2323          else
     2324            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     2325            break 3
     2326          fi
     2327        fi
    22372328      done
    22382329    done
     
    22712362echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    22722363echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    2273 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
     2364set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    22742365if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    22752366  echo $ECHO_N "(cached) $ECHO_C" >&6
     
    24442535case $host_os in
    24452536  *cygwin* ) CYGWIN=yes;;
    2446         * ) CYGWIN=no;;
     2537        * ) CYGWIN=no;;
    24472538esac
    24482539
     
    29233014LIBS="-lpthread  $LIBS"
    29243015cat >conftest.$ac_ext <<_ACEOF
    2925 #line $LINENO "configure"
    29263016/* confdefs.h.  */
    29273017_ACEOF
     
    29473037rm -f conftest.$ac_objext conftest$ac_exeext
    29483038if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2949   (eval $ac_link) 2>&5
     3039  (eval $ac_link) 2>conftest.er1
     3040  ac_status=$?
     3041  grep -v '^ *+' conftest.er1 >conftest.err
     3042  rm -f conftest.er1
     3043  cat conftest.err >&5
     3044  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3045  (exit $ac_status); } &&
     3046         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
     3047  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3048  (eval $ac_try) 2>&5
    29503049  ac_status=$?
    29513050  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2952   (exit $ac_status); } &&
    2953         { ac_try='test -s conftest$ac_exeext'
     3051  (exit $ac_status); }; } &&
     3052        { ac_try='test -s conftest$ac_exeext'
    29543053  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    29553054  (eval $ac_try) 2>&5
     
    29643063ac_cv_lib_pthread_pthread_mutex_init=no
    29653064fi
    2966 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
     3065rm -f conftest.err conftest.$ac_objext \
     3066      conftest$ac_exeext conftest.$ac_ext
    29673067LIBS=$ac_check_lib_save_LIBS
    29683068fi
     
    32923392      # substitution turns \\\\ into \\, and sed turns \\ into \).
    32933393      sed -n \
    3294         "s/'/'\\\\''/g;
    3295           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     3394        "s/'/'\\\\''/g;
     3395          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    32963396      ;;
    32973397    *)
    32983398      # `set' quotes correctly as required by POSIX, so do not add quotes.
    32993399      sed -n \
    3300         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     3400        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    33013401      ;;
    33023402    esac;
     
    33283428# (actually we leave an empty line to preserve line numbers).
    33293429if test "x$srcdir" = x.; then
    3330   ac_vpsub='/^[         ]*VPATH[        ]*=/{
     3430  ac_vpsub='/^[  ]*VPATH[        ]*=/{
    33313431s/:*\$(srcdir):*/:/;
    33323432s/:*\${srcdir}:*/:/;
    33333433s/:*@srcdir@:*/:/;
    3334 s/^\([^=]*=[    ]*\):*/\1/;
     3434s/^\([^=]*=[     ]*\):*/\1/;
    33353435s/:*$//;
    3336 s/^[^=]*=[      ]*$//;
     3436s/^[^=]*=[       ]*$//;
    33373437}'
    33383438fi
     
    33483448t clear
    33493449: clear
    3350 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
     3450s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
    33513451t quote
    3352 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
     3452s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
    33533453t quote
    33543454d
    33553455: quote
    3356 s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
     3456s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
    33573457s,\[,\\&,g
    33583458s,\],\\&,g
     
    33763476  # 1. Remove the extension, and $U if already installed.
    33773477  ac_i=`echo "$ac_i" |
    3378         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     3478        sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    33793479  # 2. Add them.
    33803480  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     
    34203520  set -o posix
    34213521fi
     3522DUALCASE=1; export DUALCASE # for MKS sh
    34223523
    34233524# Support unset when possible.
    3424 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     3525if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    34253526  as_unset=unset
    34263527else
     
    34413542  LC_TELEPHONE LC_TIME
    34423543do
    3443   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
     3544  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    34443545    eval $as_var=C; export $as_var
    34453546  else
     
    36203721  as_mkdir_p=:
    36213722else
     3723  test -d ./-p && rmdir ./-p
    36223724  as_mkdir_p=false
    36233725fi
     
    36263728
    36273729# Sed expression to map a string onto a valid CPP name.
    3628 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
     3730as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    36293731
    36303732# Sed expression to map a string onto a valid variable name.
    3631 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
     3733as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    36323734
    36333735
     
    36563758
    36573759This file was extended by $as_me, which was
    3658 generated by GNU Autoconf 2.57.  Invocation command line was
     3760generated by GNU Autoconf 2.59.  Invocation command line was
    36593761
    36603762  CONFIG_FILES    = $CONFIG_FILES
     
    37003802      --recheck    update $as_me by reconfiguring in the same conditions
    37013803  --file=FILE[:TEMPLATE]
    3702                    instantiate the configuration file FILE
     3804                   instantiate the configuration file FILE
    37033805
    37043806Configuration files:
     
    37113813ac_cs_version="\\
    37123814config.status
    3713 configured by $0, generated by GNU Autoconf 2.57,
     3815configured by $0, generated by GNU Autoconf 2.59,
    37143816  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    37153817
    3716 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
    3717 Free Software Foundation, Inc.
     3818Copyright (C) 2003 Free Software Foundation, Inc.
    37183819This config.status script is free software; the Free Software Foundation
    37193820gives unlimited permission to copy, distribute and modify it."
     
    39924093  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    39934094      if test -z "$ac_sed_cmds"; then
    3994         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     4095        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    39954096      else
    3996         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     4097        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    39974098      fi
    39984099      ac_sed_frag=`expr $ac_sed_frag + 1`
     
    40124113  case $ac_file in
    40134114  - | *:- | *:-:* ) # input from stdin
    4014         cat >$tmp/stdin
    4015         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    4016         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     4115        cat >$tmp/stdin
     4116        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     4117        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    40174118  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    4018         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     4119        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    40194120  * )   ac_file_in=$ac_file.in ;;
    40204121  esac
     
    40234124  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    40244125$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    4025         X"$ac_file" : 'X\(//\)[^/]' \| \
    4026         X"$ac_file" : 'X\(//\)$' \| \
    4027         X"$ac_file" : 'X\(/\)' \| \
    4028         .     : '\(.\)' 2>/dev/null ||
     4126        X"$ac_file" : 'X\(//\)[^/]' \| \
     4127        X"$ac_file" : 'X\(//\)$' \| \
     4128        X"$ac_file" : 'X\(/\)' \| \
     4129        .     : '\(.\)' 2>/dev/null ||
    40294130echo X"$ac_file" |
    40304131    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    40424143      as_dir=`(dirname "$as_dir") 2>/dev/null ||
    40434144$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    4044         X"$as_dir" : 'X\(//\)[^/]' \| \
    4045         X"$as_dir" : 'X\(//\)$' \| \
    4046         X"$as_dir" : 'X\(/\)' \| \
    4047         .     : '\(.\)' 2>/dev/null ||
     4145        X"$as_dir" : 'X\(//\)[^/]' \| \
     4146        X"$as_dir" : 'X\(//\)$' \| \
     4147        X"$as_dir" : 'X\(/\)' \| \
     4148        .     : '\(.\)' 2>/dev/null ||
    40484149echo X"$as_dir" |
    40494150    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     
    40834184    ac_top_srcdir=$ac_top_builddir$srcdir ;;
    40844185esac
    4085 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
    4086 # absolute.
    4087 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
    4088 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
    4089 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
    4090 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
     4186
     4187# Do not use `cd foo && pwd` to compute absolute paths, because
     4188# the directories may not exist.
     4189case `pwd` in
     4190.) ac_abs_builddir="$ac_dir";;
     4191*)
     4192  case "$ac_dir" in
     4193  .) ac_abs_builddir=`pwd`;;
     4194  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     4195  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     4196  esac;;
     4197esac
     4198case $ac_abs_builddir in
     4199.) ac_abs_top_builddir=${ac_top_builddir}.;;
     4200*)
     4201  case ${ac_top_builddir}. in
     4202  .) ac_abs_top_builddir=$ac_abs_builddir;;
     4203  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     4204  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     4205  esac;;
     4206esac
     4207case $ac_abs_builddir in
     4208.) ac_abs_srcdir=$ac_srcdir;;
     4209*)
     4210  case $ac_srcdir in
     4211  .) ac_abs_srcdir=$ac_abs_builddir;;
     4212  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     4213  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     4214  esac;;
     4215esac
     4216case $ac_abs_builddir in
     4217.) ac_abs_top_srcdir=$ac_top_srcdir;;
     4218*)
     4219  case $ac_top_srcdir in
     4220  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     4221  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     4222  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     4223  esac;;
     4224esac
    40914225
    40924226
     
    40964230  esac
    40974231
    4098   if test x"$ac_file" != x-; then
    4099     { echo "$as_me:$LINENO: creating $ac_file" >&5
    4100 echo "$as_me: creating $ac_file" >&6;}
    4101     rm -f "$ac_file"
    4102   fi
    41034232  # Let's still pretend it is `configure' which instantiates (i.e., don't
    41044233  # use $as_me), people would be surprised to read:
     
    41104239  fi
    41114240  configure_input=$configure_input"Generated from `echo $ac_file_in |
    4112                                      sed 's,.*/,,'` by configure."
     4241                                     sed 's,.*/,,'` by configure."
    41134242
    41144243  # First look for the input files in the build tree, otherwise in the
     
    41194248      -) echo $tmp/stdin ;;
    41204249      [\\/$]*)
    4121         # Absolute (can't be DOS-style, as IFS=:)
    4122         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     4250        # Absolute (can't be DOS-style, as IFS=:)
     4251        test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    41234252echo "$as_me: error: cannot find input file: $f" >&2;}
    41244253   { (exit 1); exit 1; }; }
    4125          echo $f;;
     4254         echo "$f";;
    41264255      *) # Relative
    4127         if test -f "$f"; then
    4128            # Build tree
    4129            echo $f
    4130         elif test -f "$srcdir/$f"; then
    4131            # Source tree
    4132            echo $srcdir/$f
    4133         else
    4134            # /dev/null tree
    4135            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     4256        if test -f "$f"; then
     4257           # Build tree
     4258           echo "$f"
     4259        elif test -f "$srcdir/$f"; then
     4260           # Source tree
     4261           echo "$srcdir/$f"
     4262        else
     4263           # /dev/null tree
     4264           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    41364265echo "$as_me: error: cannot find input file: $f" >&2;}
    41374266   { (exit 1); exit 1; }; }
    4138         fi;;
     4267        fi;;
    41394268      esac
    41404269    done` || { (exit 1); exit 1; }
     4270
     4271  if test x"$ac_file" != x-; then
     4272    { echo "$as_me:$LINENO: creating $ac_file" >&5
     4273echo "$as_me: creating $ac_file" >&6;}
     4274    rm -f "$ac_file"
     4275  fi
    41414276_ACEOF
    41424277cat >>$CONFIG_STATUS <<_ACEOF
  • trunk/src/Makefile

    r399 r408  
    11# you need to change this to where your version of rappture
    22# is (or should be) installed.
     3ifndef RP_INSTALL_BASE
    34RP_INSTALL_BASE = /opt/rappture
     5endif
    46
    57# tell make where to find the expat & libscew sources
Note: See TracChangeset for help on using the changeset viewer.