Changeset 26808

Show
Ignore:
Timestamp:
30.01.2013 13:34:53 (6 years ago)
Author:
davidb
Message:

Strip test added

Location:
main/trunk/greenstone2/common-src
Files:
2 modified

Legend:

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

    r26658 r26808  
    616616MICO_VER 
    617617ARCH_DEP_FLAGS 
     618STRIP 
    618619RANLIB 
    619620SET_MAKE 
     
    37593760        ac_cv_prog_uudecode_base64=yes 
    37603761else 
    3761         echo "configure: 3761: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 
     3762        echo "configure: 3762: uudecode had trouble decoding base 64 file 'Test.uue'" >&5 
    37623763        echo "configure: failed file was:" >&5 
    37633764        cat Test.uue >&5 
     
    38823883CLASS_TEST=Test.class 
    38833884cat << \EOF > $JAVA_TEST 
    3884 /* #line 3884 "configure" */ 
     3885/* #line 3885 "configure" */ 
    38853886public class Test { 
    38863887} 
     
    39213922TEST=Test 
    39223923cat << \EOF > $JAVA_TEST 
    3923 /* [#]line 3923 "configure" */ 
     3924/* [#]line 3924 "configure" */ 
    39243925public class Test { 
    39253926public static void main (String args[]) { 
     
    40664067CLASS_TEST=Test.class 
    40674068cat << \EOF > $JAVA_TEST 
    4068 /* #line 4068 "configure" */ 
     4069/* #line 4069 "configure" */ 
    40694070public class Test { 
    40704071} 
     
    45444545else 
    45454546  RANLIB="$ac_cv_prog_RANLIB" 
     4547fi 
     4548 
     4549if test -n "$ac_tool_prefix"; then 
     4550  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 
     4551set dummy ${ac_tool_prefix}strip; ac_word=$2 
     4552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     4553$as_echo_n "checking for $ac_word... " >&6; } 
     4554if ${ac_cv_prog_STRIP+:} false; then : 
     4555  $as_echo_n "(cached) " >&6 
     4556else 
     4557  if test -n "$STRIP"; then 
     4558  ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 
     4559else 
     4560as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4561for as_dir in $PATH 
     4562do 
     4563  IFS=$as_save_IFS 
     4564  test -z "$as_dir" && as_dir=. 
     4565    for ac_exec_ext in '' $ac_executable_extensions; do 
     4566  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     4567    ac_cv_prog_STRIP="${ac_tool_prefix}strip" 
     4568    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     4569    break 2 
     4570  fi 
     4571done 
     4572  done 
     4573IFS=$as_save_IFS 
     4574 
     4575fi 
     4576fi 
     4577STRIP=$ac_cv_prog_STRIP 
     4578if test -n "$STRIP"; then 
     4579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 
     4580$as_echo "$STRIP" >&6; } 
     4581else 
     4582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     4583$as_echo "no" >&6; } 
     4584fi 
     4585 
     4586 
     4587fi 
     4588if test -z "$ac_cv_prog_STRIP"; then 
     4589  ac_ct_STRIP=$STRIP 
     4590  # Extract the first word of "strip", so it can be a program name with args. 
     4591set dummy strip; ac_word=$2 
     4592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     4593$as_echo_n "checking for $ac_word... " >&6; } 
     4594if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 
     4595  $as_echo_n "(cached) " >&6 
     4596else 
     4597  if test -n "$ac_ct_STRIP"; then 
     4598  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 
     4599else 
     4600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     4601for as_dir in $PATH 
     4602do 
     4603  IFS=$as_save_IFS 
     4604  test -z "$as_dir" && as_dir=. 
     4605    for ac_exec_ext in '' $ac_executable_extensions; do 
     4606  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     4607    ac_cv_prog_ac_ct_STRIP="strip" 
     4608    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     4609    break 2 
     4610  fi 
     4611done 
     4612  done 
     4613IFS=$as_save_IFS 
     4614 
     4615fi 
     4616fi 
     4617ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 
     4618if test -n "$ac_ct_STRIP"; then 
     4619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 
     4620$as_echo "$ac_ct_STRIP" >&6; } 
     4621else 
     4622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     4623$as_echo "no" >&6; } 
     4624fi 
     4625 
     4626  if test "x$ac_ct_STRIP" = x; then 
     4627    STRIP="" 
     4628  else 
     4629    case $cross_compiling:$ac_tool_warned in 
     4630yes:) 
     4631{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 
     4632$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 
     4633ac_tool_warned=yes ;; 
     4634esac 
     4635    STRIP=$ac_ct_STRIP 
     4636  fi 
     4637else 
     4638  STRIP="$ac_cv_prog_STRIP" 
    45464639fi 
    45474640 
  • main/trunk/greenstone2/common-src/configure.in

    r26658 r26808  
    215215AC_PROG_MAKE_SET 
    216216AC_PROG_RANLIB 
     217AC_CHECK_TOOL([STRIP],[strip]) 
    217218 
    218219AC_MSG_CHECKING(to see if architecture is 64-bit)