| 28 |
AM_MAINTAINER_MODE |
AM_MAINTAINER_MODE |
| 29 |
|
|
| 30 |
PACKAGE=graveman |
PACKAGE=graveman |
| 31 |
VERSION=0.3.12.CVS |
VERSION=0.3.12-2 |
| 32 |
|
|
| 33 |
AM_INIT_AUTOMAKE([$PACKAGE], [$VERSION]) |
AM_INIT_AUTOMAKE([$PACKAGE], [$VERSION]) |
| 34 |
|
|
| 48 |
enable_flac=yes) |
enable_flac=yes) |
| 49 |
AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Enable debug mode (default=disabled)]),, |
AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Enable debug mode (default=disabled)]),, |
| 50 |
debug=no) |
debug=no) |
| 51 |
AC_ARG_ENABLE(linux-ide, AC_HELP_STRING([--enable-linux-ide], [Enable linux-ide support mode (default=auto)]),, |
AC_ARG_ENABLE(linux-ide, AC_HELP_STRING([--enable-linux-ide], [Enable linux-ide support mode (default=auto)]), |
| 52 |
|
linux_ide=yes, |
| 53 |
linux_ide=no) |
linux_ide=no) |
| 54 |
|
AC_ARG_ENABLE(linux-scsi, AC_HELP_STRING([--enable-linux-scsi], [Enable linux-scsi support mode (default=auto)]), |
| 55 |
|
linux_scsi=yes, |
| 56 |
|
linux_scsi=no) |
| 57 |
|
|
| 58 |
dnl prerequis pour gtk |
dnl prerequis pour gtk |
| 59 |
pkg_modules="gtk+-2.0 >= 2.4.0 glib-2.0 >= 2.4.0 atk >= 1.0 pango >= 1.0 libglade-2.0 >= 2.4.0" |
pkg_modules="gtk+-2.0 >= 2.4.0 glib-2.0 >= 2.4.0 atk >= 1.0 pango >= 1.0 libglade-2.0 >= 2.4.0" |
| 204 |
AC_MSG_RESULT(yes) |
AC_MSG_RESULT(yes) |
| 205 |
echo "*** LINUX-IDE devices support enabled on command line" |
echo "*** LINUX-IDE devices support enabled on command line" |
| 206 |
else |
else |
| 207 |
dnl host type test |
if test "A$enable_linux_ide" = "Ano"; then |
| 208 |
case "$host" in |
AC_MSG_RESULT(no) |
| 209 |
*-*-linux-gnu) |
echo "*** LINUX-IDE devices support disabled on command line" |
| 210 |
AC_MSG_RESULT(yes (auto)) |
else |
| 211 |
enable_linux_ide=yes |
dnl host type test |
| 212 |
;; |
case "$host" in |
| 213 |
*) |
*-*-linux-gnu) |
| 214 |
AC_MSG_RESULT(no (auto)) |
AC_MSG_RESULT(yes (auto)) |
| 215 |
enable_linux_ide=no |
enable_linux_ide=yes |
| 216 |
;; |
;; |
| 217 |
esac |
*) |
| 218 |
|
AC_MSG_RESULT(no (auto)) |
| 219 |
|
enable_linux_ide=no |
| 220 |
|
;; |
| 221 |
|
esac |
| 222 |
|
fi |
| 223 |
fi |
fi |
| 224 |
|
|
| 225 |
if test "A$enable_linux_ide" = "Ayes"; then |
if test "A$enable_linux_ide" = "Ayes"; then |
| 231 |
AC_MSG_RESULT(yes) |
AC_MSG_RESULT(yes) |
| 232 |
echo "*** LINUX-SCSI devices support enabled on command line" |
echo "*** LINUX-SCSI devices support enabled on command line" |
| 233 |
else |
else |
| 234 |
dnl host type test |
if test "A$enable_linux_scsi" = "Ano"; then |
| 235 |
case "$host" in |
AC_MSG_RESULT(no) |
| 236 |
*-*-linux-gnu) |
echo "*** LINUX-SCSI devices support disabled on command line" |
| 237 |
AC_MSG_RESULT(yes (auto)) |
else |
| 238 |
enable_linux_scsi=yes |
dnl host type test |
| 239 |
;; |
case "$host" in |
| 240 |
*) |
*-*-linux-gnu) |
| 241 |
AC_MSG_RESULT(no (auto)) |
AC_MSG_RESULT(yes (auto)) |
| 242 |
enable_linux_scsi=no |
enable_linux_scsi=yes |
| 243 |
;; |
;; |
| 244 |
esac |
*) |
| 245 |
|
AC_MSG_RESULT(no (auto)) |
| 246 |
|
enable_linux_scsi=no |
| 247 |
|
;; |
| 248 |
|
esac |
| 249 |
|
fi |
| 250 |
fi |
fi |
| 251 |
|
|
| 252 |
if test "A$enable_linux_scsi" = "Ayes"; then |
if test "A$enable_linux_scsi" = "Ayes"; then |