2023-02-26 00:50
This commit is contained in:
51
hello-gtk/configure.ac
Normal file
51
hello-gtk/configure.ac
Normal file
@@ -0,0 +1,51 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
dnl Created by Anjuta application wizard.
|
||||
|
||||
AC_INIT(gtk_foobar, 0.1)
|
||||
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
AM_INIT_AUTOMAKE([1.11])
|
||||
|
||||
AM_SILENT_RULES([yes])
|
||||
|
||||
AC_PROG_CC
|
||||
|
||||
|
||||
dnl ***************************************************************************
|
||||
dnl Check for Windows
|
||||
dnl ***************************************************************************
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
case $host_os in
|
||||
*mingw*)
|
||||
platform_win32=yes
|
||||
native_win32=yes
|
||||
;;
|
||||
pw32* | *cygwin*)
|
||||
platform_win32=yes
|
||||
native_win32=no
|
||||
;;
|
||||
*)
|
||||
platform_win32=no
|
||||
native_win32=no
|
||||
;;
|
||||
esac
|
||||
AM_CONDITIONAL(PLATFORM_WIN32, test x"$platform_win32" = "xyes")
|
||||
AM_CONDITIONAL(NATIVE_WIN32, test x"$native_win32" = "xyes")
|
||||
|
||||
|
||||
LT_INIT([win32-dll])
|
||||
|
||||
dnl Check for vala
|
||||
AM_PROG_VALAC([0.10.0])
|
||||
|
||||
|
||||
PKG_CHECK_MODULES(GTK_FOOBAR, [gtk+-3.0 ])
|
||||
|
||||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
src/Makefile
|
||||
|
||||
])
|
||||
Reference in New Issue
Block a user