Changeset 1115 for trunk


Ignore:
Timestamp:
Aug 18, 2008 1:40:36 PM (16 years ago)
Author:
gah
Message:
 
Location:
trunk/packages/vizservers
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/configure

    r1114 r1115  
    18441844
    18451845
     1846ac_config_headers="$ac_config_headers nanoscale/config.h"
     1847
    18461848
    18471849VERSION=0.0.1
     
    93239325
    93249326
     9327
     9328
     9329
     9330
     9331
     9332for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
     9333do
     9334as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     9335if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9336  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9337$as_echo_n "checking for $ac_header... " >&6; }
     9338if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9339  $as_echo_n "(cached) " >&6
     9340fi
     9341ac_res=`eval 'as_val=${'$as_ac_Header'}
     9342                 $as_echo "$as_val"'`
     9343               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9344$as_echo "$ac_res" >&6; }
     9345else
     9346  # Is the header compilable?
     9347{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     9348$as_echo_n "checking $ac_header usability... " >&6; }
     9349cat >conftest.$ac_ext <<_ACEOF
     9350/* confdefs.h.  */
     9351_ACEOF
     9352cat confdefs.h >>conftest.$ac_ext
     9353cat >>conftest.$ac_ext <<_ACEOF
     9354/* end confdefs.h.  */
     9355$ac_includes_default
     9356#include <$ac_header>
     9357_ACEOF
     9358rm -f conftest.$ac_objext
     9359if { (ac_try="$ac_compile"
     9360case "(($ac_try" in
     9361  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9362  *) ac_try_echo=$ac_try;;
     9363esac
     9364eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9365$as_echo "$ac_try_echo") >&5
     9366  (eval "$ac_compile") 2>conftest.er1
     9367  ac_status=$?
     9368  grep -v '^ *+' conftest.er1 >conftest.err
     9369  rm -f conftest.er1
     9370  cat conftest.err >&5
     9371  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9372  (exit $ac_status); } && {
     9373         test -z "$ac_cxx_werror_flag" ||
     9374         test ! -s conftest.err
     9375       } && test -s conftest.$ac_objext; then
     9376  ac_header_compiler=yes
     9377else
     9378  $as_echo "$as_me: failed program was:" >&5
     9379sed 's/^/| /' conftest.$ac_ext >&5
     9380
     9381        ac_header_compiler=no
     9382fi
     9383
     9384rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9385{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9386$as_echo "$ac_header_compiler" >&6; }
     9387
     9388# Is the header present?
     9389{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     9390$as_echo_n "checking $ac_header presence... " >&6; }
     9391cat >conftest.$ac_ext <<_ACEOF
     9392/* confdefs.h.  */
     9393_ACEOF
     9394cat confdefs.h >>conftest.$ac_ext
     9395cat >>conftest.$ac_ext <<_ACEOF
     9396/* end confdefs.h.  */
     9397#include <$ac_header>
     9398_ACEOF
     9399if { (ac_try="$ac_cpp conftest.$ac_ext"
     9400case "(($ac_try" in
     9401  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9402  *) ac_try_echo=$ac_try;;
     9403esac
     9404eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9405$as_echo "$ac_try_echo") >&5
     9406  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     9407  ac_status=$?
     9408  grep -v '^ *+' conftest.er1 >conftest.err
     9409  rm -f conftest.er1
     9410  cat conftest.err >&5
     9411  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9412  (exit $ac_status); } >/dev/null && {
     9413         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     9414         test ! -s conftest.err
     9415       }; then
     9416  ac_header_preproc=yes
     9417else
     9418  $as_echo "$as_me: failed program was:" >&5
     9419sed 's/^/| /' conftest.$ac_ext >&5
     9420
     9421  ac_header_preproc=no
     9422fi
     9423
     9424rm -f conftest.err conftest.$ac_ext
     9425{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9426$as_echo "$ac_header_preproc" >&6; }
     9427
     9428# So?  What about this header?
     9429case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     9430  yes:no: )
     9431    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     9432$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9433    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     9434$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     9435    ac_header_preproc=yes
     9436    ;;
     9437  no:yes:* )
     9438    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     9439$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     9440    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     9441$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     9442    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     9443$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     9444    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     9445$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     9446    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     9447$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     9448    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     9449$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     9450    ( cat <<\_ASBOX
     9451## ----------------------------------- ##
     9452## Report this to rappture@nanohub.org ##
     9453## ----------------------------------- ##
     9454_ASBOX
     9455     ) | sed "s/^/$as_me: WARNING:     /" >&2
     9456    ;;
     9457esac
     9458{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9459$as_echo_n "checking for $ac_header... " >&6; }
     9460if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9461  $as_echo_n "(cached) " >&6
     9462else
     9463  eval "$as_ac_Header=\$ac_header_preproc"
     9464fi
     9465ac_res=`eval 'as_val=${'$as_ac_Header'}
     9466                 $as_echo "$as_val"'`
     9467               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9468$as_echo "$ac_res" >&6; }
     9469
     9470fi
     9471if test `eval 'as_val=${'$as_ac_Header'}
     9472                 $as_echo "$as_val"'` = yes; then
     9473  cat >>confdefs.h <<_ACEOF
     9474#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     9475_ACEOF
     9476
     9477fi
     9478
     9479done
     9480
     9481
     9482
     9483
     9484
     9485
     9486for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
     9487do
     9488as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     9489if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9490  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9491$as_echo_n "checking for $ac_header... " >&6; }
     9492if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9493  $as_echo_n "(cached) " >&6
     9494fi
     9495ac_res=`eval 'as_val=${'$as_ac_Header'}
     9496                 $as_echo "$as_val"'`
     9497               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9498$as_echo "$ac_res" >&6; }
     9499else
     9500  # Is the header compilable?
     9501{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     9502$as_echo_n "checking $ac_header usability... " >&6; }
     9503cat >conftest.$ac_ext <<_ACEOF
     9504/* confdefs.h.  */
     9505_ACEOF
     9506cat confdefs.h >>conftest.$ac_ext
     9507cat >>conftest.$ac_ext <<_ACEOF
     9508/* end confdefs.h.  */
     9509$ac_includes_default
     9510#include <$ac_header>
     9511_ACEOF
     9512rm -f conftest.$ac_objext
     9513if { (ac_try="$ac_compile"
     9514case "(($ac_try" in
     9515  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9516  *) ac_try_echo=$ac_try;;
     9517esac
     9518eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9519$as_echo "$ac_try_echo") >&5
     9520  (eval "$ac_compile") 2>conftest.er1
     9521  ac_status=$?
     9522  grep -v '^ *+' conftest.er1 >conftest.err
     9523  rm -f conftest.er1
     9524  cat conftest.err >&5
     9525  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9526  (exit $ac_status); } && {
     9527         test -z "$ac_cxx_werror_flag" ||
     9528         test ! -s conftest.err
     9529       } && test -s conftest.$ac_objext; then
     9530  ac_header_compiler=yes
     9531else
     9532  $as_echo "$as_me: failed program was:" >&5
     9533sed 's/^/| /' conftest.$ac_ext >&5
     9534
     9535        ac_header_compiler=no
     9536fi
     9537
     9538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9539{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9540$as_echo "$ac_header_compiler" >&6; }
     9541
     9542# Is the header present?
     9543{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     9544$as_echo_n "checking $ac_header presence... " >&6; }
     9545cat >conftest.$ac_ext <<_ACEOF
     9546/* confdefs.h.  */
     9547_ACEOF
     9548cat confdefs.h >>conftest.$ac_ext
     9549cat >>conftest.$ac_ext <<_ACEOF
     9550/* end confdefs.h.  */
     9551#include <$ac_header>
     9552_ACEOF
     9553if { (ac_try="$ac_cpp conftest.$ac_ext"
     9554case "(($ac_try" in
     9555  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9556  *) ac_try_echo=$ac_try;;
     9557esac
     9558eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9559$as_echo "$ac_try_echo") >&5
     9560  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     9561  ac_status=$?
     9562  grep -v '^ *+' conftest.er1 >conftest.err
     9563  rm -f conftest.er1
     9564  cat conftest.err >&5
     9565  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9566  (exit $ac_status); } >/dev/null && {
     9567         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     9568         test ! -s conftest.err
     9569       }; then
     9570  ac_header_preproc=yes
     9571else
     9572  $as_echo "$as_me: failed program was:" >&5
     9573sed 's/^/| /' conftest.$ac_ext >&5
     9574
     9575  ac_header_preproc=no
     9576fi
     9577
     9578rm -f conftest.err conftest.$ac_ext
     9579{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9580$as_echo "$ac_header_preproc" >&6; }
     9581
     9582# So?  What about this header?
     9583case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     9584  yes:no: )
     9585    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     9586$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9587    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     9588$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     9589    ac_header_preproc=yes
     9590    ;;
     9591  no:yes:* )
     9592    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     9593$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     9594    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     9595$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     9596    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     9597$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     9598    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     9599$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     9600    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     9601$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     9602    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     9603$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     9604    ( cat <<\_ASBOX
     9605## ----------------------------------- ##
     9606## Report this to rappture@nanohub.org ##
     9607## ----------------------------------- ##
     9608_ASBOX
     9609     ) | sed "s/^/$as_me: WARNING:     /" >&2
     9610    ;;
     9611esac
     9612{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     9613$as_echo_n "checking for $ac_header... " >&6; }
     9614if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     9615  $as_echo_n "(cached) " >&6
     9616else
     9617  eval "$as_ac_Header=\$ac_header_preproc"
     9618fi
     9619ac_res=`eval 'as_val=${'$as_ac_Header'}
     9620                 $as_echo "$as_val"'`
     9621               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     9622$as_echo "$ac_res" >&6; }
     9623
     9624fi
     9625if test `eval 'as_val=${'$as_ac_Header'}
     9626                 $as_echo "$as_val"'` = yes; then
     9627  cat >>confdefs.h <<_ACEOF
     9628#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     9629_ACEOF
     9630
     9631fi
     9632
     9633done
     9634
     9635
    93259636{ $as_echo "$as_me:$LINENO: checking for DX installation" >&5
    93269637$as_echo_n "checking for DX installation... " >&6; }
     
    94319742test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    94329743
    9433 # Transform confdefs.h into DEFS.
    9434 # Protect against shell expansion while executing Makefile rules.
    9435 # Protect against Makefile macro expansion.
    9436 #
    9437 # If the first sed substitution is executed (which looks for macros that
    9438 # take arguments), then branch to the quote section.  Otherwise,
    9439 # look for a macro that doesn't take arguments.
    9440 ac_script='
    9441 :mline
    9442 /\\$/{
    9443  N
    9444  s,\\\n,,
    9445  b mline
    9446 }
    9447 t clear
    9448 :clear
    9449 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
    9450 t quote
    9451 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
    9452 t quote
    9453 b any
    9454 :quote
    9455 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
    9456 s/\[/\\&/g
    9457 s/\]/\\&/g
    9458 s/\$/$$/g
    9459 H
    9460 :any
    9461 ${
    9462         g
    9463         s/^\n//
    9464         s/\n/ /g
    9465         p
    9466 }
    9467 '
    9468 DEFS=`sed -n "$ac_script" confdefs.h`
    9469 
     9744DEFS=-DHAVE_CONFIG_H
    94709745
    94719746ac_libobjs=
     
    982410099# Files that config.status was made for.
    982510100config_files="`echo $ac_config_files`"
     10101config_headers="`echo $ac_config_headers`"
    982610102
    982710103_ACEOF
     
    984110117  --file=FILE[:TEMPLATE]
    984210118                   instantiate the configuration file FILE
     10119  --header=FILE[:TEMPLATE]
     10120                   instantiate the configuration header FILE
    984310121
    984410122Configuration files:
    984510123$config_files
     10124
     10125Configuration headers:
     10126$config_headers
    984610127
    984710128Report bugs to <bug-autoconf@gnu.org>."
     
    989810179    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
    989910180    ac_need_defaults=false;;
    9900   --he | --h |  --help | --hel | -h )
     10181  --header | --heade | --head | --hea )
     10182    $ac_shift
     10183    case $ac_optarg in
     10184    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     10185    esac
     10186    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
     10187    ac_need_defaults=false;;
     10188  --he | --h)
     10189    # Conflict between --help and --header
     10190    { $as_echo "$as_me: error: ambiguous option: $1
     10191Try \`$0 --help' for more information." >&2
     10192   { (exit 1); exit 1; }; };;
     10193  --help | --hel | -h )
    990110194    $as_echo "$ac_cs_usage"; exit ;;
    990210195  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     
    995510248do
    995610249  case $ac_config_target in
     10250    "nanoscale/config.h") CONFIG_HEADERS="$CONFIG_HEADERS nanoscale/config.h" ;;
    995710251    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    995810252    "nanoscale/Makefile") CONFIG_FILES="$CONFIG_FILES nanoscale/Makefile" ;;
     
    997810272if $ac_need_defaults; then
    997910273  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
     10274  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
    998010275fi
    998110276
     
    1016110456fi # test -n "$CONFIG_FILES"
    1016210457
    10163 
    10164 eval set X "  :F $CONFIG_FILES      "
     10458# Set up the scripts for CONFIG_HEADERS section.
     10459# No need to generate them if there are no CONFIG_HEADERS.
     10460# This happens for instance with `./config.status Makefile'.
     10461if test -n "$CONFIG_HEADERS"; then
     10462cat >"$tmp/defines.awk" <<\_ACAWK ||
     10463BEGIN {
     10464_ACEOF
     10465
     10466# Transform confdefs.h into an awk script `defines.awk', embedded as
     10467# here-document in config.status, that substitutes the proper values into
     10468# config.h.in to produce config.h.
     10469
     10470# Create a delimiter string that does not exist in confdefs.h, to ease
     10471# handling of long lines.
     10472ac_delim='%!_!# '
     10473for ac_last_try in false false :; do
     10474  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
     10475  if test -z "$ac_t"; then
     10476    break
     10477  elif $ac_last_try; then
     10478    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
     10479$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
     10480   { (exit 1); exit 1; }; }
     10481  else
     10482    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     10483  fi
     10484done
     10485
     10486# For the awk script, D is an array of macro values keyed by name,
     10487# likewise P contains macro parameters if any.  Preserve backslash
     10488# newline sequences.
     10489
     10490ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     10491sed -n '
     10492s/.\{148\}/&'"$ac_delim"'/g
     10493t rset
     10494:rset
     10495s/^[     ]*#[    ]*define[       ][      ]*/ /
     10496t def
     10497d
     10498:def
     10499s/\\$//
     10500t bsnl
     10501s/["\\]/\\&/g
     10502s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     10503D["\1"]=" \3"/p
     10504s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
     10505d
     10506:bsnl
     10507s/["\\]/\\&/g
     10508s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     10509D["\1"]=" \3\\\\\\n"\\/p
     10510t cont
     10511s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
     10512t cont
     10513d
     10514:cont
     10515n
     10516s/.\{148\}/&'"$ac_delim"'/g
     10517t clear
     10518:clear
     10519s/\\$//
     10520t bsnlc
     10521s/["\\]/\\&/g; s/^/"/; s/$/"/p
     10522d
     10523:bsnlc
     10524s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
     10525b cont
     10526' <confdefs.h | sed '
     10527s/'"$ac_delim"'/"\\\
     10528"/g' >>$CONFIG_STATUS || ac_write_fail=1
     10529
     10530cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     10531  for (key in D) D_is_set[key] = 1
     10532  FS = ""
     10533}
     10534/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
     10535  line = \$ 0
     10536  split(line, arg, " ")
     10537  if (arg[1] == "#") {
     10538    defundef = arg[2]
     10539    mac1 = arg[3]
     10540  } else {
     10541    defundef = substr(arg[1], 2)
     10542    mac1 = arg[2]
     10543  }
     10544  split(mac1, mac2, "(") #)
     10545  macro = mac2[1]
     10546  if (D_is_set[macro]) {
     10547    # Preserve the white space surrounding the "#".
     10548    prefix = substr(line, 1, index(line, defundef) - 1)
     10549    print prefix "define", macro P[macro] D[macro]
     10550    next
     10551  } else {
     10552    # Replace #undef with comments.  This is necessary, for example,
     10553    # in the case of _POSIX_SOURCE, which is predefined and required
     10554    # on some systems where configure will not decide to define it.
     10555    if (defundef == "undef") {
     10556      print "/*", line, "*/"
     10557      next
     10558    }
     10559  }
     10560}
     10561{ print }
     10562_ACAWK
     10563_ACEOF
     10564cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     10565  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
     10566$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
     10567   { (exit 1); exit 1; }; }
     10568fi # test -n "$CONFIG_HEADERS"
     10569
     10570
     10571eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
    1016510572shift
    1016610573for ac_tag
     
    1043210839   { (exit 1); exit 1; }; }
    1043310840 ;;
    10434 
     10841  :H)
     10842  #
     10843  # CONFIG_HEADER
     10844  #
     10845  if test x"$ac_file" != x-; then
     10846    {
     10847      $as_echo "/* $configure_input  */" \
     10848      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
     10849    } >"$tmp/config.h" \
     10850      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     10851$as_echo "$as_me: error: could not create $ac_file" >&2;}
     10852   { (exit 1); exit 1; }; }
     10853    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
     10854      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     10855$as_echo "$as_me: $ac_file is unchanged" >&6;}
     10856    else
     10857      rm -f "$ac_file"
     10858      mv "$tmp/config.h" "$ac_file" \
     10859        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     10860$as_echo "$as_me: error: could not create $ac_file" >&2;}
     10861   { (exit 1); exit 1; }; }
     10862    fi
     10863  else
     10864    $as_echo "/* $configure_input  */" \
     10865      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
     10866      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
     10867$as_echo "$as_me: error: could not create -" >&2;}
     10868   { (exit 1); exit 1; }; }
     10869  fi
     10870 ;;
    1043510871
    1043610872
  • trunk/packages/vizservers/configure.in

    r1114 r1115  
    11AC_INIT(vizservers, 0.1, rappture@nanohub.org)
     2AC_CONFIG_HEADER(nanoscale/config.h)
    23
    34VERSION=0.0.1
     
    150151AC_CHECK_HEADER([GL/glut.h])
    151152
     153AC_CHECK_HEADERS([stdio.h unistd.h stdlib.h string.h sys/types.h])
     154AC_CHECK_HEADERS([sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h])
     155
    152156AC_MSG_CHECKING([for DX installation])
    153157DX_DIR=""
  • trunk/packages/vizservers/nanovis/Makefile.in

    r1114 r1115  
    165165                $(srcdir)/shaders/zincblende_volume.cg
    166166
    167 all: nanovis
     167all: mat_lib r2_lib img_lib tf_lib nanovis
    168168
    169169install: install-nanovis install-resources install-shaders
    170170
    171 $(MAT_LIB):
     171mat_lib:
    172172        $(MAKE) -C $(MAT_DIR) all
    173173
    174 $(R2_LIB):
     174r2_lib:
    175175        $(MAKE) -C $(R2_DIR)/src all
    176176
    177 $(IMG_LIB):
     177img_lib:
    178178        $(MAKE) -C $(IMG_DIR) all
    179179
    180 $(TF_LIB):
     180tf_lib:
    181181        $(MAKE) -C $(TF_DIR) all
    182182
  • trunk/packages/vizservers/nanovis/R2/src/R2Fonts.cpp

    r1113 r1115  
    113113            glBegin(GL_TRIANGLE_STRIP);
    114114           
    115             glTexCoord2f(charInfo._left, charInfo._top );
     115            glTexCoord2f(charInfo._left, charInfo._top);
    116116            glVertex2i(0, 0);
    117117           
    118118            glTexCoord2f(charInfo._left, charInfo._bottom);
    119             glVertex2i(0, attr._fontHeight);
     119            glVertex2i(0, (GLint)attr._fontHeight);
    120120           
    121121            glTexCoord2f(charInfo._right, charInfo._top);
    122             glVertex2i(charInfo._width, 0);
     122            glVertex2i((GLint)charInfo._width, 0);
    123123           
    124124            glTexCoord2f(charInfo._right,  charInfo._bottom);
    125             glVertex2i((int)charInfo._width, (int)attr._fontHeight);
    126            
    127             glEnd( );
     125            glVertex2i((GLint)charInfo._width, (GLint)attr._fontHeight);
     126           
     127            glEnd();
    128128            glTranslatef(charInfo._width, 0.0f, 0.0f);
    129129        }
Note: See TracChangeset for help on using the changeset viewer.