Diff
Not logged in

Differences From Artifact [973a4b9f6e]:

To Artifact [74046bb8b7]:


204
205
206
207
208
209
210

211

212


213
214
215
216

217

218


219
220
221
222

223

224


225
226
227
228
229
230
231
                if test -z "$GTK2" -o -z "$SRC2" -o -z "$WEB2"; then
                    AC_MSG_RESULT(not found.)
                    GTK2="false"
                    USEGTK="false"
                else
                    AC_MSG_RESULT(found.)
                    AC_SEARCH_LIBS(gtk_init, [gtk-x11-2.0], [GTK2="true" USEGTK="true"], [GTK2="false" USEGTK="false"], [])

                    AC_SEARCH_LIBS(gtk_source_view_new, [gtksourceview-2.0], [GTK2="true" USEGTK="true"], [GTK2="false" USEGTK="false"], [])

                    AC_SEARCH_LIBS(webkit_web_view_new, [webkit2gtk-3.0], [GTK2="true" USEGTK="true"], [GTK2="false" USEGTK="false"], [])


                fi
            else
                AC_MSG_RESULT(found.)
                AC_SEARCH_LIBS(gtk_init, [gtk-3], [GTK3="true" USEGTK="true"], [GTK3="false" USEGTK="false"], [])

                AC_SEARCH_LIBS(gtk_source_view_new, [gtksourceview-4], [GTK3="true" USEGTK="true"], [GTK3="false" USEGTK="false"], [])

                AC_SEARCH_LIBS(webkit_web_view_new, [webkit2gtk-4.0], [GTK3="true" USEGTK="true"], [GTK3="false" USEGTK="false"], [])


            fi
        else
            AC_MSG_RESULT(found.)
            AC_SEARCH_LIBS(gtk_init, [gtk-4], [GTK4="true" USEGTK="true"], [GTK4="false" USEGTK="false"], [])

            AC_SEARCH_LIBS(gtk_source_view_new, [gtksourceview-5], [GTK4="true" USEGTK="true"], [GTK4="false" USEGTK="false"], [])

            AC_SEARCH_LIBS(webkit_web_view_new, [webkit2gtk-5.0], [GTK4="true" USEGTK="true"], [GTK4="false" USEGTK="false"], [])


        fi
    fi
fi

# No GTK found? Then verify presence of FLTK library
if test "$USEGTK" = false -o "$FLTK" = true; then
    AC_CHECK_PROG(FLTK_CONFIG, fltk-config, found, missing)







>
|
>
|
>
>




>
|
>
|
>
>




>
|
>
|
>
>







204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
                if test -z "$GTK2" -o -z "$SRC2" -o -z "$WEB2"; then
                    AC_MSG_RESULT(not found.)
                    GTK2="false"
                    USEGTK="false"
                else
                    AC_MSG_RESULT(found.)
                    AC_SEARCH_LIBS(gtk_init, [gtk-x11-2.0], [GTK2="true" USEGTK="true"], [GTK2="false" USEGTK="false"], [])
                    if test "$GTK2" = true; then
                        AC_SEARCH_LIBS(gtk_source_view_new, [gtksourceview-2.0], [GTK2="true" USEGTK="true"], [GTK2="false" USEGTK="false"], [])
                        if test "$GTK2" = true; then
                            AC_SEARCH_LIBS(webkit_web_view_new, [webkit2gtk-3.0], [GTK2="true" USEGTK="true"], [GTK2="false" USEGTK="false"], [])
                        fi
                    fi
                fi
            else
                AC_MSG_RESULT(found.)
                AC_SEARCH_LIBS(gtk_init, [gtk-3], [GTK3="true" USEGTK="true"], [GTK3="false" USEGTK="false"], [])
                if test "$GTK3" = true; then
                    AC_SEARCH_LIBS(gtk_source_view_new, [gtksourceview-4], [GTK3="true" USEGTK="true"], [GTK3="false" USEGTK="false"], [])
                    if test "$GTK3" = true; then
                        AC_SEARCH_LIBS(webkit_web_view_new, [webkit2gtk-4.0], [GTK3="true" USEGTK="true"], [GTK3="false" USEGTK="false"], [])
                    fi
                fi
            fi
        else
            AC_MSG_RESULT(found.)
            AC_SEARCH_LIBS(gtk_init, [gtk-4], [GTK4="true" USEGTK="true"], [GTK4="false" USEGTK="false"], [])
            if test "$GTK4" = true; then
                AC_SEARCH_LIBS(gtk_source_view_new, [gtksourceview-5], [GTK4="true" USEGTK="true"], [GTK4="false" USEGTK="false"], [])
                if test "$GTK4" = true; then
                    AC_SEARCH_LIBS(webkit_web_view_new, [webkit2gtk-5.0], [GTK4="true" USEGTK="true"], [GTK4="false" USEGTK="false"], [])
                fi
            fi
        fi
    fi
fi

# No GTK found? Then verify presence of FLTK library
if test "$USEGTK" = false -o "$FLTK" = true; then
    AC_CHECK_PROG(FLTK_CONFIG, fltk-config, found, missing)