- Timestamp:
- 2006-05-28T23:13:47Z (19 years ago)
- Branches:
- master
- Children:
- df417ca
- Parents:
- cdca30b (diff), 79b6213 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
rcdca30b r4ff0966 169 169 fi 170 170 171 GLIB=0172 173 171 if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG glib-2.0; then 174 172 cat<<EOF>>Makefile.settings … … 176 174 CFLAGS+=`$PKG_CONFIG --cflags glib-2.0 gmodule-2.0` 177 175 EOF 178 echo '#define GLIB2' >> config.h 179 GLIB=2 180 elif type glib-config > /dev/null 2> /dev/null; then 181 cat<<EOF>>Makefile.settings 182 EFLAGS+=`glib-config --libs` 183 CFLAGS+=`glib-config --cflags` 184 EOF 185 echo '#define GLIB1' >> config.h 186 GLIB=1 187 else 188 echo 'Cannot find glib development libraries, aborting. (Install libglib-dev?)' 176 else 177 echo 'Cannot find glib2 development libraries, aborting. (Install libglib2-dev?)' 189 178 exit 1; 190 179 fi 191 192 if [ GLIB = 1 -o -r /usr/include/iconv.h ]; then193 :;194 elif [ -r /usr/local/include/iconv.h ]; then195 echo CFLAGS+=-I/usr/local/include >> Makefile.settings196 else197 echo198 echo 'Warning: Could not find iconv.h, you might have to install it and/or modify'199 echo 'Makefile.settings to tell where this file is.'200 fi201 202 180 203 181 if [ "$events" = "libevent" ]; then … … 223 201 fi 224 202 echo 'EVENT_HANDLER=events_'$events'.o' >> Makefile.settings 225 226 203 227 204 detect_gnutls() … … 420 397 ;; 421 398 *BSD ) 422 echo 'EFLAGS+=-liconv' >> Makefile.settings; 399 ;; 400 Darwin ) 401 ;; 402 IRIX ) 423 403 ;; 424 404 SunOS ) 425 405 echo 'EFLAGS+=-lresolv -lnsl -lsocket' >> Makefile.settings 426 406 echo 'STRIP=\# skip strip' >> Makefile.settings 427 echo 'EFLAGS+=-liconv' >> Makefile.settings;428 ;;429 Darwin )430 echo 'EFLAGS+=-liconv' >> Makefile.settings;431 ;;432 IRIX )433 407 ;; 434 408 CYGWIN* )
Note: See TracChangeset
for help on using the changeset viewer.