diff options
Diffstat (limited to 'libproxy/cmake/modules')
-rw-r--r-- | libproxy/cmake/modules/config_envvar.cmk | 3 | ||||
-rw-r--r-- | libproxy/cmake/modules/config_gnome.cmk | 22 | ||||
-rw-r--r-- | libproxy/cmake/modules/config_kde.cmk | 4 | ||||
-rw-r--r-- | libproxy/cmake/modules/config_macosx.cmk | 10 | ||||
-rw-r--r-- | libproxy/cmake/modules/config_pacrunner.cmk | 3 | ||||
-rw-r--r-- | libproxy/cmake/modules/config_sysconfig.cmk | 8 | ||||
-rw-r--r-- | libproxy/cmake/modules/network_networkmanager.cmk | 6 | ||||
-rw-r--r-- | libproxy/cmake/modules/pacrunner_duktape.cmk | 31 | ||||
-rw-r--r-- | libproxy/cmake/modules/pacrunner_mozjs.cmk | 26 | ||||
-rw-r--r-- | libproxy/cmake/modules/pacrunner_natus.cmk | 7 | ||||
-rw-r--r-- | libproxy/cmake/modules/pacrunner_webkit.cmk | 26 |
11 files changed, 0 insertions, 146 deletions
diff --git a/libproxy/cmake/modules/config_envvar.cmk b/libproxy/cmake/modules/config_envvar.cmk deleted file mode 100644 index e9445a4..0000000 --- a/libproxy/cmake/modules/config_envvar.cmk +++ /dev/null @@ -1,3 +0,0 @@ -if (NOT WIN32 AND NOT APPLE) - set(ENVVAR_FOUND 1) -endif()
\ No newline at end of file diff --git a/libproxy/cmake/modules/config_gnome.cmk b/libproxy/cmake/modules/config_gnome.cmk deleted file mode 100644 index 4326972..0000000 --- a/libproxy/cmake/modules/config_gnome.cmk +++ /dev/null @@ -1,22 +0,0 @@ -if (NOT WIN32 AND NOT APPLE) - option(WITH_GNOME2 "Target a GNOME 2 system (gconf)" OFF) - option(WITH_GNOME3 "Target a GNOME 3 system (gsettings)" ON) - if(WITH_GNOME3) - px_check_modules(GNOME3 gio-2.0>=2.26 gobject-2.0) - else(WITH_GNOME3) - px_check_modules(GNOME2 gconf-2.0 gobject-2.0) - endif(WITH_GNOME3) - - # GNOME (gconf) helper - if(GNOME2_FOUND OR GNOME3_FOUND) - if(WITH_GNOME3) - add_executable(pxgsettings modules/pxgsettings.cpp) - target_link_libraries(pxgsettings ${GNOME3_LIBRARIES}) - install(TARGETS pxgsettings RUNTIME DESTINATION ${LIBEXEC_INSTALL_DIR}) - else(WITH_GNOME3) - add_executable(pxgconf modules/pxgconf.cpp) - target_link_libraries(pxgconf ${GNOME2_LIBRARIES}) - install(TARGETS pxgconf RUNTIME DESTINATION ${LIBEXEC_INSTALL_DIR}) - endif(WITH_GNOME3) - endif() -endif() diff --git a/libproxy/cmake/modules/config_kde.cmk b/libproxy/cmake/modules/config_kde.cmk deleted file mode 100644 index ed2f828..0000000 --- a/libproxy/cmake/modules/config_kde.cmk +++ /dev/null @@ -1,4 +0,0 @@ -option(WITH_KDE "Build module to read proxy settings from KDE4/KF5" ON) - -# There are no additional detections; kreadconfig (from KDE4) and kreadconfig5 -# (from KF5) are only needed at runtime. diff --git a/libproxy/cmake/modules/config_macosx.cmk b/libproxy/cmake/modules/config_macosx.cmk deleted file mode 100644 index 110d4b8..0000000 --- a/libproxy/cmake/modules/config_macosx.cmk +++ /dev/null @@ -1,10 +0,0 @@ -if(APPLE) - find_library(SC_LIBRARIES SystemConfiguration) - find_library(CF_LIBRARIES CoreFoundation) - if(SC_LIBRARIES) - set(SC_FOUND 1) - endif() - if(CF_LIBRARIES) - set(CF_FOUND 1) - endif() -endif()
\ No newline at end of file diff --git a/libproxy/cmake/modules/config_pacrunner.cmk b/libproxy/cmake/modules/config_pacrunner.cmk deleted file mode 100644 index 11dde89..0000000 --- a/libproxy/cmake/modules/config_pacrunner.cmk +++ /dev/null @@ -1,3 +0,0 @@ -if (NOT WIN32 AND NOT APPLE) - px_check_modules(DBUS dbus-1) -endif() diff --git a/libproxy/cmake/modules/config_sysconfig.cmk b/libproxy/cmake/modules/config_sysconfig.cmk deleted file mode 100644 index 10e8c5c..0000000 --- a/libproxy/cmake/modules/config_sysconfig.cmk +++ /dev/null @@ -1,8 +0,0 @@ -if (NOT WIN32 AND NOT APPLE) - option(WITH_SYSCONFIG "Build sysconfig module for /etc/sysconfig" ON) - if(WITH_SYSCONFIG) - if (EXISTS "/etc/sysconfig" AND IS_DIRECTORY "/etc/sysconfig") - set(SYSCONFIG_FOUND 1) - endif() - endif() -endif()
\ No newline at end of file diff --git a/libproxy/cmake/modules/network_networkmanager.cmk b/libproxy/cmake/modules/network_networkmanager.cmk deleted file mode 100644 index 6ef6ead..0000000 --- a/libproxy/cmake/modules/network_networkmanager.cmk +++ /dev/null @@ -1,6 +0,0 @@ -if (NOT WIN32 AND NOT APPLE) - px_check_modules(NM libnm dbus-1) - if (NOT NM_FOUND) - px_check_modules(NMold NetworkManager dbus-1) - endif (NOT NM_FOUND) -endif() diff --git a/libproxy/cmake/modules/pacrunner_duktape.cmk b/libproxy/cmake/modules/pacrunner_duktape.cmk deleted file mode 100644 index 781985d..0000000 --- a/libproxy/cmake/modules/pacrunner_duktape.cmk +++ /dev/null @@ -1,31 +0,0 @@ -option(WITH_DUKTAPE "Search for Duktape package" ON) - -if(WIN32) - set(DUKTAPE_FOUND 0) - if(WITH_DUKTAPE) - find_package(Duktape QUIET) - if(DUKTAPE_FOUND) - include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${DUKTAPE_INCLUDE_DIRS}) - link_libraries(${DUKTAPE_LIBRARY}) - set(DUKTAPE_FOUND 1) # find_package sets DUKTAPE_FOUND to True and not 0 - endif() - endif() -else() - set(DUKTAPE_INCLUDE_DIR "DUKTAPE_INCLUDE_DIR-NOTFOUND" CACHE PATH "Path to Duktape headers") - set(DUKTAPE_LIBRARIES "DUKTAPE_LIBRARIES-NOTFOUND" CACHE FILEPATH "Path to Duktape libraries") - - if(WITH_DUKTAPE) - px_check_modules(DUKTAPE "duktape") - - if(NOT DUKTAPE_FOUND AND DUKTAPE_INCLUDE_DIR AND DUKTAPE_LIBRARIES) - message("Duktape headers: " ${DUKTAPE_INCLUDE_DIR}) - message("Duktape libraries: " ${DUKTAPE_LIBRARIES}) - set(DUKTAPE_FOUND 1) - include_directories(${DUKTAPE_INCLUDE_DIR}) - link_directories(${DUKTAPE_LIBRARIES}) - link_libraries(duktape) - endif() - else() - set(DUKTAPE_FOUND 0) - endif() -endif() diff --git a/libproxy/cmake/modules/pacrunner_mozjs.cmk b/libproxy/cmake/modules/pacrunner_mozjs.cmk deleted file mode 100644 index 117d789..0000000 --- a/libproxy/cmake/modules/pacrunner_mozjs.cmk +++ /dev/null @@ -1,26 +0,0 @@ -if(WIN32) - set(MOZJS_INCLUDE_DIR "MOZJS_INCLUDE_DIR-NOTFOUND" CACHE PATH "Path to the MOZJS include directory") - set(MOZJS_LIBRARIES "MOZJS_LIBRARIES-NOTFOUND" CACHE FILEPATH "Path to the MOZJS .lib file") - if(MOZJS_LIBRARIES AND MOZJS_INCLUDE_DIR) - set(MOZJS_FOUND 1) - link_directories(MOZJS_LIBRARIES) - include_directories("${MOZJS_INCLUDE_DIR}") - endif() -elseif(NOT APPLE) - option(WITH_MOZJS "Search for MOZJS package" OFF) - if (WITH_MOZJS) - pkg_search_module(MOZJS mozjs-68) - if(MOZJS_FOUND) - foreach(OPT ${MOZJS_CFLAGS}) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OPT}") - endforeach() - message("mozjs is " ${CMAKE_CXX_FLAGS}) - include_directories(${MOZJS_INCLUDE_DIRS}) - link_directories(${MOZJS_LIBRARY_DIRS}) - else() - set(MOZJS_FOUND 0) - endif() - else() - set(MOZJS_FOUND 0) - endif() -endif() diff --git a/libproxy/cmake/modules/pacrunner_natus.cmk b/libproxy/cmake/modules/pacrunner_natus.cmk deleted file mode 100644 index 7b14c93..0000000 --- a/libproxy/cmake/modules/pacrunner_natus.cmk +++ /dev/null @@ -1,7 +0,0 @@ -if(WIN32) - set(NATUS_FOUND 0) -elseif(APPLE) - set(NATUS_FOUND 0) -else() - px_check_modules(NATUS natus) -endif()
\ No newline at end of file diff --git a/libproxy/cmake/modules/pacrunner_webkit.cmk b/libproxy/cmake/modules/pacrunner_webkit.cmk deleted file mode 100644 index aa34dd0..0000000 --- a/libproxy/cmake/modules/pacrunner_webkit.cmk +++ /dev/null @@ -1,26 +0,0 @@ -if(WIN32) - set(WEBKIT_INCLUDE_DIR "WEBKIT_INCLUDE_DIR-NOTFOUND" CACHE PATH "Path to the WEBKIT include directory") - set(WEBKIT_LIBRARIES "WEBKIT_LIBRARIES-NOTFOUND" CACHE FILEPATH "Path to the WEBKIT .lib file") - if(WEBKIT_LIBRARIES AND WEBKIT_INCLUDE_DIR) - set(WEBKIT_FOUND 1) - link_directories(WEBKIT_LIBRARIES) - include_directories("${WEBKIT_INCLUDE_DIR}") - endif() -elseif(APPLE) - find_library(WEBKIT_LIBRARIES JavaScriptCore) - if(WEBKIT_LIBRARIES) - set(WEBKIT_FOUND 1) - endif() -else() - if(WITH_WEBKIT3) - px_check_modules(WEBKIT "javascriptcoregtk-4.0") - if(NOT WEBKIT_LIBRARIES) - px_check_modules(WEBKIT "javascriptcoregtk-3.0 >= 1.5.0") - if(NOT WEBKIT_LIBRARIES) - px_check_modules(WEBKIT "webkitgtk-3.0 < 1.5.0") - endif(NOT WEBKIT_LIBRARIES) - endif(NOT WEBKIT_LIBRARIES) - else(WITH_WEBKIT) - px_check_modules(WEBKIT webkit-1.0) - endif() -endif() |