Update of /cvsroot/pure-data/pd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13481
Modified Files: Tag: devel_0_38 configure.ac Log Message: build system and hcs's pd.tk fix
Index: configure.ac =================================================================== RCS file: /cvsroot/pure-data/pd/Attic/configure.ac,v retrieving revision 1.1.4.1 retrieving revision 1.1.4.2 diff -C2 -d -r1.1.4.1 -r1.1.4.2 *** configure.ac 5 Nov 2004 13:23:19 -0000 1.1.4.1 --- configure.ac 7 Nov 2004 12:38:55 -0000 1.1.4.2 *************** *** 128,131 **** --- 128,134 ---- AC_DEFINE(GARRAY_THREAD_LOCK))
+ AC_ARG_ENABLE(setuid, [ --enable-setuid install as setuid (linux)], + setuid=yes) +
dnl compile features *************** *** 139,143 ****
AC_ARG_ENABLE(icc, [ --enable-icc icc support], ! CC=icc; icc=yes)
dnl linux specific part --- 142,146 ----
AC_ARG_ENABLE(icc, [ --enable-icc icc support], ! CC=icc; icc=yes; CFLAGS="-ip -ipo_obj "$CFLAGS; LDFLAGS="-ip -ipo_obj "$LDFLAGS)
dnl linux specific part *************** *** 149,152 **** --- 152,156 ---- if test $ac_cv_lib_asound_snd_pcm_info == "yes"; then AC_LIBOBJ(s_audio_alsa) + AC_LIBOBJ(s_audio_alsamm) fi if test $simdcode; then *************** *** 154,157 **** --- 158,166 ---- fi
+ dnl setuid + if test $setuid == "yes"; then + binarymode="-m4755" + fi + dnl platform dependant AC_DEFINE(USEAPI_OSS) *************** *** 166,192 ****
dnl optimization flags ! if test "$icc"; then ! if test "$optimize" == "pentium4"; then ! ARCH_CFLAGS="-xN -ip -ipo_obj" ! fi ! if test "$optimize" == "pentium3"; then ! ARCH_CFLAGS="-xK -ip -ipo_obj" ! fi ! else ! if test "$optimize" == "pentium4"; then ! ARCH_CFLAGS="-mtune=pentium4 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse" ! fi ! if test "$optimize" == "pentium3"; then ! ARCH_CFLAGS="-mtune=pentium3 -march=pentium3 -mmmx -msse -mfpmath=sse" ! fi ! if test "$optimize" == "pentium2"; then ! ARCH_CFLAGS="-mtune=pentium2 -march=pentium2 -mmmx"; ! CFLAGS=$CFLAGS" -DDONTUSESIMD" ! fi ! if test "$optimize" == "pentium"; then ! ARCH_CFLAGS="-mtune=pentium -march=pentium" ! CFLAGS=$CFLAGS" -DDONTUSESIMD" ! fi ! fi
dnl several flags --- 175,195 ----
dnl optimization flags ! if test "$optimize" == "pentium4"; then ! ARCH_CFLAGS="-mtune=pentium4 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse" ! fi ! if test "$optimize" == "pentium3"; then ! ARCH_CFLAGS="-mtune=pentium3 -march=pentium3 -mmmx -msse -mfpmath=sse" ! fi ! if test "$optimize" == "athlon-xp"; then ! ARCH_CFLAGS="-mtune=athlon-xp -march=athlon-xp -mmmx -msse -mfpmath=sse" ! fi ! if test "$optimize" == "pentium2"; then ! ARCH_CFLAGS="-mtune=pentium2 -march=pentium2 -mmmx"; ! CFLAGS=$CFLAGS" -DDONTUSESIMD" ! fi ! if test "$optimize" == "pentium"; then ! ARCH_CFLAGS="-mtune=pentium -march=pentium" ! CFLAGS=$CFLAGS" -DDONTUSESIMD" ! fi
dnl several flags *************** *** 251,254 **** --- 254,258 ---- AC_SUBST(GUINAME) AC_SUBST(OSNUMBER) + AC_SUBST(binarymode, -m755) AC_CONFIG_FILES([Makefile extra/Makefile