@@ -35,17 +35,17 @@ AC_SUBST(LIBS)
35
35
# check for headers needed for standard interfaces
36
36
AC_CHECK_HEADERS (
37
37
stdlib.h \
38
- string.h \
38
+ string.h \
39
39
stdio.h \
40
- sys/types.h \
40
+ sys/types.h \
41
41
sys/socket.h \
42
42
netinet/in.h \
43
43
arpa/inet.h \
44
44
fcntl.h \
45
45
sys/ioctl.h \
46
46
unistd.h \
47
47
dlfcn.h
48
- )
48
+ )
49
49
50
50
GLIB_REQUIRED=2.50.0
51
51
GTK_REQUIRED=3.22.0
@@ -101,7 +101,7 @@ LIBNOTIFY_CFLAGS=
101
101
LIBNOTIFY_LIBS=
102
102
103
103
# enable support even if not specifically asked for
104
- AC_ARG_ENABLE ( libnotify ,
104
+ AC_ARG_ENABLE ( libnotify ,
105
105
[ --enable-libnotify Enable libnotify support] , [
106
106
enable_libnotify=$enableval] , [
107
107
enable_libnotify="yes"
117
117
if test "x$HAVE_LIBNOTIFY" = "xyes"
118
118
then
119
119
AC_DEFINE ( HAVE_LIBNOTIFY , 1 , [ libnotify available] )
120
- fi
120
+ fi
121
121
fi
122
122
123
123
AM_CONDITIONAL(LIBNOTIFY, test -n "$LIBNOTIFY_LIBS")
157
157
else
158
158
LIBSENSORS_LIBS="-lsensors"
159
159
fi] ) )
160
- fi
160
+ fi
161
161
162
162
AM_CONDITIONAL(LIBSENSORS, test -n "$LIBSENSORS_LIBS")
163
163
@@ -190,22 +190,22 @@ else
190
190
with_x11="yes"
191
191
] )
192
192
193
- AC_CHECK_HEADERS ( X11/Xlib.h ,
193
+ AC_CHECK_HEADERS ( X11/Xlib.h ,
194
194
AC_CHECK_LIB ( X11 , XOpenDisplay , [ HAVE_X11=true ] ) )
195
195
# can't embed next AC_CHECK_HEADERS in true case of AC_CHECK_LIB
196
196
if test "${HAVE_X11}" = "true"; then
197
197
LIBS="${LIBS} -lX11 -lXext"
198
198
# need to specifically include X11/Xlib header when
199
199
# doing checks for NVCtrl headers
200
- AC_CHECK_HEADERS ( NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h , [ HAVE_NVIDIA=true ] , [ ] ,
200
+ AC_CHECK_HEADERS ( NVCtrl/NVCtrl.h NVCtrl/NVCtrlLib.h , [ HAVE_NVIDIA=true ] , [ ] ,
201
201
[
202
202
#include <X11/Xlib.h>
203
203
] )
204
204
if test "${HAVE_NVIDIA}" = "true"; then
205
- AC_CHECK_LIB ( XNVCtrl , XNVCTRLQueryExtension , [
205
+ AC_CHECK_LIB ( XNVCtrl , XNVCTRLQueryExtension , [
206
206
NVIDIA_LIBS="-lXNVCtrl"
207
207
AC_DEFINE ( HAVE_NVIDIA ,1 ,[ nvidia sensors available] )
208
- ] )
208
+ ] )
209
209
fi
210
210
fi
211
211
fi
@@ -214,8 +214,8 @@ AM_CONDITIONAL(NVIDIA, test -n "$NVIDIA_LIBS")
214
214
AC_SUBST ( NVIDIA_CFLAGS )
215
215
AC_SUBST ( NVIDIA_LIBS )
216
216
217
- AC_ARG_WITH ( aticonfig ,
218
- [ --with-aticonfig[ =PATH] use aticonfig plugin with optional binary provided
217
+ AC_ARG_WITH ( aticonfig ,
218
+ [ --with-aticonfig[ =PATH] use aticonfig plugin with optional binary provided
219
219
by PATH] , [
220
220
if test "$withval" != "no" -a "$withval" != "yes"; then
221
221
aticonfig_exe=$withval
0 commit comments