Changeset 21432 for main/trunk/greenstone2/common-src/packages
- Timestamp:
- 2010-01-06T17:30:17+13:00 (14 years ago)
- Location:
- main/trunk/greenstone2/common-src/packages
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/packages/configure
r21419 r21432 158 158 159 159 # configure 160 echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE -- disable-shared--prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT160 echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 161 161 cd "$PACKAGES/iconv/libiconv-1.13.1" && \ 162 CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE -- disable-shared--prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT162 CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT 163 163 164 164 # make … … 169 169 echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $HOSTTARGETFLAGS $ENVIRONMENT 170 170 CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $HOSTTARGETFLAGS $ENVIRONMENT 171 172 if test ! -z "$COMPAT32BITFLAGS" ; then 173 echo "Generating native 64-bit version as well" 174 # used in apache web server, for example 175 176 # dist clean 177 cd "$PACKAGES/iconv/libiconv-1.13.1" 178 echo make distclean && \ 179 make distclean 180 181 # configure 182 echo ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" --libdir="$PACKAGES/iconv/lib64" $HOSTTARGETFLAGS $ENVIRONMENT 183 ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" --libdir="$PACKAGES/iconv/lib64" $HOSTTARGETFLAGS $ENVIRONMENT 184 185 # make 186 echo make $HOSTTARGETFLAGS $ENVIRONMENT 187 make $HOSTTARGETFLAGS $ENVIRONMENT 188 189 # make install 190 make install $HOSTTARGETFLAGS $ENVIRONMENT 191 make install $HOSTTARGETFLAGS $ENVIRONMENT 192 193 fi 171 194 172 195 #./configure $CACHE_FILE --prefix="$PACKAGES/iconv" --disable-shared $HOSTTARGETFLAGS&& -
main/trunk/greenstone2/common-src/packages/gdbm/gdbm-1.8.3/configure
r18345 r21432 7520 7520 7521 7521 7522 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 7523 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 7524 arch_64bit=no 7525 case "$host_cpu" in 7526 x86_64) arch_64bit=yes ;; 7527 esac 7528 7529 if test "$arch_64bit" = yes; then 7530 echo "$as_me:$LINENO: result: yes" >&5 7531 echo "${ECHO_T}yes" >&6 7532 if test -z "$COMPAT32BITFLAGS" ; then 7533 COMPAT32BITFLAGS="-m32" 7534 fi 7535 else 7536 echo "$as_me:$LINENO: result: no" >&5 7537 echo "${ECHO_T}no" >&6 7538 if test -z "$COMPAT32BITFLAGS" ; then 7539 COMPAT32BITFLAGS= 7540 fi 7541 fi 7542 export COMPAT32BITFLAGS 7522 7523 7524 cat >>confdefs.h <<_ACEOF 7525 #define COMPAT32BITFLAGS $COMPAT32BITFLAGS 7526 _ACEOF 7527 7543 7528 7544 7529 -
main/trunk/greenstone2/common-src/packages/gdbm/gdbm-1.8.3/configure.in
r18345 r21432 16 16 dnl AC_C_BIGENDIAN([]) 17 17 18 AC_MSG_CHECKING(to see if architecture is 64-bit) 19 arch_64bit=no 20 case "$host_cpu" in 21 x86_64) arch_64bit=yes ;; 22 esac 18 dnl AC_MSG_CHECKING(to see if architecture is 64-bit) 19 dnl arch_64bit=no 20 dnl case "$host_cpu" in 21 dnl x86_64) arch_64bit=yes ;; 22 dnl esac 23 dnl 24 dnl if test "$arch_64bit" = yes; then 25 dnl AC_MSG_RESULT(yes) 26 dnl if test -z "$COMPAT32BITFLAGS" ; then 27 dnl COMPAT32BITFLAGS="-m32" 28 dnl LIBTOOLCOMPAT32BITFLAGS="-Wl,-m32" 29 dnl fi 30 dnl else 31 dnl AC_MSG_RESULT(no) 32 dnl if test -z "$COMPAT32BITFLAGS" ; then 33 dnl COMPAT32BITFLAGS= 34 dnl LIBTOOLCOMPAT32BITFLAGS= 35 dnl fi 36 dnl fi 37 dnl export COMPAT32BITFLAGS 38 dnl AC_SUBST(COMPAT32BITFLAGS) 23 39 24 if test "$arch_64bit" = yes; then 25 AC_MSG_RESULT(yes) 26 if test -z "$COMPAT32BITFLAGS" ; then 27 COMPAT32BITFLAGS="-m32" 28 LIBTOOLCOMPAT32BITFLAGS="-Wl,-m32" 29 fi 30 else 31 AC_MSG_RESULT(no) 32 if test -z "$COMPAT32BITFLAGS" ; then 33 COMPAT32BITFLAGS= 34 LIBTOOLCOMPAT32BITFLAGS= 35 fi 36 fi 37 export COMPAT32BITFLAGS 40 41 AC_DEFINE_UNQUOTED(COMPAT32BITFLAGS, $COMPAT32BITFLAGS) 38 42 AC_SUBST(COMPAT32BITFLAGS) 39 43
Note:
See TracChangeset
for help on using the changeset viewer.