|
|
noinst_PROGRAMS = test-gksuui | noinst_PROGRAMS = test-gksuui |
test_gksuui_SOURCES = test-gksuui.c | test_gksuui_SOURCES = test-gksuui.c |
test_gksuui_LDADD = libgksuui1.0.la | test_gksuui_LDADD = libgksuui1.0.la |
test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0` |
test_gksuui_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0` |
|
|
noinst_PROGRAMS = test-gksu | noinst_PROGRAMS = test-gksu |
test_gksu_SOURCES = test-gksu.c | test_gksu_SOURCES = test-gksu.c |
test_gksu_LDADD = libgksu2.la | test_gksu_LDADD = libgksu2.la |
test_gksu_LDFLAGS = `pkg-config --libs glib-2.0` |
test_gksu_LDFLAGS = `pkg-config --libs glib-2.0 gthread-2.0` |
| |
EXTRA_DIST = libgksu.ver | EXTRA_DIST = libgksu.ver |
|
|
#include <unistd.h> | #include <unistd.h> |
#include <string.h> | #include <string.h> |
#include <fcntl.h> | #include <fcntl.h> |
|
#ifdef __FreeBSD__ |
|
#include <libutil.h> |
|
#include <termios.h> |
|
#else |
#include <pty.h> | #include <pty.h> |
|
#endif |
#include <pwd.h> | #include <pwd.h> |
#include <sys/types.h> | #include <sys/types.h> |
#include <sys/wait.h> | #include <sys/wait.h> |