Annotation of embedaddon/php/buildconf, revision 1.1
1.1 ! misho 1: #!/bin/sh
! 2: # $Id: buildconf 284427 2009-07-20 10:51:40Z jani $
! 3:
! 4: eval `grep '^PHP_EXTRA_VERSION=' configure.in`
! 5: case "$PHP_EXTRA_VERSION" in
! 6: *-dev)
! 7: dev=1
! 8: ;;
! 9: *)
! 10: dev=0
! 11: ;;
! 12: esac
! 13:
! 14: devok=0
! 15: debug=no
! 16:
! 17: while test $# -gt 0; do
! 18: if test "$1" = "--force"; then
! 19: devok=1
! 20: echo "Forcing buildconf"
! 21: fi
! 22:
! 23: if test "$1" = "--debug"; then
! 24: debug=yes
! 25: fi
! 26:
! 27: shift
! 28: done
! 29:
! 30: if test "$dev" = "0" -a "$devok" = "0"; then
! 31: echo "You should not run buildconf in a release package."
! 32: echo "use buildconf --force to override this check."
! 33: exit 1
! 34: fi
! 35:
! 36: rm -f generated_lists
! 37:
! 38: if test "$debug" = "yes"; then
! 39: ${MAKE:-make} -s -f build/build.mk SUPPRESS_WARNINGS=""
! 40: else
! 41: ${MAKE:-make} -s -f build/build.mk
! 42: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>