78 lines
1.6 KiB
Plaintext
Raw Normal View History

2008-12-24 16:54:58 +03:00
AC_INIT( [branding], [0.1], [http://bugzilla.altlinux.ru] )
2008-12-26 16:43:03 +03:00
AC_ARG_WITH(theme,
AC_HELP_STRING([--with-theme=theme],
[base theme, e.g '--with-theme=lite' ]),
2008-12-24 16:54:58 +03:00
[
2008-12-26 16:43:03 +03:00
if test -n "$with_theme" ; then
THEME="$with_theme"
2008-12-24 16:54:58 +03:00
fi
],
[
2008-12-25 12:55:26 +03:00
THEME="theme"
2008-12-24 16:54:58 +03:00
]
)
2008-12-26 16:43:03 +03:00
AC_ARG_WITH(name,
AC_HELP_STRING([--with-name=name],
[Human readable name, e.g '--with-name="Small Business"' ]),
[
if test -n "$with_name" ; then
NAME="$with_name"
fi
],
[
NAME="name"
]
)
2008-12-24 16:54:58 +03:00
AC_ARG_WITH(status,
AC_HELP_STRING([--with-status=beta],
[status, e.g '--with-status=beta']),
[
if test -n "$with_status" ; then
STATUS="$with_status"
fi
],
[
STATUS=""
])
2008-12-25 12:55:26 +03:00
AC_ARG_WITH(version,
AC_HELP_STRING([--with-version=5.0],
[version, e.g '--with-version=5.0']),
[
if test -n "$with_version" ; then
VERSION="$with_version"
fi
],
[
VERSION=""
])
2008-12-24 16:54:58 +03:00
2008-12-26 16:43:03 +03:00
PROGRESS_COLOR=`./fetch_color selectBackground`
TITLE_COLOR=`./fetch_color handle`
INACTIVE_COLOR=`./fetch_color inactiveTitleBtnBg`
2008-12-25 12:55:26 +03:00
AC_SUBST(THEMEMC)
AC_SUBST(THEMELC)
2008-12-24 16:54:58 +03:00
AC_SUBST(THEME)
AC_SUBST(STATUS)
2008-12-25 12:55:26 +03:00
AC_SUBST(VERSION)
2008-12-26 16:43:03 +03:00
AC_SUBST(PROGRESS_COLOR)
AC_SUBST(TITLE_COLOR)
AC_SUBST(INACTIVE_COLOR)
2008-12-24 16:54:58 +03:00
AC_CONFIG_FILES([
Makefile
2008-12-24 18:09:59 +03:00
bootloader/config
2008-12-24 16:54:58 +03:00
bootsplash/config/bootsplash-640x480.cfg
bootsplash/config/bootsplash-800x600.cfg
2008-12-26 16:43:03 +03:00
browser-qt/design/design.ini
bootloader/gfxboot.cfg
kde3-settings/apps/kdisplay/color-schemes/scheme.kcsrc
2008-12-24 16:54:58 +03:00
])
AC_OUTPUT