Mercurial > dwindows
comparison configure.in @ 120:7d2108cbcd3e
Porting DW to GTK 2.0... and changed the percent value from into to a float
so there won't be any rounding.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 19 Oct 2002 11:46:54 +0000 |
parents | 5e4730c42014 |
children | d8af32b1b1cd |
comparison
equal
deleted
inserted
replaced
119:1cad81b7cc4c | 120:7d2108cbcd3e |
---|---|
47 | 47 |
48 AC_CHECK_LIB(sun, getpwnam, LIBS="$LIBS -lsun",) | 48 AC_CHECK_LIB(sun, getpwnam, LIBS="$LIBS -lsun",) |
49 AC_CHECK_LIB(dgc, inet_addr, LIBS="$LIBS -ldgc",) | 49 AC_CHECK_LIB(dgc, inet_addr, LIBS="$LIBS -ldgc",) |
50 AC_CHECK_LIB(resolv, gethostbyname, LIBS="$LIBS -lresolv",) | 50 AC_CHECK_LIB(resolv, gethostbyname, LIBS="$LIBS -lresolv",) |
51 | 51 |
52 AM_PATH_GLIB(1.2.0,,AC_MSG_ERROR(AC_MSG_ERROR(Cannot find GLIB: Is glib-config in path?))) | 52 AC_CHECK_PROG(PKG_CFG, pkg-config, pkg-config) |
53 AM_PATH_GTK(1.2.0,,AC_MSG_ERROR(AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?)), gthread) | 53 if test x"$PKG_CFG" = x; then |
54 AM_PATH_GLIB(1.2.0,,AC_MSG_ERROR(AC_MSG_ERROR(Cannot find GLIB: Is glib-config in path?))) | |
55 AM_PATH_GTK(1.2.0,,AC_MSG_ERROR(AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?)), gthread) | |
56 else | |
57 GTK_CFLAGS=`$PKG_CFG --cflags gtk+-2.0 gthread-2.0` | |
58 GTK_LIBS=`$PKG_CFG --libs gtk+-2.0 gthread-2.0` | |
59 fi | |
54 | 60 |
55 AC_CHECK_HEADER(pthread.h,,AC_MSG_ERROR([pthread header not found. Dynamic Windows cannot build without it.])) | 61 AC_CHECK_HEADER(pthread.h,,AC_MSG_ERROR([pthread header not found. Dynamic Windows cannot build without it.])) |
56 AC_CHECK_LIB(pthread, pthread_attr_init, PTHREAD_LIBS="-lpthread", | 62 AC_CHECK_LIB(pthread, pthread_attr_init, PTHREAD_LIBS="-lpthread", |
57 AC_CHECK_LIB(pthreads, pthread_attr_init, PTHREAD_LIBS="-lpthreads", | 63 AC_CHECK_LIB(pthreads, pthread_attr_init, PTHREAD_LIBS="-lpthreads", |
58 AC_CHECK_LIB(c_r, pthread_attr_init, PTHREAD_LIBS="-lc_r", | 64 AC_CHECK_LIB(c_r, pthread_attr_init, PTHREAD_LIBS="-lc_r", |