summaryrefslogtreecommitdiff
blob: 3fed676a28b3f61303ad66dbdf85745d9c38e01f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
diff -Naur razertool-0.0.7.orig/configure.ac razertool-0.0.7/configure.ac
--- razertool-0.0.7.orig/configure.ac	1970-01-01 01:00:00.000000000 +0100
+++ razertool-0.0.7/configure.ac	2022-07-14 13:28:37.682934002 +0200
@@ -0,0 +1,68 @@
+dnl Process this file with autoconf to produce a configure script.
+
+AC_INIT(configure.ac)
+AM_INIT_AUTOMAKE(razertool, 0.0.7)
+AM_CONFIG_HEADER(config.h)
+AM_MAINTAINER_MODE
+
+AC_ARG_ENABLE(gtk,[AS_HELP_STRING([--disable-gtk],[Don\'t build razertool-gtk])],[enable_gtk_force=yes],[enable_gtk_force=no;enable_gtk=yes])
+
+dnl checks for programs
+AC_ISC_POSIX
+AC_PROG_CC
+AM_PROG_AR
+AM_PROG_CC_STDC
+AC_PROG_RANLIB
+AC_HEADER_STDC
+PKG_PROG_PKG_CONFIG
+
+dnl checks for libraries
+PKG_CHECK_MODULES(libusb, [libusb >= 0.1.0])
+
+if test x$enable_gtk = xyes; then
+pkg_modules="gtk+-2.0 >= 2.8.0 librsvg-2.0 >= 2.0.0 cairo >= 1.0.0"
+PKG_CHECK_MODULES(GTKLIBS,[$pkg_modules],,[
+	AC_MSG_RESULT([no])
+	AC_MSG_WARN([
+Package requirements ($pkg_modules) were not met:
+
+$GTKLIBS_PKG_ERRORS
+
+Consider adjusting the PKG_CONFIG_PATH environment variable if you
+installed software in a non-standard prefix.
+
+Alternatively, you may set the environment variables GTKLIBS_CFLAGS
+and GTKLIBS_LIBS to avoid the need to call pkg-config.
+See the pkg-config man page for more details.
+])
+	if test x$enable_gtk_force = xyes; then
+		AC_MSG_ERROR([Aborting since --enable-gtk was used])
+	fi
+	AC_MSG_WARN([Not building razertool-gtk])
+	enable_gtk=no
+])
+fi
+
+dnl i18n
+GETTEXT_PACKAGE=razertool-gtk
+AC_SUBST(GETTEXT_PACKAGE)
+
+ALL_LINGUAS=`cat "${srcdir}/po/LINGUAS"`
+AM_GLIB_GNU_GETTEXT
+
+dnl output
+AM_CONDITIONAL(BUILD_GTK,test x$enable_gtk = xyes)
+
+AC_SUBST(libusb_CFLAGS)
+AC_SUBST(libusb_LIBS)
+AC_SUBST(GTKLIBS_CFLAGS)
+AC_SUBST(GTKLIBS_LIBS)
+
+AC_OUTPUT([Makefile src/Makefile gtk/Makefile po/Makefile.in])
+
+if test x$enable_gtk_force != xyes && test x$enable_gtk != xyes; then
+AC_MSG_WARN([
+
+*** NOT BUILDING RAZERTOOL-GTK ***
+])
+fi
diff -Naur razertool-0.0.7.orig/configure.in razertool-0.0.7/configure.in
--- razertool-0.0.7.orig/configure.in	2006-08-13 21:57:35.000000000 +0200
+++ razertool-0.0.7/configure.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,67 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-
-AC_INIT(configure.in)
-AM_INIT_AUTOMAKE(razertool, 0.0.7)
-AM_CONFIG_HEADER(config.h)
-AM_MAINTAINER_MODE
-
-AC_ARG_ENABLE(gtk,[AS_HELP_STRING([--disable-gtk],[Don\'t build razertool-gtk])],[enable_gtk_force=yes],[enable_gtk_force=no;enable_gtk=yes])
-
-dnl checks for programs
-AC_ISC_POSIX
-AC_PROG_CC
-AM_PROG_CC_STDC
-AC_PROG_RANLIB
-AC_HEADER_STDC
-PKG_PROG_PKG_CONFIG
-
-dnl checks for libraries
-PKG_CHECK_MODULES(libusb, [libusb >= 0.1.0])
-
-if test x$enable_gtk = xyes; then
-pkg_modules="gtk+-2.0 >= 2.8.0 librsvg-2.0 >= 2.0.0 cairo >= 1.0.0"
-PKG_CHECK_MODULES(GTKLIBS,[$pkg_modules],,[
-	AC_MSG_RESULT([no])
-	AC_MSG_WARN([
-Package requirements ($pkg_modules) were not met:
-
-$GTKLIBS_PKG_ERRORS
-
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
-installed software in a non-standard prefix.
-
-Alternatively, you may set the environment variables GTKLIBS_CFLAGS
-and GTKLIBS_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-])
-	if test x$enable_gtk_force = xyes; then
-		AC_MSG_ERROR([Aborting since --enable-gtk was used])
-	fi
-	AC_MSG_WARN([Not building razertool-gtk])
-	enable_gtk=no
-])
-fi
-
-dnl i18n
-GETTEXT_PACKAGE=razertool-gtk
-AC_SUBST(GETTEXT_PACKAGE)
-
-ALL_LINGUAS=`cat "${srcdir}/po/LINGUAS"`
-AM_GLIB_GNU_GETTEXT
-
-dnl output
-AM_CONDITIONAL(BUILD_GTK,test x$enable_gtk = xyes)
-
-AC_SUBST(libusb_CFLAGS)
-AC_SUBST(libusb_LIBS)
-AC_SUBST(GTKLIBS_CFLAGS)
-AC_SUBST(GTKLIBS_LIBS)
-
-AC_OUTPUT([Makefile src/Makefile gtk/Makefile po/Makefile.in])
-
-if test x$enable_gtk_force != xyes && test x$enable_gtk != xyes; then
-AC_MSG_WARN([
-
-*** NOT BUILDING RAZERTOOL-GTK ***
-])
-fi
diff -Naur razertool-0.0.7.orig/gtk/Makefile.in razertool-0.0.7/gtk/Makefile.in
--- razertool-0.0.7.orig/gtk/Makefile.in	2007-02-15 07:55:23.000000000 +0100
+++ razertool-0.0.7/gtk/Makefile.in	2022-07-14 13:27:46.765830454 +0200
@@ -1,5 +1,5 @@
 # Makefile.in generated by automake 1.9.6 from Makefile.am.
-# @configure_input@
+# @configure.acput@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 # 2003, 2004, 2005  Free Software Foundation, Inc.
@@ -40,7 +40,7 @@
 subdir = gtk
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff -Naur razertool-0.0.7.orig/Makefile.in razertool-0.0.7/Makefile.in
--- razertool-0.0.7.orig/Makefile.in	2007-02-15 07:55:24.000000000 +0100
+++ razertool-0.0.7/Makefile.in	2022-07-14 13:27:46.765830454 +0200
@@ -1,5 +1,5 @@
 # Makefile.in generated by automake 1.9.6 from Makefile.am.
-# @configure_input@
+# @configure.acput@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 # 2003, 2004, 2005  Free Software Foundation, Inc.
@@ -42,7 +42,7 @@
 	mkinstalldirs
 subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
diff -Naur razertool-0.0.7.orig/missing razertool-0.0.7/missing
--- razertool-0.0.7.orig/missing	2006-11-27 03:51:30.000000000 +0100
+++ razertool-0.0.7/missing	2022-07-14 13:27:46.765830454 +0200
@@ -39,7 +39,7 @@
 if test -f configure.ac; then
   configure_ac=configure.ac
 else
-  configure_ac=configure.in
+  configure_ac=configure.ac
 fi
 
 msg="missing on your system"
diff -Naur razertool-0.0.7.orig/src/Makefile.in razertool-0.0.7/src/Makefile.in
--- razertool-0.0.7.orig/src/Makefile.in	2007-02-15 07:55:23.000000000 +0100
+++ razertool-0.0.7/src/Makefile.in	2022-07-14 13:27:46.765830454 +0200
@@ -1,5 +1,5 @@
 # Makefile.in generated by automake 1.9.6 from Makefile.am.
-# @configure_input@
+# @configure.acput@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 # 2003, 2004, 2005  Free Software Foundation, Inc.
@@ -41,7 +41,7 @@
 subdir = src
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 	$(ACLOCAL_M4)
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs