Index: mediastreamer2/configure.ac =================================================================== RCS file: /sources/linphone/linphone/mediastreamer2/configure.ac,v retrieving revision 1.40 diff -u -p -r1.40 configure.ac --- mediastreamer2/configure.ac 30 Nov 2007 14:23:33 -0000 1.40 +++ mediastreamer2/configure.ac 15 Jan 2008 02:36:49 -0000 @@ -370,28 +370,28 @@ AM_CONDITIONAL(WITH_EPM,test $EPM != fal # Preferred packaging system, as per EPM terminology -case $target in -*-*-linux*) +case $host_os in +*linux*) if test -f /etc/debian_version ; then EPM_PKG_EXT=deb else EPM_PKG_EXT=rpm fi ;; -*-hp-hpux*) +hpux*) EPM_PKG_EXT=depot.gz;; -*-dec-osf*) +osf*) EPM_PKG_EXT=setld;; esac AC_SUBST(EPM_PKG_EXT) # System software User & Group names -case $target in -*-*-linux*) +case $host_os in +*linux*) SYS_USER=root SYS_GROUP=root ;; -*-*-hpux*|*-dec-osf*) +hpux*|osf*) SYS_USER=bin SYS_GROUP=bin ;; @@ -400,9 +400,9 @@ AC_SUBST(SYS_USER) AC_SUBST(SYS_GROUP) # CPU Architecture -case $target_cpu in +case $host_cpu in i?86) ARCH=i386;; -*) ARCH=$target_cpu;; +*) ARCH=$host_cpu;; esac AC_SUBST(ARCH) Index: oRTP/configure.ac =================================================================== RCS file: /sources/linphone/linphone/oRTP/configure.ac,v retrieving revision 1.106 diff -u -p -r1.106 configure.ac --- oRTP/configure.ac 31 Jul 2007 10:39:35 -0000 1.106 +++ oRTP/configure.ac 15 Jan 2008 02:36:49 -0000 @@ -253,28 +258,28 @@ AM_CONDITIONAL(WITH_EPM,test $EPM != fal # Preferred packaging system, as per EPM terminology -case $target in -*-*-linux*) +case $host_os in +*linux*) if test -f /etc/debian_version ; then EPM_PKG_EXT=deb else EPM_PKG_EXT=rpm fi ;; -*-hp-hpux*) +hpux*) EPM_PKG_EXT=depot.gz;; -*-dec-osf*) +osf*) EPM_PKG_EXT=setld;; esac AC_SUBST(EPM_PKG_EXT) # System software User & Group names -case $target in -*-*-linux*) +case $host_os in +*linux*) SYS_USER=root SYS_GROUP=root ;; -*-*-hpux*|*-dec-osf*) +hpux*|osf*) SYS_USER=bin SYS_GROUP=bin ;; @@ -283,9 +288,9 @@ AC_SUBST(SYS_USER) AC_SUBST(SYS_GROUP) # CPU Architecture -case $target_cpu in +case $host_cpu in i?86) ARCH=i386;; -*) ARCH=$target_cpu;; +*) ARCH=$host_cpu;; esac AC_SUBST(ARCH)