Changeset 26809


Ignore:
Timestamp:
2013-01-30T13:35:49+13:00 (9 years ago)
Author:
davidb
Message:

Strip test added

Location:
main/trunk/greenstone2/build-src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/build-src/configure

    r26663 r26809  
    614614MICO_VER
    615615ARCH_DEP_FLAGS
     616STRIP
    616617RANLIB
    617618SET_MAKE
     
    36493650CLASS_TEST=Test.class
    36503651cat << \EOF > $JAVA_TEST
    3651 /* #line 3651 "configure" */
     3652/* #line 3652 "configure" */
    36523653public class Test {
    36533654}
     
    38283829        ac_cv_prog_uudecode_base64=yes
    38293830else
    3830         echo "configure: 3830: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
     3831        echo "configure: 3831: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
    38313832        echo "configure: failed file was:" >&5
    38323833        cat Test.uue >&5
     
    39523953CLASS_TEST=Test.class
    39533954cat << \EOF > $JAVA_TEST
    3954 /* #line 3954 "configure" */
     3955/* #line 3955 "configure" */
    39553956public class Test {
    39563957}
     
    39913992TEST=Test
    39923993cat << \EOF > $JAVA_TEST
    3993 /* [#]line 3993 "configure" */
     3994/* [#]line 3994 "configure" */
    39943995public class Test {
    39953996public static void main (String args[]) {
     
    44824483else
    44834484  RANLIB="$ac_cv_prog_RANLIB"
     4485fi
     4486
     4487if test -n "$ac_tool_prefix"; then
     4488  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     4489set dummy ${ac_tool_prefix}strip; ac_word=$2
     4490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4491$as_echo_n "checking for $ac_word... " >&6; }
     4492if ${ac_cv_prog_STRIP+:} false; then :
     4493  $as_echo_n "(cached) " >&6
     4494else
     4495  if test -n "$STRIP"; then
     4496  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
     4497else
     4498as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4499for as_dir in $PATH
     4500do
     4501  IFS=$as_save_IFS
     4502  test -z "$as_dir" && as_dir=.
     4503    for ac_exec_ext in '' $ac_executable_extensions; do
     4504  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4505    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     4506    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4507    break 2
     4508  fi
     4509done
     4510  done
     4511IFS=$as_save_IFS
     4512
     4513fi
     4514fi
     4515STRIP=$ac_cv_prog_STRIP
     4516if test -n "$STRIP"; then
     4517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
     4518$as_echo "$STRIP" >&6; }
     4519else
     4520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4521$as_echo "no" >&6; }
     4522fi
     4523
     4524
     4525fi
     4526if test -z "$ac_cv_prog_STRIP"; then
     4527  ac_ct_STRIP=$STRIP
     4528  # Extract the first word of "strip", so it can be a program name with args.
     4529set dummy strip; ac_word=$2
     4530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4531$as_echo_n "checking for $ac_word... " >&6; }
     4532if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
     4533  $as_echo_n "(cached) " >&6
     4534else
     4535  if test -n "$ac_ct_STRIP"; then
     4536  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
     4537else
     4538as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4539for as_dir in $PATH
     4540do
     4541  IFS=$as_save_IFS
     4542  test -z "$as_dir" && as_dir=.
     4543    for ac_exec_ext in '' $ac_executable_extensions; do
     4544  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4545    ac_cv_prog_ac_ct_STRIP="strip"
     4546    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4547    break 2
     4548  fi
     4549done
     4550  done
     4551IFS=$as_save_IFS
     4552
     4553fi
     4554fi
     4555ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     4556if test -n "$ac_ct_STRIP"; then
     4557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
     4558$as_echo "$ac_ct_STRIP" >&6; }
     4559else
     4560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4561$as_echo "no" >&6; }
     4562fi
     4563
     4564  if test "x$ac_ct_STRIP" = x; then
     4565    STRIP=""
     4566  else
     4567    case $cross_compiling:$ac_tool_warned in
     4568yes:)
     4569{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4570$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4571ac_tool_warned=yes ;;
     4572esac
     4573    STRIP=$ac_ct_STRIP
     4574  fi
     4575else
     4576  STRIP="$ac_cv_prog_STRIP"
    44844577fi
    44854578
  • main/trunk/greenstone2/build-src/configure.in

    r26663 r26809  
    175175AC_PROG_MAKE_SET
    176176AC_PROG_RANLIB
     177AC_CHECK_TOOL([STRIP],[strip])
    177178
    178179AC_MSG_CHECKING(to see if architecture is 64-bit)
Note: See TracChangeset for help on using the changeset viewer.